Defined in 86 files as a member:

Defined in 3 files as a macro:

Defined in 1 files as a label:

Defined in 3 files as a function:

Defined in 2 files as a enumerator:

Referenced in 294 files:

Smatch caller information:

fs/sysfs/file.c sysfs_kf_write() -> (struct sysfs_ops)->store()

Type Parameter Key Value
PARAM_VALUE 2 buf 4096-ptr_max
PARAM_VALUE 3 count 1-1000000000
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 1 attr 40,136,480,696,928,1128,1160,1392,1624,1848,8192
CAPPED_DATA 3 count 1
CAPPED_DATA 3 count 1
DATA_SOURCE 0 kobj r sysfs_file_kobj
DATA_SOURCE 2 buf $1
DATA_SOURCE 3 count $2
NOSPEC 3 count
TERMINATED 2 buf 1
RX_PATH
TASK_NOT_RUNNING
ELEM_LAST 2 ==buf3 8052
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

Smatch assignments to (struct kobj_attribute)->store:

kernel/exit.c (null)() -> (struct kobj_attribute)->store [0]

kernel/panic.c (null)() -> (struct kobj_attribute)->store [0]

kernel/rcu/tree.c (null)() -> (struct kobj_attribute)->store [0]

mm/cma_sysfs.c (null)() -> (struct kobj_attribute)->store [0]

drivers/platform/x86/lenovo/think-lmi.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

drivers/gpu/drm/xe/xe_gt_freq.c (null)() -> (struct kobj_attribute)->store [0,486203022991478784,2205320301259046912,9145608339160502272]

drivers/gpu/drm/xe/xe_gt_idle.c (null)() -> (struct kobj_attribute)->store [0]

mm/huge_memory.c (null)() -> (struct kobj_attribute)->store [0,1085260670636216320,7058097507286908928,7912729955156258816,8826859840330801152,9204022027372785664]

drivers/acpi/platform_profile.c (null)() -> (struct kobj_attribute)->store [0,8732760053002113024]

net/sunrpc/sysfs.c (null)() -> (struct kobj_attribute)->store [0,431150555142635520,818974390214299648,5658451366803103744,6228757729423544320]

drivers/accessibility/speakup/speakup_audptr.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

drivers/accessibility/speakup/speakup_apollo.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

drivers/accessibility/speakup/speakup_keypc.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

drivers/firmware/efi/esrt.c (null)() -> (struct kobj_attribute)->store [0]

drivers/acpi/acpi_mrrm.c (null)() -> (struct kobj_attribute)->store [0]

arch/x86/kernel/ksysfs.c (null)() -> (struct kobj_attribute)->store [0]

drivers/firmware/imx/imx-scu-irq.c (null)() -> (struct kobj_attribute)->store [0]

drivers/accessibility/speakup/speakup_ltlk.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

mm/damon/sysfs-common.c (null)() -> (struct kobj_attribute)->store [322586620649226240,8809010796865507328]

drivers/accessibility/speakup/speakup_spkout.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

mm/memory-tiers.c (null)() -> (struct kobj_attribute)->store [5650758841503137792]

kernel/power/swap.c (null)() -> (struct kobj_attribute)->store [7949628697567207424]

kernel/watchdog.c (null)() -> (struct kobj_attribute)->store [0]

drivers/platform/x86/hp/hp-bioscfg/surestart-attributes.c (null)() -> (struct kobj_attribute)->store [0]

drivers/acpi/cppc_acpi.c (null)() -> (struct kobj_attribute)->store [0]

drivers/platform/x86/hp/hp-bioscfg/passwdobj-attributes.c (null)() -> (struct kobj_attribute)->store [0,1338231228140044288,3126304014421934080]

drivers/accessibility/speakup/speakup_decext.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

mm/shmem.c (null)() -> (struct kobj_attribute)->store [0,4860465070239936512,5961847849611538432]

drivers/accessibility/speakup/speakup_bns.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

kernel/power/main.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

drivers/gpu/drm/xe/xe_gt_throttle.c (null)() -> (struct kobj_attribute)->store [0]

drivers/acpi/bgrt.c (null)() -> (struct kobj_attribute)->store [0]

kernel/ksysfs.c (null)() -> (struct kobj_attribute)->store [0,1411657197730357248,3345048296161222656,5359505642194227200,5545075493651423232]

drivers/accessibility/speakup/speakup_dummy.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

drivers/gpu/drm/xe/xe_oa.c create_dynamic_oa_sysfs_entry() -> (struct kobj_attribute)->store [0]

drivers/gpu/drm/xe/xe_oa.c destroy_config() -> (struct kobj_attribute)->store [0-u64max]

drivers/gpu/drm/xe/xe_oa.c xe_oa_config_release() -> (struct kobj_attribute)->store [min-max]

kernel/kexec_core.c (null)() -> (struct kobj_attribute)->store [0,3852474632583487488]

