Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/pci/slot.c rename_slot() -> kobject_rename()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 new_name 16,4096-ptr_max
BUF_SIZE 1 new_name s32min-s32max
DATA_SOURCE 1 new_name r make_slot_name
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pci_slot_mutex

drivers/base/core.c device_rename() -> kobject_rename()

Type Parameter Key Value
PARAM_VALUE 0 kobj 0-1025,1027-1029,1031-u64max
BUF_SIZE 0 kobj 248
BUF_SIZE 1 new_name s32min,(-10),(-1),1-s32max
BUF_SIZE 1 new_name s32min,(-10),(-1),1-s32max
DATA_SOURCE 1 new_name $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 *new_name 0-255
USER_PTR 1 new_name
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

fs/btrfs/sysfs.c btrfs_sysfs_update_devid() -> kobject_rename()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 new_name 5858543984196665344
BUF_SIZE 1 new_name 24
STR_LEN 0 kobj 23
LOCK2 &dev_replace->lock_finishing_cancel_unmount
TYPE_LOCK (struct btrfs_dev_replace)->lock_finishing_cancel_unmount

fs/btrfs/sysfs.c btrfs_sysfs_update_sprout_fsid() -> kobject_rename()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 new_name 5803306086413045760
BUF_SIZE 1 new_name 37
STR_LEN 0 kobj 36
CAPABLE 0 21
LOCK2 &sb->s_umount
LOCK2 global &uuid_mutex
TYPE_LOCK (struct super_block)->s_umount

fs/nfs/sysfs.c nfs_sysfs_move_sb_to_server() -> kobject_rename()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 new_name 1-u64max
BUF_SIZE 1 new_name 0-s32max
BUF_SIZE 1 new_name 0-s32max
CAPPED_DATA 1 new_name 1
DATA_SOURCE 1 new_name r kasprintf
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->s_umount
HALF_LOCKED2 global &cifs_mount_mutex

fs/nfs/sysfs.c nfs_sysfs_move_server_to_sb() -> kobject_rename()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
BUF_SIZE 1 new_name 32
STR_LEN 0 kobj 31
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex
HALF_LOCKED2 &s->s_umount