Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/thunderbolt/xdomain.c update_property_block() -> tb_property_format_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 0 |
| PARAM_VALUE | 2 | block_len | 0 |
| BUF_SIZE | 0 | dir | 24 |
| DATA_SOURCE | 0 | dir | r tb_property_copy_dir |
| LOCK2 | &xd->lock | ||
| LOCK2 | global &xdomain_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb_xdomain)->lock |
drivers/thunderbolt/xdomain.c update_property_block() -> tb_property_format_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 16,4096-ptr_max |
| PARAM_VALUE | 2 | block_len | 0-s32max |
| BUF_SIZE | 0 | dir | 24 |
| BUF_SIZE | 1 | block | 4 |
| DATA_SOURCE | 0 | dir | r tb_property_copy_dir |
| DATA_SOURCE | 1 | block | r _kmalloc_array_noprof |
| NO_OVERFLOW_SIMPLE | 2 | block_len | |
| LOCK2 | &xd->lock | ||
| LOCK2 | global &xdomain_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tb_xdomain)->lock |
drivers/thunderbolt/test.c tb_test_property_copy() -> tb_property_format_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 0 |
| PARAM_VALUE | 2 | block_len | 0 |
| BUF_SIZE | 0 | dir | 24 |
| DATA_SOURCE | 0 | dir | r tb_property_copy_dir |
drivers/thunderbolt/test.c tb_test_property_copy() -> tb_property_format_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 16,4096-ptr_max |
| PARAM_VALUE | 2 | block_len | 53 |
| BUF_SIZE | 0 | dir | 24 |
| BUF_SIZE | 1 | block | 212 |
| BUF_SIZE | 1 | block | 212 |
| DATA_SOURCE | 0 | dir | r tb_property_copy_dir |
| DATA_SOURCE | 1 | block | r kunit_kzalloc |
| MEM_ZERO | 1 | block | |
| UNITS | 2 | block_len | unit_array_size |
drivers/thunderbolt/test.c tb_test_property_format() -> tb_property_format_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 0 |
| PARAM_VALUE | 2 | block_len | 0 |
| BUF_SIZE | 0 | dir | 24 |
| DATA_SOURCE | 0 | dir | r tb_property_parse_dir |
drivers/thunderbolt/test.c tb_test_property_format() -> tb_property_format_dir()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 1 | block | 16,4096-ptr_max |
| PARAM_VALUE | 2 | block_len | 53 |
| BUF_SIZE | 0 | dir | 24 |
| BUF_SIZE | 1 | block | 212 |
| BUF_SIZE | 1 | block | 212 |
| DATA_SOURCE | 0 | dir | r tb_property_parse_dir |
| DATA_SOURCE | 1 | block | r kunit_kzalloc |
| MEM_ZERO | 1 | block | |
| UNITS | 2 | block_len | unit_array_size |
| ELEM_COUNT | 1 | ==block2 | 8051 |