Home
last modified time | relevance | path

Searched refs:S_IRUSR (Results 1 – 25 of 153) sorted by relevance

1234567

/linux-6.6.21/drivers/misc/cxl/
Ddebugfs.c38 debugfs_create_io_x64("fir1", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_FIR1)); in cxl_debugfs_add_adapter_regs_psl9()
41 debugfs_create_io_x64("fir_cntl", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_FIR_CNTL)); in cxl_debugfs_add_adapter_regs_psl9()
42 debugfs_create_io_x64("trace", S_IRUSR | S_IWUSR, dir, _cxl_p1_addr(adapter, CXL_PSL9_TRACECFG)); in cxl_debugfs_add_adapter_regs_psl9()
51 debugfs_create_io_x64("fir1", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR1)); in cxl_debugfs_add_adapter_regs_psl8()
52 debugfs_create_io_x64("fir2", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR2)); in cxl_debugfs_add_adapter_regs_psl8()
53 debugfs_create_io_x64("fir_cntl", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR_CNTL)); in cxl_debugfs_add_adapter_regs_psl8()
54 debugfs_create_io_x64("trace", S_IRUSR | S_IWUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_TRACE)); in cxl_debugfs_add_adapter_regs_psl8()
69 debugfs_create_io_x64("err_ivte", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_ErrIVTE)); in cxl_debugfs_adapter_add()
82 debugfs_create_io_x64("serr", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_SERR_An)); in cxl_debugfs_add_afu_regs_psl9()
87 debugfs_create_io_x64("sstp0", S_IRUSR, dir, _cxl_p2n_addr(afu, CXL_SSTP0_An)); in cxl_debugfs_add_afu_regs_psl8()
[all …]
/linux-6.6.21/drivers/crypto/nx/
Dnx_debugfs.c40 debugfs_create_u32("aes_ops", S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
42 debugfs_create_u32("sha256_ops", S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
44 debugfs_create_u32("sha512_ops", S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
46 debugfs_create_u64("aes_bytes", S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
48 debugfs_create_u64("sha256_bytes", S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
50 debugfs_create_u64("sha512_bytes", S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
52 debugfs_create_u32("errors", S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
54 debugfs_create_u32("last_error", S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
56 debugfs_create_u32("last_error_pid", S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
/linux-6.6.21/drivers/xen/xenfs/
Dsuper.c50 [2] = { "xenbus", &xen_xenbus_fops, S_IRUSR|S_IWUSR }, in xenfs_fill_super()
52 { "privcmd", &xen_privcmd_fops, S_IRUSR|S_IWUSR }, in xenfs_fill_super()
57 [2] = { "xenbus", &xen_xenbus_fops, S_IRUSR|S_IWUSR }, in xenfs_fill_super()
59 { "privcmd", &xen_privcmd_fops, S_IRUSR|S_IWUSR }, in xenfs_fill_super()
60 { "xsd_kva", &xsd_kva_file_ops, S_IRUSR|S_IWUSR}, in xenfs_fill_super()
61 { "xsd_port", &xsd_port_file_ops, S_IRUSR|S_IWUSR}, in xenfs_fill_super()
63 { "xensyms", &xensyms_ops, S_IRUSR}, in xenfs_fill_super()
/linux-6.6.21/drivers/misc/mei/
Ddebugfs.c186 debugfs_create_file("meclients", S_IRUSR, dir, dev, in mei_dbgfs_register()
188 debugfs_create_file("active", S_IRUSR, dir, dev, in mei_dbgfs_register()
190 debugfs_create_file("devstate", S_IRUSR, dir, dev, in mei_dbgfs_register()
192 debugfs_create_file("allow_fixed_address", S_IRUSR | S_IWUSR, dir, in mei_dbgfs_register()
/linux-6.6.21/drivers/mmc/core/
Ddebugfs.c308 debugfs_create_file("ios", S_IRUSR, root, host, &mmc_ios_fops); in mmc_add_host_debugfs()
309 debugfs_create_x32("caps", S_IRUSR, root, &host->caps); in mmc_add_host_debugfs()
310 debugfs_create_x32("caps2", S_IRUSR, root, &host->caps2); in mmc_add_host_debugfs()
311 debugfs_create_file_unsafe("clock", S_IRUSR | S_IWUSR, root, host, in mmc_add_host_debugfs()
344 debugfs_create_x32("state", S_IRUSR, root, &card->state); in mmc_add_card_debugfs()
/linux-6.6.21/arch/x86/kernel/cpu/mce/
Dinject.c701 { .name = "status", .fops = &status_fops, .perm = S_IRUSR | S_IWUSR },
702 { .name = "misc", .fops = &misc_fops, .perm = S_IRUSR | S_IWUSR },
703 { .name = "addr", .fops = &addr_fops, .perm = S_IRUSR | S_IWUSR },
704 { .name = "synd", .fops = &synd_fops, .perm = S_IRUSR | S_IWUSR },
705 { .name = "ipid", .fops = &ipid_fops, .perm = S_IRUSR | S_IWUSR },
706 { .name = "bank", .fops = &bank_fops, .perm = S_IRUSR | S_IWUSR },
707 { .name = "flags", .fops = &flags_fops, .perm = S_IRUSR | S_IWUSR },
708 { .name = "cpu", .fops = &extcpu_fops, .perm = S_IRUSR | S_IWUSR },
709 { .name = "README", .fops = &readme_fops, .perm = S_IRUSR | S_IRGRP | S_IROTH },
/linux-6.6.21/drivers/acpi/apei/
Deinj.c718 debugfs_create_file("available_error_type", S_IRUSR, einj_debug_dir, in einj_init()
747 debugfs_create_x32("flags", S_IRUSR | S_IWUSR, einj_debug_dir, in einj_init()
749 debugfs_create_x64("param1", S_IRUSR | S_IWUSR, einj_debug_dir, in einj_init()
751 debugfs_create_x64("param2", S_IRUSR | S_IWUSR, einj_debug_dir, in einj_init()
753 debugfs_create_x64("param3", S_IRUSR | S_IWUSR, einj_debug_dir, in einj_init()
755 debugfs_create_x64("param4", S_IRUSR | S_IWUSR, einj_debug_dir, in einj_init()
757 debugfs_create_x32("notrigger", S_IRUSR | S_IWUSR, in einj_init()
764 debugfs_create_blob("vendor", S_IRUSR, einj_debug_dir, in einj_init()
766 debugfs_create_x32("vendor_flags", S_IRUSR | S_IWUSR, in einj_init()
/linux-6.6.21/arch/sh/mm/
Dcache-debugfs.c101 debugfs_create_file("dcache", S_IRUSR, arch_debugfs_dir, in cache_debugfs_init()
103 debugfs_create_file("icache", S_IRUSR, arch_debugfs_dir, in cache_debugfs_init()
Dtlb-debugfs.c152 debugfs_create_file("itlb", S_IRUSR, arch_debugfs_dir, in tlb_debugfs_init()
154 debugfs_create_file("utlb", S_IRUSR, arch_debugfs_dir, in tlb_debugfs_init()
Dasids-debugfs.c55 debugfs_create_file("asids", S_IRUSR, arch_debugfs_dir, NULL, in asids_debugfs_init()
/linux-6.6.21/drivers/misc/ibmasm/
Dibmasmfs.c591 ibmasmfs_create_file(dir, "command", &command_fops, sp, S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
592 ibmasmfs_create_file(dir, "event", &event_fops, sp, S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
593 ibmasmfs_create_file(dir, "reverse_heartbeat", &r_heartbeat_fops, sp, S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
599 …reate_file(remote_dir, "width", &remote_settings_fops, (void *)display_width(sp), S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
600 …ate_file(remote_dir, "height", &remote_settings_fops, (void *)display_height(sp), S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
601 …reate_file(remote_dir, "depth", &remote_settings_fops, (void *)display_depth(sp), S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
/linux-6.6.21/fs/proc/
Dbase.c2273 ((mode & FMODE_READ ) ? S_IRUSR : 0) | in proc_map_files_instantiate()
3243 DIR("fd", S_IRUSR|S_IXUSR, proc_fd_inode_operations, proc_fd_operations),
3244 DIR("map_files", S_IRUSR|S_IXUSR, proc_map_files_inode_operations, proc_map_files_operations),
3246 DIR("ns", S_IRUSR|S_IXUGO, proc_ns_dir_inode_operations, proc_ns_dir_operations),
3250 REG("environ", S_IRUSR, proc_environ_operations),
3251 REG("auxv", S_IRUSR, proc_auxv_operations),
3253 ONE("personality", S_IRUSR, proc_pid_personality),
3266 ONE("syscall", S_IRUSR, proc_pid_syscall),
3275 REG("mem", S_IRUSR|S_IWUSR, proc_mem_operations),
3281 REG("mountstats", S_IRUSR, proc_mountstats_operations),
[all …]
Dpage.c335 proc_create("kpagecount", S_IRUSR, NULL, &kpagecount_proc_ops); in proc_page_init()
336 proc_create("kpageflags", S_IRUSR, NULL, &kpageflags_proc_ops); in proc_page_init()
338 proc_create("kpagecgroup", S_IRUSR, NULL, &kpagecgroup_proc_ops); in proc_page_init()
/linux-6.6.21/drivers/video/fbdev/via/
Dviafbdev.c2072 module_param(viafb_mode, charp, S_IRUSR);
2075 module_param(viafb_mode1, charp, S_IRUSR);
2078 module_param(viafb_bpp, int, S_IRUSR);
2081 module_param(viafb_bpp1, int, S_IRUSR);
2084 module_param(viafb_refresh, int, S_IRUSR);
2088 module_param(viafb_refresh1, int, S_IRUSR);
2092 module_param(viafb_lcd_panel_id, int, S_IRUSR);
2096 module_param(viafb_lcd_dsp_method, int, S_IRUSR);
2100 module_param(viafb_SAMM_ON, int, S_IRUSR);
2104 module_param(viafb_accel, int, S_IRUSR);
[all …]
/linux-6.6.21/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c770 debugfs_create_file("resource_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
775 debugfs_create_file("rx_stats", S_IRUSR, dev->dir, &dev->rx_stats, in ocrdma_add_port_stats()
780 debugfs_create_file("wqe_stats", S_IRUSR, dev->dir, &dev->wqe_stats, in ocrdma_add_port_stats()
785 debugfs_create_file("tx_stats", S_IRUSR, dev->dir, &dev->tx_stats, in ocrdma_add_port_stats()
790 debugfs_create_file("db_err_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
795 debugfs_create_file("tx_qp_err_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
800 debugfs_create_file("rx_qp_err_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
805 debugfs_create_file("tx_dbg_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
810 debugfs_create_file("rx_dbg_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
815 debugfs_create_file("driver_dbg_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
/linux-6.6.21/drivers/ras/
Dcec.c491 decay = debugfs_create_file("decay_interval", S_IRUSR | S_IWUSR, d, in create_debugfs_nodes()
498 count = debugfs_create_file("action_threshold", S_IRUSR | S_IWUSR, d, in create_debugfs_nodes()
508 pfn = debugfs_create_file("pfn", S_IRUSR | S_IWUSR, d, &dfs_pfn, &pfn_ops); in create_debugfs_nodes()
514 array = debugfs_create_file("array", S_IRUSR, d, NULL, &array_fops); in create_debugfs_nodes()
Ddebugfs.c47 fentry = debugfs_create_file("daemon_active", S_IRUSR, ras_debugfs_dir, in ras_add_daemon_trace()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_sysfs.c141 .attr = {.name = "l3_parity", .mode = (S_IRUSR | S_IWUSR)},
150 .attr = {.name = "l3_parity_slice_1", .mode = (S_IRUSR | S_IWUSR)},
211 .attr.mode = S_IRUSR | S_IWUSR,
/linux-6.6.21/security/integrity/ima/
Dima_fs.c470 S_IRUSR | S_IRGRP, ima_dir, NULL, in ima_fs_init()
479 S_IRUSR | S_IRGRP, ima_dir, NULL, in ima_fs_init()
488 S_IRUSR | S_IRGRP, ima_dir, NULL, in ima_fs_init()
496 securityfs_create_file("violations", S_IRUSR | S_IRGRP, in ima_fs_init()
/linux-6.6.21/init/
Dnoinitramfs.c27 err = init_mknod("/dev/console", S_IFCHR | S_IRUSR | S_IWUSR, in default_rootfs()
/linux-6.6.21/fs/nfsd/
Dnfsctl.c1392 &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1394 &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1395 [NFSD_Fh] = {"filehandle", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1396 [NFSD_Threads] = {"threads", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1397 [NFSD_Pool_Threads] = {"pool_threads", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1401 [NFSD_Versions] = {"versions", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1407 [NFSD_Leasetime] = {"nfsv4leasetime", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1408 [NFSD_Gracetime] = {"nfsv4gracetime", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1409 [NFSD_RecoveryDir] = {"nfsv4recoverydir", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
/linux-6.6.21/fs/ocfs2/
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-6.6.21/drivers/firmware/
Dqemu_fw_cfg.c309 .attr = { .name = "rev", .mode = S_IRUSR },
401 .attr = { .name = __stringify(_attr), .mode = S_IRUSR }, \
478 .attr = { .name = "raw", .mode = S_IRUSR },
906 device_param_cb(ioport, &fw_cfg_cmdline_param_ops, NULL, S_IRUSR);
907 device_param_cb(mmio, &fw_cfg_cmdline_param_ops, NULL, S_IRUSR);
/linux-6.6.21/drivers/hid/
Dhid-wiimote-debug.c183 dbg->eeprom = debugfs_create_file("eeprom", S_IRUSR, in wiidebug_init()
186 dbg->drm = debugfs_create_file("drm", S_IRUSR, in wiidebug_init()
/linux-6.6.21/drivers/crypto/intel/qat/qat_common/
Dadf_transport_debug.c103 ring_debug->debug = debugfs_create_file(entry_name, S_IRUSR, in adf_ring_debugfs_add()
199 bank->bank_debug_cfg = debugfs_create_file("config", S_IRUSR, in adf_bank_debugfs_add()

1234567