Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/target/target_core_xcopy.c target_xcopy_do_work() -> target_alloc_sgl()

Type Parameter Key Value
PARAM_VALUE 0 sgl 4096-ptr_max
PARAM_VALUE 1 nents 4096-ptr_max
PARAM_VALUE 2 length 0-16777216
PARAM_VALUE 3 zero_page 0
PARAM_VALUE 4 chainable 0
CAPPED_DATA 2 length 1
HALF_LOCKED2 &pool->lock

drivers/target/target_core_transport.c transport_generic_new_cmd() -> target_alloc_sgl()

Type Parameter Key Value
PARAM_VALUE 0 sgl 4096-ptr_max
PARAM_VALUE 1 nents 4096-ptr_max
PARAM_VALUE 3 zero_page 1
PARAM_VALUE 4 chainable 0
RX_PATH
TASK_NOT_RUNNING

drivers/target/target_core_transport.c transport_generic_new_cmd() -> target_alloc_sgl()

Type Parameter Key Value
PARAM_VALUE 0 sgl 4096-ptr_max
PARAM_VALUE 1 nents 4096-ptr_max
PARAM_VALUE 4 chainable 0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 length
UNITS 2 length unit_byte

drivers/target/target_core_transport.c transport_generic_new_cmd() -> target_alloc_sgl()

Type Parameter Key Value
PARAM_VALUE 0 sgl 4096-ptr_max
PARAM_VALUE 1 nents 4096-ptr_max
PARAM_VALUE 2 length 1-u32max
PARAM_VALUE 4 chainable 0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 *nents
NO_OVERFLOW_SIMPLE 2 length
UNITS 2 length unit_byte

drivers/target/target_core_transport.c transport_generic_new_cmd() -> target_alloc_sgl()

Type Parameter Key Value
PARAM_VALUE 0 sgl 4096-ptr_max
PARAM_VALUE 1 nents 4096-ptr_max
PARAM_VALUE 4 chainable 0
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/ulp/srpt/ib_srpt.c srpt_alloc_rw_ctxs() -> target_alloc_sgl()

Type Parameter Key Value
PARAM_VALUE 0 sgl 4096-ptr_max
PARAM_VALUE 1 nents 4096-ptr_max
PARAM_VALUE 3 zero_page 0
RX_PATH
TASK_NOT_RUNNING
UNITS 2 length unit_byte
HALF_LOCKED2 &pool->lock