Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 21 files:
- drivers/acpi/acpi_mrrm.c, line 192
- drivers/base/bus.c, line 1041
- drivers/base/class.c, line 242
- drivers/base/core.c, line 2918
- drivers/base/driver.c, line 139
- drivers/dax/bus.c, line 627
- drivers/gpio/gpio-sim.c, line 354
- drivers/gpio/gpiolib-sysfs.c
- drivers/hid/hid-lenovo-go-s.c, line 1430
- drivers/hid/hid-lenovo-go.c, line 2418
- drivers/infiniband/core/sysfs.c
- drivers/memory/brcmstb_dpfe.c, line 916
- drivers/pci/pci-sysfs.c, line 1761
- drivers/ptp/ptp_ocp.c, line 2632
- drivers/ufs/core/ufs-sysfs.c, line 2163
- drivers/usb/host/xhci-dbgcap.c, line 1566
- drivers/w1/w1.c, line 663
- fs/sysfs/group.c, line 354
- lib/kobject.c, line 595
- net/core/net-sysfs.c
- sound/soc/codecs/cs43130.c, line 2376
Smatch caller information:
drivers/dax/bus.c dax_region_unregister() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | groups | 6454033112319447040 |
| BUF_SIZE | 1 | groups | 16 |
| NOCHECK_CALL |
drivers/acpi/acpi_mrrm.c add_boot_memory_ranges() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 1-u64max |
| PARAM_VALUE | 1 | groups | 8889322961819582464 |
| BUF_SIZE | 1 | groups | 16 |
| NOCHECK_CALL |
sound/soc/codecs/cs43130.c cs43130_probe() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | groups | 608324702073065472 |
| BUF_SIZE | 1 | groups | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &card->mutex | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct snd_soc_card)->mutex |
drivers/ufs/core/ufs-sysfs.c ufs_sysfs_remove_nodes() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | groups | 7661588169357160448 |
| BUF_SIZE | 1 | groups | 120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/base/class.c class_unregister() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpio/gpio-sim.c gpio_sim_sysfs_remove() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
drivers/gpio/gpiolib-sysfs.c gpiod_export() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | groups | 4096-ptr_max |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 1 | groups | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpio/gpiolib-sysfs.c gpiod_unexport_unlocked() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | groups | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/infiniband/core/sysfs.c destroy_gid_attrs() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| BUF_SIZE | 1 | groups | 24 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->compat_devs_mutex | ||
| HALF_LOCKED2 | &ib_dev->unregistration_lock | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &rdma_nets_rwsem |
drivers/infiniband/core/sysfs.c destroy_port() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->compat_devs_mutex | ||
| HALF_LOCKED2 | &ib_dev->unregistration_lock | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &rdma_nets_rwsem |
drivers/infiniband/core/sysfs.c destroy_port() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| BUF_SIZE | 1 | groups | 40 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->compat_devs_mutex | ||
| HALF_LOCKED2 | &ib_dev->unregistration_lock | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &rdma_nets_rwsem |
drivers/infiniband/core/sysfs.c ib_port_unregister_client_groups() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | groups | 4633673083725225984 |
| BUF_SIZE | 1 | groups | 40 |
| BUF_SIZE | 1 | groups | 40 |
| DATA_SOURCE | 1 | groups | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ibdev->client_data_rwsem | ||
| HALF_LOCKED2 | &ibdev->unregistration_lock | ||
| HALF_LOCKED2 | global &clients_rwsem | ||
| HALF_LOCKED2 | global &devices_rwsem |
drivers/infiniband/core/sysfs.c setup_port() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.next | 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 | 3723397472496644096 |
| PARAM_VALUE | 0 | kobj->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 1 | groups | 4096-ptr_max |
| BUF_SIZE | 1 | groups | 40 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->compat_devs_mutex | ||
| HALF_LOCKED2 | global &devices_rwsem | ||
| HALF_LOCKED2 | global &rdma_nets_rwsem |
drivers/memory/brcmstb_dpfe.c brcmstb_dpfe_remove() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/ptp/ptp_ocp.c ptp_ocp_attr_group_del() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/hid/hid-lenovo-go-s.c hid_gos_cfg_remove() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | groups | 6629637444400029696 |
| BUF_SIZE | 1 | groups | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &hdev->driver_input_lock | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
net/core/net-sysfs.c net_rx_queue_update_kobjects() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 1 | groups | 16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/core/net-sysfs.c netdev_queue_add_kobject() -> sysfs_remove_groups()
| 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.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | kobj->ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 0 | kobj->state_remove_uevent_sent | 0 |
| PARAM_VALUE | 1 | groups | 7123122344144650240 |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 1 | groups | 16 |
| BUF_SIZE | 1 | groups | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->lock |
net/core/net-sysfs.c netdev_queue_update_kobjects() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| BUF_SIZE | 1 | groups | 16 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/core/net-sysfs.c rx_queue_add_kobject() -> sysfs_remove_groups()
| 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.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | kobj->kset->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | kobj->ktype | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->name | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | kobj->state_initialized | 1 |
| PARAM_VALUE | 0 | kobj->state_remove_uevent_sent | 0 |
| PARAM_VALUE | 1 | groups | 757233477060755456 |
| BUF_SIZE | 0 | kobj | 248 |
| BUF_SIZE | 0 | kobj->kset | (-1),344 |
| BUF_SIZE | 1 | groups | 16 |
| BUF_SIZE | 1 | groups | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->lock |
drivers/base/bus.c bus_unregister() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| BUF_SIZE | 0 | kobj | 248 |
| NOCHECK_CALL |
drivers/hid/hid-lenovo-go.c hid_go_cfg_remove() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | groups | 2385262052669775872 |
| BUF_SIZE | 1 | groups | 48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &hdev->driver_input_lock | ||
| LOCK2 | _T->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct hid_device)->driver_input_lock |
drivers/base/core.c device_remove_groups() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | groups | (-1),8,16-s32max |
| BUF_SIZE | 1 | groups | (-1),8,16-s32max |
| DATA_SOURCE | 1 | groups | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &accel_dev->state_lock | ||
| HALF_LOCKED2 | &led_cdev->trigger_lock | ||
| HALF_LOCKED2 | global &hook_mutex | ||
| HALF_LOCKED2 | global &psmouse_mutex |
drivers/w1/w1.c w1_family_notify() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | groups | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->list_mutex | ||
| HALF_LOCKED2 | &dev->bus_mutex | ||
| TYPE_LOCK | (struct w1_master)->list_mutex |
drivers/pci/pci-sysfs.c __resource_resize_store() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | groups | 4421869082183045120 |
| BUF_SIZE | 1 | groups | 32 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct device)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/base/driver.c driver_remove_groups() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 1-u64max |
| DATA_SOURCE | 1 | groups | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
lib/kobject.c __kobject_del() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 0 | kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| BUF_SIZE | 0 | kobj | (-1)-s32max |
| BUF_SIZE | 0 | kobj | (-1)-s32max |
| DATA_SOURCE | 0 | kobj | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/host/xhci-dbgcap.c xhci_dbc_remove() -> sysfs_remove_groups()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | groups | 3585860727427633152 |
| BUF_SIZE | 1 | groups | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &xhci->mutex | ||
| HALF_LOCKED2 | global &companions_rwsem | ||
| HALF_LOCKED2 | global &xenwatch_mutex | ||
| TYPE_LOCK | (struct xhci_hcd)->mutex |