Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
lib/test_kmod.c __kmod_config_init() -> config_copy_test_driver_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 4096-ptr_max |
| PARAM_VALUE | 0 | config->test_driver | 0 |
| PARAM_VALUE | 0 | config->test_fs | 0 |
| PARAM_VALUE | 1 | name | 1-u64max |
| PARAM_VALUE | 2 | count | 0-1010101 |
| BUF_SIZE | 0 | config | 32 |
| BUF_SIZE | 1 | name | (-1),12 |
| BUF_SIZE | 1 | name | (-1),12 |
| STR_LEN | 0 | config | (-1),11 |
| STR_LEN | 1 | name | (-1),11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &test_dev->config_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &test_dev->trigger_mutex | ||
| HALF_LOCKED2 | global ®_dev_mutex | ||
| TYPE_LOCK | (struct kmod_test_device)->config_mutex |
lib/test_kmod.c config_test_driver_store() -> config_copy_test_driver_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | config | 4096-ptr_max |
| PARAM_VALUE | 0 | config->test_driver | 0 |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-1000000000 |
| BUF_SIZE | 0 | config | 32 |
| CAPPED_DATA | 2 | count | 1 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | name | $2 |
| DATA_SOURCE | 2 | count | $3 |
| NOSPEC | 2 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| ELEM_LAST | 1 | ==name2 | 8052 |
| LOCK2 | &of->mutex | ||
| LOCK2 | &test_dev->config_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct kmod_test_device)->config_mutex |