drivers/platform/x86/dell/dell-wmi-sysman/string-attributes.c (null)() -> (struct kobj_attribute)->store [0,888872267561824256]

mm/ksm.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

drivers/cpufreq/cpufreq.c (null)() -> (struct kobj_attribute)->store [3059216702335938560]

drivers/block/rnbd/rnbd-clt-sysfs.c (null)() -> (struct kobj_attribute)->store [0,4567736731138068480,5163800285956263936,7294337511020183552,7570638188308320256]

fs/ocfs2/stackglue.c (null)() -> (struct kobj_attribute)->store [0,7340053817755852800]

drivers/infiniband/ulp/rtrs/rtrs-srv-sysfs.c (null)() -> (struct kobj_attribute)->store [0,3094064108898361344,3934742222237900800]

drivers/firmware/qemu_fw_cfg.c (null)() -> (struct kobj_attribute)->store [0]

mm/hugetlb_sysfs.c (null)() -> (struct kobj_attribute)->store [0,2442265292664061952,3954009856047521792,4620498588219023360,6928696054292742144,8868148477064859648]

mm/vmscan.c (null)() -> (struct kobj_attribute)->store [6400698749907456000,6898235160317460480]

kernel/reboot.c (null)() -> (struct kobj_attribute)->store [738322808037494784,1079156806772703232,5544408264295706624,8158047124709236736,8446093933204955136]

drivers/soc/hisilicon/kunpeng_hccs.c (null)() -> (struct kobj_attribute)->store [0,744538456451981312,5095374451134496768]

drivers/platform/x86/lenovo/wmi-other.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

drivers/gpu/drm/i915/i915_perf.c create_dynamic_oa_sysfs_entry() -> (struct kobj_attribute)->store [0]

drivers/gpu/drm/i915/i915_perf.c destroy_config() -> (struct kobj_attribute)->store [0-u64max]

drivers/gpu/drm/i915/i915_perf.c i915_oa_config_release() -> (struct kobj_attribute)->store [min-max]

drivers/platform/x86/samsung-galaxybook.c (null)() -> (struct kobj_attribute)->store [0]

drivers/platform/x86/samsung-galaxybook.c galaxybook_fw_attr_init() -> (struct kobj_attribute)->store [0,1728656812591058944]

kernel/time/timekeeping.c (null)() -> (struct kobj_attribute)->store [3902222633935118336]

drivers/platform/x86/dell/dell-wmi-sysman/sysman.c (null)() -> (struct kobj_attribute)->store [0,1487464511108321280]

drivers/cpufreq/intel_pstate.c (null)() -> (struct kobj_attribute)->store [0,440641706786541568,2594525712335781888,2880700124562694144,5046565481168486400,8298286341298950144,8778771953279774720]

arch/x86/platform/efi/efi.c (null)() -> (struct kobj_attribute)->store [0]

kernel/cgroup/cgroup.c (null)() -> (struct kobj_attribute)->store [0]

drivers/accessibility/speakup/speakup_dtlk.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_od_set_fini() -> (struct kobj_attribute)->store [min-max]

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_od_set_init() -> (struct kobj_attribute)->store [0-u64max]

drivers/dma/idxd/perfmon.c (null)() -> (struct kobj_attribute)->store [0]

arch/x86/coco/sev/core.c (null)() -> (struct kobj_attribute)->store [0]

drivers/accessibility/speakup/speakup_txprt.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

drivers/acpi/acpi_fpdt.c (null)() -> (struct kobj_attribute)->store [0]

drivers/accessibility/speakup/speakup_acntsa.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c create_attr_group() -> (struct kobj_attribute)->store [0,1087320616602259456,5877374326180474880,6052598984456728576,7051478794297393152,7487278934214168576,7701137034703654912]

fs/ecryptfs/main.c (null)() -> (struct kobj_attribute)->store [0]

drivers/platform/x86/asus-armoury.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

drivers/accessibility/speakup/speakup_dectlk.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

samples/kobject/kobject-example.c (null)() -> (struct kobj_attribute)->store [2188780805378199552,3231802863879262208]

fs/btrfs/sysfs.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

fs/nfs/sysfs.c (null)() -> (struct kobj_attribute)->store [0,3816090467910664192,6404439846841294848]

mm/damon/sysfs.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

fs/fuse/virtio_fs.c (null)() -> (struct kobj_attribute)->store [0]

drivers/accessibility/speakup/speakup_soft.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

mm/damon/sysfs-schemes.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

drivers/gpu/drm/i915/gt/intel_gt_sysfs.c (null)() -> (struct kobj_attribute)->store [0]

drivers/block/rnbd/rnbd-srv-sysfs.c (null)() -> (struct kobj_attribute)->store [0,8942888809667670016]

drivers/platform/x86/hp/hp-bioscfg/enum-attributes.c (null)() -> (struct kobj_attribute)->store [0,1963988749014257664]

kernel/locking/test-ww_mutex.c (null)() -> (struct kobj_attribute)->store [7238858630432681984]

