Home
last modified time | relevance | path

Searched refs:dentry (Results 1 – 25 of 831) sorted by relevance

12345678910>>...34

/drivers/net/wireless/ti/wl1251/
Dwl1251.h146 struct dentry *rootdir;
147 struct dentry *fw_statistics;
149 struct dentry *tx_internal_desc_overflow;
151 struct dentry *rx_out_of_mem;
152 struct dentry *rx_hdr_overflow;
153 struct dentry *rx_hw_stuck;
154 struct dentry *rx_dropped;
155 struct dentry *rx_fcs_err;
156 struct dentry *rx_xfr_hint_trig;
157 struct dentry *rx_path_reset;
[all …]
/drivers/android/binder/
Drust_binderfs.c119 struct dentry *dentry, *root; in binderfs_binder_device_create() local
184 dentry = lookup_one_len(req->name, root, strlen(req->name)); in binderfs_binder_device_create()
185 if (IS_ERR(dentry)) { in binderfs_binder_device_create()
187 ret = PTR_ERR(dentry); in binderfs_binder_device_create()
191 if (d_really_is_positive(dentry)) { in binderfs_binder_device_create()
193 dput(dentry); in binderfs_binder_device_create()
200 d_instantiate(dentry, inode); in binderfs_binder_device_create()
201 fsnotify_create(root->d_inode, dentry); in binderfs_binder_device_create()
318 static int binderfs_show_options(struct seq_file *seq, struct dentry *root) in binderfs_show_options()
342 static inline bool is_binderfs_control_device(const struct dentry *dentry) in is_binderfs_control_device() argument
[all …]
/drivers/android/
Dbinderfs.c119 struct dentry *dentry, *root; in binderfs_binder_device_create() local
192 dentry = lookup_one_len(name, root, name_len); in binderfs_binder_device_create()
193 if (IS_ERR(dentry)) { in binderfs_binder_device_create()
195 ret = PTR_ERR(dentry); in binderfs_binder_device_create()
199 if (d_really_is_positive(dentry)) { in binderfs_binder_device_create()
201 dput(dentry); in binderfs_binder_device_create()
208 d_instantiate(dentry, inode); in binderfs_binder_device_create()
209 fsnotify_create(root->d_inode, dentry); in binderfs_binder_device_create()
326 static int binderfs_show_options(struct seq_file *seq, struct dentry *root) in binderfs_show_options()
350 static inline bool is_binderfs_control_device(const struct dentry *dentry) in is_binderfs_control_device() argument
[all …]
Dbinder_internal.h78 struct dentry *control_dentry;
83 struct dentry *proc_log_dir;
92 extern struct dentry *binderfs_create_file(struct dentry *dir, const char *name,
95 extern void binderfs_remove_file(struct dentry *dentry);
101 static inline struct dentry *binderfs_create_file(struct dentry *dir, in binderfs_create_file()
108 static inline void binderfs_remove_file(struct dentry *dentry) {} in binderfs_remove_file() argument
487 struct dentry *debugfs_entry;
492 struct dentry *binderfs_entry;
/drivers/base/
Ddevtmpfs.c66 static struct dentry *public_dev_mount(struct file_system_type *fs_type, int flags, in public_dev_mount()
161 struct dentry *dentry; in dev_mkdir() local
165 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in dev_mkdir()
166 if (IS_ERR(dentry)) in dev_mkdir()
167 return PTR_ERR(dentry); in dev_mkdir()
169 err = vfs_mkdir(&nop_mnt_idmap, d_inode(path.dentry), dentry, mode); in dev_mkdir()
172 d_inode(dentry)->i_private = &thread; in dev_mkdir()
173 done_path_create(&path, dentry); in dev_mkdir()
207 struct dentry *dentry; in handle_create() local
211 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
[all …]
/drivers/opp/
Ddebugfs.c20 static struct dentry *rootdir;
33 debugfs_remove_recursive(opp->dentry); in opp_debug_remove_one()
58 struct dentry *pdentry) in opp_debug_create_bw()
60 struct dentry *d; in opp_debug_create_bw()
81 struct dentry *pdentry) in opp_debug_create_clks()
99 struct dentry *pdentry) in opp_debug_create_supplies()
101 struct dentry *d; in opp_debug_create_supplies()
131 struct dentry *pdentry = opp_table->dentry; in opp_debug_create_one()
132 struct dentry *d; in opp_debug_create_one()
168 opp->dentry = d; in opp_debug_create_one()
[all …]
/drivers/edac/
Dedac_module.h69 struct dentry *edac_debugfs_create_dir(const char *dirname);
70 struct dentry *
71 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent);
72 struct dentry *
73 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent,
76 struct dentry *parent, u8 *value);
78 struct dentry *parent, u16 *value);
80 struct dentry *parent, u32 *value);
85 static inline struct dentry *edac_debugfs_create_dir(const char *dirname) { return NULL; } in edac_debugfs_create_dir()
86 static inline struct dentry *
[all …]
Ddebugfs.c4 static struct dentry *edac_debugfs;
57 struct dentry *parent; in edac_create_debugfs_nodes()
83 struct dentry *edac_debugfs_create_dir(const char *dirname) in edac_debugfs_create_dir()
93 struct dentry *
94 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent) in edac_debugfs_create_dir_at()
109 struct dentry *
110 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, in edac_debugfs_create_file()
122 struct dentry *parent, u8 *value) in edac_debugfs_create_x8()
133 struct dentry *parent, u16 *value) in edac_debugfs_create_x16()
144 struct dentry *parent, u32 *value) in edac_debugfs_create_x32()
/drivers/net/ethernet/pensando/ionic/
Dionic_debugfs.c14 static struct dentry *ionic_dir;
28 ionic->dentry = debugfs_create_dir(ionic_bus_info(ionic), ionic_dir); in ionic_debugfs_add_dev()
33 debugfs_remove_recursive(ionic->dentry); in ionic_debugfs_del_dev()
34 ionic->dentry = NULL; in ionic_debugfs_del_dev()
59 debugfs_create_file("identity", 0400, ionic->dentry, in ionic_debugfs_add_ident()
65 debugfs_create_u32("nlifs", 0400, ionic->dentry, in ionic_debugfs_add_sizes()
67 debugfs_create_u32("nintrs", 0400, ionic->dentry, &ionic->nintrs); in ionic_debugfs_add_sizes()
69 debugfs_create_u32("ntxqs_per_lif", 0400, ionic->dentry, in ionic_debugfs_add_sizes()
71 debugfs_create_u32("nrxqs_per_lif", 0400, ionic->dentry, in ionic_debugfs_add_sizes()
115 struct dentry *qcq_dentry, *q_dentry, *cq_dentry; in ionic_debugfs_add_qcq()
[all …]
/drivers/net/ethernet/amd/pds_core/
Ddebugfs.c8 static struct dentry *pdsc_dir;
22 pdsc->dentry = debugfs_create_dir(pci_name(pdsc->pdev), pdsc_dir); in pdsc_debugfs_add_dev()
24 debugfs_create_ulong("state", 0400, pdsc->dentry, &pdsc->state); in pdsc_debugfs_add_dev()
29 debugfs_remove_recursive(pdsc->dentry); in pdsc_debugfs_del_dev()
30 pdsc->dentry = NULL; in pdsc_debugfs_del_dev()
68 if (debugfs_lookup("identity", pdsc->dentry)) in pdsc_debugfs_add_ident()
71 debugfs_create_file("identity", 0400, pdsc->dentry, in pdsc_debugfs_add_ident()
95 debugfs_create_file("viftypes", 0400, pdsc->dentry, in pdsc_debugfs_add_viftype()
109 struct dentry *qcq_dentry, *q_dentry, *cq_dentry, *intr_dentry; in pdsc_debugfs_add_qcq()
114 qcq_dentry = debugfs_create_dir(q->name, pdsc->dentry); in pdsc_debugfs_add_qcq()
[all …]
/drivers/block/drbd/
Ddrbd_debugfs.c20 static struct dentry *drbd_debugfs_root;
21 static struct dentry *drbd_debugfs_version;
22 static struct dentry *drbd_debugfs_resources;
23 static struct dentry *drbd_debugfs_minors;
422 struct dentry *parent; in drbd_single_open()
427 parent = file->f_path.dentry->d_parent; in drbd_single_open()
431 if (simple_positive(file->f_path.dentry) in drbd_single_open()
467 struct dentry *dentry; in drbd_debugfs_resource_add() local
469 dentry = debugfs_create_dir(resource->name, drbd_debugfs_resources); in drbd_debugfs_resource_add()
470 resource->debugfs_res = dentry; in drbd_debugfs_resource_add()
[all …]
/drivers/net/wireless/ath/ath9k/
Dcommon-debug.h68 void ath9k_cmn_debug_modal_eeprom(struct dentry *debugfs_phy,
70 void ath9k_cmn_debug_base_eeprom(struct dentry *debugfs_phy,
74 void ath9k_cmn_debug_recv(struct dentry *debugfs_phy,
76 void ath9k_cmn_debug_phy_err(struct dentry *debugfs_phy,
79 static inline void ath9k_cmn_debug_modal_eeprom(struct dentry *debugfs_phy, in ath9k_cmn_debug_modal_eeprom()
84 static inline void ath9k_cmn_debug_base_eeprom(struct dentry *debugfs_phy, in ath9k_cmn_debug_base_eeprom()
94 static inline void ath9k_cmn_debug_recv(struct dentry *debugfs_phy, in ath9k_cmn_debug_recv()
99 static inline void ath9k_cmn_debug_phy_err(struct dentry *debugfs_phy, in ath9k_cmn_debug_phy_err()
/drivers/net/ethernet/hisilicon/hns3/
Dhns3_debugfs.c11 static struct dentry *hns3_dbgfs_root;
48 .dentry = HNS3_DBG_DENTRY_TM,
55 .dentry = HNS3_DBG_DENTRY_TM,
62 .dentry = HNS3_DBG_DENTRY_TM,
69 .dentry = HNS3_DBG_DENTRY_TM,
76 .dentry = HNS3_DBG_DENTRY_TM,
83 .dentry = HNS3_DBG_DENTRY_TM,
90 .dentry = HNS3_DBG_DENTRY_TM,
97 .dentry = HNS3_DBG_DENTRY_TM,
104 .dentry = HNS3_DBG_DENTRY_TM,
[all …]
/drivers/net/ethernet/microchip/vcap/
Dvcap_api_debugfs.h17 void vcap_port_debugfs(struct device *dev, struct dentry *parent,
22 struct dentry *vcap_debugfs(struct device *dev, struct dentry *parent,
27 static inline void vcap_port_debugfs(struct device *dev, struct dentry *parent, in vcap_port_debugfs()
33 static inline struct dentry *vcap_debugfs(struct device *dev, in vcap_debugfs()
34 struct dentry *parent, in vcap_debugfs()
/drivers/thermal/testing/
Dcommand.c89 struct dentry *d_testing;
142 static ssize_t tt_command_process(struct dentry *dentry, const char __user *user_buf, in tt_command_process() argument
176 struct dentry *dentry = file->f_path.dentry; in tt_command_write() local
185 ret = debugfs_file_get(dentry); in tt_command_write()
189 ret = tt_command_process(dentry, user_buf, count); in tt_command_write()
/drivers/net/wwan/t7xx/
Dt7xx_port_trace.c18 static struct dentry *t7xx_trace_create_buf_file_handler(const char *filename, in t7xx_trace_create_buf_file_handler()
19 struct dentry *parent, in t7xx_trace_create_buf_file_handler()
29 static int t7xx_trace_remove_buf_file_handler(struct dentry *dentry) in t7xx_trace_remove_buf_file_handler() argument
31 debugfs_remove(dentry); in t7xx_trace_remove_buf_file_handler()
54 struct dentry *debugfs_dir = port->t7xx_dev->debugfs_dir; in t7xx_trace_port_uninit()
80 struct dentry *debugfs_wwan_dir; in t7xx_port_trace_md_state_notify()
81 struct dentry *debugfs_dir; in t7xx_port_trace_md_state_notify()
/drivers/crypto/intel/qat/qat_common/
Dadf_heartbeat.h10 struct dentry;
42 struct dentry *base_dir;
43 struct dentry *status;
44 struct dentry *cfg;
45 struct dentry *sent;
46 struct dentry *failed;
48 struct dentry *inject_error;
/drivers/misc/ibmasm/
Dibmasmfs.c147 static struct dentry *ibmasmfs_create_file(struct dentry *parent, in ibmasmfs_create_file()
153 struct dentry *dentry; in ibmasmfs_create_file() local
156 dentry = d_alloc_name(parent, name); in ibmasmfs_create_file()
157 if (!dentry) in ibmasmfs_create_file()
162 dput(dentry); in ibmasmfs_create_file()
169 d_add(dentry, inode); in ibmasmfs_create_file()
170 return dentry; in ibmasmfs_create_file()
173 static struct dentry *ibmasmfs_create_dir(struct dentry *parent, in ibmasmfs_create_dir()
176 struct dentry *dentry; in ibmasmfs_create_dir() local
179 dentry = d_alloc_name(parent, name); in ibmasmfs_create_dir()
[all …]
/drivers/net/netdevsim/
Dnetdevsim.h51 struct dentry *pfile;
132 struct dentry *ddir;
137 struct dentry *pp_dfs;
215 struct dentry *ddir;
233 struct dentry *ddir;
234 struct dentry *l3_ddir;
273 struct dentry *ddir;
274 struct dentry *rate_parent;
296 struct dentry *ddir;
297 struct dentry *ports_ddir;
[all …]
/drivers/media/test-drivers/visl/
Dvisl-debugfs.c45 struct dentry *dentry; in visl_trace_bitstream() local
61 dentry = debugfs_create_blob(name, 0444, ctx->dev->bitstream_debugfs, in visl_trace_bitstream()
63 if (IS_ERR(dentry)) in visl_trace_bitstream()
66 blob->dentry = dentry; in visl_trace_bitstream()
91 debugfs_remove(blob->dentry); in visl_debugfs_clear_bitstream()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_debugfs.c447 static int mvpp2_dbgfs_flow_port_init(struct dentry *parent, in mvpp2_dbgfs_flow_port_init()
452 struct dentry *port_dir; in mvpp2_dbgfs_flow_port_init()
470 static int mvpp2_dbgfs_flow_entry_init(struct dentry *parent, in mvpp2_dbgfs_flow_entry_init()
474 struct dentry *flow_entry_dir; in mvpp2_dbgfs_flow_entry_init()
507 static int mvpp2_dbgfs_flow_init(struct dentry *parent, struct mvpp2 *priv) in mvpp2_dbgfs_flow_init()
509 struct dentry *flow_dir; in mvpp2_dbgfs_flow_init()
523 static int mvpp2_dbgfs_prs_entry_init(struct dentry *parent, in mvpp2_dbgfs_prs_entry_init()
527 struct dentry *prs_entry_dir; in mvpp2_dbgfs_prs_entry_init()
567 static int mvpp2_dbgfs_prs_init(struct dentry *parent, struct mvpp2 *priv) in mvpp2_dbgfs_prs_init()
569 struct dentry *prs_dir; in mvpp2_dbgfs_prs_init()
[all …]
/drivers/cxl/
Dmem.c33 static void remove_debugfs(void *dentry) in remove_debugfs() argument
35 debugfs_remove_recursive(dentry); in remove_debugfs()
113 struct dentry *dentry; in cxl_mem_probe() local
130 dentry = cxl_debugfs_create_dir(dev_name(dev)); in cxl_mem_probe()
131 debugfs_create_devm_seqfile(dev, "dpamem", dentry, cxl_mem_dpa_show); in cxl_mem_probe()
134 debugfs_create_file("inject_poison", 0200, dentry, cxlmd, in cxl_mem_probe()
137 debugfs_create_file("clear_poison", 0200, dentry, cxlmd, in cxl_mem_probe()
140 rc = devm_add_action_or_reset(dev, remove_debugfs, dentry); in cxl_mem_probe()
/drivers/misc/cxl/
Ddebugfs.c12 static struct dentry *cxl_debugfs;
30 struct dentry *parent, u64 __iomem *value) in debugfs_create_io_x64()
36 void cxl_debugfs_add_adapter_regs_psl9(struct cxl *adapter, struct dentry *dir) in cxl_debugfs_add_adapter_regs_psl9()
49 void cxl_debugfs_add_adapter_regs_psl8(struct cxl *adapter, struct dentry *dir) in cxl_debugfs_add_adapter_regs_psl8()
59 struct dentry *dir; in cxl_debugfs_adapter_add()
80 void cxl_debugfs_add_afu_regs_psl9(struct cxl_afu *afu, struct dentry *dir) in cxl_debugfs_add_afu_regs_psl9()
85 void cxl_debugfs_add_afu_regs_psl8(struct cxl_afu *afu, struct dentry *dir) in cxl_debugfs_add_afu_regs_psl8()
98 struct dentry *dir; in cxl_debugfs_afu_add()
/drivers/scsi/lpfc/
Dlpfc.h748 struct dentry *debug_disc_trc;
749 struct dentry *debug_nodelist;
750 struct dentry *debug_nvmestat;
751 struct dentry *debug_scsistat;
752 struct dentry *debug_ioktime;
753 struct dentry *debug_hdwqstat;
754 struct dentry *vport_debugfs_root;
1351 struct dentry *hba_debugfs_root;
1353 struct dentry *debug_multixri_pools;
1354 struct dentry *debug_hbqinfo;
[all …]
/drivers/hv/
Dhv_debugfs.c14 static struct dentry *hv_debug_root;
54 static int hv_debug_delay_files(struct hv_device *dev, struct dentry *root) in hv_debug_delay_files()
61 struct dentry *buffer_file, *message_file; in hv_debug_delay_files()
83 static int hv_debug_set_test_state(struct hv_device *dev, struct dentry *root) in hv_debug_set_test_state()
88 struct dentry *test_state; in hv_debug_set_test_state()
102 static void hv_debug_set_dir_dentry(struct hv_device *dev, struct dentry *root) in hv_debug_set_dir_dentry()
113 struct dentry *delay, *dev_root; in hv_debug_add_dev_dir()

12345678910>>...34