Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

net/core/devmem.c net_devmem_alloc_dmabuf() -> gen_pool_alloc_owner()

Type Parameter Key Value
PARAM_VALUE 2 owner 8402647705372925952
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

drivers/pci/p2pdma.c p2pmem_alloc_mmap() -> gen_pool_alloc_owner()

Type Parameter Key Value
PARAM_VALUE 2 owner 2269485516543307776
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
LOCK2 &of->mutex
LOCK2 rcu_read
HALF_LOCKED2 &ipcp->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/pci/p2pdma.c pci_alloc_p2pmem() -> gen_pool_alloc_owner()

Type Parameter Key Value
PARAM_VALUE 2 owner 1165982915978293248
DATA_SOURCE 1 size $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 size unit_byte
LOCK2 rcu_read