Home
last modified time | relevance | path

Searched refs:S_IRUSR (Results 1 – 200 of 229) sorted by relevance

12

/linux-4.1.27/drivers/misc/cxl/
Ddebugfs.c68 debugfs_create_io_x64("fir1", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR1)); in cxl_debugfs_adapter_add()
69 debugfs_create_io_x64("fir2", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR2)); in cxl_debugfs_adapter_add()
70 debugfs_create_io_x64("fir_cntl", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_FIR_CNTL)); in cxl_debugfs_adapter_add()
71 debugfs_create_io_x64("err_ivte", S_IRUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_ErrIVTE)); in cxl_debugfs_adapter_add()
73 debugfs_create_io_x64("trace", S_IRUSR | S_IWUSR, dir, _cxl_p1_addr(adapter, CXL_PSL_TRACE)); in cxl_debugfs_adapter_add()
97 debugfs_create_io_x64("fir", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_FIR_SLICE_An)); in cxl_debugfs_afu_add()
98 debugfs_create_io_x64("serr", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_SERR_An)); in cxl_debugfs_afu_add()
99 debugfs_create_io_x64("afu_debug", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_AFU_DEBUG_An)); in cxl_debugfs_afu_add()
100 debugfs_create_io_x64("sr", S_IRUSR, dir, _cxl_p1n_addr(afu, CXL_PSL_SR_An)); in cxl_debugfs_afu_add()
102 debugfs_create_io_x64("dsisr", S_IRUSR, dir, _cxl_p2n_addr(afu, CXL_PSL_DSISR_An)); in cxl_debugfs_afu_add()
[all …]
Dsysfs.c504 cr->config_attr.attr.mode = S_IRUSR; in cxl_sysfs_afu_new_cr()
/linux-4.1.27/drivers/crypto/nx/
Dnx_debugfs.c53 S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
57 S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
62 S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
67 S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
72 S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
77 S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
82 S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
86 S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
91 S_IRUSR | S_IRGRP | S_IROTH, in nx_debugfs_init()
/linux-4.1.27/drivers/xen/xenfs/
Dsuper.c48 [2] = { "xenbus", &xen_xenbus_fops, S_IRUSR|S_IWUSR }, in xenfs_fill_super()
50 { "privcmd", &xen_privcmd_fops, S_IRUSR|S_IWUSR }, in xenfs_fill_super()
55 [2] = { "xenbus", &xen_xenbus_fops, S_IRUSR|S_IWUSR }, in xenfs_fill_super()
57 { "privcmd", &xen_privcmd_fops, S_IRUSR|S_IWUSR }, in xenfs_fill_super()
58 { "xsd_kva", &xsd_kva_file_ops, S_IRUSR|S_IWUSR}, in xenfs_fill_super()
59 { "xsd_port", &xsd_port_file_ops, S_IRUSR|S_IWUSR}, in xenfs_fill_super()
/linux-4.1.27/drivers/staging/dgnc/
Ddgnc_sysfs.c34 static DRIVER_ATTR(version, S_IRUSR, dgnc_driver_version_show, NULL);
41 static DRIVER_ATTR(boards, S_IRUSR, dgnc_driver_boards_show, NULL);
48 static DRIVER_ATTR(maxboards, S_IRUSR, dgnc_driver_maxboards_show, NULL);
65 static DRIVER_ATTR(pollrate, (S_IRUSR | S_IWUSR), dgnc_driver_pollrate_show, dgnc_driver_pollrate_s…
125 static DEVICE_ATTR(vpd, S_IRUSR, dgnc_vpd_show, NULL);
141 static DEVICE_ATTR(serial_number, S_IRUSR, dgnc_serial_number_show, NULL);
159 static DEVICE_ATTR(ports_state, S_IRUSR, dgnc_ports_state_show, NULL);
176 static DEVICE_ATTR(ports_baud, S_IRUSR, dgnc_ports_baud_show, NULL);
204 static DEVICE_ATTR(ports_msignals, S_IRUSR, dgnc_ports_msignals_show, NULL);
221 static DEVICE_ATTR(ports_iflag, S_IRUSR, dgnc_ports_iflag_show, NULL);
[all …]
/linux-4.1.27/drivers/crypto/caam/
Dctrl.c636 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
640 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
644 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
648 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
652 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
656 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
660 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
666 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
670 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
674 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
[all …]
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c1957 debugfs_create_file_size(name, S_IRUSR, adap->debugfs_root, in add_debugfs_mem()
1985 { "cim_la", &cim_la_fops, S_IRUSR, 0 }, in t4_setup_debugfs()
1986 { "cim_qcfg", &cim_qcfg_fops, S_IRUSR, 0 }, in t4_setup_debugfs()
1987 { "clk", &clk_debugfs_fops, S_IRUSR, 0 }, in t4_setup_debugfs()
1988 { "devlog", &devlog_fops, S_IRUSR, 0 }, in t4_setup_debugfs()
1989 { "mbox0", &mbox_debugfs_fops, S_IRUSR | S_IWUSR, 0 }, in t4_setup_debugfs()
1990 { "mbox1", &mbox_debugfs_fops, S_IRUSR | S_IWUSR, 1 }, in t4_setup_debugfs()
1991 { "mbox2", &mbox_debugfs_fops, S_IRUSR | S_IWUSR, 2 }, in t4_setup_debugfs()
1992 { "mbox3", &mbox_debugfs_fops, S_IRUSR | S_IWUSR, 3 }, in t4_setup_debugfs()
1993 { "mbox4", &mbox_debugfs_fops, S_IRUSR | S_IWUSR, 4 }, in t4_setup_debugfs()
[all …]
/linux-4.1.27/drivers/mmc/core/
Ddebugfs.c226 if (!debugfs_create_file("ios", S_IRUSR, root, host, &mmc_ios_fops)) in mmc_add_host_debugfs()
229 if (!debugfs_create_file("clock", S_IRUSR | S_IWUSR, root, host, in mmc_add_host_debugfs()
234 if (!debugfs_create_u32("clk_delay", (S_IRUSR | S_IWUSR), in mmc_add_host_debugfs()
355 if (!debugfs_create_x32("state", S_IRUSR, root, &card->state)) in mmc_add_card_debugfs()
359 if (!debugfs_create_file("status", S_IRUSR, root, card, in mmc_add_card_debugfs()
364 if (!debugfs_create_file("ext_csd", S_IRUSR, root, card, in mmc_add_card_debugfs()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs.c1521 MVM_DEBUGFS_ADD_FILE(sram, mvm->debugfs_dir, S_IWUSR | S_IRUSR); in iwl_mvm_dbgfs_register()
1523 S_IWUSR | S_IRUSR); in iwl_mvm_dbgfs_register()
1524 MVM_DEBUGFS_ADD_FILE(nic_temp, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1525 MVM_DEBUGFS_ADD_FILE(stations, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1526 MVM_DEBUGFS_ADD_FILE(bt_notif, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1527 MVM_DEBUGFS_ADD_FILE(bt_cmd, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1529 S_IRUSR | S_IWUSR); in iwl_mvm_dbgfs_register()
1530 MVM_DEBUGFS_ADD_FILE(fw_rx_stats, mvm->debugfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1531 MVM_DEBUGFS_ADD_FILE(drv_rx_stats, mvm->debugfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1537 S_IWUSR | S_IRUSR); in iwl_mvm_dbgfs_register()
[all …]
Ddebugfs-vif.c642 S_IRUSR); in iwl_mvm_vif_dbgfs_register()
644 MVM_DEBUGFS_ADD_FILE_VIF(mac_params, mvmvif->dbgfs_dir, S_IRUSR); in iwl_mvm_vif_dbgfs_register()
646 S_IRUSR | S_IWUSR); in iwl_mvm_vif_dbgfs_register()
648 S_IRUSR | S_IWUSR); in iwl_mvm_vif_dbgfs_register()
650 S_IRUSR | S_IWUSR); in iwl_mvm_vif_dbgfs_register()
655 S_IRUSR | S_IWUSR); in iwl_mvm_vif_dbgfs_register()
Drs.c3686 debugfs_create_file("rate_scale_table", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
3688 debugfs_create_file("rate_stats_table", S_IRUSR, dir, in rs_add_debugfs()
3690 debugfs_create_file("drv_tx_stats", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
3692 debugfs_create_u8("tx_agg_tid_enable", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
3694 debugfs_create_u8("reduced_tpc", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
3697 MVM_DEBUGFS_ADD_FILE_RS(ss_force, dir, S_IRUSR | S_IWUSR); in rs_add_debugfs()
/linux-4.1.27/arch/avr32/kernel/
Docd.c128 ocd_debugfs_DC = debugfs_create_file("DC", S_IRUSR | S_IWUSR, in ocd_debugfs_init()
133 ocd_debugfs_DS = debugfs_create_file("DS", S_IRUSR, root, in ocd_debugfs_init()
138 ocd_debugfs_count = debugfs_create_file("count", S_IRUSR, root, in ocd_debugfs_init()
/linux-4.1.27/drivers/acpi/apei/
Deinj.c718 fentry = debugfs_create_file("available_error_type", S_IRUSR, in einj_init()
723 fentry = debugfs_create_file("error_type", S_IRUSR | S_IWUSR, in einj_init()
747 fentry = debugfs_create_x32("flags", S_IRUSR | S_IWUSR, in einj_init()
751 fentry = debugfs_create_x64("param1", S_IRUSR | S_IWUSR, in einj_init()
755 fentry = debugfs_create_x64("param2", S_IRUSR | S_IWUSR, in einj_init()
759 fentry = debugfs_create_x64("param3", S_IRUSR | S_IWUSR, in einj_init()
763 fentry = debugfs_create_x64("param4", S_IRUSR | S_IWUSR, in einj_init()
768 fentry = debugfs_create_x32("notrigger", S_IRUSR | S_IWUSR, in einj_init()
777 fentry = debugfs_create_blob("vendor", S_IRUSR, in einj_init()
781 fentry = debugfs_create_x32("vendor_flags", S_IRUSR | S_IWUSR, in einj_init()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
Ddebug.c138 __tmp = debugfs_create_bool(#name, S_IWUSR | S_IRUSR, \
146 __tmp = debugfs_create_x32(#name, S_IWUSR | S_IRUSR, \
1372 DEBUGFS_ADD_FILE(nvm, dir_data, S_IRUSR); in il_dbgfs_register()
1373 DEBUGFS_ADD_FILE(sram, dir_data, S_IWUSR | S_IRUSR); in il_dbgfs_register()
1374 DEBUGFS_ADD_FILE(stations, dir_data, S_IRUSR); in il_dbgfs_register()
1375 DEBUGFS_ADD_FILE(channels, dir_data, S_IRUSR); in il_dbgfs_register()
1376 DEBUGFS_ADD_FILE(status, dir_data, S_IRUSR); in il_dbgfs_register()
1377 DEBUGFS_ADD_FILE(interrupt, dir_data, S_IWUSR | S_IRUSR); in il_dbgfs_register()
1378 DEBUGFS_ADD_FILE(qos, dir_data, S_IRUSR); in il_dbgfs_register()
1379 DEBUGFS_ADD_FILE(disable_ht40, dir_data, S_IWUSR | S_IRUSR); in il_dbgfs_register()
[all …]
D4965-rs.c2773 debugfs_create_file("rate_scale_table", S_IRUSR | S_IWUSR, dir, in il4965_rs_add_debugfs()
2776 debugfs_create_file("rate_stats_table", S_IRUSR, dir, lq_sta, in il4965_rs_add_debugfs()
2779 debugfs_create_file("rate_scale_data", S_IRUSR, dir, lq_sta, in il4965_rs_add_debugfs()
2782 debugfs_create_u8("tx_agg_tid_enable", S_IRUSR | S_IWUSR, dir, in il4965_rs_add_debugfs()
D3945-mac.c3309 static DEVICE_ATTR(measurement, S_IRUSR | S_IWUSR, il3945_show_measurement,
3333 static DEVICE_ATTR(retry_rate, S_IWUSR | S_IRUSR, il3945_show_retry_rate,
3343 static DEVICE_ATTR(channels, S_IRUSR, il3945_show_channels, NULL);
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Ddebug.c1313 debugfs_create_file("debug", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1329 debugfs_create_u32("qlen_bk", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1331 debugfs_create_u32("qlen_be", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1333 debugfs_create_u32("qlen_vi", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1335 debugfs_create_u32("qlen_vo", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1345 debugfs_create_u8("rx_chainmask", S_IRUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1347 debugfs_create_u8("tx_chainmask", S_IRUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1349 debugfs_create_file("ani", S_IRUSR | S_IWUSR, in ath9k_init_debug()
1351 debugfs_create_bool("paprd", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1353 debugfs_create_file("regidx", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
[all …]
Dcommon-debug.c50 debugfs_create_file("modal_eeprom", S_IRUSR, debugfs_phy, ah, in ath9k_cmn_debug_modal_eeprom()
85 debugfs_create_file("base_eeprom", S_IRUSR, debugfs_phy, ah, in ath9k_cmn_debug_base_eeprom()
181 debugfs_create_file("recv", S_IRUSR, debugfs_phy, rxstats, in ath9k_cmn_debug_recv()
250 debugfs_create_file("phy_err", S_IRUSR, debugfs_phy, rxstats, in ath9k_cmn_debug_phy_err()
Dhtc_drv_debug.c499 debugfs_create_file("tgt_int_stats", S_IRUSR, priv->debug.debugfs_phy, in ath9k_htc_init_debug()
501 debugfs_create_file("tgt_tx_stats", S_IRUSR, priv->debug.debugfs_phy, in ath9k_htc_init_debug()
503 debugfs_create_file("tgt_rx_stats", S_IRUSR, priv->debug.debugfs_phy, in ath9k_htc_init_debug()
505 debugfs_create_file("xmit", S_IRUSR, priv->debug.debugfs_phy, in ath9k_htc_init_debug()
507 debugfs_create_file("skb_rx", S_IRUSR, priv->debug.debugfs_phy, in ath9k_htc_init_debug()
513 debugfs_create_file("slot", S_IRUSR, priv->debug.debugfs_phy, in ath9k_htc_init_debug()
515 debugfs_create_file("queue", S_IRUSR, priv->debug.debugfs_phy, in ath9k_htc_init_debug()
517 debugfs_create_file("debug", S_IRUSR | S_IWUSR, priv->debug.debugfs_phy, in ath9k_htc_init_debug()
Dcommon-spectral.c600 S_IRUSR | S_IWUSR, in ath9k_cmn_spectral_init_debug()
604 S_IRUSR | S_IWUSR, in ath9k_cmn_spectral_init_debug()
608 S_IRUSR | S_IWUSR, in ath9k_cmn_spectral_init_debug()
612 S_IRUSR | S_IWUSR, in ath9k_cmn_spectral_init_debug()
616 S_IRUSR | S_IWUSR, in ath9k_cmn_spectral_init_debug()
Dtx99.c272 debugfs_create_file("tx99", S_IRUSR | S_IWUSR, in ath9k_tx99_init_debug()
275 debugfs_create_file("tx99_power", S_IRUSR | S_IWUSR, in ath9k_tx99_init_debug()
Ddfs_debug.c147 debugfs_create_file("dfs_stats", S_IRUSR, in ath9k_dfs_init_debug()
/linux-4.1.27/arch/sh/mm/
Dcache-debugfs.c114 dcache_dentry = debugfs_create_file("dcache", S_IRUSR, arch_debugfs_dir, in cache_debugfs_init()
120 icache_dentry = debugfs_create_file("icache", S_IRUSR, arch_debugfs_dir, in cache_debugfs_init()
Dtlb-debugfs.c154 itlb = debugfs_create_file("itlb", S_IRUSR, arch_debugfs_dir, in tlb_debugfs_init()
160 utlb = debugfs_create_file("utlb", S_IRUSR, arch_debugfs_dir, in tlb_debugfs_init()
Dasids-debugfs.c66 asids_dentry = debugfs_create_file("asids", S_IRUSR, arch_debugfs_dir, in asids_debugfs_init()
/linux-4.1.27/drivers/misc/mei/
Ddebugfs.c194 f = debugfs_create_file("meclients", S_IRUSR, dir, in mei_dbgfs_register()
200 f = debugfs_create_file("active", S_IRUSR, dir, in mei_dbgfs_register()
206 f = debugfs_create_file("devstate", S_IRUSR, dir, in mei_dbgfs_register()
/linux-4.1.27/drivers/net/caif/
Dcaif_virtio.c632 debugfs_create_u32("rx-napi-complete", S_IRUSR, cfv->debugfs, in debugfs_init()
634 debugfs_create_u32("rx-napi-resched", S_IRUSR, cfv->debugfs, in debugfs_init()
636 debugfs_create_u32("rx-nomem", S_IRUSR, cfv->debugfs, in debugfs_init()
638 debugfs_create_u32("rx-kicks", S_IRUSR, cfv->debugfs, in debugfs_init()
640 debugfs_create_u32("tx-full-ring", S_IRUSR, cfv->debugfs, in debugfs_init()
642 debugfs_create_u32("tx-no-mem", S_IRUSR, cfv->debugfs, in debugfs_init()
644 debugfs_create_u32("tx-kicks", S_IRUSR, cfv->debugfs, in debugfs_init()
646 debugfs_create_u32("tx-flow-on", S_IRUSR, cfv->debugfs, in debugfs_init()
Dcaif_serial.c100 debugfs_create_blob("last_tx_msg", S_IRUSR, in debugfs_init()
104 debugfs_create_blob("last_rx_msg", S_IRUSR, in debugfs_init()
108 debugfs_create_x32("ser_state", S_IRUSR, in debugfs_init()
112 debugfs_create_x8("tty_status", S_IRUSR, in debugfs_init()
Dcaif_spi.c297 static DRIVER_ATTR(up_head_align, S_IRUSR, show_up_head_align, NULL);
305 static DRIVER_ATTR(up_tail_align, S_IRUSR, show_up_tail_align, NULL);
313 static DRIVER_ATTR(down_head_align, S_IRUSR, show_down_head_align, NULL);
321 static DRIVER_ATTR(down_tail_align, S_IRUSR, show_down_tail_align, NULL);
329 static DRIVER_ATTR(frame_align, S_IRUSR, show_frame_align, NULL);
/linux-4.1.27/drivers/misc/ibmasm/
Dibmasmfs.c617 ibmasmfs_create_file(dir, "command", &command_fops, sp, S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
618 ibmasmfs_create_file(dir, "event", &event_fops, sp, S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
619 ibmasmfs_create_file(dir, "reverse_heartbeat", &r_heartbeat_fops, sp, S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
625 …reate_file(remote_dir, "width", &remote_settings_fops, (void *)display_width(sp), S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
626 …ate_file(remote_dir, "height", &remote_settings_fops, (void *)display_height(sp), S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
627 …reate_file(remote_dir, "depth", &remote_settings_fops, (void *)display_depth(sp), S_IRUSR|S_IWUSR); in ibmasmfs_create_files()
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c760 if (!debugfs_create_file("resource_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
766 if (!debugfs_create_file("rx_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
772 if (!debugfs_create_file("wqe_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
778 if (!debugfs_create_file("tx_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
784 if (!debugfs_create_file("db_err_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
791 if (!debugfs_create_file("tx_qp_err_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
797 if (!debugfs_create_file("rx_qp_err_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
804 if (!debugfs_create_file("tx_dbg_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
810 if (!debugfs_create_file("rx_dbg_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
816 if (!debugfs_create_file("driver_dbg_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
[all …]
/linux-4.1.27/sound/
Dsound_core.c423 name, S_IRUSR | S_IWUSR, dev); in register_sound_special_device()
450 "mixer", S_IRUSR | S_IWUSR, NULL); in register_sound_mixer()
470 "midi", S_IRUSR | S_IWUSR, NULL); in register_sound_midi()
498 "dsp", S_IWUSR | S_IRUSR, NULL); in register_sound_dsp()
/linux-4.1.27/security/integrity/ima/
Dima_fs.c360 S_IRUSR | S_IRGRP, ima_dir, NULL, in ima_fs_init()
367 S_IRUSR | S_IRGRP, ima_dir, NULL, in ima_fs_init()
374 S_IRUSR | S_IRGRP, ima_dir, NULL, in ima_fs_init()
380 securityfs_create_file("violations", S_IRUSR | S_IRGRP, in ima_fs_init()
/linux-4.1.27/security/apparmor/
Dlsm.c706 &aa_g_profile_mode, S_IRUSR | S_IWUSR);
710 module_param_named(debug, aa_g_debug, aabool, S_IRUSR | S_IWUSR);
715 &aa_g_audit, S_IRUSR | S_IWUSR);
722 S_IRUSR | S_IWUSR);
730 S_IRUSR | S_IWUSR);
734 module_param_named(logsyscall, aa_g_logsyscall, aabool, S_IRUSR | S_IWUSR);
738 module_param_named(path_max, aa_g_path_max, aauint, S_IRUSR | S_IWUSR);
745 S_IRUSR | S_IWUSR);
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00debug.c607 return debugfs_create_blob(name, S_IRUSR, intf->driver_folder, blob); in rt2x00debug_create_file_driver()
648 return debugfs_create_blob(name, S_IRUSR, intf->driver_folder, blob); in rt2x00debug_create_file_chipset()
683 intf->dev_flags = debugfs_create_file("dev_flags", S_IRUSR, in rt2x00debug_register()
689 intf->cap_flags = debugfs_create_file("cap_flags", S_IRUSR, in rt2x00debug_register()
705 S_IRUSR | S_IWUSR, \ in rt2x00debug_register()
714 S_IRUSR | S_IWUSR, \ in rt2x00debug_register()
737 debugfs_create_file("dump", S_IRUSR, intf->queue_folder, in rt2x00debug_register()
747 debugfs_create_file("queue", S_IRUSR, intf->queue_folder, in rt2x00debug_register()
/linux-4.1.27/drivers/video/fbdev/via/
Dviafbdev.c2101 module_param(viafb_mode, charp, S_IRUSR);
2104 module_param(viafb_mode1, charp, S_IRUSR);
2107 module_param(viafb_bpp, int, S_IRUSR);
2110 module_param(viafb_bpp1, int, S_IRUSR);
2113 module_param(viafb_refresh, int, S_IRUSR);
2117 module_param(viafb_refresh1, int, S_IRUSR);
2121 module_param(viafb_lcd_panel_id, int, S_IRUSR);
2125 module_param(viafb_lcd_dsp_method, int, S_IRUSR);
2129 module_param(viafb_SAMM_ON, int, S_IRUSR);
2133 module_param(viafb_accel, int, S_IRUSR);
[all …]
/linux-4.1.27/fs/proc/
Dbase.c1783 inode->i_mode |= S_IRUSR; in proc_map_files_instantiate()
2549 DIR("fd", S_IRUSR|S_IXUSR, proc_fd_inode_operations, proc_fd_operations),
2551 DIR("map_files", S_IRUSR|S_IXUSR, proc_map_files_inode_operations, proc_map_files_operations),
2553 DIR("fdinfo", S_IRUSR|S_IXUSR, proc_fdinfo_inode_operations, proc_fdinfo_operations),
2554 DIR("ns", S_IRUSR|S_IXUGO, proc_ns_dir_inode_operations, proc_ns_dir_operations),
2558 REG("environ", S_IRUSR, proc_environ_operations),
2559 ONE("auxv", S_IRUSR, proc_pid_auxv),
2561 ONE("personality", S_IRUSR, proc_pid_personality),
2571 ONE("syscall", S_IRUSR, proc_pid_syscall),
2580 REG("mem", S_IRUSR|S_IWUSR, proc_mem_operations),
[all …]
Dpage.c230 proc_create("kpagecount", S_IRUSR, NULL, &proc_kpagecount_operations); in proc_page_init()
231 proc_create("kpageflags", S_IRUSR, NULL, &proc_kpageflags_operations); in proc_page_init()
Dkmsg.c61 proc_create("kmsg", S_IRUSR, NULL, &proc_kmsg_operations); in proc_kmsg_init()
Dfd.c125 i_mode |= S_IRUSR | S_IXUSR; in tid_fd_revalidate()
323 inode->i_mode = S_IFREG | S_IRUSR; in proc_fdinfo_instantiate()
Dproc_tty.c186 proc_tty_driver = proc_mkdir_mode("tty/driver", S_IRUSR|S_IXUSR, NULL); in proc_tty_init()
Dkcore.c626 proc_root_kcore = proc_create("kcore", S_IRUSR, NULL, in proc_kcore_init()
Dvmcore.c1168 proc_vmcore = proc_create("vmcore", S_IRUSR, NULL, &proc_vmcore_operations); in vmcore_init()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Ddebugfs.c49 __tmp = debugfs_create_bool(#name, S_IWUSR | S_IRUSR, \
57 __tmp = debugfs_create_x32(#name, S_IWUSR | S_IRUSR, \
2376 DEBUGFS_ADD_FILE(nvm, dir_data, S_IRUSR); in iwl_dbgfs_register()
2377 DEBUGFS_ADD_FILE(sram, dir_data, S_IWUSR | S_IRUSR); in iwl_dbgfs_register()
2378 DEBUGFS_ADD_FILE(wowlan_sram, dir_data, S_IRUSR); in iwl_dbgfs_register()
2379 DEBUGFS_ADD_FILE(stations, dir_data, S_IRUSR); in iwl_dbgfs_register()
2380 DEBUGFS_ADD_FILE(channels, dir_data, S_IRUSR); in iwl_dbgfs_register()
2381 DEBUGFS_ADD_FILE(status, dir_data, S_IRUSR); in iwl_dbgfs_register()
2382 DEBUGFS_ADD_FILE(rx_handlers, dir_data, S_IWUSR | S_IRUSR); in iwl_dbgfs_register()
2383 DEBUGFS_ADD_FILE(qos, dir_data, S_IRUSR); in iwl_dbgfs_register()
[all …]
Drs.c3288 debugfs_create_file("rate_scale_table", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
3291 debugfs_create_file("rate_stats_table", S_IRUSR, dir, in rs_add_debugfs()
3294 debugfs_create_file("rate_scale_data", S_IRUSR, dir, in rs_add_debugfs()
3297 debugfs_create_u8("tx_agg_tid_enable", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
/linux-4.1.27/fs/nfsd/
Dnfsctl.c1134 &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1136 &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1137 [NFSD_Fh] = {"filehandle", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1138 [NFSD_Threads] = {"threads", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1139 [NFSD_Pool_Threads] = {"pool_threads", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1142 [NFSD_Versions] = {"versions", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1150 [NFSD_Leasetime] = {"nfsv4leasetime", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1151 [NFSD_Gracetime] = {"nfsv4gracetime", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
1152 [NFSD_RecoveryDir] = {"nfsv4recoverydir", &transaction_ops, S_IWUSR|S_IRUSR}, in nfsd_fill_super()
Dfault_inject.c134 umode_t mode = S_IFREG | S_IRUSR | S_IWUSR; in nfsd_fault_inject_init()
/linux-4.1.27/arch/blackfin/kernel/
Ddebug-mmrs.c32 #define d(name, bits, addr) _d(name, bits, addr, S_IRUSR|S_IWUSR)
33 #define d_RO(name, bits, addr) _d(name, bits, addr, S_IRUSR)
48 debugfs_create_x16(buf, S_IRUSR|S_IWUSR, parent, addr); \
50 debugfs_create_x32(buf, S_IRUSR|S_IWUSR, parent, addr); \
107 #define D_SYSREG(sr) debugfs_create_file(#sr, S_IRUSR|S_IWUSR, parent, NULL, &fops_sysreg_##sr)
177 debugfs_create_x16(buf, S_IRUSR|S_IWUSR, am, in bfin_debug_mmrs_can()
180 debugfs_create_x16(buf, S_IRUSR|S_IWUSR, am, in bfin_debug_mmrs_can()
185 debugfs_create_x16(buf, S_IRUSR|S_IWUSR, mb, in bfin_debug_mmrs_can()
189 debugfs_create_x16(buf, S_IRUSR|S_IWUSR, mb, in bfin_debug_mmrs_can()
192 debugfs_create_x16(buf, S_IRUSR|S_IWUSR, mb, in bfin_debug_mmrs_can()
[all …]
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes.c1183 static DRIVER_ATTR(adapter, S_IRUSR | S_IWUSR,
1185 static DRIVER_ATTR(eeprom_cmd, S_IRUSR | S_IWUSR,
1187 static DRIVER_ATTR(eeprom_data, S_IRUSR | S_IWUSR,
1189 static DRIVER_ATTR(flash_cmd, S_IRUSR | S_IWUSR,
1191 static DRIVER_ATTR(flash_data, S_IRUSR | S_IWUSR,
1193 static DRIVER_ATTR(nonidx_addr, S_IRUSR | S_IWUSR,
1195 static DRIVER_ATTR(nonidx_data, S_IRUSR | S_IWUSR,
1197 static DRIVER_ATTR(idx_addr, S_IRUSR | S_IWUSR,
1199 static DRIVER_ATTR(idx_data, S_IRUSR | S_IWUSR,
1201 static DRIVER_ATTR(wqm_quanta, S_IRUSR | S_IWUSR,
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
Ddebug.c1005 debugfs_create_file("debug", S_IWUSR | S_IRUSR, phydir, ah, in ath5k_debug_init_device()
1008 debugfs_create_file("registers", S_IRUSR, phydir, ah, &fops_registers); in ath5k_debug_init_device()
1010 debugfs_create_file("beacon", S_IWUSR | S_IRUSR, phydir, ah, in ath5k_debug_init_device()
1015 debugfs_create_file("antenna", S_IWUSR | S_IRUSR, phydir, ah, in ath5k_debug_init_device()
1018 debugfs_create_file("misc", S_IRUSR, phydir, ah, &fops_misc); in ath5k_debug_init_device()
1020 debugfs_create_file("eeprom", S_IRUSR, phydir, ah, &fops_eeprom); in ath5k_debug_init_device()
1022 debugfs_create_file("frameerrors", S_IWUSR | S_IRUSR, phydir, ah, in ath5k_debug_init_device()
1025 debugfs_create_file("ani", S_IWUSR | S_IRUSR, phydir, ah, &fops_ani); in ath5k_debug_init_device()
1027 debugfs_create_file("queue", S_IWUSR | S_IRUSR, phydir, ah, in ath5k_debug_init_device()
1030 debugfs_create_bool("32khz_clock", S_IWUSR | S_IRUSR, phydir, in ath5k_debug_init_device()
/linux-4.1.27/init/
Dnoinitramfs.c37 S_IFCHR | S_IRUSR | S_IWUSR, in default_rootfs()
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
Dmain.c1982 module_param_named(ht_mode, ht_mode_param, charp, S_IRUSR);
1985 module_param_named(board_type, board_type_param, charp, S_IRUSR);
1989 module_param_named(checksum, checksum_param, bool, S_IRUSR);
1992 module_param_named(dc2dc, dc2dc_param, int, S_IRUSR);
1995 module_param_named(n_antennas_2, n_antennas_2_param, int, S_IRUSR);
1999 module_param_named(n_antennas_5, n_antennas_5_param, int, S_IRUSR);
2004 S_IRUSR);
2009 int, S_IRUSR);
2014 S_IRUSR);
2019 int, S_IRUSR);
[all …]
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Ddebug.c1788 debugfs_create_file("tgt_stats", S_IRUSR, ar->debugfs_phy, ar, in ath6kl_debug_init_fs()
1792 debugfs_create_file("credit_dist_stats", S_IRUSR, in ath6kl_debug_init_fs()
1796 debugfs_create_file("endpoint_stats", S_IRUSR | S_IWUSR, in ath6kl_debug_init_fs()
1799 debugfs_create_file("fwlog", S_IRUSR, ar->debugfs_phy, ar, in ath6kl_debug_init_fs()
1802 debugfs_create_file("fwlog_block", S_IRUSR, ar->debugfs_phy, ar, in ath6kl_debug_init_fs()
1805 debugfs_create_file("fwlog_mask", S_IRUSR | S_IWUSR, ar->debugfs_phy, in ath6kl_debug_init_fs()
1808 debugfs_create_file("reg_addr", S_IRUSR | S_IWUSR, ar->debugfs_phy, ar, in ath6kl_debug_init_fs()
1811 debugfs_create_file("reg_dump", S_IRUSR, ar->debugfs_phy, ar, in ath6kl_debug_init_fs()
1814 debugfs_create_file("lrssi_roam_threshold", S_IRUSR | S_IWUSR, in ath6kl_debug_init_fs()
1817 debugfs_create_file("reg_write", S_IRUSR | S_IWUSR, in ath6kl_debug_init_fs()
[all …]
/linux-4.1.27/drivers/staging/i2o/
Dconfig-osm.c29 #define S_IWRSR (S_IRUSR | S_IWUSR)
/linux-4.1.27/include/linux/
Dstat.h10 #define S_IRUGO (S_IRUSR|S_IRGRP|S_IROTH)
/linux-4.1.27/drivers/ide/
Dide-disk_proc.c151 { "smart_values", S_IFREG|S_IRUSR, &idedisk_sv_proc_fops },
152 { "smart_thresholds", S_IFREG|S_IRUSR, &idedisk_st_proc_fops },
Dide-proc.c617 { "identify", S_IFREG|S_IRUSR, &ide_identify_proc_fops},
620 { "settings", S_IFREG|S_IRUSR|S_IWUSR, &ide_settings_proc_fops},
/linux-4.1.27/include/uapi/linux/
Dstat.h28 #define S_IRUSR 00400 macro
/linux-4.1.27/drivers/ras/
Ddebugfs.c44 fentry = debugfs_create_file("daemon_active", S_IRUSR, ras_debugfs_dir, in ras_add_daemon_trace()
/linux-4.1.27/net/netfilter/
Dnf_conntrack_netbios_ns.c36 module_param(timeout, uint, S_IRUSR);
Dnf_conntrack_snmp.c29 module_param(timeout, uint, S_IRUSR);
/linux-4.1.27/drivers/sh/intc/
Duserimask.c58 static DEVICE_ATTR(userimask, S_IRUSR | S_IWUSR,
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Ddebug.c2036 debugfs_create_file("fw_stats", S_IRUSR, ar->debug.debugfs_phy, ar, in ath10k_debug_register()
2039 debugfs_create_file("fw_reset_stats", S_IRUSR, ar->debug.debugfs_phy, in ath10k_debug_register()
2042 debugfs_create_file("wmi_services", S_IRUSR, ar->debug.debugfs_phy, ar, in ath10k_debug_register()
2045 debugfs_create_file("simulate_fw_crash", S_IRUSR, ar->debug.debugfs_phy, in ath10k_debug_register()
2048 debugfs_create_file("fw_crash_dump", S_IRUSR, ar->debug.debugfs_phy, in ath10k_debug_register()
2051 debugfs_create_file("reg_addr", S_IRUSR | S_IWUSR, in ath10k_debug_register()
2054 debugfs_create_file("reg_value", S_IRUSR | S_IWUSR, in ath10k_debug_register()
2057 debugfs_create_file("mem_value", S_IRUSR | S_IWUSR, in ath10k_debug_register()
2060 debugfs_create_file("chip_id", S_IRUSR, ar->debug.debugfs_phy, in ath10k_debug_register()
2063 debugfs_create_file("htt_stats_mask", S_IRUSR, ar->debug.debugfs_phy, in ath10k_debug_register()
[all …]
Dspectral.c527 S_IRUSR | S_IWUSR, in ath10k_spectral_create()
531 S_IRUSR | S_IWUSR, in ath10k_spectral_create()
535 S_IRUSR | S_IWUSR, in ath10k_spectral_create()
/linux-4.1.27/drivers/hid/
Dhid-wiimote-debug.c187 dbg->eeprom = debugfs_create_file("eeprom", S_IRUSR, in wiidebug_init()
192 dbg->drm = debugfs_create_file("drm", S_IRUSR, in wiidebug_init()
Dhid-picolcd_debugfs.c864 (eeprom_w ? S_IWUSR : 0) | (eeprom_r ? S_IRUSR : 0), in picolcd_init_devfs()
874 (flash_w ? S_IWUSR : 0) | (flash_r ? S_IRUSR : 0), in picolcd_init_devfs()
Dhid-lg4ff.c722 static DEVICE_ATTR(alternate_modes, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH, lg4ff_alternat…
/linux-4.1.27/mm/
Dfailslab.c38 umode_t mode = S_IFREG | S_IRUSR | S_IWUSR; in failslab_debugfs_init()
Dpage_owner.c306 dentry = debugfs_create_file("page_owner", S_IRUSR, NULL, in pageowner_init()
Dslab_common.c919 #define SLABINFO_RIGHTS (S_IWUSR | S_IRUSR)
921 #define SLABINFO_RIGHTS S_IRUSR
/linux-4.1.27/security/integrity/evm/
Devm_secfs.c99 evm_init_tpm = securityfs_create_file("evm", S_IRUSR | S_IRGRP, in evm_init_secfs()
/linux-4.1.27/net/8021q/
Dvlanproc.c153 vn->proc_vlan_conf = proc_create(name_conf, S_IFREG|S_IRUSR|S_IWUSR, in vlan_proc_init()
177 proc_create_data(vlandev->name, S_IFREG|S_IRUSR|S_IWUSR, in vlan_proc_add_dev()
/linux-4.1.27/drivers/s390/char/
Dzcore.c693 zcore_file = debugfs_create_file("mem", S_IRUSR, zcore_dir, NULL, in zcore_init()
699 zcore_memmap_file = debugfs_create_file("memmap", S_IRUSR, zcore_dir, in zcore_init()
705 zcore_reipl_file = debugfs_create_file("reipl", S_IRUSR, zcore_dir, in zcore_init()
711 zcore_hsa_file = debugfs_create_file("hsa", S_IRUSR|S_IWUSR, zcore_dir, in zcore_init()
Dsclp.c1137 static DRIVER_ATTR(con_pages, S_IRUSR, sclp_show_console_pages, NULL);
1144 static DRIVER_ATTR(con_drop, S_IRUSR, sclp_show_con_drop, NULL);
1151 static DRIVER_ATTR(con_full, S_IRUSR, sclp_show_console_full, NULL);
/linux-4.1.27/kernel/locking/
Dlockdep_proc.c678 proc_create("lockdep", S_IRUSR, NULL, &proc_lockdep_operations); in lockdep_proc_init()
680 proc_create("lockdep_chains", S_IRUSR, NULL, in lockdep_proc_init()
683 proc_create("lockdep_stats", S_IRUSR, NULL, in lockdep_proc_init()
687 proc_create("lock_stat", S_IRUSR | S_IWUSR, NULL, in lockdep_proc_init()
Drtmutex-tester.c370 static DEVICE_ATTR(status, S_IRUSR, sysfs_test_status, NULL);
/linux-4.1.27/drivers/w1/slaves/
Dw1_bq27000.c112 module_param(F_ID, int, S_IRUSR);
/linux-4.1.27/drivers/crypto/qat/qat_common/
Dadf_transport_debug.c175 ring_debug->debug = debugfs_create_file(entry_name, S_IRUSR, in adf_ring_debugfs_add()
291 bank->bank_debug_cfg = debugfs_create_file("config", S_IRUSR, in adf_bank_debugfs_add()
Dadf_cfg.c140 dev_cfg_data->debug = debugfs_create_file("dev_cfg", S_IRUSR, in adf_cfg_dev_add()
/linux-4.1.27/net/sunrpc/
Ddebugfs.c153 if (!debugfs_create_file("tasks", S_IFREG | S_IRUSR, clnt->cl_debugfs, in rpc_clnt_debugfs_register()
255 if (!debugfs_create_file("info", S_IFREG | S_IRUSR, xprt->debugfs, in rpc_xprt_debugfs_register()
Drpc_pipe.c823 umode_t umode = S_IFIFO | S_IRUSR | S_IWUSR; in rpc_mkpipe_dentry()
1038 .mode = S_IFREG | S_IRUSR,
1099 .mode = S_IFREG|S_IRUSR|S_IWUSR,
1104 .mode = S_IFREG|S_IRUSR,
1109 .mode = S_IFREG|S_IRUSR|S_IWUSR,
1313 .mode = S_IFREG | S_IRUSR,
Dcache.c1606 p = proc_create_data("flush", S_IFREG|S_IRUSR|S_IWUSR, in create_cache_proc_entries()
1614 p = proc_create_data("channel", S_IFREG|S_IRUSR|S_IWUSR, in create_cache_proc_entries()
1622 p = proc_create_data("content", S_IFREG|S_IRUSR, in create_cache_proc_entries()
/linux-4.1.27/drivers/tty/serial/
Dserial_core.c2612 static DEVICE_ATTR(type, S_IRUSR | S_IRGRP, uart_get_attr_type, NULL);
2613 static DEVICE_ATTR(line, S_IRUSR | S_IRGRP, uart_get_attr_line, NULL);
2614 static DEVICE_ATTR(port, S_IRUSR | S_IRGRP, uart_get_attr_port, NULL);
2615 static DEVICE_ATTR(irq, S_IRUSR | S_IRGRP, uart_get_attr_irq, NULL);
2616 static DEVICE_ATTR(flags, S_IRUSR | S_IRGRP, uart_get_attr_flags, NULL);
2617 static DEVICE_ATTR(xmit_fifo_size, S_IRUSR | S_IRGRP, uart_get_attr_xmit_fifo_size, NULL);
2618 static DEVICE_ATTR(uartclk, S_IRUSR | S_IRGRP, uart_get_attr_uartclk, NULL);
2619 static DEVICE_ATTR(close_delay, S_IRUSR | S_IRGRP, uart_get_attr_close_delay, NULL);
2620 static DEVICE_ATTR(closing_wait, S_IRUSR | S_IRGRP, uart_get_attr_closing_wait, NULL);
2621 static DEVICE_ATTR(custom_divisor, S_IRUSR | S_IRGRP, uart_get_attr_custom_divisor, NULL);
[all …]
/linux-4.1.27/drivers/char/tpm/
Dtpm_eventlog.c376 S_IRUSR | S_IRGRP, tpm_dir, NULL, in tpm_bios_log_setup()
383 S_IRUSR | S_IRGRP, tpm_dir, NULL, in tpm_bios_log_setup()
/linux-4.1.27/drivers/scsi/esas2r/
Desas2r_log.c68 module_param(event_log_level, long, S_IRUGO | S_IRUSR);
/linux-4.1.27/lib/
Dnotifier-error-inject.c53 umode_t mode = S_IFREG | S_IRUSR | S_IWUSR; in notifier_err_inject_init()
Dfault-inject.c194 umode_t mode = S_IFREG | S_IRUSR | S_IWUSR; in fault_create_debugfs_attr()
/linux-4.1.27/drivers/staging/dgap/
Ddgap.c5388 static DEVICE_ATTR(ports_state, S_IRUSR, dgap_ports_state_show, NULL);
5409 static DEVICE_ATTR(ports_baud, S_IRUSR, dgap_ports_baud_show, NULL);
5446 static DEVICE_ATTR(ports_msignals, S_IRUSR, dgap_ports_msignals_show, NULL);
5466 static DEVICE_ATTR(ports_iflag, S_IRUSR, dgap_ports_iflag_show, NULL);
5486 static DEVICE_ATTR(ports_cflag, S_IRUSR, dgap_ports_cflag_show, NULL);
5506 static DEVICE_ATTR(ports_oflag, S_IRUSR, dgap_ports_oflag_show, NULL);
5526 static DEVICE_ATTR(ports_lflag, S_IRUSR, dgap_ports_lflag_show, NULL);
5546 static DEVICE_ATTR(ports_digi_flag, S_IRUSR, dgap_ports_digi_flag_show, NULL);
5566 static DEVICE_ATTR(ports_rxcount, S_IRUSR, dgap_ports_rxcount_show, NULL);
5586 static DEVICE_ATTR(ports_txcount, S_IRUSR, dgap_ports_txcount_show, NULL);
[all …]
/linux-4.1.27/fs/ubifs/
Ddebug.c2858 dent = debugfs_create_file(fname, S_IRUSR | S_IWUSR, d->dfs_dir, c, in dbg_debugfs_init_fs()
2865 dent = debugfs_create_file(fname, S_IRUSR | S_IWUSR, d->dfs_dir, c, in dbg_debugfs_init_fs()
2872 dent = debugfs_create_file(fname, S_IRUSR | S_IWUSR, d->dfs_dir, c, in dbg_debugfs_init_fs()
2879 dent = debugfs_create_file(fname, S_IRUSR | S_IWUSR, d->dfs_dir, c, in dbg_debugfs_init_fs()
2886 dent = debugfs_create_file(fname, S_IRUSR | S_IWUSR, d->dfs_dir, c, in dbg_debugfs_init_fs()
2893 dent = debugfs_create_file(fname, S_IRUSR | S_IWUSR, d->dfs_dir, c, in dbg_debugfs_init_fs()
2900 dent = debugfs_create_file(fname, S_IRUSR | S_IWUSR, d->dfs_dir, c, in dbg_debugfs_init_fs()
3019 dent = debugfs_create_file(fname, S_IRUSR | S_IWUSR, dfs_rootdir, NULL, in dbg_debugfs_init()
3026 dent = debugfs_create_file(fname, S_IRUSR | S_IWUSR, dfs_rootdir, NULL, in dbg_debugfs_init()
3033 dent = debugfs_create_file(fname, S_IRUSR | S_IWUSR, dfs_rootdir, NULL, in dbg_debugfs_init()
[all …]
/linux-4.1.27/tools/perf/util/
Ddata.c98 fd = open(file->path, O_CREAT|O_RDWR|O_TRUNC, S_IRUSR|S_IWUSR); in open_file_write()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dscanlog.c182 ent = proc_create("powerpc/rtas/scan-log-dump", S_IRUSR, NULL, in scanlog_init()
Dlparcfg.c698 umode_t mode = S_IRUSR | S_IRGRP | S_IROTH; in lparcfg_init()
/linux-4.1.27/kernel/time/
Dtest_udelay.c150 S_IRUSR, NULL, NULL, &udelay_test_debugfs_ops); in udelay_test_init()
/linux-4.1.27/drivers/acpi/
Dacpi_lpss.c474 static DEVICE_ATTR(auto_ltr, S_IRUSR, lpss_ltr_show, NULL);
475 static DEVICE_ATTR(sw_ltr, S_IRUSR, lpss_ltr_show, NULL);
476 static DEVICE_ATTR(ltr_mode, S_IRUSR, lpss_ltr_mode_show, NULL);
/linux-4.1.27/drivers/power/
Dlp8788-charger.c686 static DEVICE_ATTR(charger_status, S_IRUSR, lp8788_show_charger_status, NULL);
687 static DEVICE_ATTR(eoc_time, S_IRUSR, lp8788_show_eoc_time, NULL);
688 static DEVICE_ATTR(eoc_level, S_IRUSR, lp8788_show_eoc_level, NULL);
Dpower_supply_sysfs.c215 umode_t mode = S_IRUSR | S_IRGRP | S_IROTH; in power_supply_attr_is_visible()
/linux-4.1.27/fs/ocfs2/dlm/
Ddlmdebug.c895 S_IFREG|S_IRUSR, in dlm_debug_init()
906 S_IFREG|S_IRUSR, in dlm_debug_init()
916 S_IFREG|S_IRUSR, in dlm_debug_init()
927 S_IFREG|S_IRUSR, in dlm_debug_init()
/linux-4.1.27/drivers/i2c/
Di2c-slave-eeprom.c129 eeprom->bin.attr.mode = S_IRUSR | S_IWUSR; in i2c_slave_eeprom_probe()
/linux-4.1.27/arch/arm/vdso/
Dvdsomunge.c192 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in main()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_sysfs.c286 .attr = {.name = "l3_parity", .mode = (S_IRUSR | S_IWUSR)},
295 .attr = {.name = "l3_parity_slice_1", .mode = (S_IRUSR | S_IWUSR)},
607 .attr.mode = S_IRUSR | S_IWUSR,
/linux-4.1.27/net/dccp/
Dprobe.c162 if (!proc_create(procname, S_IRUSR, init_net.proc_net, &dccpprobe_fops)) in dccpprobe_init()
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/
Ddebug.c170 ADD_FILE(bmps_switcher, S_IRUSR | S_IWUSR, in wcn36xx_debugfs_init()
/linux-4.1.27/drivers/net/wireless/cw1200/
Ddebug.c401 if (!debugfs_create_file("status", S_IRUSR, d->debugfs_phy, in cw1200_debug_init()
405 if (!debugfs_create_file("counters", S_IRUSR, d->debugfs_phy, in cw1200_debug_init()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_debugfs.c503 dentry = debugfs_create_file("in_flight_summary", S_IRUSR|S_IRGRP, in drbd_debugfs_resource_add()
667 dentry = debugfs_create_file("callback_history", S_IRUSR|S_IRGRP, in drbd_debugfs_connection_add()
674 dentry = debugfs_create_file("oldest_requests", S_IRUSR|S_IRGRP, in drbd_debugfs_connection_add()
838 dentry = debugfs_create_file(#name, S_IRUSR|S_IRGRP, \ in drbd_debugfs_device_attr()
/linux-4.1.27/drivers/input/touchscreen/
Dedt-ft5x06.c724 debugfs_create_u16("num_x", S_IRUSR, tsdata->debug_dir, &tsdata->num_x); in edt_ft5x06_ts_prepare_debugfs()
725 debugfs_create_u16("num_y", S_IRUSR, tsdata->debug_dir, &tsdata->num_y); in edt_ft5x06_ts_prepare_debugfs()
727 debugfs_create_file("mode", S_IRUSR | S_IWUSR, in edt_ft5x06_ts_prepare_debugfs()
729 debugfs_create_file("raw_data", S_IRUSR, in edt_ft5x06_ts_prepare_debugfs()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_dfs.c149 ha->dfs_fce = debugfs_create_file("fce", S_IRUSR, ha->dfs_dir, vha, in qla2x00_dfs_setup()
Dqla_attr.c142 .mode = S_IRUSR | S_IWUSR,
228 .mode = S_IRUSR | S_IWUSR,
315 .mode = S_IRUSR | S_IWUSR,
369 .mode = S_IRUSR | S_IWUSR,
624 .mode = S_IRUSR | S_IWUSR,
686 .mode = S_IRUSR | S_IWUSR,
872 .mode = S_IRUSR,
923 .mode = S_IRUSR,
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dsysfs.c168 .attr = {.name = "fwlog", .mode = S_IRUSR},
Dsdio.c453 module_param(dump, bool, S_IRUSR | S_IWUSR);
Dmain.c6537 module_param_named(debug_level, wl12xx_debug_level, uint, S_IRUSR | S_IWUSR);
6544 module_param(fwlog_mem_blocks, int, S_IRUSR | S_IWUSR);
6547 module_param(bug_on_recovery, int, S_IRUSR | S_IWUSR);
6550 module_param(no_recovery, int, S_IRUSR | S_IWUSR);
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_debugfs.c153 "reg", S_IFREG | S_IRUSR, &fops_reg_r); in armada_drm_debugfs_init()
/linux-4.1.27/drivers/pci/
Dpci-sysfs.c925 b->legacy_io->attr.mode = S_IRUSR | S_IWUSR; in pci_create_legacy_files()
939 b->legacy_mem->attr.mode = S_IRUSR | S_IWUSR; in pci_create_legacy_files()
1165 res_attr->attr.mode = S_IRUSR | S_IWUSR; in pci_create_attr()
1331 attr->attr.mode = S_IRUSR | S_IWUSR; in pci_create_capabilities_sysfs()
1398 attr->attr.mode = S_IRUSR | S_IWUSR; in pci_create_sysfs_dev_files()
/linux-4.1.27/net/sctp/
Dprobe.c216 if (!proc_create(procname, S_IRUSR, init_net.proc_net, in sctpprobe_init()
/linux-4.1.27/fs/affs/
Damigaffs.c395 mode |= S_IRUSR; in prot_to_mode()
422 if (!(mode & S_IRUSR)) in mode_to_prot()
Dinode.c98 if (inode->i_mode & S_IRUSR) in affs_iget()
/linux-4.1.27/drivers/edac/
Dmce_amd_inj.c223 S_IRUSR | S_IWUSR, in init_mce_inject()
/linux-4.1.27/arch/ia64/kernel/
Dsalinfo.c648 entry = proc_create_data("event", S_IRUSR, dir, in salinfo_init()
654 entry = proc_create_data("data", S_IRUSR | S_IWUSR, dir, in salinfo_init()
/linux-4.1.27/arch/x86/mm/
Dtlb.c344 debugfs_create_file("tlb_single_page_flush_ceiling", S_IRUSR | S_IWUSR, in create_tlb_single_page_flush_ceiling()
Dpat.c1000 debugfs_create_file("pat_memtype_list", S_IRUSR, in pat_memtype_list_init()
/linux-4.1.27/drivers/usb/usbip/
Dstub_main.c184 static DRIVER_ATTR(match_busid, S_IRUSR | S_IWUSR, show_match_busid,
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Ddebug.c188 NULL, _read_bufsize, S_IRUSR)
197 _read_bufsize, S_IRUSR | S_IWUSR)
202 _read_bufsize, S_IRUSR | S_IWUSR, _dstate)
/linux-4.1.27/drivers/s390/block/
Ddcssblk.c405 static DEVICE_ATTR(shared, S_IWUSR | S_IRUSR, dcssblk_shared_show,
473 static DEVICE_ATTR(save, S_IWUSR | S_IRUSR, dcssblk_save_show,
501 static DEVICE_ATTR(seglist, S_IRUSR, dcssblk_seglist_show, NULL);
/linux-4.1.27/tools/testing/selftests/memfd/
Dmemfd_test.c402 S_IRUSR | S_IWUSR); in mfd_assert_shrink()
420 S_IRUSR | S_IWUSR); in mfd_fail_shrink()
/linux-4.1.27/drivers/macintosh/
Dtherm_adt746x.c403 static DEVICE_ATTR(specified_fan_speed, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH,
411 static DEVICE_ATTR(limit_adjust, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH,
/linux-4.1.27/drivers/base/
Ddevcoredump.c111 .attr = { .name = "data", .mode = S_IRUSR | S_IWUSR, },
/linux-4.1.27/drivers/i2c/busses/
Di2c-isch.c58 module_param(backbone_speed, int, S_IRUSR | S_IWUSR);
Di2c-eg20t.c934 module_param(pch_i2c_speed, int, (S_IRUSR | S_IWUSR));
935 module_param(pch_clk, int, (S_IRUSR | S_IWUSR));
/linux-4.1.27/drivers/net/ethernet/8390/
Dstnic.c74 module_param_named(msg_enable, stnic_msg_enable, uint, (S_IRUSR|S_IRGRP|S_IROTH));
Dapne.c120 module_param_named(msg_enable, apne_msg_enable, uint, (S_IRUSR|S_IRGRP|S_IROTH));
Dwd.c511 module_param_named(msg_enable, wd_msg_enable, uint, (S_IRUSR|S_IRGRP|S_IROTH));
Dsmc-ultra.c567 module_param_named(msg_enable, ultra_msg_enable, uint, (S_IRUSR|S_IRGRP|S_IROTH));
Dne2k-pci.c79 module_param_named(msg_enable, ne2k_msg_enable, uint, (S_IRUSR|S_IRGRP|S_IROTH));
Dne.c80 module_param_named(msg_enable, ne_msg_enable, uint, (S_IRUSR|S_IRGRP|S_IROTH));
Dlib8390.c116 module_param(msg_enable, uint, (S_IRUSR|S_IRGRP|S_IROTH));
/linux-4.1.27/drivers/s390/cio/
Dchp.c152 .mode = S_IRUSR,
206 .mode = S_IRUSR,
/linux-4.1.27/drivers/xen/xen-pciback/
Dpci_stub.c1189 static DRIVER_ATTR(slots, S_IRUSR, pcistub_slot_show, NULL);
1218 static DRIVER_ATTR(irq_handlers, S_IRUSR, pcistub_irq_handler_show, NULL);
1324 static DRIVER_ATTR(quirks, S_IRUSR | S_IWUSR, pcistub_quirk_show,
1389 static DRIVER_ATTR(permissive, S_IRUSR | S_IWUSR, permissive_show,
/linux-4.1.27/net/ipv4/
Dtcp_probe.c276 if (!proc_create(procname, S_IRUSR, init_net.proc_net, &tcpprobe_fops)) in tcpprobe_init()
/linux-4.1.27/drivers/pnp/pnpbios/
Dproc.c323 proc_create("escd", S_IRUSR, proc_pnp, &escd_proc_fops); in pnpbios_proc_init()
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_fb.c30 module_param(fb_bpp, int, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
31 module_param(fb_defio, int, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
/linux-4.1.27/drivers/net/phy/
Dspi_ks8995.c261 .mode = S_IRUSR | S_IWUSR,
/linux-4.1.27/arch/powerpc/kernel/
Drtasd.c565 entry = proc_create("powerpc/rtas/error_log", S_IRUSR, NULL, in rtas_init()
Drtas_flash.c730 if (!proc_create(f->filename, S_IRUSR | S_IWUSR, NULL, &f->fops)) in rtas_flash_init()
Drtas-proc.c275 proc_create("powerpc/rtas/rmo_buffer", S_IRUSR, NULL, in proc_rtas_init()
Dvio.c1000 __ATTR(cmo_desired, S_IWUSR|S_IRUSR|S_IWGRP|S_IRGRP|S_IROTH,
1004 __ATTR(cmo_allocs_failed, S_IWUSR|S_IRUSR|S_IWGRP|S_IRGRP|S_IROTH,
/linux-4.1.27/arch/alpha/kernel/
Dpci-sysfs.c164 res_attr->attr.mode = S_IRUSR | S_IWUSR; in pci_create_one_attr()
/linux-4.1.27/net/batman-adv/
Dicmp_socket.c303 d = debugfs_create_file(BATADV_ICMP_SOCKET, S_IFREG | S_IWUSR | S_IRUSR, in batadv_socket_setup()
Ddebugfs.c211 d = debugfs_create_file("log", S_IFREG | S_IRUSR, in batadv_debug_log_setup()
/linux-4.1.27/drivers/video/fbdev/
Dudlfb.c1962 module_param(console, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
1965 module_param(fb_defio, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
1968 module_param(shadow, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
1971 module_param(pixel_limit, int, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
Dsmscufx.c1970 module_param(console, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
1973 module_param(fb_defio, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
/linux-4.1.27/drivers/mtd/devices/
Ddocg3.c1788 entry = debugfs_create_file("flashcontrol", S_IRUSR, root, docg3, in doc_dbg_register()
1791 entry = debugfs_create_file("asic_mode", S_IRUSR, root, in doc_dbg_register()
1794 entry = debugfs_create_file("device_id", S_IRUSR, root, in doc_dbg_register()
1797 entry = debugfs_create_file("protection", S_IRUSR, root, in doc_dbg_register()
/linux-4.1.27/fs/ocfs2/
Dblockcheck.c246 return debugfs_create_file(name, S_IFREG | S_IRUSR, parent, value, in blockcheck_debugfs_create()
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_attr.c111 .mode = S_IRUSR | S_IWUSR,
/linux-4.1.27/arch/x86/kernel/
Dtboot.c429 debugfs_create_file("tboot_log", S_IRUSR, in tboot_late_init()
/linux-4.1.27/drivers/hwmon/
Dasus_atk0110.c806 f = debugfs_create_x32("id", S_IRUSR | S_IWUSR, d, &data->debugfs.id); in atk_debugfs_init()
810 f = debugfs_create_file("gitm", S_IRUSR, d, data, in atk_debugfs_init()
815 f = debugfs_create_file("ggrp", S_IRUSR, d, data, in atk_debugfs_init()
/linux-4.1.27/drivers/idle/
Di7300_idle.c573 S_IRUSR, in i7300_idle_init()
/linux-4.1.27/drivers/scsi/arcmsr/
Darcmsr_attr.c196 .mode = S_IRUSR ,
/linux-4.1.27/fs/openpromfs/
Dinode.c250 inode->i_mode = S_IFREG | S_IRUSR | S_IWUSR; in openpromfs_lookup()
/linux-4.1.27/drivers/misc/eeprom/
Deeprom_93xx46.c344 edev->bin.attr.mode = S_IRUSR; in eeprom_93xx46_probe()
Dat25.c416 at25->bin.attr.mode = S_IRUSR; in at25_probe()
Dat24.c595 at24->bin.attr.mode = chip.flags & AT24_FLAG_IRUGO ? S_IRUGO : S_IRUSR; in at24_probe()
/linux-4.1.27/Documentation/accounting/
Dgetdelays.c371 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in main()
/linux-4.1.27/drivers/mmc/host/
Datmel-mci.c485 node = debugfs_create_file("regs", S_IRUSR, root, host, in atmci_init_debugfs()
492 node = debugfs_create_file("req", S_IRUSR, root, slot, &atmci_req_fops); in atmci_init_debugfs()
496 node = debugfs_create_u32("state", S_IRUSR, root, (u32 *)&host->state); in atmci_init_debugfs()
500 node = debugfs_create_x32("pending_events", S_IRUSR, root, in atmci_init_debugfs()
505 node = debugfs_create_x32("completed_events", S_IRUSR, root, in atmci_init_debugfs()
Ddw_mmc.c201 node = debugfs_create_file("regs", S_IRUSR, root, host, in dw_mci_init_debugfs()
206 node = debugfs_create_file("req", S_IRUSR, root, slot, in dw_mci_init_debugfs()
211 node = debugfs_create_u32("state", S_IRUSR, root, (u32 *)&host->state); in dw_mci_init_debugfs()
215 node = debugfs_create_x32("pending_events", S_IRUSR, root, in dw_mci_init_debugfs()
220 node = debugfs_create_x32("completed_events", S_IRUSR, root, in dw_mci_init_debugfs()
/linux-4.1.27/arch/sparc/kernel/
Dvio.c158 static DEVICE_ATTR(obppath, S_IRUSR | S_IRGRP | S_IROTH,
Dpci.c597 static DEVICE_ATTR(obppath, S_IRUSR | S_IRGRP | S_IROTH, show_pciobppath_attr, NULL);
/linux-4.1.27/fs/ocfs2/cluster/
Dnetdebug.c516 umode_t mode = S_IFREG|S_IRUSR; in o2net_debugfs_init()
Dheartbeat.c1306 return debugfs_create_file(name, S_IFREG|S_IRUSR, dir, *db, in o2hb_debug_create()
1930 .ca_mode = S_IRUGO | S_IRUSR },
/linux-4.1.27/fs/
Dlibfs.c244 root->i_mode = S_IFDIR | S_IRUSR | S_IWUSR; in mount_pseudo()
1070 inode->i_mode = S_IRUSR | S_IWUSR; in alloc_anon_inode()
Dpipe.c663 inode->i_mode = S_IFIFO | S_IRUSR | S_IWUSR; in get_pipe_inode()
/linux-4.1.27/drivers/md/bcache/
Dbcache.h856 __ATTR(n, S_IWUSR|S_IRUSR, show, store)
/linux-4.1.27/drivers/w1/masters/
Domap_hdq.c637 module_param(w1_id, int, S_IRUSR);
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Dtrans.c2008 DEBUGFS_ADD_FILE(rx_queue, dir, S_IRUSR); in iwl_trans_pcie_dbgfs_register()
2009 DEBUGFS_ADD_FILE(tx_queue, dir, S_IRUSR); in iwl_trans_pcie_dbgfs_register()
2010 DEBUGFS_ADD_FILE(interrupt, dir, S_IWUSR | S_IRUSR); in iwl_trans_pcie_dbgfs_register()
2012 DEBUGFS_ADD_FILE(fh_reg, dir, S_IRUSR); in iwl_trans_pcie_dbgfs_register()
/linux-4.1.27/fs/cramfs/
Dinode.c314 super.root.mode |= (S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in cramfs_fill_super()
/linux-4.1.27/drivers/virtio/
Dvirtio_balloon.c45 module_param(oom_pages, int, S_IRUSR | S_IWUSR);
Dvirtio_mmio.c699 device_param_cb(device, &vm_cmdline_param_ops, NULL, S_IRUSR);
/linux-4.1.27/block/
Dpartition-generic.c266 static DEVICE_ATTR(whole_disk, S_IRUSR | S_IRGRP | S_IROTH,
/linux-4.1.27/arch/s390/kernel/
Ddebug.c734 S_IRUSR | S_IWUSR, 0, 0); in debug_register()
1107 mode &= ~(S_IRUSR | S_IRGRP | S_IROTH); in debug_register_view()
/linux-4.1.27/net/ipv4/netfilter/
Dipt_CLUSTERIP.c194 c->pde = proc_create_data(buffer, S_IWUSR|S_IRUSR, in clusterip_config_init()
/linux-4.1.27/drivers/s390/crypto/
Dap_bus.c81 module_param_named(domain, ap_domain_index, int, S_IRUSR|S_IRGRP);
86 module_param_named(poll_thread, ap_thread_flag, int, S_IRUSR|S_IRGRP);
/linux-4.1.27/drivers/staging/unisys/virthba/
Dvirthba.c1476 debugfs_create_file("info", S_IRUSR, virthba_debugfs_dir, in virthba_mod_init()
1478 debugfs_create_u32("rqwait_usecs", S_IRUSR | S_IWUSR, in virthba_mod_init()
/linux-4.1.27/fs/qnx6/
Dinode.c513 inode->i_mode = S_IFREG | S_IRUSR; /* probably wrong */ in qnx6_private_inode()
/linux-4.1.27/drivers/input/misc/
Dcm109.c44 module_param(phone, charp, S_IRUSR);
/linux-4.1.27/drivers/scsi/fcoe/
Dfcoe_transport.c54 module_param_call(show, NULL, fcoe_transport_show, NULL, S_IRUSR);
/linux-4.1.27/drivers/of/
Dfdt.c1131 __BIN_ATTR(fdt, S_IRUSR, of_fdt_raw_read, NULL, 0); in of_fdt_raw_init()
Dbase.c150 pp->attr.attr.mode = secure ? S_IRUSR : S_IRUGO; in __of_add_property_sysfs()
/linux-4.1.27/arch/mips/txx9/generic/
Dsetup.c970 dev->bindata_attr.attr.mode = S_IRUSR | S_IWUSR; in txx9_sramc_init()
/linux-4.1.27/drivers/scsi/
D3w-sas.c125 .mode = S_IRUSR,
156 .mode = S_IRUSR,
Dvmw_pvscsi.c116 #define PVSCSI_RW (S_IRUSR | S_IWUSR)
/linux-4.1.27/drivers/net/xen-netback/
Dxenbus.c204 S_IRUSR | S_IWUSR, in xenvif_debugfs_addif()
/linux-4.1.27/security/tomoyo/
Dcondition.c876 value = S_IRUSR; in tomoyo_condition()
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_init.c116 debugfs_create_file_size(name, S_IRUSR, hw->debugfs_root, in csio_add_debugfs_mem()
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_main.c617 static DRIVER_ATTR(debug_level, S_IRUSR | S_IWUSR,
/linux-4.1.27/drivers/staging/unisys/virtpci/
Dvirtpci.c1375 debugfs_create_file("info", S_IRUSR, virtpci_debugfs_dir, in virtpci_mod_init()
/linux-4.1.27/kernel/
Drelay.c427 S_IRUSR, buf, in relay_create_buf_file()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dcore.c58 module_param_named(debug, brcmf_msg_level, int, S_IRUSR | S_IWUSR);
/linux-4.1.27/drivers/misc/lis3lv02d/
Dlis3lv02d.c846 static DEVICE_ATTR(selftest, S_IRUSR, lis3lv02d_selftest_show, NULL);
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_mbox.c317 DEVICE_ATTR(megaraid_mbox_app_hndl, S_IRUSR, megaraid_sysfs_show_app_hndl,
327 DEVICE_ATTR(megaraid_mbox_ld, S_IRUSR, megaraid_sysfs_show_ldnum, NULL);
/linux-4.1.27/drivers/scsi/lpfc/
Dlpfc_attr.c3673 .mode = S_IRUSR,
5022 .mode = S_IRUSR | S_IWUSR,
5080 .mode = S_IRUSR | S_IWUSR,
/linux-4.1.27/drivers/pcmcia/
Dyenta_socket.c204 static DEVICE_ATTR(yenta_registers, S_IRUSR, show_yenta_registers, NULL);
/linux-4.1.27/drivers/mtd/
Dmtdswap.c1337 dent = debugfs_create_file("stats", S_IRUSR, root, d, in mtdswap_add_debugfs()

12