Home
last modified time | relevance | path

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

123456

/linux/drivers/crypto/nx/
H A 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/drivers/xen/xenfs/
H A 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/drivers/nvme/target/
H A Ddebugfs.c171 debugfs_create_file("port", S_IRUSR, ctrl->debugfs_dir, ctrl, in nvmet_debugfs_ctrl_setup()
173 debugfs_create_file("hostnqn", S_IRUSR, ctrl->debugfs_dir, ctrl, in nvmet_debugfs_ctrl_setup()
175 debugfs_create_file("kato", S_IRUSR, ctrl->debugfs_dir, ctrl, in nvmet_debugfs_ctrl_setup()
177 debugfs_create_file("state", S_IRUSR | S_IWUSR, ctrl->debugfs_dir, ctrl, in nvmet_debugfs_ctrl_setup()
179 debugfs_create_file("host_traddr", S_IRUSR, ctrl->debugfs_dir, ctrl, in nvmet_debugfs_ctrl_setup()
182 debugfs_create_file("tls_concat", S_IRUSR, ctrl->debugfs_dir, ctrl, in nvmet_debugfs_ctrl_setup()
184 debugfs_create_file("tls_key", S_IRUSR, ctrl->debugfs_dir, ctrl, in nvmet_debugfs_ctrl_setup()
/linux/drivers/misc/mei/
H A 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/arch/x86/kernel/cpu/mce/
H A Dinject.c705 { .name = "status", .fops = &status_fops, .perm = S_IRUSR | S_IWUSR },
706 { .name = "misc", .fops = &misc_fops, .perm = S_IRUSR | S_IWUSR },
707 { .name = "addr", .fops = &addr_fops, .perm = S_IRUSR | S_IWUSR },
708 { .name = "synd", .fops = &synd_fops, .perm = S_IRUSR | S_IWUSR },
709 { .name = "ipid", .fops = &ipid_fops, .perm = S_IRUSR | S_IWUSR },
710 { .name = "bank", .fops = &bank_fops, .perm = S_IRUSR | S_IWUSR },
711 { .name = "flags", .fops = &flags_fops, .perm = S_IRUSR | S_IWUSR },
712 { .name = "cpu", .fops = &extcpu_fops, .perm = S_IRUSR | S_IWUSR },
713 { .name = "README", .fops = &readme_fops, .perm = S_IRUSR | S_IRGRP | S_IROTH },
/linux/arch/sh/mm/
H A 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()
H A 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()
H A Dasids-debugfs.c55 debugfs_create_file("asids", S_IRUSR, arch_debugfs_dir, NULL, in asids_debugfs_init()
/linux/drivers/misc/ibmasm/
H A Dibmasmfs.c585 ibmasmfs_create_file(dir, "command", &command_fops, sp, S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
586 ibmasmfs_create_file(dir, "event", &event_fops, sp, S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
587 ibmasmfs_create_file(dir, "reverse_heartbeat", &r_heartbeat_fops, sp, S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
593 …reate_file(remote_dir, "width", &remote_settings_fops, (void *)display_width(sp), S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
594 …ate_file(remote_dir, "height", &remote_settings_fops, (void *)display_height(sp), S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
595 …reate_file(remote_dir, "depth", &remote_settings_fops, (void *)display_depth(sp), S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
/linux/fs/proc/
H A Dbase.c2331 ((mode & FMODE_READ ) ? S_IRUSR : 0) | in proc_map_files_instantiate()
3318 DIR("fd", S_IRUSR|S_IXUSR, proc_fd_inode_operations, proc_fd_operations),
3319 DIR("map_files", S_IRUSR|S_IXUSR, proc_map_files_inode_operations, proc_map_files_operations),
3321 DIR("ns", S_IRUSR|S_IXUGO, proc_ns_dir_inode_operations, proc_ns_dir_operations),
3325 REG("environ", S_IRUSR, proc_environ_operations),
3326 REG("auxv", S_IRUSR, proc_auxv_operations),
3328 ONE("personality", S_IRUSR, proc_pid_personality),
3339 ONE("syscall", S_IRUSR, proc_pid_syscall),
3348 REG("mem", S_IRUSR|S_IWUSR, proc_mem_operations),
3354 REG("mountstats", S_IRUSR, proc_mountstats_operations),
[all …]
H A Dpage.c293 proc_create("kpagecount", S_IRUSR, NULL, &kpagecount_proc_ops); in proc_page_init()
294 proc_create("kpageflags", S_IRUSR, NULL, &kpageflags_proc_ops); in proc_page_init()
296 proc_create("kpagecgroup", S_IRUSR, NULL, &kpagecgroup_proc_ops); in proc_page_init()
H A Dkmsg.c60 proc_create("kmsg", S_IRUSR, NULL, &kmsg_proc_ops); in proc_kmsg_init()
/linux/drivers/video/fbdev/via/
H A Dviafbdev.c2074 module_param(viafb_mode, charp, S_IRUSR);
2077 module_param(viafb_mode1, charp, S_IRUSR);
2080 module_param(viafb_bpp, int, S_IRUSR);
2083 module_param(viafb_bpp1, int, S_IRUSR);
2086 module_param(viafb_refresh, int, S_IRUSR);
2090 module_param(viafb_refresh1, int, S_IRUSR);
2094 module_param(viafb_lcd_panel_id, int, S_IRUSR);
2098 module_param(viafb_lcd_dsp_method, int, S_IRUSR);
2102 module_param(viafb_SAMM_ON, int, S_IRUSR);
2106 module_param(viafb_accel, int, S_IRUSR);
[all …]
/linux/drivers/infiniband/hw/ocrdma/
H A 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/drivers/ras/
H A Dcec.c497 decay = debugfs_create_file("decay_interval", S_IRUSR | S_IWUSR, d, in create_debugfs_nodes()
504 count = debugfs_create_file("action_threshold", S_IRUSR | S_IWUSR, d, in create_debugfs_nodes()
514 pfn = debugfs_create_file("pfn", S_IRUSR | S_IWUSR, d, &dfs_pfn, &pfn_ops); in create_debugfs_nodes()
520 array = debugfs_create_file("array", S_IRUSR, d, NULL, &array_fops); in create_debugfs_nodes()
H A Ddebugfs.c53 fentry = debugfs_create_file("daemon_active", S_IRUSR, ras_debugfs_dir, in ras_add_daemon_trace()
/linux/drivers/acpi/apei/
H A Deinj-core.c1057 debugfs_create_file("available_error_type", S_IRUSR, einj_debug_dir, in einj_probe()
1086 debugfs_create_x32("flags", S_IRUSR | S_IWUSR, einj_debug_dir, in einj_probe()
1088 debugfs_create_x64("param1", S_IRUSR | S_IWUSR, einj_debug_dir, in einj_probe()
1090 debugfs_create_x64("param2", S_IRUSR | S_IWUSR, einj_debug_dir, in einj_probe()
1092 debugfs_create_x64("param3", S_IRUSR | S_IWUSR, einj_debug_dir, in einj_probe()
1094 debugfs_create_x64("param4", S_IRUSR | S_IWUSR, einj_debug_dir, in einj_probe()
1096 debugfs_create_x32("notrigger", S_IRUSR | S_IWUSR, in einj_probe()
1105 debugfs_create_blob("vendor", S_IRUSR, einj_debug_dir, in einj_probe()
1107 debugfs_create_x32("vendor_flags", S_IRUSR | S_IWUSR, in einj_probe()
/linux/security/integrity/ima/
H A Dima_fs.c409 dentry = securityfs_create_file(file_name, S_IRUSR | S_IRGRP, in create_securityfs_measurement_lists()
417 dentry = securityfs_create_file(file_name, S_IRUSR | S_IRGRP, in create_securityfs_measurement_lists()
532 S_IRUSR | S_IRGRP, ima_dir, NULL, in ima_fs_init()
539 dentry = securityfs_create_file("violations", S_IRUSR | S_IRGRP, in ima_fs_init()
/linux/drivers/gpu/drm/i915/
H A Di915_sysfs.c141 .attr = {.name = "l3_parity", .mode = (S_IRUSR | S_IWUSR)},
150 .attr = {.name = "l3_parity_slice_1", .mode = (S_IRUSR | S_IWUSR)},
/linux/init/
H A Dnoinitramfs.c27 err = init_mknod("/dev/console", S_IFCHR | S_IRUSR | S_IWUSR, in default_rootfs()
/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/drivers/firmware/
H A 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 },
905 device_param_cb(ioport, &fw_cfg_cmdline_param_ops, NULL, S_IRUSR);
906 device_param_cb(mmio, &fw_cfg_cmdline_param_ops, NULL, S_IRUSR);
/linux/drivers/hid/
H A 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/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport_debug.c110 ring_debug->debug = debugfs_create_file(entry_name, S_IRUSR, in adf_ring_debugfs_add()
206 bank->bank_debug_cfg = debugfs_create_file("config", S_IRUSR, in adf_bank_debugfs_add()
/linux/drivers/sh/intc/
H A Duserimask.c61 static DEVICE_ATTR(userimask, S_IRUSR | S_IWUSR,

123456