Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 3 files:
Smatch caller information:
net/bridge/br_sysfs_if.c sysfs_rename_link() -> sysfs_rename_link_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | targ | 4096-ptr_max |
| PARAM_VALUE | 4 | new_ns | 0 |
| BUF_SIZE | 2 | old | 16 |
| BUF_SIZE | 2 | old | 16 |
| BUF_SIZE | 3 | new | 16 |
| BUF_SIZE | 3 | new | 16 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | targ | $1 |
| DATA_SOURCE | 2 | old | $2 |
| DATA_SOURCE | 3 | new | $3 |
drivers/base/core.c device_rename() -> sysfs_rename_link_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | targ | 4096-ptr_max |
| PARAM_VALUE | 1 | targ->parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | targ->parent->ktype | 0,4096-ptr_max |
| PARAM_VALUE | 2 | old | 4096-ptr_max |
| PARAM_VALUE | 4 | new_ns | 0,4096-ptr_max |
| BUF_SIZE | 1 | targ | 248 |
| BUF_SIZE | 3 | new | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 3 | new | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 4 | new_ns | (-1),256 |
| DATA_SOURCE | 2 | old | r kstrdup |
| DATA_SOURCE | 3 | new | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | *new | 0-255 |
| USER_PTR | 3 | new | |
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &device->compat_devs_mutex | ||
| HALF_LOCKED2 | &device->unregistration_lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/base/core.c device_rename() -> sysfs_rename_link_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | targ | 4096-ptr_max |
| PARAM_VALUE | 1 | targ->parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | targ->parent->ktype | 0,4096-ptr_max |
| PARAM_VALUE | 3 | new | 4096-ptr_max |
| PARAM_VALUE | 4 | new_ns | 0,4096-ptr_max |
| BUF_SIZE | 1 | targ | 248 |
| BUF_SIZE | 2 | old | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 2 | old | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 4 | new_ns | (-1),256 |
| DATA_SOURCE | 2 | old | $1 |
| DATA_SOURCE | 3 | new | r kstrdup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | *old | 0-255 |
| USER_PTR | 2 | old | |
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &device->compat_devs_mutex | ||
| HALF_LOCKED2 | &device->unregistration_lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &rtnl_mutex |