Home
last modified time | relevance | path

Searched refs:nchandle (Results 1 – 25 of 33) sorted by relevance

12

/dragonfly/sys/sys/
H A Dnamecache.h154 struct nchandle { struct
194 struct nchandle *fncpd, struct nchandle *fncp,
195 struct nchandle *tncpd, struct nchandle *tncp,
204 struct nchandle cache_nlookup(struct nchandle *nch,
206 struct nchandle cache_nlookup_nonblock(struct nchandle *nch,
208 struct nchandle cache_nlookup_nonlocked(struct nchandle *nch,
231 void cache_get(struct nchandle *nch, struct nchandle *target);
236 struct nchandle *cache_hold(struct nchandle *nch);
237 void cache_copy(struct nchandle *nch, struct nchandle *target);
243 void cache_rename(struct nchandle *fnch, struct nchandle *tnch);
[all …]
H A Dnlookup.h75 struct nchandle nl_nch; /* result */
76 struct nchandle *nl_basench; /* start-point directory */
77 struct nchandle nl_rootnch; /* root directory */
78 struct nchandle nl_jailnch; /* jail directory */
161 int, struct ucred *, struct nchandle *);
163 int, struct ucred *, struct nchandle *, struct nchandle *);
164 int nlookup_mp(struct mount *mp, struct nchandle *nch);
165 struct nchandle nlookup_simple(const char *str, enum uio_seg seg,
168 int nreadsymlink(struct nlookupdata *nd, struct nchandle *nch,
H A Dvfsops.h79 struct nchandle;
470 struct nchandle *a_nch;
489 struct nchandle *a_nch; /* locked namespace */
502 struct nchandle *a_nch; /* locked namespace */
515 struct nchandle *a_nch;
528 struct nchandle *a_nch;
540 struct nchandle *a_nch;
554 struct nchandle *a_nch;
566 struct nchandle *a_nch; /* locked namespace */
577 struct nchandle *a_nch; /* locked namespace */
[all …]
H A Dfiledesc.h84 struct nchandle fd_ncdir; /* current directory */
85 struct nchandle fd_nrdir; /* root directory */
86 struct nchandle fd_njdir; /* jail directory */
H A Dkern_syscall.h46 struct nchandle;
141 int kern_chroot(struct nchandle *nch);
H A Djail.h117 struct nchandle pr_root; /* namecache entry of root */
H A Dfile.h118 struct nchandle f_nchandle; /* namecache reference */
H A Dvnode.h363 extern struct nchandle rootnch; /* root (i.e. "/") namecache */
525 int ncp_writechk(struct nchandle *nch);
H A Dmount.h251 struct nchandle mnt_ncmountpt; /* mount point */
252 struct nchandle mnt_ncmounton; /* mounted on */
H A Dproc.h272 struct nchandle p_textnch; /* namecache handle of executable. */
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_compat.h174 struct nchandle { struct
332 struct nchandle *a_nch;
346 struct nchandle *a_nch;
354 struct nchandle *a_nch;
362 struct nchandle *a_nch;
370 struct nchandle *a_nch;
377 struct nchandle *a_nch;
386 struct nchandle *a_nch;
392 struct nchandle *a_nch;
398 struct nchandle *a_fnch;
[all …]
H A Dhammer2_vnops.c1658 struct nchandle nch = { in hammer2_nresolve()
1788 struct nchandle nch = { in hammer2_nmkdir()
1941 struct nchandle nch = { in hammer2_nlink()
2044 struct nchandle nch = { in hammer2_ncreate()
2152 struct nchandle nch = { in hammer2_nmknod()
2295 struct nchandle nch = { in hammer2_nsymlink()
/dragonfly/sys/kern/
H A Dvfs_cache.c983 struct nchandle *
996 cache_copy(struct nchandle *nch, struct nchandle *target) in cache_copy()
1154 cache_lock4_tondlocked(struct nchandle *fncpd, struct nchandle *fncp, in cache_lock4_tondlocked()
1155 struct nchandle *tncpd, struct nchandle *tncp, in cache_lock4_tondlocked()
1293 cache_get(struct nchandle *nch, struct nchandle *target) in cache_get()
2085 cache_rename(struct nchandle *fnch, struct nchandle *tnch) in cache_rename()
2620 struct nchandle nch; in cache_fromdvp_try()
3227 struct nchandle
3230 struct nchandle nch; in cache_nlookup()
3601 struct nchandle
[all …]
H A Dvfs_nlookup.c257 struct ucred *cred, struct nchandle *ncstart) in nlookup_init_raw()
300 struct ucred *cred, struct nchandle *ncstart, in nlookup_init_root()
301 struct nchandle *ncroot) in nlookup_init_root()
429 struct nchandle
434 struct nchandle nch; in nlookup_simple()
534 struct nchandle nch; in nlookup()
535 struct nchandle nctmp; in nlookup()
832 struct nchandle par; in nlookup()
1404 nlookup_mp(struct mount *mp, struct nchandle *nch) in nlookup_mp()
1433 nreadsymlink(struct nlookupdata *nd, struct nchandle *nch, in nreadsymlink()
[all …]
H A Dvfs_default.c185 struct nchandle *nch; in vop_compat_nresolve()
315 struct nchandle *nch; in vop_compat_ncreate()
395 struct nchandle *nch; in vop_compat_nmkdir()
474 struct nchandle *nch; in vop_compat_nmknod()
552 struct nchandle *nch; in vop_compat_nlink()
627 struct nchandle *nch; in vop_compat_nsymlink()
711 struct nchandle *nch; in vop_compat_nwhiteout()
798 struct nchandle *nch; in vop_compat_nremove()
868 struct nchandle *nch; in vop_compat_nrmdir()
957 struct nchandle *fnch; in vop_compat_nrename()
[all …]
H A Dvfs_vopops.c1374 vop_nresolve(struct vop_ops *ops, struct nchandle *nch, in vop_nresolve()
1436 vop_ncreate(struct vop_ops *ops, struct nchandle *nch, struct vnode *dvp, in vop_ncreate()
1471 vop_nmkdir(struct vop_ops *ops, struct nchandle *nch, struct vnode *dvp, in vop_nmkdir()
1506 vop_nmknod(struct vop_ops *ops, struct nchandle *nch, struct vnode *dvp, in vop_nmknod()
1542 vop_nlink(struct vop_ops *ops, struct nchandle *nch, struct vnode *dvp, in vop_nlink()
1577 vop_nsymlink(struct vop_ops *ops, struct nchandle *nch, struct vnode *dvp, in vop_nsymlink()
1613 vop_nwhiteout(struct vop_ops *ops, struct nchandle *nch, struct vnode *dvp, in vop_nwhiteout()
1646 vop_nremove(struct vop_ops *ops, struct nchandle *nch, struct vnode *dvp, in vop_nremove()
1686 vop_nrmdir(struct vop_ops *ops, struct nchandle *nch, struct vnode *dvp, in vop_nrmdir()
1722 struct nchandle *fnch, struct nchandle *tnch, in vop_nrename()
H A Dvfs_synth.c56 struct nchandle nch; in getsynthvnode()
H A Dvfs_syscalls.c82 static void checkdirs (struct nchandle *old_nch, struct nchandle *new_nch);
120 struct nchandle nch; in sys_mount()
483 struct nchandle old_nch;
484 struct nchandle new_nch;
492 checkdirs(struct nchandle *old_nch, struct nchandle *new_nch) in checkdirs()
790 struct nchandle nch; in dounmount()
1149 struct nchandle *nch; in mount_path()
1342 struct nchandle nch; in kern_mountctl()
1912 struct nchandle onch; in kern_chdir()
2094 struct nchandle *nch; in sys_chroot_kernel()
[all …]
H A Dvfs_conf.c78 struct nchandle rootnch;
216 struct nchandle nch; in vfs_mountroot_devfs()
/dragonfly/test/debug/
H A Dncptrace.c77 static char *getncppath(kvm_t *kd, struct nchandle *nch, char *buf, int bytes);
91 struct nchandle nch; in main()
261 getncppath(kvm_t *kd, struct nchandle *nch, char *base, int bytes) in getncppath()
/dragonfly/usr.bin/fstat/
H A Dfstat.c138 static void vtrans(struct vnode *, struct nchandle *, int, int, off_t);
142 static char *getmnton(struct mount *, struct namecache_list *, struct nchandle *);
466 vtrans(struct vnode *vp, struct nchandle *ncr, int i, int flag, off_t off) in vtrans()
706 getmnton(struct mount *m, struct namecache_list *ncplist, struct nchandle *ncr) in getmnton()
/dragonfly/sys/vfs/autofs/
H A Dautofs_vnops.c196 struct nchandle *nch = ap->a_nch; in autofs_nresolve()
249 struct nchandle *nch = ap->a_nch; in autofs_nmkdir()
/dragonfly/sys/vfs/hammer/
H A Dhammer_vnops.c155 static int hammer_dounlink(hammer_transaction_t trans, struct nchandle *nch,
930 struct nchandle *nch; in hammer_vop_ncreate()
1390 struct nchandle *nch; in hammer_vop_nlink()
1454 struct nchandle *nch; in hammer_vop_nmkdir()
1530 struct nchandle *nch; in hammer_vop_nmknod()
2390 struct nchandle *nch; in hammer_vop_nsymlink()
3283 hammer_dounlink(hammer_transaction_t trans, struct nchandle *nch, in hammer_dounlink()
/dragonfly/sys/vfs/procfs/
H A Dprocfs_vnops.c644 struct nchandle nch; in procfs_getattr()
1146 struct nchandle nch; in procfs_readlink()
/dragonfly/sys/vfs/dirfs/
H A Ddirfs_vnops.c153 struct nchandle *nch; in dirfs_nresolve()
877 struct nchandle *nch; in dirfs_nremove()
1091 struct nchandle *nch; in dirfs_nrmdir()

12