Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 20 files:
- arch/x86/kernel/cpu/sgx/main.c, line 788
- drivers/acpi/platform_profile.c
- drivers/cxl/core/memdev.c
- drivers/cxl/core/region.c
- drivers/devfreq/devfreq.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c, line 1107
- drivers/hid/amd-sfh-hid/amd_sfh_pcie.c, line 392
- drivers/hv/vmbus_drv.c
- drivers/leds/trigger/ledtrig-netdev.c
- drivers/nvme/host/pci.c, line 2852
- drivers/pci/ide.c, line 802
- drivers/pci/pcie/aspm.c, line 1155
- drivers/pci/tsm.c
- drivers/platform/chrome/cros_ec_sensorhub.c, line 126
- drivers/platform/x86/toshiba_acpi.c
- drivers/scsi/scsi_transport_spi.c, line 1565
- drivers/usb/core/sysfs.c, line 1332
- drivers/usb/typec/class.c
- fs/btrfs/sysfs.c, line 2650
- fs/sysfs/group.c, line 300
Smatch caller information:
drivers/acpi/platform_profile.c platform_profile_register() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd->__parent | 0 |
| PARAM_VALUE | 1 | grp | 3735328291644805120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &policy->rwsem |
drivers/acpi/platform_profile.c platform_profile_remove() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd->__parent | 0 |
| PARAM_VALUE | 1 | grp | 3735328291644805120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/pci/ide.c pci_ide_set_nr_streams() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 2660010697964122112 |
| NOCHECK_CALL |
drivers/hv/vmbus_drv.c hv_create_ring_sysfs() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 2013113121961988096 |
| BUF_SIZE | 0 | kobj | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hv/vmbus_drv.c hv_remove_ring_sysfs() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 2013113121961988096 |
| BUF_SIZE | 0 | kobj | 248 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &child_device->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/cxl/core/region.c __construct_region() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 9089860533647691776 |
| LOCK2 | _T->lock |
drivers/cxl/core/region.c __construct_region() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 1-u64max |
| PARAM_VALUE | 1 | grp | 4592364559372120064 |
| LOCK2 | _T->lock |
drivers/cxl/core/region.c cxl_region_update_coordinates() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 1543681201808539648 |
drivers/cxl/core/region.c cxl_region_update_coordinates() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 8970038517305028608 |
drivers/cxl/core/region.c set_interleave_ways() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 4592364559372120064 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvme/host/pci.c nvme_update_attrs() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | grp | 1488578958361018368 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/core/sysfs.c usb_update_wireless_status_attr() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 2964919974971297792 |
| LOCK2 | &intf->dev.parent->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/leds/trigger/ledtrig-netdev.c device_name_store() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 3905825301290983424 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/leds/trigger/ledtrig-netdev.c netdev_trig_notify() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | grp | 3905825301290983424 |
| NOCHECK_CALL | |||
| LOCK2 | &trigger_data->lock | ||
| TYPE_LOCK | (struct led_netdev_data)->lock |
fs/btrfs/sysfs.c btrfs_sysfs_feature_update() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 1 | grp | 378273641984925696 |
| BUF_SIZE | 0 | kobj | 248 |
| LOCK2 | &fs_info->cleaner_mutex | ||
| TYPE_LOCK | (struct btrfs_fs_info)->cleaner_mutex |
drivers/pci/pcie/aspm.c pcie_aspm_update_sysfs_visibility() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 4867115042053640192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &aspm_lock | ||
| LOCK2 | global &pci_bus_sem | ||
| HALF_LOCKED2 | &ctrl->reset_lock | ||
| HALF_LOCKED2 | &p_slot->ctrl->crit_sect | ||
| HALF_LOCKED2 | &s->skt_mutex | ||
| HALF_LOCKED2 | global &list_rwsem | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |
arch/x86/kernel/cpu/sgx/main.c arch_update_sysfs_visibility() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | grp | 5461766101733163008 |
drivers/cxl/core/memdev.c cxl_memdev_update_perf() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 8750534062984880128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/cxl/core/memdev.c cxl_memdev_update_perf() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 6347123850220847104 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/platform/x86/toshiba_acpi.c toshiba_acpi_kbd_bl_work() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 8512979460465868800 |
| HALF_LOCKED2 | &pool->lock |
drivers/platform/x86/toshiba_acpi.c toshiba_acpi_notify() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 8512979460465868800 |
| HALF_LOCKED2 | &pool->lock |
drivers/pci/tsm.c link_sysfs_disable() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 4069894812530184192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/pci/tsm.c link_sysfs_disable() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 3885748678333296640 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/pci/tsm.c link_sysfs_enable() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 4069894812530184192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &sev_cmd_mutex |
drivers/pci/tsm.c link_sysfs_enable() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 3885748678333296640 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &sev_cmd_mutex |
drivers/platform/chrome/cros_ec_sensorhub.c cros_ec_sensorhub_register() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hid/amd-sfh-hid/amd_sfh_pcie.c sfh1_1_init_work() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 7140373627787878400 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c amdgpu_xcp_sysfs_entries_update() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 2822205436575748096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &xcp_mgr->xcp_lock | ||
| TYPE_LOCK | (struct amdgpu_xcp_mgr)->xcp_lock |
drivers/scsi/scsi_transport_spi.c spi_target_configure() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | grp | 3244671151729147904 |
| BUF_SIZE | 0 | kobj | 248 |
| NOCHECK_CALL |
drivers/devfreq/devfreq.c devfreq_add_device() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 7919024763235315712 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &devfreq_list_lock |
drivers/devfreq/devfreq.c governor_store() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 7919024763235315712 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &devfreq_list_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/typec/class.c typec_altmode_set_ops() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 5491625228017184768 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &con->lock |
drivers/usb/typec/class.c typec_partner_set_num_altmodes() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 8494238746172522496 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &con->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/typec/class.c typec_plug_set_num_altmodes() -> sysfs_update_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | grp | 7106158854600122368 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &con->lock | ||
| HALF_LOCKED2 | &port->lock |