Home
last modified time | relevance | path

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

12

/netbsd-src/external/bsd/iscsi/dist/src/osd/
H A Dosdfs.c88 static int osdfs_mknod(struct inode *dir, struct dentry *dentry, int mode, int dev);
494 static int osdfs_create(struct inode *dir, struct dentry *dentry, int mode) { in osdfs_create() argument
496 iscsi_trace(TRACE_OSDFS, "osdfs_create(\"%s\")\n", dentry->d_name.name); in osdfs_create()
497 if (osdfs_mknod(dir, dentry, mode | S_IFREG, 0)!=0) { in osdfs_create()
501 …iscsi_trace(TRACE_OSDFS, "file \"%s\" is inode 0x%x\n", dentry->d_name.name, (unsigned) dentry->d_… in osdfs_create()
506 static struct dentry * osdfs_lookup(struct inode *dir, struct dentry *dentry) { in osdfs_lookup() argument
507 const char *name = dentry->d_name.name; in osdfs_lookup()
554 d_add(dentry, inode); in osdfs_lookup()
559 static int osdfs_link(struct dentry *old_dentry, struct inode * dir, struct dentry * dentry) { in osdfs_link() argument
564 const char *name = dentry->d_name.name; in osdfs_link()
[all …]
/netbsd-src/external/gpl2/gmake/dist/
H A Dvmsfunctions.c82 struct direct *dentry = &dir->dir; in readdir() local
85 memset (dentry, 0, sizeof *dentry); in readdir()
98 dentry->d_off = 0; in readdir()
100 dentry->d_fileno = 1; in readdir()
102 dentry->d_fileno = dnam->nam$w_fid[0] + (dnam->nam$w_fid[1] << 16); in readdir()
104 dentry->d_reclen = sizeof (struct direct); in readdir()
105 dentry->d_namlen = dnam->nam$b_name + dnam->nam$b_type; in readdir()
106 strncpy (dentry->d_name, dnam->nam$l_name, dentry->d_namlen); in readdir()
107 dentry->d_name[dentry->d_namlen] = '\0'; in readdir()
110 uppercasify (dentry->d_name); in readdir()
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_debugfs.c229 struct dentry *dentry; in nouveau_drm_debugfs_init() local
233 dentry = debugfs_create_file(nouveau_debugfs_files[i].name, in nouveau_drm_debugfs_init()
237 if (!dentry) in nouveau_drm_debugfs_init()
250 dentry = debugfs_lookup("vbios.rom", minor->debugfs_root); in nouveau_drm_debugfs_init()
251 if (!dentry) in nouveau_drm_debugfs_init()
254 d_inode(dentry)->i_size = drm->vbios.length; in nouveau_drm_debugfs_init()
255 dput(dentry); in nouveau_drm_debugfs_init()
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_debugfs.h81 struct dentry *dent;
86 int count, struct dentry *root,
92 int count, struct dentry *root, in drm_debugfs_create_files()
H A Ddrm_file.h84 struct dentry *debugfs_root;
H A Ddrm_crtc.h1074 struct dentry *debugfs_entry;
H A Ddrm_connector.h1367 struct dentry *debugfs_entry;
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Ddebugfs_gt_pm.h12 struct dentry;
14 void debugfs_gt_pm_register(struct intel_gt *gt, struct dentry *root);
H A Ddebugfs_engines.h12 struct dentry;
14 void debugfs_engines_register(struct intel_gt *gt, struct dentry *root);
H A Ddebugfs_gt.c21 struct dentry *root; in debugfs_gt_register()
35 struct dentry *root, in debugfs_gt_register_files()
H A Ddebugfs_engines.c34 void debugfs_engines_register(struct intel_gt *gt, struct dentry *root) in debugfs_engines_register()
H A Ddebugfs_gt.h37 struct dentry *root,
/netbsd-src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/
H A Dvchiq_debugfs.h41 struct dentry *dentry; member
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/uc/
H A Dintel_guc_log.c110 static struct dentry *create_buf_file_callback(const char *filename, in create_buf_file_callback()
111 struct dentry *parent, in create_buf_file_callback()
116 struct dentry *buf_file; in create_buf_file_callback()
140 static int remove_buf_file_callback(struct dentry *dentry) in remove_buf_file_callback() argument
142 debugfs_remove(dentry); in remove_buf_file_callback()
/netbsd-src/usr.bin/config/
H A Dmkdevsw.c93 dentry(FILE *fp, struct hashtab *t, devmajor_t i, char p) in dentry() function
134 dentry(fp, bdevmtab, i, 'b'); in emitdevm()
149 dentry(fp, cdevmtab, i, 'c'); in emitdevm()
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_internal.h34 struct dentry;
175 struct dentry *root);
184 struct dentry *root) in drm_debugfs_init()
H A Ddrm_debugfs.c181 struct dentry *root, struct drm_minor *minor) in drm_debugfs_create_files()
213 struct dentry *root) in drm_debugfs_init()
432 struct dentry *root; in drm_debugfs_connector_add()
462 struct dentry *root; in drm_debugfs_crtc_add()
H A Ddrm_debugfs_crc.c373 struct dentry *crc_ent; in drm_debugfs_crtc_crc_add()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
H A Dkfd_debugfs.c33 static struct dentry *debugfs_root;
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_ras.h321 struct dentry *dir;
396 struct dentry *ent;
H A Damdgpu_ttm.h62 struct dentry *debugfs_entries[8];
/netbsd-src/sys/external/bsd/dwc2/dist/
H A Ddwc2_core.h131 struct dentry *debugfs;
733 struct dentry *debug_root;
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gvt/
H A Dgvt.h199 struct dentry *debugfs;
345 struct dentry *debugfs_root;
/netbsd-src/external/gpl3/gdb/dist/readline/readline/
H A Dcomplete.c2461 char *temp, *dentry, *convfn; in rl_filename_completion_function() local
2579 convfn = dentry = entry->d_name; in rl_filename_completion_function()
2584 convfn = (*rl_filename_rewrite_hook) (dentry, dentlen); in rl_filename_completion_function()
2585 convlen = (convfn == dentry) ? dentlen : strlen (convfn); in rl_filename_completion_function()
2665 if (convfn != dentry) in rl_filename_completion_function()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c1000 struct dentry *dir = connector->base.debugfs_entry; in connector_debugfs_init()
1182 struct dentry *root = minor->debugfs_root; in dtn_debugfs_init()

12