Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
lib/kobject.c kobject_rename() -> sysfs_rename_dir_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | kobj->parent->ktype | 0,4096-ptr_max |
| PARAM_VALUE | 2 | new_ns | 0,4096-ptr_max |
| BUF_SIZE | 0 | kobj | (-1)-s32max |
| BUF_SIZE | 0 | kobj | (-1)-s32max |
| BUF_SIZE | 1 | new_name | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 1 | new_name | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 2 | new_ns | (-1),256 |
| DATA_SOURCE | 0 | kobj | r kobject_get |
| DATA_SOURCE | 1 | new_name | $1 |
| STR_LEN | 0 | kobj | (-1) |
| STR_LEN | 0 | kobj | (-1) |
| PARAM_COMPARE | 0 | kobj | == $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *new_name | 0-255 |
| USER_PTR | 1 | new_name | |
| HALF_LOCKED2 | &dev_replace->lock_finishing_cancel_unmount | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| HALF_LOCKED2 | global &pci_slot_mutex | ||
| HALF_LOCKED2 | global &uuid_mutex |