kernel/module/decompress.c (null)() -> (struct kobj_attribute)->store [0]

drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c (null)() -> (struct kobj_attribute)->store [0]

fs/ocfs2/filecheck.c (null)() -> (struct kobj_attribute)->store [6623785821146619904]

drivers/platform/x86/uv_sysfs.c (null)() -> (struct kobj_attribute)->store [0]

mm/mempolicy.c (null)() -> (struct kobj_attribute)->store [6372216191094665216]

mm/mempolicy.c sysfs_wi_node_add() -> (struct kobj_attribute)->store [0-u64max]

mm/mempolicy.c sysfs_wi_node_delete() -> (struct kobj_attribute)->store [min-max]

drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c (null)() -> (struct kobj_attribute)->store [0,6784122908503437312]

drivers/accessibility/speakup/speakup_acntpc.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

fs/ocfs2/cluster/sys.c (null)() -> (struct kobj_attribute)->store [0]

drivers/acpi/sysfs.c (null)() -> (struct kobj_attribute)->store [0,1135604967738830848,8962157090070953984]

drivers/acpi/sysfs.c acpi_irq_stats_init() -> (struct kobj_attribute)->store [0-u64max]

drivers/acpi/sysfs.c delete_gpe_attr_array() -> (struct kobj_attribute)->store [min-max]

drivers/crypto/ccp/sev-dev.c (null)() -> (struct kobj_attribute)->store [0,6767927390046752768]

kernel/power/hibernate.c (null)() -> (struct kobj_attribute)->store [1101468411017183232,1342754378347413504,1694190222777704448,1785636098997030912,8206073089435680768]

drivers/gpu/drm/xe/xe_hw_engine_class_sysfs.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

drivers/platform/x86/intel/pmt/discovery.c (null)() -> (struct kobj_attribute)->store [0]

drivers/hid/wacom_sys.c (null)() -> (struct kobj_attribute)->store [0,1753065598618472448]

drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c uncore_probe() -> (struct kobj_attribute)->store [0]

kernel/irq/irqdesc.c (null)() -> (struct kobj_attribute)->store [0]

drivers/platform/x86/hp/hp-bioscfg/string-attributes.c (null)() -> (struct kobj_attribute)->store [0,6482289291431698432]

drivers/firmware/efi/efi.c (null)() -> (struct kobj_attribute)->store [0]

mm/khugepaged.c (null)() -> (struct kobj_attribute)->store [0,34828031469211648,751170942746976256,4386622063753400320,4467513491185229824,6101007366375145472,6742565551007592448,9120967532918542336]

drivers/platform/x86/dell/dell-wmi-sysman/passobj-attributes.c (null)() -> (struct kobj_attribute)->store [0,5088970402194141184,5709131834201014272]

drivers/firmware/google/gsmi.c (null)() -> (struct kobj_attribute)->store [728865398702039040,3067957388914978816]

fs/9p/v9fs.c (null)() -> (struct kobj_attribute)->store [0]

drivers/gpu/drm/i915/gt/sysfs_engines.c (null)() -> (struct kobj_attribute)->store [0,3233467557714345984,4236682275438743552,6475282249829597184,7694343002713067520,7863814889723273216]

drivers/md/bcache/super.c (null)() -> (struct kobj_attribute)->store [1580949164911591424,5956628380479049728]

drivers/infiniband/ulp/rtrs/rtrs-clt-sysfs.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

drivers/accessibility/speakup/speakup_decpc.c (null)() -> (struct kobj_attribute)->store [3692604094213971968]

mm/swap_state.c (null)() -> (struct kobj_attribute)->store [5441571705920557056]

drivers/platform/x86/hp/hp-bioscfg/spmobj-attributes.c (null)() -> (struct kobj_attribute)->store [0,1328541912846807040,1432140253842571264,1696238611348185088]

drivers/accessibility/speakup/kobjects.c (null)() -> (struct kobj_attribute)->store [0,4096-ptr_max]

drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c (null)() -> (struct kobj_attribute)->store [0,3425790975121338368]

drivers/platform/x86/hp/hp-bioscfg/bioscfg.c (null)() -> (struct kobj_attribute)->store [0]

drivers/platform/x86/hp/hp-bioscfg/int-attributes.c (null)() -> (struct kobj_attribute)->store [0,5851585955793383424]

drivers/dma/qcom/hidma_mgmt_sys.c create_sysfs_entry_channel() -> (struct kobj_attribute)->store [8621910675062030336]

drivers/platform/x86/dell/dell-wmi-sysman/enum-attributes.c (null)() -> (struct kobj_attribute)->store [0,9002141281892098048]

kernel/trace/preemptirq_delay_test.c (null)() -> (struct kobj_attribute)->store [9052111970660388864]

drivers/platform/x86/hp/hp-bioscfg/order-list-attributes.c (null)() -> (struct kobj_attribute)->store [0,1207199459849306112]