Home
last modified time | relevance | path

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

12345678910>>...23

/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/
Dbinderfs.c104 struct dentry *dentry, *root; in binderfs_binder_device_create() local
176 dentry = lookup_one_len(name, root, name_len); in binderfs_binder_device_create()
177 if (IS_ERR(dentry)) { in binderfs_binder_device_create()
179 ret = PTR_ERR(dentry); in binderfs_binder_device_create()
183 if (d_really_is_positive(dentry)) { in binderfs_binder_device_create()
185 dput(dentry); in binderfs_binder_device_create()
192 d_instantiate(dentry, inode); in binderfs_binder_device_create()
193 fsnotify_create(root->d_inode, dentry); in binderfs_binder_device_create()
337 static int binderfs_show_mount_opts(struct seq_file *seq, struct dentry *root) in binderfs_show_mount_opts()
357 static inline bool is_binderfs_control_device(const struct dentry *dentry) in is_binderfs_control_device() argument
[all …]
Dbinder_internal.h64 struct dentry *control_dentry;
69 struct dentry *proc_log_dir;
78 extern struct dentry *binderfs_create_file(struct dentry *dir, const char *name,
81 extern void binderfs_remove_file(struct dentry *dentry);
87 static inline struct dentry *binderfs_create_file(struct dentry *dir, in binderfs_create_file()
94 static inline void binderfs_remove_file(struct dentry *dentry) {} in binderfs_remove_file() argument
/drivers/base/
Ddevtmpfs.c61 static struct dentry *public_dev_mount(struct file_system_type *fs_type, int flags, in public_dev_mount()
166 struct dentry *dentry; in dev_mkdir() local
170 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in dev_mkdir()
171 if (IS_ERR(dentry)) in dev_mkdir()
172 return PTR_ERR(dentry); in dev_mkdir()
174 err = vfs_mkdir(d_inode(path.dentry), dentry, mode); in dev_mkdir()
177 d_inode(dentry)->i_private = &thread; in dev_mkdir()
178 done_path_create(&path, dentry); in dev_mkdir()
212 struct dentry *dentry; in handle_create() local
216 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
[all …]
/drivers/opp/
Ddebugfs.c19 static struct dentry *rootdir;
32 debugfs_remove_recursive(opp->dentry); in opp_debug_remove_one()
37 struct dentry *pdentry) in opp_debug_create_supplies()
39 struct dentry *d; in opp_debug_create_supplies()
66 struct dentry *pdentry = opp_table->dentry; in opp_debug_create_one()
67 struct dentry *d; in opp_debug_create_one()
98 opp->dentry = d; in opp_debug_create_one()
105 struct dentry *d; in opp_list_debug_create_dir()
112 opp_dev->dentry = d; in opp_list_debug_create_dir()
113 opp_table->dentry = d; in opp_list_debug_create_dir()
[all …]
Dopp.h93 struct dentry *dentry; member
111 struct dentry *dentry; member
201 struct dentry *dentry; member
/drivers/net/wimax/i2400m/
Ddebugfs.c192 struct dentry *dentry = i2400m->wimax_dev.debugfs_dentry; in i2400m_debugfs_add() local
194 dentry = debugfs_create_dir("i2400m", dentry); in i2400m_debugfs_add()
195 i2400m->debugfs_dentry = dentry; in i2400m_debugfs_add()
197 d_level_register_debugfs("dl_", control, dentry); in i2400m_debugfs_add()
198 d_level_register_debugfs("dl_", driver, dentry); in i2400m_debugfs_add()
199 d_level_register_debugfs("dl_", debugfs, dentry); in i2400m_debugfs_add()
200 d_level_register_debugfs("dl_", fw, dentry); in i2400m_debugfs_add()
201 d_level_register_debugfs("dl_", netdev, dentry); in i2400m_debugfs_add()
202 d_level_register_debugfs("dl_", rfkill, dentry); in i2400m_debugfs_add()
203 d_level_register_debugfs("dl_", rx, dentry); in i2400m_debugfs_add()
[all …]
/drivers/edac/
Dedac_module.h75 struct dentry *edac_debugfs_create_dir(const char *dirname);
76 struct dentry *
77 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent);
78 struct dentry *
79 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent,
82 struct dentry *parent, u8 *value);
84 struct dentry *parent, u16 *value);
86 struct dentry *parent, u32 *value);
91 static inline struct dentry *edac_debugfs_create_dir(const char *dirname) { return NULL; } in edac_debugfs_create_dir()
92 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 *q_dentry, *cq_dentry, *intr_dentry, *stats_dentry; in ionic_debugfs_add_qcq()
[all …]
/drivers/oprofile/
Doprofilefs.c136 static int __oprofilefs_create_file(struct dentry *root, char const *name, in __oprofilefs_create_file()
139 struct dentry *dentry; in __oprofilefs_create_file() local
146 dentry = d_alloc_name(root, name); in __oprofilefs_create_file()
147 if (!dentry) { in __oprofilefs_create_file()
153 dput(dentry); in __oprofilefs_create_file()
159 d_add(dentry, inode); in __oprofilefs_create_file()
165 int oprofilefs_create_ulong(struct dentry *root, in oprofilefs_create_ulong()
173 int oprofilefs_create_ro_ulong(struct dentry *root, in oprofilefs_create_ro_ulong()
195 int oprofilefs_create_ro_atomic(struct dentry *root, in oprofilefs_create_ro_atomic()
203 int oprofilefs_create_file(struct dentry *root, in oprofilefs_create_file()
[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/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/scsi/lpfc/
Dlpfc.h480 struct dentry *debug_disc_trc;
481 struct dentry *debug_nodelist;
482 struct dentry *debug_nvmestat;
483 struct dentry *debug_scsistat;
484 struct dentry *debug_nvmektime;
485 struct dentry *debug_cpucheck;
486 struct dentry *vport_debugfs_root;
1036 struct dentry *hba_debugfs_root;
1038 struct dentry *debug_multixri_pools;
1039 struct dentry *debug_hbqinfo;
[all …]
/drivers/staging/exfat/
Dexfat_super.c172 static int __exfat_revalidate(struct dentry *dentry) in __exfat_revalidate() argument
177 static int exfat_revalidate(struct dentry *dentry, unsigned int flags) in exfat_revalidate() argument
182 if (dentry->d_inode) in exfat_revalidate()
184 return __exfat_revalidate(dentry); in exfat_revalidate()
187 static int exfat_revalidate_ci(struct dentry *dentry, unsigned int flags) in exfat_revalidate_ci() argument
192 if (dentry->d_inode) in exfat_revalidate_ci()
201 return __exfat_revalidate(dentry); in exfat_revalidate_ci()
216 static int exfat_d_hash(const struct dentry *dentry, struct qstr *qstr) in exfat_d_hash() argument
218 qstr->hash = full_name_hash(dentry, qstr->name, in exfat_d_hash()
223 static int exfat_d_hashi(const struct dentry *dentry, struct qstr *qstr) in exfat_d_hashi() argument
[all …]
/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/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/net/wireless/broadcom/b43legacy/
Ddebugfs.h20 struct dentry;
31 struct dentry *dentry; member
38 struct dentry *subdir;
53 struct dentry *dyn_debug_dentries[__B43legacy_NR_DYNDBG];
/drivers/net/wireless/marvell/libertas/
Ddev.h65 struct dentry *debugfs_dir;
66 struct dentry *debugfs_debug;
67 struct dentry *debugfs_files[6];
68 struct dentry *events_dir;
69 struct dentry *debugfs_events_files[6];
70 struct dentry *regs_dir;
71 struct dentry *debugfs_regs_files[6];
/drivers/net/wireless/broadcom/b43/
Ddebugfs.h23 struct dentry;
35 struct dentry *dentry; member
42 struct dentry *subdir;
74 struct dentry *dyn_debug_dentries[__B43_NR_DYNDBG];
/drivers/infiniband/hw/qib/
Dqib_fs.c51 static int qibfs_mknod(struct inode *dir, struct dentry *dentry, in qibfs_mknod() argument
80 d_instantiate(dentry, inode); in qibfs_mknod()
88 struct dentry *parent, struct dentry **dentry, in create_file() argument
94 *dentry = lookup_one_len(name, parent, strlen(name)); in create_file()
95 if (!IS_ERR(*dentry)) in create_file()
96 error = qibfs_mknod(d_inode(parent), *dentry, in create_file()
99 error = PTR_ERR(*dentry); in create_file()
362 struct dentry *dir, *tmp; in add_cntr_files()
430 static int remove_file(struct dentry *parent, char *name) in remove_file()
432 struct dentry *tmp; in remove_file()
[all …]
/drivers/firmware/tegra/
Dbpmp-debugfs.c86 filename = dentry_path(file->f_path.dentry, buf, size); in get_filename()
302 struct dentry *parent, uint32_t depth) in bpmp_populate_dir()
307 struct dentry *dentry; in bpmp_populate_dir() local
331 dentry = debugfs_create_dir(name, parent); in bpmp_populate_dir()
332 if (!dentry) in bpmp_populate_dir()
334 err = bpmp_populate_dir(bpmp, seqbuf, dentry, depth+1); in bpmp_populate_dir()
342 dentry = debugfs_create_file(name, mode, in bpmp_populate_dir()
345 if (!dentry) in bpmp_populate_dir()
354 size_t bufsize, struct dentry *root) in create_debugfs_mirror()
380 struct dentry *root; in tegra_bpmp_init_debugfs()
/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c224 struct dentry *dentry; in nouveau_drm_debugfs_init() local
228 dentry = debugfs_create_file(nouveau_debugfs_files[i].name, in nouveau_drm_debugfs_init()
232 if (!dentry) in nouveau_drm_debugfs_init()
245 dentry = debugfs_lookup("vbios.rom", minor->debugfs_root); in nouveau_drm_debugfs_init()
246 if (!dentry) in nouveau_drm_debugfs_init()
249 d_inode(dentry)->i_size = drm->vbios.length; in nouveau_drm_debugfs_init()
250 dput(dentry); in nouveau_drm_debugfs_init()
/drivers/crypto/qat/qat_common/
Dadf_transport_internal.h56 struct dentry *debug;
84 struct dentry *bank_debug_dir;
85 struct dentry *bank_debug_cfg;
91 struct dentry *debug;

12345678910>>...23