Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
lib/scatterlist.c sgl_alloc() -> sgl_alloc_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | order | 0 |
| PARAM_VALUE | 2 | chainable | 0 |
| PARAM_VALUE | 3 | gfp | 3264 |
| PARAM_VALUE | 4 | nent_p | 4096-ptr_max |
| DATA_SOURCE | 0 | length | $0 |
| DATA_SOURCE | 3 | gfp | $1 |
| DATA_SOURCE | 4 | nent_p | $2 |
| BIT_INFO | 0 | length | 0x0,0xffffffff |
| BIT_INFO | 0 | length | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/ipr.c ipr_alloc_ucode_buffer() -> sgl_alloc_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | length | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | order | 0-32 |
| PARAM_VALUE | 2 | chainable | 0 |
| PARAM_VALUE | 3 | gfp | 3264 |
| PARAM_VALUE | 4 | nent_p | 4096-ptr_max |
| DATA_SOURCE | 0 | length | $0 |
| DATA_SOURCE | 1 | order | r get_order |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | length | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/target/target_core_transport.c target_alloc_sgl() -> sgl_alloc_order()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | order | 0 |
| PARAM_VALUE | 3 | gfp | 3264,3520 |
| PARAM_VALUE | 4 | nent_p | 4096-ptr_max |
| DATA_SOURCE | 0 | length | $2 |
| DATA_SOURCE | 2 | chainable | $4 |
| DATA_SOURCE | 4 | nent_p | $1 |
| FUZZY_MAX | 3 | gfp | 3520 |
| BIT_INFO | 3 | gfp | 0xcc0,0xdff |
| HARD_MAX | 3 | gfp | 3520 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | length | |
| NO_OVERFLOW_SIMPLE | 4 | *nent_p | |
| UNITS | 0 | length | unit_byte |