/dragonfly/sys/sys/ |
H A D | namecache.h | 154 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 D | nlookup.h | 75 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 D | vfsops.h | 79 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 D | filedesc.h | 84 struct nchandle fd_ncdir; /* current directory */ 85 struct nchandle fd_nrdir; /* root directory */ 86 struct nchandle fd_njdir; /* jail directory */
|
H A D | kern_syscall.h | 46 struct nchandle; 141 int kern_chroot(struct nchandle *nch);
|
H A D | jail.h | 117 struct nchandle pr_root; /* namecache entry of root */
|
H A D | file.h | 118 struct nchandle f_nchandle; /* namecache reference */
|
H A D | vnode.h | 363 extern struct nchandle rootnch; /* root (i.e. "/") namecache */ 525 int ncp_writechk(struct nchandle *nch);
|
H A D | mount.h | 251 struct nchandle mnt_ncmountpt; /* mount point */ 252 struct nchandle mnt_ncmounton; /* mounted on */
|
H A D | proc.h | 272 struct nchandle p_textnch; /* namecache handle of executable. */
|
/dragonfly/usr.sbin/makefs/hammer2/ |
H A D | hammer2_compat.h | 174 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 D | hammer2_vnops.c | 1658 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 D | vfs_cache.c | 983 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 D | vfs_nlookup.c | 257 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 D | vfs_default.c | 185 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 D | vfs_vopops.c | 1374 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 D | vfs_synth.c | 56 struct nchandle nch; in getsynthvnode()
|
H A D | vfs_syscalls.c | 82 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 D | vfs_conf.c | 78 struct nchandle rootnch; 216 struct nchandle nch; in vfs_mountroot_devfs()
|
/dragonfly/test/debug/ |
H A D | ncptrace.c | 77 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 D | fstat.c | 138 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 D | autofs_vnops.c | 196 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 D | hammer_vnops.c | 155 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 D | procfs_vnops.c | 644 struct nchandle nch; in procfs_getattr() 1146 struct nchandle nch; in procfs_readlink()
|
/dragonfly/sys/vfs/dirfs/ |
H A D | dirfs_vnops.c | 153 struct nchandle *nch; in dirfs_nresolve() 877 struct nchandle *nch; in dirfs_nremove() 1091 struct nchandle *nch; in dirfs_nrmdir()
|