Home
last modified time | relevance | path

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

12

/linux-4.4.14/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.c535 cr->config_attr.attr.mode = S_IRUSR; in cxl_sysfs_afu_new_cr()
/linux-4.4.14/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.4.14/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()
61 { "xensyms", &xensyms_ops, S_IRUSR}, in xenfs_fill_super()
/linux-4.4.14/drivers/staging/dgnc/
Ddgnc_sysfs.c32 static DRIVER_ATTR(version, S_IRUSR, dgnc_driver_version_show, NULL);
38 static DRIVER_ATTR(boards, S_IRUSR, dgnc_driver_boards_show, NULL);
44 static DRIVER_ATTR(maxboards, S_IRUSR, dgnc_driver_maxboards_show, NULL);
68 static DRIVER_ATTR(pollrate, (S_IRUSR | S_IWUSR), dgnc_driver_pollrate_show,
126 static DEVICE_ATTR(vpd, S_IRUSR, dgnc_vpd_show, NULL);
143 static DEVICE_ATTR(serial_number, S_IRUSR, dgnc_serial_number_show, NULL);
161 static DEVICE_ATTR(ports_state, S_IRUSR, dgnc_ports_state_show, NULL);
179 static DEVICE_ATTR(ports_baud, S_IRUSR, dgnc_ports_baud_show, NULL);
209 static DEVICE_ATTR(ports_msignals, S_IRUSR, dgnc_ports_msignals_show, NULL);
227 static DEVICE_ATTR(ports_iflag, S_IRUSR, dgnc_ports_iflag_show, NULL);
[all …]
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/
Ddebugfs.c163 debugfs_create_u8("temperature", S_IRUSR, dir, &dev->raw_temp); in mt7601u_init_debugfs()
164 debugfs_create_u32("temp_mode", S_IRUSR, dir, &dev->temp_mode); in mt7601u_init_debugfs()
166 debugfs_create_u32("regidx", S_IRUSR | S_IWUSR, dir, &dev->debugfs_reg); in mt7601u_init_debugfs()
167 debugfs_create_file("regval", S_IRUSR | S_IWUSR, dir, dev, in mt7601u_init_debugfs()
169 debugfs_create_file("ampdu_stat", S_IRUSR, dir, dev, &fops_ampdu_stat); in mt7601u_init_debugfs()
170 debugfs_create_file("eeprom_param", S_IRUSR, dir, dev, in mt7601u_init_debugfs()
/linux-4.4.14/drivers/crypto/caam/
Dctrl.c724 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
728 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
732 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
736 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
740 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
744 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
748 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
754 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
758 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
762 S_IRUSR | S_IRGRP | S_IROTH, in caam_probe()
[all …]
/linux-4.4.14/arch/x86/ras/
Dmce_amd_inj.c402 { .name = "status", .fops = &status_fops, .perm = S_IRUSR | S_IWUSR },
403 { .name = "misc", .fops = &misc_fops, .perm = S_IRUSR | S_IWUSR },
404 { .name = "addr", .fops = &addr_fops, .perm = S_IRUSR | S_IWUSR },
405 { .name = "bank", .fops = &bank_fops, .perm = S_IRUSR | S_IWUSR },
406 { .name = "flags", .fops = &flags_fops, .perm = S_IRUSR | S_IWUSR },
407 { .name = "cpu", .fops = &extcpu_fops, .perm = S_IRUSR | S_IWUSR },
408 { .name = "README", .fops = &readme_fops, .perm = S_IRUSR | S_IRGRP | S_IROTH },
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c2632 debugfs_create_file_size(name, S_IRUSR, adap->debugfs_root, in add_debugfs_mem()
2999 { "cim_la", &cim_la_fops, S_IRUSR, 0 }, in t4_setup_debugfs()
3000 { "cim_pif_la", &cim_pif_la_fops, S_IRUSR, 0 }, in t4_setup_debugfs()
3001 { "cim_ma_la", &cim_ma_la_fops, S_IRUSR, 0 }, in t4_setup_debugfs()
3002 { "cim_qcfg", &cim_qcfg_fops, S_IRUSR, 0 }, in t4_setup_debugfs()
3003 { "clk", &clk_debugfs_fops, S_IRUSR, 0 }, in t4_setup_debugfs()
3004 { "devlog", &devlog_fops, S_IRUSR, 0 }, in t4_setup_debugfs()
3005 { "mbox0", &mbox_debugfs_fops, S_IRUSR | S_IWUSR, 0 }, in t4_setup_debugfs()
3006 { "mbox1", &mbox_debugfs_fops, S_IRUSR | S_IWUSR, 1 }, in t4_setup_debugfs()
3007 { "mbox2", &mbox_debugfs_fops, S_IRUSR | S_IWUSR, 2 }, in t4_setup_debugfs()
[all …]
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs.c1421 MVM_DEBUGFS_ADD_FILE(sram, mvm->debugfs_dir, S_IWUSR | S_IRUSR); in iwl_mvm_dbgfs_register()
1423 S_IWUSR | S_IRUSR); in iwl_mvm_dbgfs_register()
1424 MVM_DEBUGFS_ADD_FILE(nic_temp, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1425 MVM_DEBUGFS_ADD_FILE(stations, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1426 MVM_DEBUGFS_ADD_FILE(bt_notif, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1427 MVM_DEBUGFS_ADD_FILE(bt_cmd, dbgfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1429 S_IRUSR | S_IWUSR); in iwl_mvm_dbgfs_register()
1430 MVM_DEBUGFS_ADD_FILE(fw_rx_stats, mvm->debugfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1431 MVM_DEBUGFS_ADD_FILE(drv_rx_stats, mvm->debugfs_dir, S_IRUSR); in iwl_mvm_dbgfs_register()
1437 S_IWUSR | S_IRUSR); in iwl_mvm_dbgfs_register()
[all …]
Ddebugfs-vif.c1416 S_IRUSR); in iwl_mvm_vif_dbgfs_register()
1418 MVM_DEBUGFS_ADD_FILE_VIF(tx_pwr_lmt, mvmvif->dbgfs_dir, S_IRUSR); in iwl_mvm_vif_dbgfs_register()
1419 MVM_DEBUGFS_ADD_FILE_VIF(mac_params, mvmvif->dbgfs_dir, S_IRUSR); in iwl_mvm_vif_dbgfs_register()
1421 S_IRUSR | S_IWUSR); in iwl_mvm_vif_dbgfs_register()
1423 S_IRUSR | S_IWUSR); in iwl_mvm_vif_dbgfs_register()
1425 S_IRUSR | S_IWUSR); in iwl_mvm_vif_dbgfs_register()
1430 S_IRUSR | S_IWUSR); in iwl_mvm_vif_dbgfs_register()
1437 S_IRUSR | S_IWUSR); in iwl_mvm_vif_dbgfs_register()
1440 S_IRUSR | S_IWUSR); in iwl_mvm_vif_dbgfs_register()
1442 S_IRUSR | S_IWUSR); in iwl_mvm_vif_dbgfs_register()
[all …]
Drs.c3898 debugfs_create_file("rate_scale_table", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
3900 debugfs_create_file("rate_stats_table", S_IRUSR, dir, in rs_add_debugfs()
3902 debugfs_create_file("drv_tx_stats", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
3904 debugfs_create_u8("tx_agg_tid_enable", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
3906 debugfs_create_u8("reduced_tpc", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
3909 MVM_DEBUGFS_ADD_FILE_RS(ss_force, dir, S_IRUSR | S_IWUSR); in rs_add_debugfs()
/linux-4.4.14/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.4.14/drivers/acpi/apei/
Deinj.c714 fentry = debugfs_create_file("available_error_type", S_IRUSR, in einj_init()
719 fentry = debugfs_create_file("error_type", S_IRUSR | S_IWUSR, in einj_init()
743 fentry = debugfs_create_x32("flags", S_IRUSR | S_IWUSR, in einj_init()
747 fentry = debugfs_create_x64("param1", S_IRUSR | S_IWUSR, in einj_init()
751 fentry = debugfs_create_x64("param2", S_IRUSR | S_IWUSR, in einj_init()
755 fentry = debugfs_create_x64("param3", S_IRUSR | S_IWUSR, in einj_init()
759 fentry = debugfs_create_x64("param4", S_IRUSR | S_IWUSR, in einj_init()
764 fentry = debugfs_create_x32("notrigger", S_IRUSR | S_IWUSR, in einj_init()
773 fentry = debugfs_create_blob("vendor", S_IRUSR, in einj_init()
777 fentry = debugfs_create_x32("vendor_flags", S_IRUSR | S_IWUSR, in einj_init()
/linux-4.4.14/drivers/mmc/core/
Ddebugfs.c251 if (!debugfs_create_file("ios", S_IRUSR, root, host, &mmc_ios_fops)) in mmc_add_host_debugfs()
254 if (!debugfs_create_file("clock", S_IRUSR | S_IWUSR, root, host, in mmc_add_host_debugfs()
375 if (!debugfs_create_x32("state", S_IRUSR, root, &card->state)) in mmc_add_card_debugfs()
379 if (!debugfs_create_file("status", S_IRUSR, root, card, in mmc_add_card_debugfs()
384 if (!debugfs_create_file("ext_csd", S_IRUSR, root, card, in mmc_add_card_debugfs()
/linux-4.4.14/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, \
1368 DEBUGFS_ADD_FILE(nvm, dir_data, S_IRUSR); in il_dbgfs_register()
1369 DEBUGFS_ADD_FILE(sram, dir_data, S_IWUSR | S_IRUSR); in il_dbgfs_register()
1370 DEBUGFS_ADD_FILE(stations, dir_data, S_IRUSR); in il_dbgfs_register()
1371 DEBUGFS_ADD_FILE(channels, dir_data, S_IRUSR); in il_dbgfs_register()
1372 DEBUGFS_ADD_FILE(status, dir_data, S_IRUSR); in il_dbgfs_register()
1373 DEBUGFS_ADD_FILE(interrupt, dir_data, S_IWUSR | S_IRUSR); in il_dbgfs_register()
1374 DEBUGFS_ADD_FILE(qos, dir_data, S_IRUSR); in il_dbgfs_register()
1375 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.4.14/drivers/misc/mei/
Ddebugfs.c209 f = debugfs_create_file("meclients", S_IRUSR, dir, in mei_dbgfs_register()
215 f = debugfs_create_file("active", S_IRUSR, dir, in mei_dbgfs_register()
221 f = debugfs_create_file("devstate", S_IRUSR, dir, in mei_dbgfs_register()
227 f = debugfs_create_bool("allow_fixed_address", S_IRUSR | S_IWUSR, dir, in mei_dbgfs_register()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Ddebug.c1315 debugfs_create_file("debug", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1331 debugfs_create_u32("qlen_bk", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1333 debugfs_create_u32("qlen_be", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1335 debugfs_create_u32("qlen_vi", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1337 debugfs_create_u32("qlen_vo", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1347 debugfs_create_u8("rx_chainmask", S_IRUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1349 debugfs_create_u8("tx_chainmask", S_IRUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1351 debugfs_create_file("ani", S_IRUSR | S_IWUSR, in ath9k_init_debug()
1353 debugfs_create_bool("paprd", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
1355 debugfs_create_file("regidx", S_IRUSR | S_IWUSR, sc->debug.debugfs_phy, in ath9k_init_debug()
[all …]
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-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()
258 debugfs_create_file("phy_err", S_IRUSR, debugfs_phy, rxstats, in ath9k_cmn_debug_phy_err()
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()
Dcommon-spectral.c1090 S_IRUSR | S_IWUSR, in ath9k_cmn_spectral_init_debug()
1094 S_IRUSR | S_IWUSR, in ath9k_cmn_spectral_init_debug()
1098 S_IRUSR | S_IWUSR, in ath9k_cmn_spectral_init_debug()
1102 S_IRUSR | S_IWUSR, in ath9k_cmn_spectral_init_debug()
1106 S_IRUSR | S_IWUSR, in ath9k_cmn_spectral_init_debug()
Ddfs_debug.c147 debugfs_create_file("dfs_stats", S_IRUSR, in ath9k_dfs_init_debug()
/linux-4.4.14/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.4.14/drivers/ntb/test/
Dntb_tool.c458 debugfs_create_file("db", S_IRUSR | S_IWUSR, tc->dbgfs, in tool_setup_dbgfs()
461 debugfs_create_file("mask", S_IRUSR | S_IWUSR, tc->dbgfs, in tool_setup_dbgfs()
464 debugfs_create_file("peer_db", S_IRUSR | S_IWUSR, tc->dbgfs, in tool_setup_dbgfs()
467 debugfs_create_file("peer_mask", S_IRUSR | S_IWUSR, tc->dbgfs, in tool_setup_dbgfs()
470 debugfs_create_file("spad", S_IRUSR | S_IWUSR, tc->dbgfs, in tool_setup_dbgfs()
473 debugfs_create_file("peer_spad", S_IRUSR | S_IWUSR, tc->dbgfs, in tool_setup_dbgfs()
/linux-4.4.14/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.4.14/security/apparmor/
Dlsm.c693 &aa_g_profile_mode, S_IRUSR | S_IWUSR);
697 module_param_named(debug, aa_g_debug, aabool, S_IRUSR | S_IWUSR);
702 &aa_g_audit, S_IRUSR | S_IWUSR);
709 S_IRUSR | S_IWUSR);
717 S_IRUSR | S_IWUSR);
721 module_param_named(logsyscall, aa_g_logsyscall, aabool, S_IRUSR | S_IWUSR);
725 module_param_named(path_max, aa_g_path_max, aauint, S_IRUSR | S_IWUSR);
732 S_IRUSR | S_IWUSR);
/linux-4.4.14/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.4.14/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c775 if (!debugfs_create_file("resource_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
781 if (!debugfs_create_file("rx_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
787 if (!debugfs_create_file("wqe_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
793 if (!debugfs_create_file("tx_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
799 if (!debugfs_create_file("db_err_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
806 if (!debugfs_create_file("tx_qp_err_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
812 if (!debugfs_create_file("rx_qp_err_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
819 if (!debugfs_create_file("tx_dbg_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
825 if (!debugfs_create_file("rx_dbg_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
831 if (!debugfs_create_file("driver_dbg_stats", S_IRUSR, dev->dir, in ocrdma_add_port_stats()
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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, \
2372 DEBUGFS_ADD_FILE(nvm, dir_data, S_IRUSR); in iwl_dbgfs_register()
2373 DEBUGFS_ADD_FILE(sram, dir_data, S_IWUSR | S_IRUSR); in iwl_dbgfs_register()
2374 DEBUGFS_ADD_FILE(wowlan_sram, dir_data, S_IRUSR); in iwl_dbgfs_register()
2375 DEBUGFS_ADD_FILE(stations, dir_data, S_IRUSR); in iwl_dbgfs_register()
2376 DEBUGFS_ADD_FILE(channels, dir_data, S_IRUSR); in iwl_dbgfs_register()
2377 DEBUGFS_ADD_FILE(status, dir_data, S_IRUSR); in iwl_dbgfs_register()
2378 DEBUGFS_ADD_FILE(rx_handlers, dir_data, S_IWUSR | S_IRUSR); in iwl_dbgfs_register()
2379 DEBUGFS_ADD_FILE(qos, dir_data, S_IRUSR); in iwl_dbgfs_register()
[all …]
Drs.c3279 debugfs_create_file("rate_scale_table", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
3282 debugfs_create_file("rate_stats_table", S_IRUSR, dir, in rs_add_debugfs()
3285 debugfs_create_file("rate_scale_data", S_IRUSR, dir, in rs_add_debugfs()
3288 debugfs_create_u8("tx_agg_tid_enable", S_IRUSR | S_IWUSR, dir, in rs_add_debugfs()
/linux-4.4.14/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.4.14/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.4.14/fs/proc/
Dpage.c292 proc_create("kpagecount", S_IRUSR, NULL, &proc_kpagecount_operations); in proc_page_init()
293 proc_create("kpageflags", S_IRUSR, NULL, &proc_kpageflags_operations); in proc_page_init()
295 proc_create("kpagecgroup", S_IRUSR, NULL, &proc_kpagecgroup_operations); in proc_page_init()
Dbase.c1987 inode->i_mode |= S_IRUSR; in proc_map_files_instantiate()
2735 DIR("fd", S_IRUSR|S_IXUSR, proc_fd_inode_operations, proc_fd_operations),
2736 DIR("map_files", S_IRUSR|S_IXUSR, proc_map_files_inode_operations, proc_map_files_operations),
2737 DIR("fdinfo", S_IRUSR|S_IXUSR, proc_fdinfo_inode_operations, proc_fdinfo_operations),
2738 DIR("ns", S_IRUSR|S_IXUGO, proc_ns_dir_inode_operations, proc_ns_dir_operations),
2742 REG("environ", S_IRUSR, proc_environ_operations),
2743 ONE("auxv", S_IRUSR, proc_pid_auxv),
2745 ONE("personality", S_IRUSR, proc_pid_personality),
2755 ONE("syscall", S_IRUSR, proc_pid_syscall),
2764 REG("mem", S_IRUSR|S_IWUSR, proc_mem_operations),
[all …]
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()
331 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.4.14/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.4.14/drivers/net/wireless/ath/ath10k/
Ddebug.c2122 debugfs_create_file("fw_stats", S_IRUSR, ar->debug.debugfs_phy, ar, in ath10k_debug_register()
2125 debugfs_create_file("fw_reset_stats", S_IRUSR, ar->debug.debugfs_phy, in ath10k_debug_register()
2128 debugfs_create_file("wmi_services", S_IRUSR, ar->debug.debugfs_phy, ar, in ath10k_debug_register()
2131 debugfs_create_file("simulate_fw_crash", S_IRUSR, ar->debug.debugfs_phy, in ath10k_debug_register()
2134 debugfs_create_file("fw_crash_dump", S_IRUSR, ar->debug.debugfs_phy, in ath10k_debug_register()
2137 debugfs_create_file("reg_addr", S_IRUSR | S_IWUSR, in ath10k_debug_register()
2140 debugfs_create_file("reg_value", S_IRUSR | S_IWUSR, in ath10k_debug_register()
2143 debugfs_create_file("mem_value", S_IRUSR | S_IWUSR, in ath10k_debug_register()
2146 debugfs_create_file("chip_id", S_IRUSR, ar->debug.debugfs_phy, in ath10k_debug_register()
2149 debugfs_create_file("htt_stats_mask", S_IRUSR, ar->debug.debugfs_phy, in ath10k_debug_register()
[all …]
Dspectral.c538 S_IRUSR | S_IWUSR, in ath10k_spectral_create()
542 S_IRUSR | S_IWUSR, in ath10k_spectral_create()
546 S_IRUSR | S_IWUSR, in ath10k_spectral_create()
/linux-4.4.14/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.4.14/init/
Dnoinitramfs.c37 S_IFCHR | S_IRUSR | S_IWUSR, in default_rootfs()
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Dmain.c2064 module_param_named(ht_mode, ht_mode_param, charp, S_IRUSR);
2067 module_param_named(board_type, board_type_param, charp, S_IRUSR);
2071 module_param_named(checksum, checksum_param, bool, S_IRUSR);
2074 module_param_named(dc2dc, dc2dc_param, int, S_IRUSR);
2077 module_param_named(n_antennas_2, n_antennas_2_param, int, S_IRUSR);
2081 module_param_named(n_antennas_5, n_antennas_5_param, int, S_IRUSR);
2086 S_IRUSR);
2091 int, S_IRUSR);
2096 S_IRUSR);
2101 int, S_IRUSR);
[all …]
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Ddebug.c1797 debugfs_create_file("tgt_stats", S_IRUSR, ar->debugfs_phy, ar, in ath6kl_debug_init_fs()
1801 debugfs_create_file("credit_dist_stats", S_IRUSR, in ath6kl_debug_init_fs()
1805 debugfs_create_file("endpoint_stats", S_IRUSR | S_IWUSR, in ath6kl_debug_init_fs()
1808 debugfs_create_file("fwlog", S_IRUSR, ar->debugfs_phy, ar, in ath6kl_debug_init_fs()
1811 debugfs_create_file("fwlog_block", S_IRUSR, ar->debugfs_phy, ar, in ath6kl_debug_init_fs()
1814 debugfs_create_file("fwlog_mask", S_IRUSR | S_IWUSR, ar->debugfs_phy, in ath6kl_debug_init_fs()
1817 debugfs_create_file("reg_addr", S_IRUSR | S_IWUSR, ar->debugfs_phy, ar, in ath6kl_debug_init_fs()
1820 debugfs_create_file("reg_dump", S_IRUSR, ar->debugfs_phy, ar, in ath6kl_debug_init_fs()
1823 debugfs_create_file("lrssi_roam_threshold", S_IRUSR | S_IWUSR, in ath6kl_debug_init_fs()
1826 debugfs_create_file("reg_write", S_IRUSR | S_IWUSR, in ath6kl_debug_init_fs()
[all …]
/linux-4.4.14/net/sunrpc/
Ddebugfs.c156 if (!debugfs_create_file("tasks", S_IFREG | S_IRUSR, clnt->cl_debugfs, in rpc_clnt_debugfs_register()
258 if (!debugfs_create_file("info", S_IFREG | S_IRUSR, xprt->debugfs, in rpc_xprt_debugfs_register()
334 if (!debugfs_create_file("disconnect", S_IFREG | S_IRUSR, faultdir, in inject_fault_dir()
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.c1632 p = proc_create_data("flush", S_IFREG|S_IRUSR|S_IWUSR, in create_cache_proc_entries()
1640 p = proc_create_data("channel", S_IFREG|S_IRUSR|S_IWUSR, in create_cache_proc_entries()
1648 p = proc_create_data("content", S_IFREG|S_IRUSR, in create_cache_proc_entries()
/linux-4.4.14/include/linux/
Dstat.h10 #define S_IRUGO (S_IRUSR|S_IRGRP|S_IROTH)
/linux-4.4.14/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.4.14/include/uapi/linux/
Dstat.h28 #define S_IRUSR 00400 macro
/linux-4.4.14/drivers/ras/
Ddebugfs.c44 fentry = debugfs_create_file("daemon_active", S_IRUSR, ras_debugfs_dir, in ras_add_daemon_trace()
/linux-4.4.14/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.4.14/drivers/sh/intc/
Duserimask.c58 static DEVICE_ATTR(userimask, S_IRUSR | S_IWUSR,
/linux-4.4.14/mm/
Dfailslab.c38 umode_t mode = S_IFREG | S_IRUSR | S_IWUSR; in failslab_debugfs_init()
Dpage_idle.c198 __BIN_ATTR(bitmap, S_IRUSR | S_IWUSR,
Dpage_owner.c313 dentry = debugfs_create_file("page_owner", S_IRUSR, NULL, in pageowner_init()
Dslab_common.c1028 #define SLABINFO_RIGHTS (S_IWUSR | S_IRUSR)
1030 #define SLABINFO_RIGHTS S_IRUSR
/linux-4.4.14/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.c888 static DEVICE_ATTR(alternate_modes, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH, lg4ff_alternat…
949 static DEVICE_ATTR(range, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH, lg4ff_range_show, lg4ff_…
/linux-4.4.14/security/integrity/evm/
Devm_secfs.c99 evm_init_tpm = securityfs_create_file("evm", S_IRUSR | S_IRGRP, in evm_init_secfs()
/linux-4.4.14/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.4.14/drivers/crypto/qat/qat_common/
Dadf_transport_debug.c163 ring_debug->debug = debugfs_create_file(entry_name, S_IRUSR, in adf_ring_debugfs_add()
279 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.4.14/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()
/linux-4.4.14/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.4.14/drivers/w1/slaves/
Dw1_bq27000.c113 module_param(F_ID, int, S_IRUSR);
/linux-4.4.14/drivers/tty/serial/
Dserial_core.c2618 static DEVICE_ATTR(type, S_IRUSR | S_IRGRP, uart_get_attr_type, NULL);
2619 static DEVICE_ATTR(line, S_IRUSR | S_IRGRP, uart_get_attr_line, NULL);
2620 static DEVICE_ATTR(port, S_IRUSR | S_IRGRP, uart_get_attr_port, NULL);
2621 static DEVICE_ATTR(irq, S_IRUSR | S_IRGRP, uart_get_attr_irq, NULL);
2622 static DEVICE_ATTR(flags, S_IRUSR | S_IRGRP, uart_get_attr_flags, NULL);
2623 static DEVICE_ATTR(xmit_fifo_size, S_IRUSR | S_IRGRP, uart_get_attr_xmit_fifo_size, NULL);
2624 static DEVICE_ATTR(uartclk, S_IRUSR | S_IRGRP, uart_get_attr_uartclk, NULL);
2625 static DEVICE_ATTR(close_delay, S_IRUSR | S_IRGRP, uart_get_attr_close_delay, NULL);
2626 static DEVICE_ATTR(closing_wait, S_IRUSR | S_IRGRP, uart_get_attr_closing_wait, NULL);
2627 static DEVICE_ATTR(custom_divisor, S_IRUSR | S_IRGRP, uart_get_attr_custom_divisor, NULL);
[all …]
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_log.c68 module_param(event_log_level, long, S_IRUGO | S_IRUSR);
/linux-4.4.14/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.4.14/drivers/staging/dgap/
Ddgap.c5306 static DEVICE_ATTR(ports_state, S_IRUSR, dgap_ports_state_show, NULL);
5327 static DEVICE_ATTR(ports_baud, S_IRUSR, dgap_ports_baud_show, NULL);
5364 static DEVICE_ATTR(ports_msignals, S_IRUSR, dgap_ports_msignals_show, NULL);
5384 static DEVICE_ATTR(ports_iflag, S_IRUSR, dgap_ports_iflag_show, NULL);
5404 static DEVICE_ATTR(ports_cflag, S_IRUSR, dgap_ports_cflag_show, NULL);
5424 static DEVICE_ATTR(ports_oflag, S_IRUSR, dgap_ports_oflag_show, NULL);
5444 static DEVICE_ATTR(ports_lflag, S_IRUSR, dgap_ports_lflag_show, NULL);
5464 static DEVICE_ATTR(ports_digi_flag, S_IRUSR, dgap_ports_digi_flag_show, NULL);
5484 static DEVICE_ATTR(ports_rxcount, S_IRUSR, dgap_ports_rxcount_show, NULL);
5504 static DEVICE_ATTR(ports_txcount, S_IRUSR, dgap_ports_txcount_show, NULL);
[all …]
/linux-4.4.14/drivers/char/tpm/
Dtpm_eventlog.c416 S_IRUSR | S_IRGRP, tpm_dir, NULL, in tpm_bios_log_setup()
423 S_IRUSR | S_IRGRP, tpm_dir, NULL, in tpm_bios_log_setup()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/mfd/
Dintel_soc_pmic_bxtwc.c313 static DEVICE_ATTR(addr, S_IWUSR | S_IRUSR, bxtwc_reg_show, bxtwc_reg_store);
314 static DEVICE_ATTR(val, S_IWUSR | S_IRUSR, bxtwc_val_show, bxtwc_val_store);
/linux-4.4.14/kernel/time/
Dtest_udelay.c150 S_IRUSR, NULL, NULL, &udelay_test_debugfs_ops); in udelay_test_init()
/linux-4.4.14/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()
Dsbs-battery.c1000 module_param(force_load, bool, S_IRUSR | S_IRGRP | S_IROTH);
/linux-4.4.14/drivers/acpi/
Dacpi_lpss.c494 static DEVICE_ATTR(auto_ltr, S_IRUSR, lpss_ltr_show, NULL);
495 static DEVICE_ATTR(sw_ltr, S_IRUSR, lpss_ltr_show, NULL);
496 static DEVICE_ATTR(ltr_mode, S_IRUSR, lpss_ltr_mode_show, NULL);
/linux-4.4.14/drivers/i2c/
Di2c-slave-eeprom.c123 eeprom->bin.attr.mode = S_IRUSR | S_IWUSR; in i2c_slave_eeprom_probe()
/linux-4.4.14/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.4.14/drivers/input/touchscreen/
Dedt-ft5x06.c727 debugfs_create_u16("num_x", S_IRUSR, tsdata->debug_dir, &tsdata->num_x); in edt_ft5x06_ts_prepare_debugfs()
728 debugfs_create_u16("num_y", S_IRUSR, tsdata->debug_dir, &tsdata->num_y); in edt_ft5x06_ts_prepare_debugfs()
730 debugfs_create_file("mode", S_IRUSR | S_IWUSR, in edt_ft5x06_ts_prepare_debugfs()
732 debugfs_create_file("raw_data", S_IRUSR, in edt_ft5x06_ts_prepare_debugfs()
/linux-4.4.14/arch/arm/vdso/
Dvdsomunge.c192 outfd = open(outfile, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in main()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_sysfs.c256 .attr = {.name = "l3_parity", .mode = (S_IRUSR | S_IWUSR)},
265 .attr = {.name = "l3_parity_slice_1", .mode = (S_IRUSR | S_IWUSR)},
577 .attr.mode = S_IRUSR | S_IWUSR,
/linux-4.4.14/net/dccp/
Dprobe.c163 if (!proc_create(procname, S_IRUSR, init_net.proc_net, &dccpprobe_fops)) in dccpprobe_init()
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/
Ddebug.c170 ADD_FILE(bmps_switcher, S_IRUSR | S_IWUSR, in wcn36xx_debugfs_init()
/linux-4.4.14/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.4.14/drivers/block/drbd/
Ddrbd_debugfs.c495 dentry = debugfs_create_file("in_flight_summary", S_IRUSR|S_IRGRP, in drbd_debugfs_resource_add()
659 dentry = debugfs_create_file("callback_history", S_IRUSR|S_IRGRP, in drbd_debugfs_connection_add()
666 dentry = debugfs_create_file("oldest_requests", S_IRUSR|S_IRGRP, in drbd_debugfs_connection_add()
830 dentry = debugfs_create_file(#name, S_IRUSR|S_IRGRP, \ in drbd_debugfs_device_attr()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dsysfs.c168 .attr = {.name = "fwlog", .mode = S_IRUSR},
Dsdio.c454 module_param(dump, bool, S_IRUSR | S_IWUSR);
Dmain.c6582 module_param_named(debug_level, wl12xx_debug_level, uint, S_IRUSR | S_IWUSR);
6589 module_param(fwlog_mem_blocks, int, S_IRUSR | S_IWUSR);
6592 module_param(bug_on_recovery, int, S_IRUSR | S_IWUSR);
6595 module_param(no_recovery, int, S_IRUSR | S_IWUSR);
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_debugfs.c153 "reg", S_IFREG | S_IRUSR, &fops_reg_r); in armada_drm_debugfs_init()
/linux-4.4.14/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,
921 .mode = S_IRUSR,
/linux-4.4.14/drivers/pci/
Dpci-sysfs.c928 b->legacy_io->attr.mode = S_IRUSR | S_IWUSR; in pci_create_legacy_files()
942 b->legacy_mem->attr.mode = S_IRUSR | S_IWUSR; in pci_create_legacy_files()
1168 res_attr->attr.mode = S_IRUSR | S_IWUSR; in pci_create_attr()
1334 attr->attr.mode = S_IRUSR | S_IWUSR; in pci_create_capabilities_sysfs()
1401 attr->attr.mode = S_IRUSR | S_IWUSR; in pci_create_sysfs_dev_files()
/linux-4.4.14/net/sctp/
Dprobe.c216 if (!proc_create(procname, S_IRUSR, init_net.proc_net, in sctpprobe_init()
/linux-4.4.14/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.4.14/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.4.14/drivers/usb/usbip/
Dstub_main.c184 static DRIVER_ATTR(match_busid, S_IRUSR | S_IWUSR, show_match_busid,
/linux-4.4.14/arch/x86/mm/
Dtlb.c351 debugfs_create_file("tlb_single_page_flush_ceiling", S_IRUSR | S_IWUSR, in create_tlb_single_page_flush_ceiling()
Dpat.c1085 debugfs_create_file("pat_memtype_list", S_IRUSR, in pat_memtype_list_init()
/linux-4.4.14/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.4.14/drivers/s390/block/
Ddcssblk.c406 static DEVICE_ATTR(shared, S_IWUSR | S_IRUSR, dcssblk_shared_show,
474 static DEVICE_ATTR(save, S_IWUSR | S_IRUSR, dcssblk_save_show,
502 static DEVICE_ATTR(seglist, S_IRUSR, dcssblk_seglist_show, NULL);
/linux-4.4.14/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.4.14/tools/testing/selftests/memfd/
Dmemfd_test.c403 S_IRUSR | S_IWUSR); in mfd_assert_shrink()
421 S_IRUSR | S_IWUSR); in mfd_fail_shrink()
/linux-4.4.14/drivers/base/
Ddevcoredump.c111 .attr = { .name = "data", .mode = S_IRUSR | S_IWUSR, },
/linux-4.4.14/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.4.14/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));
Dsmc-ultra.c567 module_param_named(msg_enable, ultra_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));
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.4.14/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.4.14/drivers/s390/cio/
Dchp.c152 .mode = S_IRUSR,
206 .mode = S_IRUSR,
/linux-4.4.14/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.4.14/net/ipv4/
Dtcp_probe.c276 if (!proc_create(procname, S_IRUSR, init_net.proc_net, &tcpprobe_fops)) in tcpprobe_init()
/linux-4.4.14/drivers/pnp/pnpbios/
Dproc.c323 proc_create("escd", S_IRUSR, proc_pnp, &escd_proc_fops); in pnpbios_proc_init()
/linux-4.4.14/drivers/net/phy/
Dspi_ks8995.c239 .mode = S_IRUSR | S_IWUSR,
/linux-4.4.14/drivers/firmware/
Ddmi_scan.c662 static BIN_ATTR(smbios_entry_point, S_IRUSR, raw_table_read, NULL, 0);
663 static BIN_ATTR(DMI, S_IRUSR, raw_table_read, NULL, 0);
/linux-4.4.14/arch/alpha/kernel/
Dpci-sysfs.c164 res_attr->attr.mode = S_IRUSR | S_IWUSR; in pci_create_one_attr()
/linux-4.4.14/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.4.14/net/batman-adv/
Dicmp_socket.c328 d = debugfs_create_file(BATADV_ICMP_SOCKET, S_IFREG | S_IWUSR | S_IRUSR, in batadv_socket_setup()
Ddebugfs.c232 d = debugfs_create_file("log", S_IFREG | S_IRUSR, in batadv_debug_log_setup()
/linux-4.4.14/kernel/bpf/
Dinode.c212 mode = S_IFREG | ((S_IRUSR | S_IWUSR) & ~current_umask()); in bpf_obj_do_pin()
/linux-4.4.14/drivers/mtd/devices/
Ddocg3.c1798 entry = debugfs_create_file("flashcontrol", S_IRUSR, root, docg3, in doc_dbg_register()
1801 entry = debugfs_create_file("asic_mode", S_IRUSR, root, in doc_dbg_register()
1804 entry = debugfs_create_file("device_id", S_IRUSR, root, in doc_dbg_register()
1807 entry = debugfs_create_file("protection", S_IRUSR, root, in doc_dbg_register()
/linux-4.4.14/drivers/video/fbdev/
Dudlfb.c1960 module_param(console, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
1963 module_param(fb_defio, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
1966 module_param(shadow, bool, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
1969 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.4.14/arch/x86/kernel/
Dtboot.c429 debugfs_create_file("tboot_log", S_IRUSR, in tboot_late_init()
/linux-4.4.14/fs/ocfs2/
Dblockcheck.c246 return debugfs_create_file(name, S_IFREG | S_IRUSR, parent, value, in blockcheck_debugfs_create()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_attr.c111 .mode = S_IRUSR | S_IWUSR,
/linux-4.4.14/drivers/misc/eeprom/
Deeprom_93xx46.c330 edev->bin.attr.mode = S_IRUSR; in eeprom_93xx46_probe()
Dat25.c416 at25->bin.attr.mode = S_IRUSR; in at25_probe()
Dat24.c582 at24->bin.attr.mode = chip.flags & AT24_FLAG_IRUGO ? S_IRUGO : S_IRUSR; in at24_probe()
/linux-4.4.14/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.4.14/drivers/idle/
Di7300_idle.c573 S_IRUSR, in i7300_idle_init()
/linux-4.4.14/fs/openpromfs/
Dinode.c250 inode->i_mode = S_IFREG | S_IRUSR | S_IWUSR; in openpromfs_lookup()
/linux-4.4.14/Documentation/accounting/
Dgetdelays.c371 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in main()
/linux-4.4.14/drivers/misc/
Dsram.c119 part->battr.attr.mode = S_IRUSR | S_IWUSR; in sram_add_export()
/linux-4.4.14/drivers/scsi/arcmsr/
Darcmsr_attr.c196 .mode = S_IRUSR ,
/linux-4.4.14/drivers/mmc/host/
Datmel-mci.c484 node = debugfs_create_file("regs", S_IRUSR, root, host, in atmci_init_debugfs()
491 node = debugfs_create_file("req", S_IRUSR, root, slot, &atmci_req_fops); in atmci_init_debugfs()
495 node = debugfs_create_u32("state", S_IRUSR, root, (u32 *)&host->state); in atmci_init_debugfs()
499 node = debugfs_create_x32("pending_events", S_IRUSR, root, in atmci_init_debugfs()
504 node = debugfs_create_x32("completed_events", S_IRUSR, root, in atmci_init_debugfs()
Ddw_mmc.c199 node = debugfs_create_file("regs", S_IRUSR, root, host, in dw_mci_init_debugfs()
204 node = debugfs_create_file("req", S_IRUSR, root, slot, in dw_mci_init_debugfs()
209 node = debugfs_create_u32("state", S_IRUSR, root, (u32 *)&host->state); in dw_mci_init_debugfs()
213 node = debugfs_create_x32("pending_events", S_IRUSR, root, in dw_mci_init_debugfs()
218 node = debugfs_create_x32("completed_events", S_IRUSR, root, in dw_mci_init_debugfs()
/linux-4.4.14/arch/sparc/kernel/
Dvio.c158 static DEVICE_ATTR(obppath, S_IRUSR | S_IRGRP | S_IROTH,
Dpci.c594 static DEVICE_ATTR(obppath, S_IRUSR | S_IRGRP | S_IROTH, show_pciobppath_attr, NULL);
/linux-4.4.14/fs/ocfs2/cluster/
Dnetdebug.c516 umode_t mode = S_IFREG|S_IRUSR; in o2net_debugfs_init()
/linux-4.4.14/fs/
Dlibfs.c239 root->i_mode = S_IFDIR | S_IRUSR | S_IWUSR; in mount_pseudo()
1068 inode->i_mode = S_IRUSR | S_IWUSR; in alloc_anon_inode()
Dpipe.c699 inode->i_mode = S_IFIFO | S_IRUSR | S_IWUSR; in get_pipe_inode()
/linux-4.4.14/drivers/md/bcache/
Dbcache.h839 __ATTR(n, S_IWUSR|S_IRUSR, show, store)
/linux-4.4.14/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.4.14/drivers/virtio/
Dvirtio_balloon.c45 module_param(oom_pages, int, S_IRUSR | S_IWUSR);
Dvirtio_mmio.c700 device_param_cb(device, &vm_cmdline_param_ops, NULL, S_IRUSR);
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/
Dtrans.c2128 DEBUGFS_ADD_FILE(rx_queue, dir, S_IRUSR); in iwl_trans_pcie_dbgfs_register()
2129 DEBUGFS_ADD_FILE(tx_queue, dir, S_IRUSR); in iwl_trans_pcie_dbgfs_register()
2130 DEBUGFS_ADD_FILE(interrupt, dir, S_IWUSR | S_IRUSR); in iwl_trans_pcie_dbgfs_register()
2132 DEBUGFS_ADD_FILE(fh_reg, dir, S_IRUSR); in iwl_trans_pcie_dbgfs_register()
/linux-4.4.14/block/
Dpartition-generic.c266 static DEVICE_ATTR(whole_disk, S_IRUSR | S_IRGRP | S_IROTH,
/linux-4.4.14/drivers/s390/crypto/
Dap_bus.c65 module_param_named(domain, ap_domain_index, int, S_IRUSR|S_IRGRP);
70 module_param_named(poll_thread, ap_thread_flag, int, S_IRUSR|S_IRGRP);
Dzcrypt_api.c58 module_param_named(hwrng_seed, zcrypt_hwrng_seed, int, S_IRUSR|S_IRGRP);
/linux-4.4.14/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.4.14/drivers/w1/masters/
Domap_hdq.c795 module_param(w1_id, int, S_IRUSR);
/linux-4.4.14/net/ipv4/netfilter/
Dipt_CLUSTERIP.c194 c->pde = proc_create_data(buffer, S_IWUSR|S_IRUSR, in clusterip_config_init()
/linux-4.4.14/fs/qnx6/
Dinode.c513 inode->i_mode = S_IFREG | S_IRUSR; /* probably wrong */ in qnx6_private_inode()
/linux-4.4.14/drivers/input/misc/
Dcm109.c44 module_param(phone, charp, S_IRUSR);
/linux-4.4.14/arch/mips/txx9/generic/
Dsetup.c954 dev->bindata_attr.attr.mode = S_IRUSR | S_IWUSR; in txx9_sramc_init()
/linux-4.4.14/drivers/scsi/fcoe/
Dfcoe_transport.c54 module_param_call(show, NULL, fcoe_transport_show, NULL, S_IRUSR);
/linux-4.4.14/drivers/of/
Dfdt.c1163 __BIN_ATTR(fdt, S_IRUSR, of_fdt_raw_read, NULL, 0); in of_fdt_raw_init()
/linux-4.4.14/drivers/scsi/
D3w-sas.c125 .mode = S_IRUSR,
156 .mode = S_IRUSR,
/linux-4.4.14/security/tomoyo/
Dcondition.c876 value = S_IRUSR; in tomoyo_condition()
/linux-4.4.14/drivers/net/xen-netback/
Dxenbus.c204 S_IRUSR | S_IWUSR, in xenvif_debugfs_addif()
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_init.c116 debugfs_create_file_size(name, S_IRUSR, hw->debugfs_root, in csio_add_debugfs_mem()
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_main.c640 static DRIVER_ATTR(debug_level, S_IRUSR | S_IWUSR,
/linux-4.4.14/drivers/staging/unisys/visorhba/
Dvisorhba_main.c1205 ret = debugfs_create_file("info", S_IRUSR, visorhba_debugfs_dir, NULL, in visorhba_init()
/linux-4.4.14/kernel/
Drelay.c424 S_IRUSR, buf, in relay_create_buf_file()
/linux-4.4.14/drivers/media/pci/netup_unidvb/
Dnetup_unidvb_core.c40 module_param(spi_enable, int, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcore.c61 module_param_named(debug, brcmf_msg_level, int, S_IRUSR | S_IWUSR);
/linux-4.4.14/drivers/misc/lis3lv02d/
Dlis3lv02d.c846 static DEVICE_ATTR(selftest, S_IRUSR, lis3lv02d_selftest_show, NULL);

12