Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 18 files:
- drivers/base/bus.c, line 957
- drivers/base/class.c, line 206
- drivers/comedi/comedi_fops.c, line 3645
- drivers/firmware/qemu_fw_cfg.c, line 539
- drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
- drivers/hwtracing/stm/core.c
- drivers/infiniband/hw/hfi1/device.c, line 38
- drivers/media/cec/core/cec-core.c, line 130
- drivers/media/mc/mc-devnode.c, line 243
- drivers/uio/uio.c, line 915
- fs/char_dev.c, line 283
- fs/erofs/sysfs.c, line 291
- fs/f2fs/sysfs.c, line 1997
- fs/nfs/sysfs.c, line 51
- fs/ocfs2/cluster/masklog.c, line 166
- fs/ubifs/sysfs.c, line 144
- lib/kobject.c
- sound/core/init.c, line 342
Smatch caller information:
drivers/uio/uio.c uio_major_init() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->ktype | 5171966442834808832 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| PARAM_VALUE | 2 | $ | 2965322380520734720 |
| BUF_SIZE | 1 | fmt | 3 |
| BUF_SIZE | 2 | $ | 4 |
| STR_LEN | 0 | kobj | 2 |
| STR_LEN | 1 | fmt | 3 |
| STR_LEN | 2 | $ | 3 |
| TERMINATED | 1 | fmt | 1 |
| TERMINATED | 2 | $ | 1 |
| NOCHECK_CALL |
drivers/base/class.c class_register() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| BUF_SIZE | 1 | fmt | 3 |
| BUF_SIZE | 2 | $ | (-1),4-9,13,15 |
| BUF_SIZE | 2 | $ | (-1),4-9,13,15 |
| STR_LEN | 0 | kobj | 2 |
| STR_LEN | 1 | fmt | (-1),3-8,12,14 |
| STR_LEN | 2 | $ | (-1),3-8,12,14 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &func_lock | ||
| HALF_LOCKED2 | global &hidg_ida_lock | ||
| HALF_LOCKED2 | global &printer_ida_lock | ||
| HALF_LOCKED2 | global &rdtgroup_mutex | ||
| HALF_LOCKED2 | global &ucaps_mutex |
drivers/hwtracing/stm/core.c stm_register_device() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | kobj->ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| BUF_SIZE | 1 | fmt | 3 |
| BUF_SIZE | 2 | $ | s32min,(-10),1-s32max |
| STR_LEN | 0 | kobj | 2 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hwtracing/stm/core.c stm_source_register_device() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | kobj->ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| BUF_SIZE | 1 | fmt | 3 |
| STR_LEN | 0 | kobj | 2 |
| TERMINATED | 1 | fmt | 1 |
fs/char_dev.c __register_chrdev() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->ktype | 5171966442834808832 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| BUF_SIZE | 1 | fmt | 3 |
| BUF_SIZE | 2 | $ | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 2 | $ | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 2 | $ | $3 |
| STR_LEN | 0 | kobj | 2 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &psinfo_lock | ||
| HALF_LOCKED2 | global &rdtgroup_mutex |
drivers/firmware/qemu_fw_cfg.c fw_cfg_build_symlink() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| PARAM_VALUE | 2 | $ | 4096-ptr_max |
| PARAM_VALUE | 2 | *$ | 1-255 |
| BUF_SIZE | 1 | fmt | 3 |
| DATA_SOURCE | 2 | $ | r strsep |
| STR_LEN | 0 | kobj | 2 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/f2fs/sysfs.c f2fs_init_sysfs() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 5781021185849737304 |
| PARAM_VALUE | 1 | fmt | 4894517487420960768 |
| BUF_SIZE | 1 | fmt | 5 |
| STR_LEN | 0 | kobj | 4 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
drivers/base/bus.c bus_register() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 1 | fmt | 3 |
| STR_LEN | 0 | kobj | 2 |
| TERMINATED | 1 | fmt | 1 |
| HALF_LOCKED2 | global &pmus_lock |
fs/ubifs/sysfs.c ubifs_sysfs_init() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 3337179949710188632 |
| PARAM_VALUE | 1 | fmt | 2163590190425448448 |
| BUF_SIZE | 1 | fmt | 6 |
| STR_LEN | 0 | kobj | 5 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
fs/nfs/sysfs.c nfs_sysfs_init() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 5276019297790963712 |
| BUF_SIZE | 1 | fmt | 4 |
| STR_LEN | 0 | kobj | 3 |
| TERMINATED | 1 | fmt | 1 |
fs/erofs/sysfs.c erofs_init_sysfs() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 6859292140868526168 |
| PARAM_VALUE | 1 | fmt | 4402665573560586240 |
| BUF_SIZE | 1 | fmt | 6 |
| STR_LEN | 0 | kobj | 5 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |
sound/core/init.c snd_card_init() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | kobj->ktype | 5399513539053756416 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 1 | fmt | 4403410165660012544 |
| PARAM_VALUE | 2 | $ | 0-2147483646 |
| BUF_SIZE | 1 | fmt | 7 |
| CAPPED_DATA | 2 | $ | 1 |
| DATA_SOURCE | 2 | $ | $2 [m] |
| STR_LEN | 0 | kobj | 6 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c amdgpu_discovery_sysfs_early_init() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| PARAM_VALUE | 2 | $ | 5589211064308989952 |
| BUF_SIZE | 1 | fmt | 3 |
| BUF_SIZE | 2 | $ | 4 |
| STR_LEN | 0 | kobj | 2 |
| STR_LEN | 1 | fmt | 3 |
| TERMINATED | 1 | fmt | 1 |
| TERMINATED | 2 | $ | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c amdgpu_discovery_sysfs_init() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| PARAM_VALUE | 2 | $ | 5589211064308989952 |
| BUF_SIZE | 1 | fmt | 3 |
| BUF_SIZE | 2 | $ | 4 |
| STR_LEN | 0 | kobj | 2 |
| STR_LEN | 1 | fmt | 3 |
| TERMINATED | 1 | fmt | 1 |
| TERMINATED | 2 | $ | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c amdgpu_discovery_sysfs_ips() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 3675277882799267840 |
| PARAM_VALUE | 2 | $ | 0-299 |
| BUF_SIZE | 1 | fmt | 3 |
| CAPPED_DATA | 2 | $ | 1 |
| FUZZY_MAX | 2 | $ | 299 |
| STR_LEN | 0 | kobj | 2 |
| TERMINATED | 1 | fmt | 1 |
| HARD_MAX | 2 | $ | 299 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c amdgpu_discovery_sysfs_recurse() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 3675277882799267840 |
| BUF_SIZE | 1 | fmt | 3 |
| STR_LEN | 0 | kobj | 2 |
| TERMINATED | 1 | fmt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/kobject.c kset_create() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | fmt | 8347350738675638272 |
| BUF_SIZE | 1 | fmt | 3 |
| BUF_SIZE | 2 | $ | 0-s32max |
| BUF_SIZE | 2 | $ | 0-s32max |
| DATA_SOURCE | 2 | $ | $0 |
| STR_LEN | 0 | kobj | 2 |
| STR_LEN | 1 | fmt | (-1),3-8,10-12,14,16,20 |
| STR_LEN | 2 | $ | (-1),3-8,10-12,14,16,20 |
| TERMINATED | 1 | fmt | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &of_mutex |
drivers/media/mc/mc-devnode.c media_devnode_register() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset | 0 |
| PARAM_VALUE | 0 | kobj->ktype | 1499647686170447872 |
| PARAM_VALUE | 0 | kobj->name | 0 |
| PARAM_VALUE | 0 | kobj->parent | 0 |
| PARAM_VALUE | 0 | kobj->sd | 0 |
| PARAM_VALUE | 1 | fmt | 6829848972319121408 |
| PARAM_VALUE | 2 | $ | 0-64 |
| BUF_SIZE | 1 | fmt | 8 |
| CAPPED_DATA | 2 | $ | 1 |
| STR_LEN | 0 | kobj | 7 |
| TERMINATED | 1 | fmt | 1 |
| MEM_ZERO | 0 | kobj | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &list_lock |
drivers/infiniband/hw/hfi1/device.c hfi1_cdev_init() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset | 0 |
| PARAM_VALUE | 0 | kobj->ktype | 1499647686170447872 |
| PARAM_VALUE | 0 | kobj->name | 0 |
| PARAM_VALUE | 0 | kobj->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 0 |
| PARAM_VALUE | 1 | fmt | 3770921122072563712 |
| BUF_SIZE | 1 | fmt | 10 |
| BUF_SIZE | 1 | fmt | 10 |
| DATA_SOURCE | 1 | fmt | $1 |
| MEM_ZERO | 0 | kobj | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/cec/core/cec-core.c cec_devnode_register() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset | 0 |
| PARAM_VALUE | 0 | kobj->ktype | 1499647686170447872 |
| PARAM_VALUE | 0 | kobj->name | 0 |
| PARAM_VALUE | 0 | kobj->parent | 0 |
| PARAM_VALUE | 0 | kobj->sd | 0 |
| PARAM_VALUE | 1 | fmt | 8480939398974251008 |
| PARAM_VALUE | 2 | $ | 7654245257988759552 |
| PARAM_VALUE | 3 | $ | 0-64 |
| BUF_SIZE | 1 | fmt | 5 |
| BUF_SIZE | 2 | $ | 4 |
| CAPPED_DATA | 3 | $ | 1 |
| STR_LEN | 0 | kobj | 4 |
| STR_LEN | 1 | fmt | 3 |
| TERMINATED | 1 | fmt | 1 |
| TERMINATED | 2 | $ | 1 |
| MEM_ZERO | 0 | kobj | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &aux->cec.lock | ||
| HALF_LOCKED2 | &connector->cec.mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/comedi/comedi_fops.c comedi_init() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 7337475184651902976 |
| PARAM_VALUE | 0 | kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset | 0 |
| PARAM_VALUE | 0 | kobj->ktype | 1499647686170447872 |
| PARAM_VALUE | 0 | kobj->name | 0 |
| PARAM_VALUE | 0 | kobj->parent | 0 |
| PARAM_VALUE | 0 | kobj->sd | 0 |
| PARAM_VALUE | 1 | fmt | 222611843110031360 |
| BUF_SIZE | 1 | fmt | 7 |
| STR_LEN | 0 | kobj | 6 |
| TERMINATED | 1 | fmt | 1 |
| MEM_ZERO | 0 | kobj |
fs/ocfs2/cluster/masklog.c mlog_sys_init() -> kobject_set_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 3952870529872625752 |
| PARAM_VALUE | 1 | fmt | 5217001781157097472 |
| BUF_SIZE | 1 | fmt | 8 |
| STR_LEN | 0 | kobj | 7 |
| TERMINATED | 1 | fmt | 1 |
| NOCHECK_CALL |