Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 13 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c amdgpu_fru_sysfs_fini() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->sd 0,4096-ptr_max
PARAM_VALUE 1 ptr 5203501736177958912
BUF_SIZE 1 ptr 48
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_gt_freq.c freq_fini() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 1 ptr 5466948764850335744
BUF_SIZE 1 ptr 80
DATA_SOURCE 0 kobj $0
NOCHECK_CALL

drivers/gpu/drm/xe/xe_gt_idle.c gt_idle_fini() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 ptr 1756760182119325696
BUF_SIZE 1 ptr 32
DATA_SOURCE 0 kobj $0
NOCHECK_CALL

drivers/net/bonding/bond_sysfs_slave.c bond_sysfs_slave_del() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 ptr 1411217982568083456
BUF_SIZE 1 ptr 72
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/mtd/mtdpart.c __mtd_del_partition() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 ptr 2283285966852034560
BUF_SIZE 1 ptr 16
NOCHECK_CALL
HALF_LOCKED2 &master->master.chrdev_lock
HALF_LOCKED2 &master->master.partitions_lock

drivers/gpu/drm/xe/xe_gt_ccs_mode.c xe_gt_ccs_mode_sysfs_fini() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 1 ptr 2394486182927683584
BUF_SIZE 1 ptr 24
NOCHECK_CALL

fs/btrfs/sysfs.c btrfs_sysfs_remove_mounted() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 0 kobj 1-u64max
PARAM_VALUE 1 ptr 4814024143790940160
BUF_SIZE 0 kobj (-1),248
BUF_SIZE 0 kobj (-1),248
BUF_SIZE 1 ptr 24
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/sysfs.c btrfs_sysfs_remove_mounted() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 0 kobj 1-u64max
PARAM_VALUE 1 ptr 2092866268998123520
BUF_SIZE 0 kobj (-1),248
BUF_SIZE 0 kobj (-1),248
BUF_SIZE 1 ptr 72
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/sysfs.c btrfs_sysfs_remove_mounted() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 0 kobj 1-u64max
PARAM_VALUE 1 ptr 540477439583227904
BUF_SIZE 0 kobj (-1),248
BUF_SIZE 0 kobj (-1),248
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/sysfs.c btrfs_sysfs_remove_mounted() -> sysfs_remove_files()

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 ptr 2508272495628611584
BUF_SIZE 0 kobj 248
BUF_SIZE 1 ptr 112
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c amdgpu_xcp_cfg_sysfs_fini() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->sd 0,4096-ptr_max
PARAM_VALUE 1 ptr 3417025813269741568
BUF_SIZE 1 ptr 24
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c amdgpu_xcp_cfg_sysfs_init() -> sysfs_remove_files()

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->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_in_sysfs 1
PARAM_VALUE 0 kobj->state_initialized 1
PARAM_VALUE 1 ptr 3417025813269741568
BUF_SIZE 1 ptr 24
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c amdgpu_xcp_cfg_sysfs_init() -> sysfs_remove_files()

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->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_in_sysfs 1
PARAM_VALUE 0 kobj->state_initialized 1
PARAM_VALUE 1 ptr 3417025813269741568
BUF_SIZE 1 ptr 24
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c amdgpu_xcp_cfg_sysfs_init() -> sysfs_remove_files()

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->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_in_sysfs 1
PARAM_VALUE 0 kobj->state_initialized 1
PARAM_VALUE 1 ptr 3417025813269741568
BUF_SIZE 1 ptr 24
NOCHECK_CALL

drivers/clk/clk-si5341.c si5341_remove() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 ptr 5815443022399377408
BUF_SIZE 1 ptr 48
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c hw_engine_class_defaults_fini() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 1 ptr 6269862637811724288
BUF_SIZE 1 ptr 80
DATA_SOURCE 0 kobj $0
NOCHECK_CALL

drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c kobj_xe_hw_engine_class_fini() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 1 ptr 5561343535898624
BUF_SIZE 1 ptr 80
DATA_SOURCE 0 kobj $0
NOCHECK_CALL

drivers/firmware/google/gsmi.c gsmi_exit() -> sysfs_remove_files()

Type Parameter Key Value
PARAM_VALUE 1 ptr 2593990067212955648
BUF_SIZE 1 ptr 24
NOCHECK_CALL

drivers/firmware/google/gsmi.c gsmi_init() -> sysfs_remove_files()

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 0,4096-ptr_max
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 1915817945436012544
PARAM_VALUE 0 kobj->name 4096-ptr_max
PARAM_VALUE 0 kobj->sd 4096-ptr_max
PARAM_VALUE 0 kobj->sd->__parent 0
PARAM_VALUE 0 kobj->sd->priv 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 ptr 2593990067212955648
BUF_SIZE 0 kobj 248
BUF_SIZE 1 ptr 24
CAPPED_DATA 0 kobj->sd 1
DATA_SOURCE 0 kobj r kobject_create_and_add
NOCHECK_CALL