Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 21 files:

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