Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 214 files:
- arch/alpha/kernel/srm_env.c, line 125
- arch/arm/mm/alignment.c, line 169
- arch/arm64/kvm/ptdump.c, 3 times
- arch/powerpc/kernel/rtas-proc.c, 5 times
- arch/powerpc/kvm/timing.c, line 203
- arch/powerpc/platforms/cell/spufs/file.c, 4 times
- arch/powerpc/platforms/pseries/lpar.c, 2 times
- arch/powerpc/platforms/pseries/lparcfg.c, line 811
- arch/s390/pci/pci_debug.c, line 179
- arch/sh/mm/alignment.c, line 158
- arch/sh/mm/tlb-debugfs.c, line 146
- arch/sparc/kernel/led.c, line 111
- arch/um/kernel/exitcode.c, line 61
- arch/x86/kernel/callthunks.c, line 362
- arch/x86/kernel/cpu/debugfs.c, 2 times
- arch/x86/kernel/cpu/mce/severity.c, line 475
- arch/x86/kernel/cpu/mtrr/if.c, line 400
- arch/x86/kvm/debugfs.c, line 188
- arch/x86/mm/pat/memtype.c, line 1035
- arch/x86/mm/pat/set_memory.c, line 203
- block/blk-mq-debugfs.c, line 597
- drivers/accel/amdxdna/amdxdna_debugfs.c, line 21
- drivers/accel/habanalabs/common/debugfs.c, line 1862
- drivers/accel/ivpu/ivpu_debugfs.c, 2 times
- drivers/acpi/proc.c, line 135
- drivers/base/power/wakeup.c, line 1167
- drivers/block/drbd/drbd_debugfs.c, 5 times
- drivers/char/tpm/eventlog/common.c, line 72
- drivers/clk/clk.c, line 3647
- drivers/clk/starfive/clk-starfive-jh7110-pll.c, line 424
- drivers/crypto/intel/iaa/iaa_crypto_stats.c, 2 times
- drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.c, line 259
- drivers/crypto/intel/qat/qat_common/adf_fw_counters.c, line 228
- drivers/extcon/extcon-rtk-type-c.c, 2 times
- drivers/firmware/psci/psci.c, line 476
- drivers/firmware/tegra/bpmp-debugfs.c, 2 times
- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c, 2 times
- drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c, 2 times
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c, line 3857
- drivers/gpu/drm/arm/malidp_drv.c, line 547
- drivers/gpu/drm/armada/armada_debugfs.c, line 92
- drivers/gpu/drm/drm_debugfs.c, 5 times
- drivers/gpu/drm/drm_debugfs_crc.c, line 174
- drivers/gpu/drm/drm_mipi_dbi.c, line 1356
- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_debugfs.c, line 92
- drivers/gpu/drm/i915/display/intel_display_debugfs.c, 6 times
- drivers/gpu/drm/i915/display/intel_dp_test.c, line 725
- drivers/gpu/drm/i915/display/intel_hdcp.c, line 2879
- drivers/gpu/drm/i915/display/intel_hotplug.c, 2 times
- drivers/gpu/drm/i915/display/intel_vrr.c, line 1442
- drivers/gpu/drm/i915/display/intel_wm.c, 3 times
- drivers/gpu/drm/i915/display/skl_watermark.c, line 4049
- drivers/gpu/drm/i915/gt/intel_gt_debugfs.h, line 18
- drivers/gpu/drm/imagination/pvr_fw_trace.c, line 512
- drivers/gpu/drm/loongson/lsdc_crtc.c, line 669
- drivers/gpu/drm/mediatek/mtk_dpi.c, line 972
- drivers/gpu/drm/mediatek/mtk_hdmi_v2.c, line 1307
- drivers/gpu/drm/msm/dp/dp_debug.c, line 196
- drivers/gpu/drm/msm/msm_debugfs.c, 2 times
- drivers/gpu/drm/omapdrm/dss/dss.c, line 920
- drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c, 2 times
- drivers/gpu/vga/vga_switcheroo.c, line 904
- drivers/hid/hid-picolcd_debugfs.c, line 65
- drivers/hid/hid-wiimote-debug.c, line 167
- drivers/hwmon/dell-smm-hwmon.c, line 705
- drivers/infiniband/hw/cxgb4/device.c, 2 times
- drivers/infiniband/hw/hfi1/debugfs.h, line 37
- drivers/infiniband/hw/hns/hns_roce_debugfs.c, line 48
- drivers/input/input.c, 2 times
- drivers/iommu/intel/debugfs.c, line 739
- drivers/macintosh/via-pmu.c, line 967
- drivers/md/md.c, line 9152
- drivers/mfd/tps65010.c, line 295
- drivers/mmc/core/mmc_test.c, line 3128
- drivers/mtd/ubi/debug.c, line 579
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c, 19 times
- drivers/net/ethernet/chelsio/cxgb4/l2t.c, line 741
- drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c, line 138
- drivers/net/ethernet/marvell/octeontx2/af/cn20k/debugfs.c, line 161
- drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c, line 191
- drivers/net/ethernet/meta/fbnic/fbnic_debugfs.c, line 314
- drivers/net/wireless/ath/ath9k/debug.c, line 808
- drivers/net/wireless/ath/wil6210/debugfs.c, 5 times
- drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c, line 181
- drivers/net/wireless/intel/ipw2x00/libipw_module.c, line 245
- drivers/net/wireless/intel/iwlwifi/fw/debugfs.c, line 442
- drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c, line 3278
- drivers/net/wireless/realtek/rtlwifi/debug.c, line 70
- drivers/net/wireless/realtek/rtw88/debug.c, 2 times
- drivers/net/wireless/rsi/rsi_91x_debugfs.c, 2 times
- drivers/net/xen-netback/xenbus.c, line 156
- drivers/nubus/proc.c, line 149
- drivers/phy/mediatek/phy-mtk-tphy.c, 2 times
- drivers/platform/raspberrypi/vchiq-interface/vchiq_debugfs.c, line 94
- drivers/platform/x86/asus-wmi.c, line 5068
- drivers/platform/x86/intel/pmc/core.c, 2 times
- drivers/platform/x86/intel/telemetry/debugfs.c, 2 times
- drivers/platform/x86/intel/vsec_tpmi.c, line 534
- drivers/platform/x86/lenovo/thinkpad_acpi.c, line 916
- drivers/platform/x86/msi-wmi-platform.c, line 284
- drivers/platform/x86/toshiba_acpi.c, 4 times
- drivers/pnp/pnpbios/proc.c, line 216
- drivers/ras/amd/fmpm.c, line 956
- drivers/ras/debugfs.c, line 42
- drivers/s390/block/dasd.c, line 1069
- drivers/s390/block/dasd_proc.c, line 321
- drivers/s390/cio/blacklist.c, line 410
- drivers/s390/cio/qdio_debug.c, line 279
- drivers/scsi/qedf/qedf_dbg.h, line 146
- drivers/scsi/qedi/qedi_dbg.h, line 115
- drivers/scsi/qla2xxx/qla_dfs.c, line 569
- drivers/scsi/scsi_devinfo.c, line 719
- drivers/scsi/scsi_proc.c, 2 times
- drivers/scsi/sg.c, 2 times
- drivers/soc/mediatek/mtk-svs.c, 2 times
- drivers/soc/qcom/cmd-db.c, line 337
- drivers/soc/qcom/socinfo.c, 2 times
- drivers/thunderbolt/debugfs.c, line 116
- drivers/ufs/core/ufs-debugfs.c, 4 times
- drivers/usb/chipidea/debug.c, line 114
- drivers/usb/dwc2/debugfs.c, line 113
- drivers/usb/dwc3/debugfs.c, 4 times
- drivers/usb/gadget/function/rndis.c, line 1194
- drivers/usb/gadget/udc/renesas_usb3.c, line 2646
- drivers/usb/host/xhci-debugfs.c, 6 times
- drivers/usb/mtu3/mtu3_debugfs.c, 4 times
- drivers/usb/musb/musb_debugfs.c, 2 times
- drivers/video/fbdev/via/viafbdev.c, 7 times
- drivers/xen/xenfs/xensyms.c, line 150
- fs/binfmt_misc.c, line 1424
- fs/debugfs/file.c, line 1404
- fs/dlm/debug_fs.c, 4 times
- fs/gfs2/glock.c, 3 times
- fs/jbd2/journal.c, line 1215
- fs/jfs/jfs_debug.c, line 49
- fs/nfsd/nfs4state.c, line 3530
- fs/nfsd/nfsctl.c, 3 times
- fs/ntfs3/super.c, 2 times
- fs/ocfs2/cluster/netdebug.c, 3 times
- fs/ocfs2/dlm/dlmdebug.c, line 607
- fs/ocfs2/dlmglue.c, line 3317
- fs/openpromfs/inode.c, line 163
- fs/orangefs/orangefs-debugfs.c, line 164
- fs/proc/array.c, line 819
- fs/proc/base.c, 12 times
- fs/proc/cpuinfo.c, line 19
- fs/proc/fd.c, line 111
- fs/proc/generic.c, 2 times
- fs/proc/proc_net.c, 2 times
- fs/proc/stat.c, line 171
- fs/proc/task_mmu.c, 4 times
- fs/proc/task_nommu.c, line 293
- fs/proc_namespace.c, 3 times
- fs/pstore/inode.c, line 169
- fs/seq_file.c, line 343
- fs/smb/client/cifs_debug.c, 9 times
- fs/smb/client/dfs_cache.c, line 221
- include/linux/seq_file.h, 4 times
- ipc/util.c, line 925
- kernel/fail_function.c, line 311
- kernel/gcov/fs.c, line 515
- kernel/irq/debugfs.c, line 213
- kernel/irq/proc.c, 3 times
- kernel/kallsyms.c, line 928
- kernel/latencytop.c, line 287
- kernel/locking/lockdep_proc.c, line 712
- kernel/module/procfs.c, line 143
- kernel/module/tracking.c, line 116
- kernel/rseq.c, 3 times
- kernel/sched/debug.c, 11 times
- kernel/sched/psi.c, 4 times
- kernel/time/test_udelay.c, line 133
- kernel/trace/ftrace.c, 4 times
- kernel/trace/rv/rv.c, 2 times
- kernel/trace/rv/rv_reactors.c, 2 times
- kernel/trace/trace.c, 8 times
- kernel/trace/trace_dynevent.c, line 273
- kernel/trace/trace_events.c, 7 times
- kernel/trace/trace_events_hist.c, 2 times
- kernel/trace/trace_events_synth.c, line 2391
- kernel/trace/trace_events_user.c, line 2867
- kernel/trace/trace_hwlat.c, line 753
- kernel/trace/trace_kprobe.c, 2 times
- kernel/trace/trace_osnoise.c, line 2732
- kernel/trace/trace_printk.c, line 375
- kernel/trace/trace_recursion_record.c, line 219
- kernel/trace/trace_sched_switch.c, 2 times
- kernel/trace/trace_stack.c, line 490
- kernel/trace/trace_stat.c, line 270
- kernel/trace/trace_uprobe.c, 2 times
- lib/dynamic_debug.c, 2 times
- lib/kunit/debugfs.c, 2 times
- lib/ref_tracker.c, line 412
- mm/alloc_tag.c, line 479
- mm/kmemleak.c, line 2446
- mm/page_owner.c, line 1129
- mm/slab_common.c, line 1236
- mm/slub.c, line 10071
- mm/swapfile.c, line 3325
- mm/vmscan.c, 2 times
- net/6lowpan/debugfs.c, line 162
- net/bluetooth/6lowpan.c, line 1215
- net/core/pktgen.c, 3 times
- net/l2tp/l2tp_debugfs.c, line 321
- net/netfilter/xt_recent.c, line 632
- net/sunrpc/cache.c, 2 times
- net/sunrpc/debugfs.c, 2 times
- net/sunrpc/rpc_pipe.c, line 453
- net/sunrpc/stats.c, line 75
- security/apparmor/apparmorfs.c, 5 times
- security/integrity/ima/ima_fs.c, 4 times
- security/selinux/selinuxfs.c, line 1463
- security/smack/smackfs.c, 10 times
- sound/core/info.c, line 405
Smatch caller information:
fs/pstore/inode.c pstore_file_llseek() -> seq_lseek()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1640,1720,1808,1816,2632,2640,2648,2704,2712 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | file->private_data | 4096-ptr_max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| DATA_SOURCE | 2 | whence | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | offset | s64min-s64max |
| USER_DATA | 2 | whence | 0-4 |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size |
kernel/trace/trace.c tracing_lseek() -> seq_lseek()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | file | 4096-ptr_max |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | file->f_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_cop->inode_info_offs | 1632,1640,1720,1808,1816,2632,2640,2648,2704,2712 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | file->f_path.dentry->d_inode->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| BUF_SIZE | 0 | file | (-1)-s32max |
| DATA_SOURCE | 0 | file | $0 |
| DATA_SOURCE | 1 | offset | $1 |
| DATA_SOURCE | 2 | whence | $2 |
| BIT_INFO | 0 | file->f_mode | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | offset | s64min-s64max |
| USER_DATA | 2 | whence | 0-4 |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.dentry->d_inode->i_size | |
| NO_OVERFLOW_SIMPLE | 0 | file->f_path.moved->d_inode->i_size |