Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

net/9p/trans_virtio.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 3098810782456479744
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_d->mutex

drivers/platform/x86/lenovo/think-lmi.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 88,4096-ptr_max
PARAM_VALUE 1 attr 2952284316909895680,5602245292324945920,6700343997229326336
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/edac/edac_device_sysfs.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 1-u64max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &device_ctls_mutex

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_process.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 1-u64max
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/accel/qaic/qaic_sysfs.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/base/class.c class_remove_file_ns() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 2 ns 0,4096-ptr_max
DATA_SOURCE 2 ns $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &pernet_ops_rwsem

drivers/pci/hotplug/pci_hotplug_core.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 47908109818458112,2917825797161091072,3276328483198222336,4857140265356201984,7633890018396119040
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/cpufreq/cpufreq.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 1 attr 6344962797964324864
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 _T->lock

drivers/acpi/fan_attr.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/thermal/intel/int340x_thermal/int3400_thermal.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/firmware/qemu_fw_cfg.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 1 attr 3558503493816905728
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex

drivers/infiniband/hw/mlx4/sysfs.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &ctx->mcg_table_lock

drivers/soc/hisilicon/kunpeng_hccs.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 1 attr 3160506643026153472,5277606261714178048,6311943126201765888,8092992764200194048
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/base/bus.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 759755788914229248,1633041428958597120,3918739466695401472,8145358484035637248,8442656445375774720
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
NOCHECK_CALL

drivers/net/phy/phy_device.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 4289190494718361600
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/sysfs/file.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 2 ns 0
BUF_SIZE 0 kobj (-1),248
BUF_SIZE 0 kobj (-1),248
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/x86/dell/dell-wmi-sysman/sysman.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 4887657126788718592,8904617071696777216
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
NOCHECK_CALL
LOCK2 global &wmi_priv.mutex
TYPE_LOCK (struct wmi_sysman_priv)->mutex

drivers/cpufreq/intel_pstate.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 1 attr 1062465048721092608,1113103917094567936,2390046241816145920,3169441233582026752,6041792850439188480,6135330625683079168
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex

drivers/thermal/intel/int340x_thermal/processor_thermal_device.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 1 attr 3267854091884408832
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/platform/x86/asus-armoury.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 88,4096-ptr_max
PARAM_VALUE 1 attr 6531580241964482560
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
NOCHECK_CALL

drivers/base/core.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 1-u64max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
NOCHECK_CALL

drivers/base/driver.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 1-u64max
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &topology_lock

mm/mempolicy.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 0,4096-ptr_max
PARAM_VALUE 1 attr 1-u64max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 433329196497473536
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/netfilter/xt_IDLETIMER.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 1 attr 4096-ptr_max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/iommu/iommu.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->state_in_sysfs 1
PARAM_VALUE 0 kobj->state_initialized 1
PARAM_VALUE 1 attr 2366069568053657600
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/module/sysfs.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr->name 1-u64max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
NOCHECK_CALL

drivers/bus/mhi/host/init.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 6069421725071175680
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/misc/pch_phub.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 502641683974516736
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->sd 0,4096-ptr_max
PARAM_VALUE 1 attr 5265680248200458240
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/xen/sys-hypervisor.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->sd 0,4096-ptr_max
PARAM_VALUE 1 attr 2192257077073059840,2438938599636865024,5820728118847934464
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
NOCHECK_CALL

drivers/hwmon/dme1737.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->sd 0,4096-ptr_max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/hwmon/applesmc.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 16,4096-ptr_max
PARAM_VALUE 1 attr->name 1-u64max
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
NOCHECK_CALL

drivers/platform/x86/hp/hp-bioscfg/bioscfg.c sysfs_remove_file() -> sysfs_remove_file_ns()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 1 attr 1534825717313638400
PARAM_VALUE 2 ns 0
DATA_SOURCE 0 kobj $0
DATA_SOURCE 1 attr $1
NOCHECK_CALL
LOCK2 global &bioscfg_drv.mutex
TYPE_LOCK (struct bioscfg_priv)->mutex