Home
last modified time | relevance | path

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

123456789

/linux/drivers/gpu/drm/amd/amdkfd/
H A 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/fs/netfs/
H A Dfscache_proc.c22 if (!proc_create_seq("fs/netfs/caches", S_IFREG | 0444, NULL, in fscache_proc_init()
26 if (!proc_create_seq("fs/netfs/volumes", S_IFREG | 0444, NULL, in fscache_proc_init()
30 if (!proc_create_seq("fs/netfs/cookies", S_IFREG | 0444, NULL, in fscache_proc_init()
H A Dmain.c130 if (!proc_create_seq("fs/netfs/requests", S_IFREG | 0444, NULL, in netfs_init()
134 if (!proc_create_single("fs/netfs/stats", S_IFREG | 0444, NULL, in netfs_init()
/linux/drivers/scsi/fnic/
H A Dfnic_debugfs.c327 S_IFREG|S_IRUGO|S_IWUSR, in fnic_trace_debugfs_init()
333 S_IFREG|S_IRUGO|S_IWUSR, in fnic_trace_debugfs_init()
370 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
376 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
383 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
390 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
686 S_IFREG|S_IRUGO|S_IWUSR, in fnic_stats_debugfs_init()
692 S_IFREG|S_IRUGO|S_IWUSR, in fnic_stats_debugfs_init()
/linux/net/sunrpc/
H A 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/drivers/infiniband/hw/qib/
H A 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/drivers/usb/host/
H A 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/drivers/scsi/bfa/
H A 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/drivers/pci/hotplug/
H A 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/drivers/scsi/snic/
H A 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/include/uapi/linux/
H A Dstat.h12 #define S_IFREG 0100000 macro
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dstat.h12 #define S_IFREG 0100000 macro
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/linux/tools/include/uapi/linux/
H A Dstat.h12 #define S_IFREG 0100000 macro
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/linux/drivers/net/ethernet/brocade/bna/
H A 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/drivers/nubus/
H A 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/tools/include/nolibc/
H A Dtypes.h32 #define S_IFREG 0100000 macro
41 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
/linux/lib/kunit/
H A Ddebugfs.c201 debugfs_create_file(KUNIT_DEBUGFS_RESULTS, S_IFREG | 0444, in kunit_debugfs_create_suite()
207 debugfs_create_file(KUNIT_DEBUGFS_RUN, S_IFREG | 0644, in kunit_debugfs_create_suite()
/linux/drivers/infiniband/ulp/ipoib/
H A 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/drivers/platform/x86/intel/telemetry/
H A 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/fs/ocfs2/
H A 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/kernel/
H A Dconfigs.c60 entry = proc_create("config.gz", S_IFREG | S_IRUGO, NULL, in ikconfig_init()
/linux/net/8021q/
H A 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/mm/
H A Dfail_page_alloc.c52 umode_t mode = S_IFREG | 0600; in fail_page_alloc_debugfs()
H A Dfailslab.c60 umode_t mode = S_IFREG | 0600; in failslab_debugfs_init()
/linux/fs/nfsd/
H A Dlockd.c43 nfserr = nfsd_open(rqstp, &fh, S_IFREG, access, filp); in nlm_fopen()

123456789