Home
last modified time | relevance | path

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

123456

/drivers/usb/core/
Dinode.c56 static struct dentry *devices_usbfs_dentry;
192 static void update_special(struct dentry *special) in update_special()
199 static void update_dev(struct dentry *dev) in update_dev()
206 static void update_bus(struct dentry *bus) in update_bus()
208 struct dentry *dev = NULL; in update_bus()
225 struct dentry *root = sb->s_root; in update_sb()
226 struct dentry *bus = NULL; in update_sb()
303 static int usbfs_mknod (struct inode *dir, struct dentry *dentry, int mode, in usbfs_mknod() argument
309 if (dentry->d_inode) in usbfs_mknod()
313 d_instantiate(dentry, inode); in usbfs_mknod()
[all …]
/drivers/net/wimax/i2400m/
Ddebugfs.c48 struct dentry *debugfs_create_netdev_queue_stopped( in debugfs_create_netdev_queue_stopped()
49 const char *name, struct dentry *parent, struct i2400m *i2400m) in debugfs_create_netdev_queue_stopped()
193 struct dentry *debugfs_create_i2400m_suspend( in debugfs_create_i2400m_suspend()
194 const char *name, struct dentry *parent, struct i2400m *i2400m) in debugfs_create_i2400m_suspend()
230 struct dentry *debugfs_create_i2400m_reset( in debugfs_create_i2400m_reset()
231 const char *name, struct dentry *parent, struct i2400m *i2400m) in debugfs_create_i2400m_reset()
250 struct dentry *dentry = i2400m->wimax_dev.debugfs_dentry; in i2400m_debugfs_add() local
251 struct dentry *fd; in i2400m_debugfs_add()
253 dentry = debugfs_create_dir("i2400m", dentry); in i2400m_debugfs_add()
254 result = PTR_ERR(dentry); in i2400m_debugfs_add()
[all …]
Dusb.c301 struct dentry *dentry = i2400mu->i2400m.wimax_dev.debugfs_dentry; in i2400mu_debugfs_add() local
302 struct dentry *fd; in i2400mu_debugfs_add()
304 dentry = debugfs_create_dir("i2400m-usb", dentry); in i2400mu_debugfs_add()
305 result = PTR_ERR(dentry); in i2400mu_debugfs_add()
306 if (IS_ERR(dentry)) { in i2400mu_debugfs_add()
311 i2400mu->debugfs_dentry = dentry; in i2400mu_debugfs_add()
312 __debugfs_register("dl_", usb, dentry); in i2400mu_debugfs_add()
313 __debugfs_register("dl_", fw, dentry); in i2400mu_debugfs_add()
314 __debugfs_register("dl_", notif, dentry); in i2400mu_debugfs_add()
315 __debugfs_register("dl_", rx, dentry); in i2400mu_debugfs_add()
[all …]
Dsdio.c326 struct dentry *dentry = i2400ms->i2400m.wimax_dev.debugfs_dentry; in i2400ms_debugfs_add() local
328 dentry = debugfs_create_dir("i2400m-usb", dentry); in i2400ms_debugfs_add()
329 result = PTR_ERR(dentry); in i2400ms_debugfs_add()
330 if (IS_ERR(dentry)) { in i2400ms_debugfs_add()
335 i2400ms->debugfs_dentry = dentry; in i2400ms_debugfs_add()
336 __debugfs_register("dl_", main, dentry); in i2400ms_debugfs_add()
337 __debugfs_register("dl_", tx, dentry); in i2400ms_debugfs_add()
338 __debugfs_register("dl_", rx, dentry); in i2400ms_debugfs_add()
339 __debugfs_register("dl_", fw, dentry); in i2400ms_debugfs_add()
/drivers/oprofile/
Doprofilefs.c129 static struct dentry *__oprofilefs_create_file(struct super_block *sb, in __oprofilefs_create_file()
130 struct dentry *root, char const *name, const struct file_operations *fops, in __oprofilefs_create_file()
133 struct dentry *dentry; in __oprofilefs_create_file() local
136 dentry = d_alloc_name(root, name); in __oprofilefs_create_file()
137 if (!dentry) in __oprofilefs_create_file()
141 dput(dentry); in __oprofilefs_create_file()
145 d_add(dentry, inode); in __oprofilefs_create_file()
146 return dentry; in __oprofilefs_create_file()
150 int oprofilefs_create_ulong(struct super_block *sb, struct dentry *root, in oprofilefs_create_ulong()
153 struct dentry *d = __oprofilefs_create_file(sb, root, name, in oprofilefs_create_ulong()
[all …]
Doprofile_stats.c39 void oprofile_create_stats_files(struct super_block *sb, struct dentry *root) in oprofile_create_stats_files()
42 struct dentry *cpudir; in oprofile_create_stats_files()
43 struct dentry *dir; in oprofile_create_stats_files()
/drivers/isdn/capi/
Dcapifs.c35 static struct dentry *capifs_root;
142 static struct dentry *get_node(int num) in get_node()
145 struct dentry *root = capifs_root; in get_node()
152 struct dentry *dentry; in capifs_new_ncci() local
163 dentry = get_node(number); in capifs_new_ncci()
164 if (!IS_ERR(dentry) && !dentry->d_inode) in capifs_new_ncci()
165 d_instantiate(dentry, inode); in capifs_new_ncci()
171 struct dentry *dentry = get_node(number); in capifs_free_ncci() local
173 if (!IS_ERR(dentry)) { in capifs_free_ncci()
174 struct inode *inode = dentry->d_inode; in capifs_free_ncci()
[all …]
/drivers/infiniband/hw/ipath/
Dipath_fs.c47 static int ipathfs_mknod(struct inode *dir, struct dentry *dentry, in ipathfs_mknod() argument
70 d_instantiate(dentry, inode); in ipathfs_mknod()
78 struct dentry *parent, struct dentry **dentry, in create_file() argument
83 *dentry = NULL; in create_file()
85 *dentry = lookup_one_len(name, parent, strlen(name)); in create_file()
86 if (!IS_ERR(*dentry)) in create_file()
87 error = ipathfs_mknod(parent->d_inode, *dentry, in create_file()
90 error = PTR_ERR(dentry); in create_file()
113 dd = file->f_path.dentry->d_inode->i_private; in atomic_counters_read()
153 dd = file->f_path.dentry->d_inode->i_private; in flash_read()
[all …]
/drivers/misc/ibmasm/
Dibmasmfs.c89 static void ibmasmfs_create_files (struct super_block *sb, struct dentry *root);
117 struct dentry *root_dentry; in ibmasmfs_fill_super()
154 static struct dentry *ibmasmfs_create_file (struct super_block *sb, in ibmasmfs_create_file()
155 struct dentry *parent, in ibmasmfs_create_file()
161 struct dentry *dentry; in ibmasmfs_create_file() local
164 dentry = d_alloc_name(parent, name); in ibmasmfs_create_file()
165 if (!dentry) in ibmasmfs_create_file()
170 dput(dentry); in ibmasmfs_create_file()
177 d_add(dentry, inode); in ibmasmfs_create_file()
178 return dentry; in ibmasmfs_create_file()
[all …]
/drivers/ieee1394/
Dcsr1212.c335 struct csr1212_dentry *dentry; in __csr1212_attach_keyval_to_directory() local
339 dentry = CSR1212_MALLOC(sizeof(*dentry)); in __csr1212_attach_keyval_to_directory()
340 if (!dentry) in __csr1212_attach_keyval_to_directory()
345 dentry->kv = kv; in __csr1212_attach_keyval_to_directory()
347 dentry->next = NULL; in __csr1212_attach_keyval_to_directory()
348 dentry->prev = dir->value.directory.dentries_tail; in __csr1212_attach_keyval_to_directory()
351 dir->value.directory.dentries_head = dentry; in __csr1212_attach_keyval_to_directory()
354 dir->value.directory.dentries_tail->next = dentry; in __csr1212_attach_keyval_to_directory()
355 dir->value.directory.dentries_tail = dentry; in __csr1212_attach_keyval_to_directory()
465 struct csr1212_dentry *dentry; in csr1212_detach_keyval_from_directory() local
[all …]
/drivers/net/wireless/iwlwifi/
Diwl-debug.h53 struct dentry *dir_drv;
54 struct dentry *dir_data;
55 struct dentry *dir_rf;
57 struct dentry *file_sram;
58 struct dentry *file_eeprom;
59 struct dentry *file_stations;
60 struct dentry *file_rx_statistics;
61 struct dentry *file_tx_statistics;
62 struct dentry *file_log_event;
63 struct dentry *file_channels;
[all …]
/drivers/net/wireless/ath5k/
Ddebug.h72 struct dentry *debugfs_phydir;
73 struct dentry *debugfs_debug;
74 struct dentry *debugfs_registers;
75 struct dentry *debugfs_tsf;
76 struct dentry *debugfs_beacon;
77 struct dentry *debugfs_reset;
/drivers/net/wireless/rt2x00/
Drt2x00debug.c75 struct dentry *driver_folder;
76 struct dentry *driver_entry;
77 struct dentry *chipset_entry;
78 struct dentry *dev_flags;
79 struct dentry *register_folder;
80 struct dentry *csr_off_entry;
81 struct dentry *csr_val_entry;
82 struct dentry *eeprom_off_entry;
83 struct dentry *eeprom_val_entry;
84 struct dentry *bbp_off_entry;
[all …]
/drivers/net/wireless/b43legacy/
Ddebugfs.h19 struct dentry;
30 struct dentry *dentry; member
37 struct dentry *subdir;
52 struct dentry *dyn_debug_dentries[__B43legacy_NR_DYNDBG];
Ddebugfs.c42 static struct dentry *rootdir;
367 struct dentry *d; in b43legacy_add_dynamic_debug()
430 struct dentry *d; \ in b43legacy_debugfs_add_device()
434 e->file_##name.dentry = NULL; \ in b43legacy_debugfs_add_device()
436 e->file_##name.dentry = d; \ in b43legacy_debugfs_add_device()
462 debugfs_remove(e->file_tsf.dentry); in b43legacy_debugfs_remove_device()
463 debugfs_remove(e->file_ucode_regs.dentry); in b43legacy_debugfs_remove_device()
464 debugfs_remove(e->file_shm.dentry); in b43legacy_debugfs_remove_device()
465 debugfs_remove(e->file_txstat.dentry); in b43legacy_debugfs_remove_device()
466 debugfs_remove(e->file_restart.dentry); in b43legacy_debugfs_remove_device()
/drivers/gpu/drm/
Ddrm_ioc32.c107 err = drm_ioctl(file->f_path.dentry->d_inode, file, in compat_drm_version()
148 err = drm_ioctl(file->f_path.dentry->d_inode, file, in compat_drm_getunique()
177 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_drm_setunique()
208 err = drm_ioctl(file->f_path.dentry->d_inode, file, in compat_drm_getmap()
249 err = drm_ioctl(file->f_path.dentry->d_inode, file, in compat_drm_addmap()
287 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_drm_rmmap()
317 err = drm_ioctl(file->f_path.dentry->d_inode, file, in compat_drm_getclient()
354 err = drm_ioctl(file->f_path.dentry->d_inode, file, in compat_drm_getstats()
398 err = drm_ioctl(file->f_path.dentry->d_inode, file, in compat_drm_addbufs()
430 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_drm_markbufs()
[all …]
/drivers/net/wireless/b43/
Ddebugfs.h21 struct dentry;
32 struct dentry *dentry; member
39 struct dentry *subdir;
72 struct dentry *dyn_debug_dentries[__B43_NR_DYNDBG];
Ddebugfs.c41 static struct dentry *rootdir;
717 struct dentry *d; in b43_add_dynamic_debug()
790 struct dentry *d; \ in b43_debugfs_add_device()
794 e->file_##name.dentry = NULL; \ in b43_debugfs_add_device()
796 e->file_##name.dentry = d; \ in b43_debugfs_add_device()
829 debugfs_remove(e->file_shm16read.dentry); in b43_debugfs_remove_device()
830 debugfs_remove(e->file_shm16write.dentry); in b43_debugfs_remove_device()
831 debugfs_remove(e->file_shm32read.dentry); in b43_debugfs_remove_device()
832 debugfs_remove(e->file_shm32write.dentry); in b43_debugfs_remove_device()
833 debugfs_remove(e->file_mmio16read.dentry); in b43_debugfs_remove_device()
[all …]
/drivers/char/tpm/
Dtpm.h107 struct dentry **bios_dir;
144 extern struct dentry ** tpm_bios_log_setup(char *);
145 extern void tpm_bios_log_teardown(struct dentry **);
147 static inline struct dentry ** tpm_bios_log_setup(char *name) in tpm_bios_log_setup()
151 static inline void tpm_bios_log_teardown(struct dentry **dir) in tpm_bios_log_teardown()
/drivers/net/wireless/libertas/
Ddev.h118 struct dentry *debugfs_dir;
119 struct dentry *debugfs_debug;
120 struct dentry *debugfs_files[6];
122 struct dentry *events_dir;
123 struct dentry *debugfs_events_files[6];
125 struct dentry *regs_dir;
126 struct dentry *debugfs_regs_files[6];
/drivers/gpu/drm/i915/
Di915_ioc32.c69 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_i915_batchbuffer()
105 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_i915_cmdbuffer()
128 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_i915_irq_emit()
152 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_i915_getparam()
181 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_i915_alloc()
218 ret = drm_ioctl(filp->f_path.dentry->d_inode, filp, cmd, arg); in i915_compat_ioctl()
/drivers/gpu/drm/radeon/
Dradeon_ioc32.c95 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_radeon_cp_init()
128 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_radeon_cp_clear()
152 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_radeon_cp_stipple()
207 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_radeon_cp_texture()
241 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_radeon_cp_vertex2()
271 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_radeon_cp_cmdbuf()
296 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_radeon_cp_getparam()
325 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_radeon_mem_alloc()
348 return drm_ioctl(file->f_path.dentry->d_inode, file, in compat_radeon_irq_emit()
420 ret = drm_ioctl(filp->f_path.dentry->d_inode, filp, cmd, arg); in radeon_compat_ioctl()
/drivers/usb/gadget/
Datmel_usba_udc.h295 struct dentry *debugfs_dir;
296 struct dentry *debugfs_queue;
297 struct dentry *debugfs_dma_status;
298 struct dentry *debugfs_state;
335 struct dentry *debugfs_root;
336 struct dentry *debugfs_regs;
/drivers/scsi/lpfc/
Dlpfc.h380 struct dentry *debug_disc_trc;
381 struct dentry *debug_nodelist;
382 struct dentry *vport_debugfs_root;
625 struct dentry *hba_debugfs_root;
627 struct dentry *debug_hbqinfo;
628 struct dentry *debug_dumpHostSlim;
629 struct dentry *debug_dumpHBASlim;
630 struct dentry *debug_dumpData; /* BlockGuard BPL*/
631 struct dentry *debug_dumpDif; /* BlockGuard BPL*/
632 struct dentry *debug_slow_ring_trc;
/drivers/uwb/
Duwb-debug.c61 struct dentry *root_d;
62 struct dentry *command_f;
63 struct dentry *reservations_f;
64 struct dentry *accept_f;
65 struct dentry *drp_avail_f;
69 static struct dentry *root_dir;
399 struct dentry *uwb_dbg_create_pal_dir(struct uwb_pal *pal) in uwb_dbg_create_pal_dir()

123456