Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_debugfs.c95 debugfs_create_file("mqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
97 debugfs_create_file("hqds", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
99 debugfs_create_file("rls", S_IFREG | 0444, debugfs_root, in kfd_debugfs_init()
101 debugfs_create_file("hang_hws", S_IFREG | 0200, debugfs_root, in kfd_debugfs_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c466 { "driver", S_IFREG|S_IRUGO, ide_driver_proc_show },
467 { "identify", S_IFREG|S_IRUSR, ide_identify_proc_show },
468 { "media", S_IFREG|S_IRUGO, ide_media_proc_show },
469 { "model", S_IFREG|S_IRUGO, ide_dmodel_proc_show },
547 proc_create_data("settings", S_IFREG|S_IRUSR|S_IWUSR, in ide_proc_port_register_devices()
569 { "channel", S_IFREG|S_IRUGO, ide_channel_proc_show },
570 { "mate", S_IFREG|S_IRUGO, ide_mate_proc_show },
571 { "model", S_IFREG|S_IRUGO, ide_imodel_proc_show },
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dstat.h13 #define S_IFREG 0100000 macro
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/kernel/linux/linux-5.10/include/uapi/linux/
Dstat.h12 #define S_IFREG 0100000 macro
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dstat.h12 #define S_IFREG 0100000 macro
22 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dstat.h26 #define S_IFREG 0100000 macro
35 #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
/kernel/linux/linux-5.10/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},
/kernel/linux/linux-5.10/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, },
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
458 S_IFREG | S_IRUGO | S_IWUSR, in snic_trc_debugfs_init()
463 S_IFREG | S_IRUGO | S_IWUSR, in snic_trc_debugfs_init()
/kernel/linux/linux-5.10/fs/fuse/
Dcontrol.c290 if (!fuse_ctl_add_dentry(parent, fc, "waiting", S_IFREG | 0400, 1, in fuse_ctl_add_conn()
292 !fuse_ctl_add_dentry(parent, fc, "abort", S_IFREG | 0200, 1, in fuse_ctl_add_conn()
294 !fuse_ctl_add_dentry(parent, fc, "max_background", S_IFREG | 0600, in fuse_ctl_add_conn()
297 S_IFREG | 0600, 1, NULL, in fuse_ctl_add_conn()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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, },
/kernel/liteos_m/testsuites/unittest/posix/src/fs/full/
Dposix_fs_full_test.c167 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFREG, POSIX_FS_IS_ERROR, EXIT1);
325 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFREG, POSIX_FS_IS_ERROR, EXIT);
353 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFREG, POSIX_FS_IS_ERROR, EXIT);
420 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFREG, POSIX_FS_IS_ERROR, EXIT);
430 ICUNIT_GOTO_EQUAL(buf.st_mode & S_IFMT, S_IFREG, POSIX_FS_IS_ERROR, EXIT);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_telemetry_debugfs.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()
/kernel/linux/linux-5.10/kernel/
Dconfigs.c60 entry = proc_create("config.gz", S_IFREG | S_IRUGO, NULL, in ikconfig_init()

1234567891011