Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/usb/usbip/stub_rx.c stub_recv_cmd_submit() -> sgl_alloc()

Type Parameter Key Value
PARAM_VALUE 1 gfp 3264
PARAM_VALUE 2 nent_p 1123722173220012032
BIT_INFO 0 length 0x0,0x0
RX_PATH
UNITS 0 length unit_byte

drivers/nvme/target/core.c nvmet_req_alloc_sgls() -> sgl_alloc()

Type Parameter Key Value
PARAM_VALUE 0 length 0-17301503,4294443009-u32max
PARAM_VALUE 1 gfp 3264
PARAM_VALUE 2 nent_p 4096-ptr_max
PARAM_VALUE 2 *nent_p 0-1
RX_PATH
TASK_NOT_RUNNING

drivers/nvme/target/core.c nvmet_req_alloc_sgls() -> sgl_alloc()

Type Parameter Key Value
PARAM_VALUE 0 length 8-524288
PARAM_VALUE 1 gfp 3264
PARAM_VALUE 2 nent_p 4096-ptr_max
PARAM_VALUE 2 *nent_p 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 length unit_byte

drivers/hid/intel-thc-hid/intel-thc/intel-thc-dma.c setup_dma_buffers() -> sgl_alloc()

Type Parameter Key Value
PARAM_VALUE 0 length 0,4096-65536
PARAM_VALUE 1 gfp 3264
PARAM_VALUE 2 nent_p 6081836118518231040
PARAM_VALUE 2 *nent_p 0-16
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/nvme/target/fc.c nvmet_fc_alloc_tgt_pgs() -> sgl_alloc()

Type Parameter Key Value
PARAM_VALUE 0 length 1-u32max
PARAM_VALUE 1 gfp 3264
PARAM_VALUE 2 nent_p 8444838799054897152
RX_PATH
TASK_NOT_RUNNING
UNITS 0 length unit_byte
HALF_LOCKED2 &pool->lock

drivers/nvme/target/tcp.c nvmet_tcp_map_data() -> sgl_alloc()

Type Parameter Key Value
PARAM_VALUE 0 length 1-u32max
PARAM_VALUE 1 gfp 3264
PARAM_VALUE 2 nent_p 4096-ptr_max
PARAM_VALUE 2 *nent_p 0
CAPPED_DATA 0 length 1
UNITS 0 length unit_byte
LOCK2 &pool->lock