Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

lib/scatterlist.c sg_free_append_table() -> __sg_free_table()

Type Parameter Key Value
PARAM_VALUE 0 table 1-u64max
PARAM_VALUE 1 max_ents 128
PARAM_VALUE 2 nents_first_chunk 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 4 num_ents
UNITS 4 num_ents unit_page

lib/scatterlist.c sg_free_table() -> __sg_free_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 1 max_ents 128
PARAM_VALUE 2 nents_first_chunk 0
DATA_SOURCE 0 table $0
NOCHECK_CALL

lib/sg_pool.c sg_free_table_chained() -> __sg_free_table()

Type Parameter Key Value
PARAM_VALUE 0 table 4096-ptr_max
PARAM_VALUE 0 table->orig_nents 1-u32max
PARAM_VALUE 1 max_ents 128
PARAM_VALUE 2 nents_first_chunk 0,2-4294967294
PARAM_VALUE 4 num_ents 1-u32max
CAPPED_DATA 2 nents_first_chunk 1
DATA_SOURCE 0 table $0
DATA_SOURCE 2 nents_first_chunk $1 [m]
FUZZY_MAX 2 nents_first_chunk 0
PARAM_COMPARE 2 nents_first_chunk < $0->orig_nents
PARAM_COMPARE 4 num_ents > $2
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 nents_first_chunk unit_array_size
UNITS 4 num_ents unit_array_size
HALF_LOCKED2 &vq->mutex