Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/target/target_core_rd.c rd_build_device_space() -> rd_allocate_sgl_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | rd_dev->rd_flags | 1-u32max |
| PARAM_VALUE | 0 | rd_dev->rd_page_count | 1-u32max |
| PARAM_VALUE | 0 | rd_dev->sg_table_array | 4096-ptr_max |
| PARAM_VALUE | 0 | rd_dev->sg_table_count | 1-2097152 |
| PARAM_VALUE | 1 | sg_table | 4096-ptr_max |
| PARAM_VALUE | 2 | total_sg_needed | 1-u32max |
| PARAM_VALUE | 3 | init_payload | 0 |
| BUF_SIZE | 0 | rd_dev->sg_table_array | 64-134217728 |
| BUF_SIZE | 1 | sg_table | 64-134217728 |
| BUF_SIZE | 1 | sg_table | 64-134217728 |
| DATA_SOURCE | 0 | rd_dev | $0 |
| DATA_SOURCE | 1 | sg_table | r _kzalloc_noprof |
| FUZZY_MAX | 0 | rd_dev->rd_page_count | 1 |
| BIT_INFO | 0 | rd_dev->rd_flags | 0x1,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rd_dev->sg_table_count | |
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |
drivers/target/target_core_rd.c rd_build_prot_space() -> rd_allocate_sgl_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rd_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | rd_dev->sg_prot_array | 16,4096-ptr_max |
| PARAM_VALUE | 1 | sg_table | 16,4096-ptr_max |
| PARAM_VALUE | 3 | init_payload | 255 |
| BUF_SIZE | 0 | rd_dev->sg_prot_array | 0-274877906880 |
| BUF_SIZE | 1 | sg_table | 0-274877906880 |
| BUF_SIZE | 1 | sg_table | 0-274877906880 |
| DATA_SOURCE | 0 | rd_dev | $0 |
| DATA_SOURCE | 1 | sg_table | r _kzalloc_noprof |
| BIT_INFO | 0 | rd_dev->rd_flags | 0x0,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rd_dev->sg_prot_count | |
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |