Home
last modified time | relevance | path

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

12345678910

/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_debugfs.c90 debugfs_create_file("mqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
92 debugfs_create_file("hqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
94 debugfs_create_file("rls", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
96 debugfs_create_file("hang_hws", S_IFREG | 0644, debugfs_root, in kfd_debugfs_init()
/Linux-v5.4/fs/fscache/
Dproc.c25 if (!proc_create_single("fs/fscache/stats", S_IFREG | 0444, NULL, in fscache_proc_init()
31 if (!proc_create_seq("fs/fscache/histogram", S_IFREG | 0444, NULL, in fscache_proc_init()
37 if (!proc_create("fs/fscache/objects", S_IFREG | 0444, NULL, in fscache_proc_init()
/Linux-v5.4/drivers/ide/
Dide-disk_proc.c97 { "cache", S_IFREG|S_IRUGO, idedisk_cache_proc_show },
98 { "capacity", S_IFREG|S_IRUGO, idedisk_capacity_proc_show },
99 { "geometry", S_IFREG|S_IRUGO, ide_geometry_proc_show },
100 { "smart_values", S_IFREG|S_IRUSR, idedisk_sv_proc_show },
101 { "smart_thresholds", S_IFREG|S_IRUSR, idedisk_st_proc_show },
Dide-floppy_proc.c18 { "capacity", S_IFREG|S_IRUGO, idefloppy_capacity_proc_show },
19 { "geometry", S_IFREG|S_IRUGO, ide_geometry_proc_show },
Dide-proc.c467 { "driver", S_IFREG|S_IRUGO, ide_driver_proc_show },
468 { "identify", S_IFREG|S_IRUSR, ide_identify_proc_show },
469 { "media", S_IFREG|S_IRUGO, ide_media_proc_show },
470 { "model", S_IFREG|S_IRUGO, ide_dmodel_proc_show },
548 proc_create_data("settings", S_IFREG|S_IRUSR|S_IWUSR, in ide_proc_port_register_devices()
570 { "channel", S_IFREG|S_IRUGO, ide_channel_proc_show },
571 { "mate", S_IFREG|S_IRUGO, ide_mate_proc_show },
572 { "model", S_IFREG|S_IRUGO, ide_imodel_proc_show },
/Linux-v5.4/drivers/scsi/fnic/
Dfnic_debugfs.c346 S_IFREG|S_IRUGO|S_IWUSR, in fnic_trace_debugfs_init()
352 S_IFREG|S_IRUGO|S_IWUSR, in fnic_trace_debugfs_init()
389 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
395 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
402 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
409 S_IFREG|S_IRUGO|S_IWUSR, in fnic_fc_trace_debugfs_init()
705 S_IFREG|S_IRUGO|S_IWUSR, in fnic_stats_debugfs_init()
711 S_IFREG|S_IRUGO|S_IWUSR, in fnic_stats_debugfs_init()
/Linux-v5.4/fs/ocfs2/
Docfs2_fs.h355 [BAD_BLOCK_SYSTEM_INODE] = { "bad_blocks", 0, S_IFREG | 0644 },
356 …_ALLOC_SYSTEM_INODE] = { "global_inode_alloc", OCFS2_BITMAP_FL | OCFS2_CHAIN_FL, S_IFREG | 0644 },
359 [SLOT_MAP_SYSTEM_INODE] = { "slot_map", 0, S_IFREG | 0644 },
360 [HEARTBEAT_SYSTEM_INODE] = { "heartbeat", OCFS2_HEARTBEAT_FL, S_IFREG | 0644 },
361 [GLOBAL_BITMAP_SYSTEM_INODE] = { "global_bitmap", 0, S_IFREG | 0644 },
362 [USER_QUOTA_SYSTEM_INODE] = { "aquota.user", OCFS2_QUOTA_FL, S_IFREG | 0644 },
363 [GROUP_QUOTA_SYSTEM_INODE] = { "aquota.group", OCFS2_QUOTA_FL, S_IFREG | 0644 },
367 …[EXTENT_ALLOC_SYSTEM_INODE] = { "extent_alloc:%04d", OCFS2_BITMAP_FL | OCFS2_CHAIN_FL, S_IFREG | …
368 …[INODE_ALLOC_SYSTEM_INODE] = { "inode_alloc:%04d", OCFS2_BITMAP_FL | OCFS2_CHAIN_FL, S_IFREG | 06…
369 [JOURNAL_SYSTEM_INODE] = { "journal:%04d", OCFS2_JOURNAL_FL, S_IFREG | 0644 },
[all …]
Dblockcheck.c250 debugfs_create_file("blocks_checked", S_IFREG | S_IRUSR, dir, in ocfs2_blockcheck_debug_install()
253 debugfs_create_file("checksums_failed", S_IFREG | S_IRUSR, dir, in ocfs2_blockcheck_debug_install()
256 debugfs_create_file("ecc_recoveries", S_IFREG | S_IRUSR, dir, in ocfs2_blockcheck_debug_install()
/Linux-v5.4/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-v5.4/include/uapi/linux/
Dstat.h12 #define S_IFREG 0100000 macro
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/Linux-v5.4/tools/include/uapi/linux/
Dstat.h12 #define S_IFREG 0100000 macro
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/Linux-v5.4/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-v5.4/drivers/scsi/bfa/
Dbfad_debugfs.c430 { "drvtrc", S_IFREG|S_IRUGO, &bfad_debugfs_op_drvtrc, },
431 { "fwtrc", S_IFREG|S_IRUGO, &bfad_debugfs_op_fwtrc, },
432 { "fwsave", S_IFREG|S_IRUGO, &bfad_debugfs_op_fwsave, },
433 { "regrd", S_IFREG|S_IRUGO|S_IWUSR, &bfad_debugfs_op_regrd, },
434 { "regwr", S_IFREG|S_IWUSR, &bfad_debugfs_op_regwr, },
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_fs.c376 ret = create_file("counters", S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
383 ret = create_file("counter_names", S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
390 ret = create_file("portcounter_names", S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
402 ret = create_file(fname, S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
412 ret = create_file(fname, S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
421 ret = create_file("flash", S_IFREG|S_IWUSR|S_IRUGO, dir, &tmp, in add_cntr_files()
/Linux-v5.4/drivers/scsi/snic/
Dsnic_debugfs.c382 snic->stats_file = debugfs_create_file("stats", S_IFREG|S_IRUGO, in snic_stats_debugfs_init()
387 S_IFREG|S_IRUGO|S_IWUSR, in snic_stats_debugfs_init()
470 S_IFREG | S_IRUGO | S_IWUSR, in snic_trc_debugfs_init()
475 S_IFREG | S_IRUGO | S_IWUSR, in snic_trc_debugfs_init()
/Linux-v5.4/fs/fuse/
Dcontrol.c280 if (!fuse_ctl_add_dentry(parent, fc, "waiting", S_IFREG | 0400, 1, in fuse_ctl_add_conn()
282 !fuse_ctl_add_dentry(parent, fc, "abort", S_IFREG | 0200, 1, in fuse_ctl_add_conn()
284 !fuse_ctl_add_dentry(parent, fc, "max_background", S_IFREG | 0600, in fuse_ctl_add_conn()
287 S_IFREG | 0600, 1, NULL, in fuse_ctl_add_conn()
/Linux-v5.4/drivers/nubus/
Dproc.c155 proc_create_single_data(name, S_IFREG | 0444, procdir, in nubus_proc_add_rsrc_mem()
169 proc_create_single_data(name, S_IFREG | 0444, procdir, in nubus_proc_add_rsrc()
/Linux-v5.4/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-v5.4/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()
322 debugfs_create_file("disconnect", S_IFREG | 0400, rpc_fault_dir, NULL, in sunrpc_debugfs_init()
/Linux-v5.4/net/batman-adv/
Ddebugfs.c300 S_IFREG | ((*bat_debug)->attr).mode, in batadv_debugfs_init()
331 S_IFREG | ((*bat_debug)->attr).mode, in batadv_debugfs_add_hardif()
394 S_IFREG | ((*bat_debug)->attr).mode, in batadv_debugfs_add_meshif()
/Linux-v5.4/fs/erofs/
Dinode.c40 case S_IFREG: in erofs_read_inode()
79 case S_IFREG: in erofs_read_inode()
204 case S_IFREG: in erofs_fill_inode()
/Linux-v5.4/drivers/platform/x86/
Dintel_telemetry_debugfs.c929 debugfs_create_file("pss_info", S_IFREG | S_IRUGO, dir, NULL, in telemetry_debugfs_init()
931 debugfs_create_file("ioss_info", S_IFREG | S_IRUGO, dir, NULL, in telemetry_debugfs_init()
933 debugfs_create_file("soc_states", S_IFREG | S_IRUGO, dir, NULL, in telemetry_debugfs_init()
935 debugfs_create_file("s0ix_residency_usec", S_IFREG | S_IRUGO, dir, NULL, in telemetry_debugfs_init()
937 debugfs_create_file("pss_trace_verbosity", S_IFREG | S_IRUGO, dir, NULL, in telemetry_debugfs_init()
939 debugfs_create_file("ioss_trace_verbosity", S_IFREG | S_IRUGO, dir, in telemetry_debugfs_init()
/Linux-v5.4/drivers/infiniband/ulp/ipoib/
Dipoib_fs.c268 priv->mcg_dentry = debugfs_create_file(name, S_IFREG | S_IRUGO, in ipoib_create_debug_files()
272 priv->path_dentry = debugfs_create_file(name, S_IFREG | S_IRUGO, in ipoib_create_debug_files()
/Linux-v5.4/kernel/
Dconfigs.c61 entry = proc_create("config.gz", S_IFREG | S_IRUGO, NULL, in ikconfig_init()
/Linux-v5.4/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()

12345678910