Defined in 2 files as a function:

Referenced in 21 files:

Smatch caller information:

drivers/net/ethernet/fungible/funeth/funeth_rx.c cache_offer() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ni->dev_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/fungible/funeth/funeth_rx.c fun_gather_pkt() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/fungible/funeth/funeth_rx.c get_buf() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/iommu/iommu-pages.c iommu_alloc_pages_node_sz() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev_data->mutex
HALF_LOCKED2 &iommu->lock
HALF_LOCKED2 global &dmar_global_lock

io_uring/memmap.c alloc_pages_bulk_node_noprof() -> numa_mem_id()

Type Parameter Key Value
HALF_LOCKED2 &ctx->uring_lock
HALF_LOCKED2 _T->lock

drivers/staging/media/atomisp/pci/hmm/hmm_bo.c alloc_private_pages() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bo->mutex
TYPE_LOCK (struct hmm_buffer_object)->mutex

mm/slub.c alloc_from_pcs() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/slub.c apply_strict_numa_policy() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/slub.c get_from_partial() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/slub.c refill_objects() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/intel/idpf/idpf_singleq_txrx.c idpf_rx_singleq_clean() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/sunrpc/svc_xprt.c svc_fill_pages() -> numa_mem_id()

Type Parameter Key Value

fs/splice.c copy_splice_read() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/slab_common.c kfree_call_rcu_nolock() -> numa_mem_id()

Type Parameter Key Value

mm/slab_common.c kfree_rcu_sheaf() -> numa_mem_id()

Type Parameter Key Value

drivers/firewire/core-iso.c fw_iso_buffer_alloc() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

net/core/skbuff.c __alloc_skb() -> numa_mem_id()

Type Parameter Key Value

fs/erofs/zutil.c z_erofs_gbuf_growsize() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &gbuf_resize_mutex
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &sb->s_umount

net/core/page_pool.c alloc_pages_bulk_node_noprof() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/core/page_pool.c page_pool_refill_alloc_cache() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

drivers/net/ethernet/hisilicon/hns3/hns3_enet.c dev_page_is_reusable() -> numa_mem_id()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/nfsd/nfs4state.c alloc_init_dir_deleg() -> numa_mem_id()

Type Parameter Key Value

fs/fuse/readdir.c fuse_readdir_alloc_buf() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

drivers/vfio/pci/mlx5/cmd.c mlx5vf_add_pages() -> numa_mem_id()

Type Parameter Key Value
HALF_LOCKED2 &mvdev->state_mutex
TYPE_LOCK (struct mlx5vf_pci_core_device)->state_mutex

mm/hugetlb.c only_alloc_fresh_hugetlb_folio() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/intel/igc/igc_main.c dev_page_is_reusable() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

fs/btrfs/extent_io.c btrfs_alloc_page_array() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fs_info->remap_mutex

drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_en_complete_rx_desc() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

mm/page_alloc.c alloc_pages_node_noprof() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &espfix_init_mutex
HALF_LOCKED2 global &pcpu_alloc_mutex
HALF_LOCKED2 global &ublk_ctl_mutex
HALF_LOCKED2 rcu_read

lib/tests/kunit_iov_iter.c iov_kunit_create_buffer() -> numa_mem_id()

Type Parameter Key Value

drivers/net/ethernet/intel/fm10k/fm10k_main.c dev_page_is_reusable() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

mm/page_frag_cache.c __page_frag_cache_refill() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &call->conn->tx_data_alloc_lock
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 &xprt->xpt_mutex

mm/page_frag_cache.c __page_frag_cache_refill() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &call->conn->tx_data_alloc_lock
HALF_LOCKED2 &vq->mutex
HALF_LOCKED2 &xprt->xpt_mutex

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c dev_page_is_reusable() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/mellanox/mlx5/core/alloc.c mlx5_db_alloc_node() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mvdev->state_mutex

drivers/net/ethernet/mellanox/mlx5/core/alloc.c mlx5_frag_buf_alloc_node() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mvdev->state_mutex

drivers/net/ethernet/intel/igb/igb_main.c dev_page_is_reusable() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

block/blk-crypto-fallback.c blk_crypto_alloc_enc_bio() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &md->io_barrier

drivers/firewire/ohci.c ar_context_init() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

lib/test_vmalloc.c vm_map_ram_test() -> numa_mem_id()

Type Parameter Key Value

mm/memremap.c pagemap_range() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdevice->devmem_lock
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 global &list_lock

mm/mempolicy.c mempolicy_slab_node() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/vmalloc.c alloc_pages_bulk_node_noprof() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

net/sunrpc/svc.c svc_prepare_thread() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &nfsd_mutex

drivers/net/ethernet/intel/i40e/i40e_txrx.c dev_page_is_reusable() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c dev_page_is_reusable() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/ethernet/intel/idpf/idpf_txrx.c idpf_rx_splitq_clean_all() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/vfio/pci/virtio/migrate.c virtiovf_add_migration_pages() -> numa_mem_id()

Type Parameter Key Value
HALF_LOCKED2 &migf->lock
HALF_LOCKED2 &migf->virtvdev->state_mutex
TYPE_LOCK (struct virtiovf_pci_core_device)->state_mutex

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_post_rx_mpwqes() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_post_rx_mpwqes() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

drivers/net/ethernet/mellanox/mlx5/core/en_rx.c mlx5e_post_rx_wqes() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 bh

mm/kasan/shadow.c ___alloc_pages_bulk() -> numa_mem_id()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &pcpu_alloc_mutex