Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 6 files:
- arch/powerpc/kernel/fadump.c
- arch/powerpc/platforms/powernv/opal-core.c, line 645
- drivers/auxdisplay/img-ascii-lcd.c, line 257
- drivers/char/tpm/tpm-chip.c
- fs/sysfs/group.c, line 505
- kernel/kexec_core.c, line 1363
Smatch caller information:
drivers/char/tpm/tpm-chip.c tpm_add_legacy_sysfs() -> compat_only_sysfs_link_entry_to_kobj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target_kobj | 4096-ptr_max |
| PARAM_VALUE | 2 | target_name | 3992203871706157056 |
| PARAM_VALUE | 3 | symlink_name | 0 |
| BUF_SIZE | 2 | target_name | 4 |
| STR_LEN | 0 | kobj | 3 |
| TERMINATED | 2 | target_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/char/tpm/tpm-chip.c tpm_add_legacy_sysfs() -> compat_only_sysfs_link_entry_to_kobj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target_kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->sd | 0,4096-ptr_max |
| PARAM_VALUE | 3 | symlink_name | 0 |
| BUF_SIZE | 2 | target_name | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
kernel/kexec_core.c init_kexec_sysctl() -> compat_only_sysfs_link_entry_to_kobj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target_kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->entry.next | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | target_kobj->kset | 0,4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | target_kobj->ktype | 1915817945436012544 |
| PARAM_VALUE | 1 | target_kobj->name | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->state_add_uevent_sent | 0 |
| PARAM_VALUE | 1 | target_kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 1 | target_kobj->state_initialized | 1 |
| PARAM_VALUE | 1 | target_kobj->state_remove_uevent_sent | 0 |
| BUF_SIZE | 1 | target_kobj | 248 |
| DATA_SOURCE | 1 | target_kobj | r kobject_create_and_add |
drivers/auxdisplay/img-ascii-lcd.c img_ascii_lcd_probe() -> compat_only_sysfs_link_entry_to_kobj()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | target_kobj->kset | 0 |
| PARAM_VALUE | 1 | target_kobj->ktype | 0 |
| PARAM_VALUE | 1 | target_kobj->name | 0 |
| PARAM_VALUE | 1 | target_kobj->parent | 0 |
| PARAM_VALUE | 1 | target_kobj->sd | 0 |
| PARAM_VALUE | 2 | target_name | 4044556509858283520 |
| PARAM_VALUE | 3 | symlink_name | 0 |
| BUF_SIZE | 2 | target_name | 8 |
| STR_LEN | 0 | kobj | 7 |
| TERMINATED | 2 | target_name | 1 |
| MEM_ZERO | 1 | target_kobj | |
| RX_PATH | |||
| TASK_NOT_RUNNING |