Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/pci/p2pdma.c pci_p2pdma_unmap_mappings() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 1 attr 2199193341747597312
BUF_SIZE 2 group 1-s32max
NOCHECK_CALL

drivers/usb/core/ledtrig-usbport.c usbport_trig_remove_port() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 1 attr 4096-ptr_max
BUF_SIZE 2 group 1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &led_cdev->trigger_lock

kernel/irq/msi.c msi_sysfs_remove_desc() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
BUF_SIZE 2 group 1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &_T->lock->msi.data->mutex

drivers/usb/core/sysfs.c remove_persist_attributes() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->sd 4096-ptr_max
PARAM_VALUE 1 attr 996015587095728128
PARAM_VALUE 2 group 5945882008459993088
BUF_SIZE 2 group 6
NOCHECK_CALL

drivers/idle/intel_idle.c intel_idle_sysfs_uninit() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 4075748464306298880
PARAM_VALUE 2 group 8052710382691180544
BUF_SIZE 2 group 8
STR_LEN 0 kobj 7
TERMINATED 2 group 1
NOCHECK_CALL

drivers/hwtracing/ptt/hisi_ptt.c hisi_ptt_remove_req_filter_attr() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 2 group 1755045263716581376
BUF_SIZE 0 kobj 248
BUF_SIZE 2 group 18
STR_LEN 0 kobj 17
TERMINATED 2 group 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &hisi_ptt->filter_lock
TYPE_LOCK (struct hisi_ptt)->filter_lock

drivers/hwtracing/ptt/hisi_ptt.c hisi_ptt_remove_rp_filter_attr() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 2 group 316594245540671488
BUF_SIZE 0 kobj 248
BUF_SIZE 2 group 18
STR_LEN 0 kobj 17
TERMINATED 2 group 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &hisi_ptt->filter_lock
TYPE_LOCK (struct hisi_ptt)->filter_lock

drivers/ata/ahci.c ahci_init_one() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 3575594957680058368
PARAM_VALUE 2 group 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/ata/ahci.c ahci_remove_one() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 3575594957680058368
PARAM_VALUE 2 group 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_sysfs_remove() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->sd 1-u64max
PARAM_VALUE 1 attr 4096-ptr_max
BUF_SIZE 2 group 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c amdgpu_ras_sysfs_remove_bad_page_node() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->sd 1-u64max
PARAM_VALUE 1 attr 4096-ptr_max
BUF_SIZE 2 group 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &xenwatch_mutex

drivers/pci/doe.c pci_doe_sysfs_feature_remove() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
BUF_SIZE 2 group 1-s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/base/auxiliary_sysfs.c auxiliary_device_sysfs_irq_remove() -> sysfs_remove_file_from_group()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 1-1025,1027-1029,1031-u64max
BUF_SIZE 2 group 1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->intf_state_mutex