Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 7 files:
- drivers/acpi/power.c, line 575
- drivers/base/node.c
- drivers/hwtracing/coresight/coresight-sysfs.c
- drivers/iommu/iommu-sysfs.c, line 110
- drivers/nvme/host/multipath.c, line 1325
- drivers/power/supply/power_supply_sysfs.c, line 664
- fs/sysfs/group.c, line 436
Smatch caller information:
drivers/base/node.c register_memory_node_under_compute_node() -> sysfs_add_link_to_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | group_name | 1802852418554548224 |
| PARAM_VALUE | 2 | target | 4096-ptr_max |
| BUF_SIZE | 1 | group_name | 8 |
| BUF_SIZE | 3 | link_name | 1-s32max |
| STR_LEN | 0 | kobj | 7 |
| TERMINATED | 1 | group_name | 1 |
| LOCK2 | _T->lock |
drivers/base/node.c register_memory_node_under_compute_node() -> sysfs_add_link_to_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | group_name | 1427692414127116288 |
| PARAM_VALUE | 2 | target | 4096-ptr_max |
| BUF_SIZE | 1 | group_name | 11 |
| BUF_SIZE | 3 | link_name | 1-s32max |
| STR_LEN | 0 | kobj | 10 |
| TERMINATED | 1 | group_name | 1 |
| LOCK2 | _T->lock |
drivers/power/supply/power_supply_sysfs.c power_supply_sysfs_add_extension() -> sysfs_add_link_to_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 2 | target | 1-u64max |
| PARAM_VALUE | 3 | link_name | 4096-ptr_max |
| BUF_SIZE | 1 | group_name | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &hook_mutex |
drivers/iommu/iommu-sysfs.c iommu_device_link() -> sysfs_add_link_to_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | group_name | 3612444591515684864 |
| PARAM_VALUE | 2 | target | 4096-ptr_max |
| BUF_SIZE | 1 | group_name | 8 |
| BUF_SIZE | 3 | link_name | 1-s32max |
| STR_LEN | 0 | kobj | 7 |
| TERMINATED | 1 | group_name | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &iommu_probe_device_lock |
drivers/nvme/host/multipath.c nvme_mpath_add_sysfs_link() -> sysfs_add_link_to_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 1 | group_name | 1-s32max |
| BUF_SIZE | 3 | link_name | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &head->srcu | ||
| TYPE_LOCK | (struct nvme_ns_head)->srcu |
drivers/acpi/power.c acpi_power_expose_list() -> sysfs_add_link_to_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 1-u64max |
| PARAM_VALUE | 2 | target | 4096-ptr_max |
| BUF_SIZE | 1 | group_name | 1-s32max |
| BUF_SIZE | 3 | link_name | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |