| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_debugfs.c | 108 debugfs_create_file("mqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init() 110 debugfs_create_file("hqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init() 112 debugfs_create_file("rls", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init() 114 debugfs_create_file("hang_hws", S_IFREG | 0200, debugfs_root, in kfd_debugfs_init() 116 debugfs_create_file("mem_limit", S_IFREG | 0200, debugfs_root, in kfd_debugfs_init() 167 debugfs_create_file((const char *)name, S_IFREG | 0444, in kfd_debugfs_add_process()
|
| /linux/fs/netfs/ |
| H A D | fscache_proc.c | 22 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 D | main.c | 134 if (!proc_create_seq("fs/netfs/requests", S_IFREG | 0444, NULL, in netfs_init() 139 if (!proc_create_single("fs/netfs/stats", S_IFREG | 0444, NULL, in netfs_init()
|
| /linux/drivers/scsi/fnic/ |
| H A D | fnic_debugfs.c | 330 S_IFREG|S_IRUGO|S_IWUSR, in fnic_trace_debugfs_init() 336 S_IFREG|S_IRUGO|S_IWUSR, in fnic_trace_debugfs_init() 373 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init() 379 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init() 386 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init() 393 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init() 689 S_IFREG|S_IRUGO|S_IWUSR, in fnic_stats_debugfs_init() 694 S_IFREG|S_IRUGO|S_IWUSR, in fnic_stats_debugfs_init()
|
| /linux/init/ |
| H A D | initramfs_test.c | 74 .mode = S_IFREG | 0777, in initramfs_test_extract() 155 .mode = S_IFREG | 0777, in initramfs_test_fname_overrun() 202 .mode = S_IFREG | 0777, in initramfs_test_data() 252 .mode = S_IFREG | 0777, in initramfs_test_csum() 264 .mode = S_IFREG | 0777, in initramfs_test_csum() 313 .mode = S_IFREG | 0777, in initramfs_test_hardlink() 322 .mode = S_IFREG | 0777, in initramfs_test_hardlink() 367 .mode = S_IFREG | 0777, in initramfs_test_many() 410 .mode = S_IFREG | 0777, in initramfs_test_fname_pad()
|
| /linux/drivers/pci/hotplug/ |
| H A D | pci_hotplug_core.c | 101 .attr = {.name = "power", .mode = S_IFREG | S_IRUGO | S_IWUSR}, 140 .attr = {.name = "attention", .mode = S_IFREG | S_IRUGO | S_IWUSR}, 158 .attr = {.name = "latch", .mode = S_IFREG | S_IRUGO}, 175 .attr = {.name = "adapter", .mode = S_IFREG | S_IRUGO}, 200 .attr = {.name = "test", .mode = S_IFREG | S_IRUGO | S_IWUSR},
|
| /linux/drivers/usb/host/ |
| H A D | fhci-dbg.c | 87 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 D | bfad_debugfs.c | 429 { "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/scsi/snic/ |
| H A D | snic_debugfs.c | 348 snic->stats_file = debugfs_create_file("stats", S_IFREG|S_IRUGO, in snic_stats_debugfs_init() 353 S_IFREG|S_IRUGO|S_IWUSR, in snic_stats_debugfs_init() 425 debugfs_create_bool(TRC_ENABLE_FILE, S_IFREG | S_IRUGO | S_IWUSR, in snic_trc_debugfs_init() 428 debugfs_create_file(TRC_FILE, S_IFREG | S_IRUGO | S_IWUSR, in snic_trc_debugfs_init()
|
| /linux/fs/fuse/ |
| H A D | control.c | 270 if (!fuse_ctl_add_dentry(parent, fc, "waiting", S_IFREG | 0400, in fuse_ctl_add_conn() 272 !fuse_ctl_add_dentry(parent, fc, "abort", S_IFREG | 0200, in fuse_ctl_add_conn() 274 !fuse_ctl_add_dentry(parent, fc, "max_background", S_IFREG | 0600, in fuse_ctl_add_conn() 277 S_IFREG | 0600, NULL, in fuse_ctl_add_conn()
|
| /linux/include/uapi/linux/ |
| H A D | stat.h | 12 #define S_IFREG 0100000 macro 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
| /linux/tools/include/uapi/linux/ |
| H A D | stat.h | 12 #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 D | stat.h | 12 #define S_IFREG 0100000 macro 22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
| /linux/tools/include/nolibc/ |
| H A D | types.h | 48 #define S_IFREG 0100000 57 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) 33 #define S_IFREG global() macro
|
| /linux/drivers/net/ethernet/brocade/bna/ |
| H A D | bnad_debugfs.c | 481 { "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 D | proc.c | 169 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/drivers/platform/x86/intel/telemetry/ |
| H A D | debugfs.c | 933 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/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_fs.c | 226 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/fs/ocfs2/ |
| H A D | blockcheck.c | 248 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/net/8021q/ |
| H A D | vlanproc.c | 119 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/arch/s390/hypfs/ |
| H A D | inode.c | 365 S_IFREG | UPDATE_FILE_MODE); in hypfs_create_update_file() 385 hypfs_create_file(dir, name, buffer, S_IFREG | REG_FILE_MODE); in hypfs_create_u64() 404 hypfs_create_file(dir, name, buffer, S_IFREG | REG_FILE_MODE); in hypfs_create_str()
|
| /linux/fs/nfsd/ |
| H A D | filecache.c | 1180 if (type == S_IFREG) in nfsd_file_do_acquire() 1183 if (type != S_IFREG || nf->nf_mark) { in nfsd_file_do_acquire() 1252 fhp, may_flags, NULL, S_IFREG, true, pnf); in nfsd_file_acquire_gc() 1277 fhp, may_flags, NULL, S_IFREG, false, pnf); in nfsd_file_acquire() 1321 NULL, S_IFREG, false, pnf); in nfsd_file_acquire_local() 1350 fhp, may_flags, file, S_IFREG, false, pnf); in nfsd_file_acquire_opened()
|
| /linux/kernel/ |
| H A D | configs.c | 60 entry = proc_create("config.gz", S_IFREG | S_IRUGO, NULL, in ikconfig_init()
|
| /linux/fs/hpfs/ |
| H A D | inode.c | 133 i->i_mode |= S_IFREG; in hpfs_read_inode() 167 | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG)) in hpfs_write_inode_ea() 169 | (S_ISDIR(i->i_mode) ? S_IFDIR : S_IFREG))) || hpfs_inode->i_ea_mode) { in hpfs_write_inode_ea()
|
| /linux/drivers/platform/x86/ |
| H A D | pmc_atom.c | 342 debugfs_create_file("dev_state", S_IFREG | S_IRUGO, dir, pmc, in pmc_dbgfs_register() 344 debugfs_create_file("pss_state", S_IFREG | S_IRUGO, dir, pmc, in pmc_dbgfs_register() 346 debugfs_create_file("sleep_state", S_IFREG | S_IRUGO, dir, pmc, in pmc_dbgfs_register()
|