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 551
- drivers/base/node.c, line 759
- drivers/hwtracing/coresight/coresight-sysfs.c
- drivers/iommu/iommu-sysfs.c
- drivers/nvme/host/multipath.c, line 1348
- drivers/power/supply/power_supply_sysfs.c, line 671
- fs/sysfs/group.c, line 455
Smatch caller information:
drivers/base/node.c register_memory_node_under_compute_node() -> sysfs_remove_link_from_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 1 | group_name | 1802852418554548224 |
| BUF_SIZE | 1 | group_name | 8 |
| BUF_SIZE | 2 | link_name | 1-s32max |
| STR_LEN | 0 | kobj | 7 |
| TERMINATED | 1 | group_name | 1 |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/power/supply/power_supply_sysfs.c power_supply_sysfs_remove_extension() -> sysfs_remove_link_from_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 2 | link_name | 4096-ptr_max |
| BUF_SIZE | 1 | group_name | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | global &hook_mutex |
drivers/iommu/iommu-sysfs.c iommu_device_link() -> sysfs_remove_link_from_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 1 | group_name | 3612444591515684864 |
| BUF_SIZE | 1 | group_name | 8 |
| BUF_SIZE | 2 | link_name | 1-s32max |
| STR_LEN | 0 | kobj | 7 |
| TERMINATED | 1 | group_name | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/iommu-sysfs.c iommu_device_unlink() -> sysfs_remove_link_from_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | group_name | 3612444591515684864 |
| BUF_SIZE | 1 | group_name | 8 |
| BUF_SIZE | 2 | link_name | 1-s32max |
| STR_LEN | 0 | kobj | 7 |
| TERMINATED | 1 | group_name | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &group->mutex | ||
| HALF_LOCKED2 | global &iommu_probe_device_lock | ||
| TYPE_LOCK | (struct iommu_group)->mutex |
drivers/nvme/host/multipath.c nvme_mpath_remove_sysfs_link() -> sysfs_remove_link_from_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 | 2 | link_name | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctrl->scan_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/acpi/power.c acpi_power_hide_list() -> sysfs_remove_link_from_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| BUF_SIZE | 1 | group_name | 1-s32max |
| BUF_SIZE | 2 | link_name | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |