Home
last modified time | relevance | path

Searched refs:S_IFREG (Results 1 – 25 of 240) sorted by relevance

12345678910

/Linux-v6.6/fs/fscache/
Dproc.c22 if (!proc_create_seq("fs/fscache/caches", S_IFREG | 0444, NULL, in fscache_proc_init()
26 if (!proc_create_seq("fs/fscache/volumes", S_IFREG | 0444, NULL, in fscache_proc_init()
30 if (!proc_create_seq("fs/fscache/cookies", S_IFREG | 0444, NULL, in fscache_proc_init()
35 if (!proc_create_single("fs/fscache/stats", S_IFREG | 0444, NULL, in fscache_proc_init()
/Linux-v6.6/drivers/gpu/drm/amd/amdkfd/
Dkfd_debugfs.c96 debugfs_create_file("mqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
98 debugfs_create_file("hqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
100 debugfs_create_file("rls", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
102 debugfs_create_file("hang_hws", S_IFREG | 0200, debugfs_root, in kfd_debugfs_init()
104 debugfs_create_file("mem_limit", S_IFREG | 0200, debugfs_root, in kfd_debugfs_init()
/Linux-v6.6/drivers/scsi/fnic/
Dfnic_debugfs.c326 S_IFREG|S_IRUGO|S_IWUSR, in fnic_trace_debugfs_init()
332 S_IFREG|S_IRUGO|S_IWUSR, in fnic_trace_debugfs_init()
369 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
375 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
382 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
389 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
685 S_IFREG|S_IRUGO|S_IWUSR, in fnic_stats_debugfs_init()
691 S_IFREG|S_IRUGO|S_IWUSR, in fnic_stats_debugfs_init()
/Linux-v6.6/fs/ocfs2/
Docfs2_fs.h353 [BAD_BLOCK_SYSTEM_INODE] = { "bad_blocks", 0, S_IFREG | 0644 },
354 …_ALLOC_SYSTEM_INODE] = { "global_inode_alloc", OCFS2_BITMAP_FL | OCFS2_CHAIN_FL, S_IFREG | 0644 },
357 [SLOT_MAP_SYSTEM_INODE] = { "slot_map", 0, S_IFREG | 0644 },
358 [HEARTBEAT_SYSTEM_INODE] = { "heartbeat", OCFS2_HEARTBEAT_FL, S_IFREG | 0644 },
359 [GLOBAL_BITMAP_SYSTEM_INODE] = { "global_bitmap", 0, S_IFREG | 0644 },
360 [USER_QUOTA_SYSTEM_INODE] = { "aquota.user", OCFS2_QUOTA_FL, S_IFREG | 0644 },
361 [GROUP_QUOTA_SYSTEM_INODE] = { "aquota.group", OCFS2_QUOTA_FL, S_IFREG | 0644 },
365 …[EXTENT_ALLOC_SYSTEM_INODE] = { "extent_alloc:%04d", OCFS2_BITMAP_FL | OCFS2_CHAIN_FL, S_IFREG | …
366 …[INODE_ALLOC_SYSTEM_INODE] = { "inode_alloc:%04d", OCFS2_BITMAP_FL | OCFS2_CHAIN_FL, S_IFREG | 06…
367 [JOURNAL_SYSTEM_INODE] = { "journal:%04d", OCFS2_JOURNAL_FL, S_IFREG | 0644 },
[all …]
Dblockcheck.c248 debugfs_create_file("blocks_checked", S_IFREG | S_IRUSR, dir, in ocfs2_blockcheck_debug_install()
251 debugfs_create_file("checksums_failed", S_IFREG | S_IRUSR, dir, in ocfs2_blockcheck_debug_install()
254 debugfs_create_file("ecc_recoveries", S_IFREG | S_IRUSR, dir, in ocfs2_blockcheck_debug_install()
/Linux-v6.6/net/sunrpc/
Ddebugfs.c160 debugfs_create_file("tasks", S_IFREG | 0400, clnt->cl_debugfs, clnt, in rpc_clnt_debugfs_register()
236 debugfs_create_file("info", S_IFREG | 0400, xprt->debugfs, xprt, in rpc_xprt_debugfs_register()
260 debugfs_create_bool("ignore-client-disconnect", S_IFREG | 0600, dir, in fail_sunrpc_init()
263 debugfs_create_bool("ignore-server-disconnect", S_IFREG | 0600, dir, in fail_sunrpc_init()
266 debugfs_create_bool("ignore-cache-wait", S_IFREG | 0600, dir, in fail_sunrpc_init()
/Linux-v6.6/drivers/infiniband/hw/qib/
Dqib_fs.c374 ret = create_file("counters", S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
381 ret = create_file("counter_names", S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
388 ret = create_file("portcounter_names", S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
400 ret = create_file(fname, S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
410 ret = create_file(fname, S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
419 ret = create_file("flash", S_IFREG|S_IWUSR|S_IRUGO, dir, &tmp, in add_cntr_files()
/Linux-v6.6/drivers/usb/host/
Dfhci-dbg.c87 debugfs_create_file("regs", S_IFREG | S_IRUGO, fhci->dfs_root, fhci, in fhci_dfs_create()
89 debugfs_create_file("irq_stat", S_IFREG | S_IRUGO, fhci->dfs_root, fhci, in fhci_dfs_create()
/Linux-v6.6/tools/include/uapi/linux/
Dstat.h12 #define S_IFREG 0100000 macro
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/Linux-v6.6/include/uapi/linux/
Dstat.h12 #define S_IFREG 0100000 macro
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/Linux-v6.6/fs/fuse/
Dcontrol.c273 if (!fuse_ctl_add_dentry(parent, fc, "waiting", S_IFREG | 0400, 1, in fuse_ctl_add_conn()
275 !fuse_ctl_add_dentry(parent, fc, "abort", S_IFREG | 0200, 1, in fuse_ctl_add_conn()
277 !fuse_ctl_add_dentry(parent, fc, "max_background", S_IFREG | 0600, in fuse_ctl_add_conn()
280 S_IFREG | 0600, 1, NULL, in fuse_ctl_add_conn()
/Linux-v6.6/drivers/scsi/snic/
Dsnic_debugfs.c350 snic->stats_file = debugfs_create_file("stats", S_IFREG|S_IRUGO, in snic_stats_debugfs_init()
355 S_IFREG|S_IRUGO|S_IWUSR, in snic_stats_debugfs_init()
427 debugfs_create_bool(TRC_ENABLE_FILE, S_IFREG | S_IRUGO | S_IWUSR, in snic_trc_debugfs_init()
430 debugfs_create_file(TRC_FILE, S_IFREG | S_IRUGO | S_IWUSR, in snic_trc_debugfs_init()
/Linux-v6.6/drivers/scsi/bfa/
Dbfad_debugfs.c429 { "drvtrc", S_IFREG|S_IRUGO, &bfad_debugfs_op_drvtrc, },
430 { "fwtrc", S_IFREG|S_IRUGO, &bfad_debugfs_op_fwtrc, },
431 { "fwsave", S_IFREG|S_IRUGO, &bfad_debugfs_op_fwsave, },
432 { "regrd", S_IFREG|S_IRUGO|S_IWUSR, &bfad_debugfs_op_regrd, },
433 { "regwr", S_IFREG|S_IWUSR, &bfad_debugfs_op_regwr, },
/Linux-v6.6/drivers/pci/hotplug/
Dpci_hotplug_core.c119 .attr = {.name = "power", .mode = S_IFREG | S_IRUGO | S_IWUSR},
164 .attr = {.name = "attention", .mode = S_IFREG | S_IRUGO | S_IWUSR},
182 .attr = {.name = "latch", .mode = S_IFREG | S_IRUGO},
199 .attr = {.name = "adapter", .mode = S_IFREG | S_IRUGO},
230 .attr = {.name = "test", .mode = S_IFREG | S_IRUGO | S_IWUSR},
/Linux-v6.6/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c481 { "fwtrc", S_IFREG | 0444, &bnad_debugfs_op_fwtrc, },
482 { "fwsave", S_IFREG | 0444, &bnad_debugfs_op_fwsave, },
483 { "regrd", S_IFREG | 0644, &bnad_debugfs_op_regrd, },
484 { "regwr", S_IFREG | 0200, &bnad_debugfs_op_regwr, },
485 { "drvinfo", S_IFREG | 0444, &bnad_debugfs_op_drvinfo, },
/Linux-v6.6/drivers/nubus/
Dproc.c169 proc_create_data(name, S_IFREG | 0444, procdir, in nubus_proc_add_rsrc_mem()
184 proc_create_data(name, S_IFREG | 0444, procdir, in nubus_proc_add_rsrc()
/Linux-v6.6/drivers/infiniband/ulp/ipoib/
Dipoib_fs.c226 priv->mcg_dentry = debugfs_create_file(name, S_IFREG | S_IRUGO, in ipoib_create_debug_files()
230 priv->path_dentry = debugfs_create_file(name, S_IFREG | S_IRUGO, in ipoib_create_debug_files()
/Linux-v6.6/tools/include/nolibc/
Dtypes.h30 #define S_IFREG 0100000 macro
39 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
/Linux-v6.6/drivers/platform/x86/intel/telemetry/
Ddebugfs.c933 debugfs_create_file("pss_info", S_IFREG | S_IRUGO, dir, NULL, in telemetry_debugfs_init()
935 debugfs_create_file("ioss_info", S_IFREG | S_IRUGO, dir, NULL, in telemetry_debugfs_init()
937 debugfs_create_file("soc_states", S_IFREG | S_IRUGO, dir, NULL, in telemetry_debugfs_init()
939 debugfs_create_file("s0ix_residency_usec", S_IFREG | S_IRUGO, dir, NULL, in telemetry_debugfs_init()
941 debugfs_create_file("pss_trace_verbosity", S_IFREG | S_IRUGO, dir, NULL, in telemetry_debugfs_init()
943 debugfs_create_file("ioss_trace_verbosity", S_IFREG | S_IRUGO, dir, in telemetry_debugfs_init()
/Linux-v6.6/drivers/platform/x86/
Dpmc_atom.c340 debugfs_create_file("dev_state", S_IFREG | S_IRUGO, dir, pmc, in pmc_dbgfs_register()
342 debugfs_create_file("pss_state", S_IFREG | S_IRUGO, dir, pmc, in pmc_dbgfs_register()
344 debugfs_create_file("sleep_state", S_IFREG | S_IRUGO, dir, pmc, in pmc_dbgfs_register()
/Linux-v6.6/kernel/
Dconfigs.c60 entry = proc_create("config.gz", S_IFREG | S_IRUGO, NULL, in ikconfig_init()
/Linux-v6.6/net/8021q/
Dvlanproc.c119 vn->proc_vlan_conf = proc_create_net(name_conf, S_IFREG | 0600, in vlan_proc_init()
143 vlan->dent = proc_create_single_data(vlandev->name, S_IFREG | 0600, in vlan_proc_add_dev()
/Linux-v6.6/mm/
Dfail_page_alloc.c49 umode_t mode = S_IFREG | 0600; in fail_page_alloc_debugfs()
Dfailslab.c57 umode_t mode = S_IFREG | 0600; in failslab_debugfs_init()
/Linux-v6.6/fs/nfsd/
Dlockd.c43 nfserr = nfsd_open(rqstp, &fh, S_IFREG, access, filp); in nlm_fopen()

12345678910