Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
drivers/base/cpu.c __cpu_device_create() -> kobject_set_name_vargs()
| 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 | 6635405425222115328,8706544567658950656 |
| PARAM_VALUE | 2 | *vargs | (-4611686018427387904) |
| BUF_SIZE | 1 | fmt | 6,9 |
| BUF_SIZE | 1 | fmt | 6,9 |
| BUF_SIZE | 2 | vargs | 8 |
| BUF_SIZE | 2 | vargs | 8 |
| DATA_SOURCE | 1 | fmt | $3 |
| DATA_SOURCE | 2 | vargs | $4 |
| TERMINATED | 1 | fmt | 1 |
| TERMINATED | 2 | *vargs | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
drivers/base/core.c dev_set_name() -> kobject_set_name_vargs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 2 | vargs | 8 |
| BUF_SIZE | 2 | vargs | 8 |
| DATA_SOURCE | 1 | fmt | $1 |
| PARAM_COMPARE | 1 | &fmt | == $2 |
drivers/base/core.c device_create_groups_vargs() -> kobject_set_name_vargs()
| 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 |
| BUF_SIZE | 1 | fmt | (-1),3-17,19,21,23,30,32,64 |
| BUF_SIZE | 1 | fmt | (-1),3-17,19,21,23,30,32,64 |
| BUF_SIZE | 2 | vargs | 8 |
| BUF_SIZE | 2 | vargs | 8 |
| DATA_SOURCE | 1 | fmt | $5 |
| DATA_SOURCE | 2 | vargs | $6 |
| STR_LEN | 0 | kobj | (-1),6,11,16 |
| STR_LEN | 1 | fmt | (-1),6,11,16 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/kobject.c kobject_add_varg() -> kobject_set_name_vargs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 0,4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| BUF_SIZE | 0 | kobj | (-1),248 |
| BUF_SIZE | 0 | kobj | (-1),248 |
| BUF_SIZE | 0 | kobj->kset | (-1),344 |
| BUF_SIZE | 0 | kobj->ktype | (-1),48 |
| BUF_SIZE | 1 | fmt | (-1),1,3-20,25,30 |
| BUF_SIZE | 1 | fmt | (-1),1,3-20,25,30 |
| BUF_SIZE | 2 | vargs | 8 |
| BUF_SIZE | 2 | vargs | 8 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | fmt | $2 |
| DATA_SOURCE | 2 | vargs | $3 |
| STR_LEN | 0 | kobj | (-1),2-19,24 |
| STR_LEN | 0 | kobj | (-1),2-19,24 |
| STR_LEN | 0 | kobj->ktype | (-1) |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
lib/kobject.c kobject_set_name() -> kobject_set_name_vargs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fmt | 4096-ptr_max |
| BUF_SIZE | 0 | kobj | (-1),248 |
| BUF_SIZE | 0 | kobj | (-1),248 |
| BUF_SIZE | 1 | fmt | 3-8,10 |
| BUF_SIZE | 1 | fmt | 3-8,10 |
| BUF_SIZE | 2 | vargs | 8 |
| BUF_SIZE | 2 | vargs | 8 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | fmt | $1 |
| STR_LEN | 0 | kobj | (-1),2-7 |
| STR_LEN | 0 | kobj | (-1),2-7 |
| STR_LEN | 1 | fmt | (-1),3-8,10-12,14,16,20 |
| STR_LEN | 1 | fmt | (-1),3-8,10-12,14,16,20 |
| STR_LEN | 2 | *vargs | (-1),3-8,10-12,14,16,20 |
| PARAM_COMPARE | 1 | &fmt | == $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/iommu/iommu-sysfs.c iommu_device_sysfs_add() -> kobject_set_name_vargs()
| 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 |
| BUF_SIZE | 1 | fmt | s32min,(-10),1-s32max |
| BUF_SIZE | 1 | fmt | s32min,(-10),1-s32max |
| BUF_SIZE | 2 | vargs | 8 |
| BUF_SIZE | 2 | vargs | 8 |
| DATA_SOURCE | 1 | fmt | $3 |
| PARAM_COMPARE | 1 | &fmt | == $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dmar_global_lock |