Home
last modified time | relevance | path

Searched refs:td_node (Results 1 – 5 of 5) sorted by relevance

/netbsd-src/sys/fs/tmpfs/
H A Dtmpfs_subr.c427 KASSERT(wde != NULL && wde->td_node == TMPFS_NODE_WHITEOUT); in tmpfs_construct_node()
470 nde->td_node = NULL; /* for asserts */ in tmpfs_alloc_dirent()
482 KASSERT(de->td_node == NULL); in tmpfs_free_dirent()
511 de->td_node = node; in tmpfs_dir_attach()
556 tmpfs_node_t *node = de->td_node; in tmpfs_dir_detach()
577 de->td_node = NULL; in tmpfs_dir_detach()
637 KASSERT(de->td_node == node); in tmpfs_dir_cached()
853 if (de->td_node == TMPFS_NODE_WHITEOUT) { in tmpfs_dir_getdents()
857 dent.d_fileno = de->td_node->tn_id; in tmpfs_dir_getdents()
858 dent.d_type = vtype2dt(de->td_node->tn_type); in tmpfs_dir_getdents()
H A Dtmpfs_rename.c287 KASSERT((*fdep)->td_node == VP_TO_TMPFS_NODE(fvp)); in tmpfs_gro_rename()
289 KASSERT((tvp == NULL) || ((*tdep)->td_node == VP_TO_TMPFS_NODE(tvp))); in tmpfs_gro_rename()
331 KASSERT((*tdep)->td_node == VP_TO_TMPFS_NODE(tvp)); in tmpfs_gro_rename()
405 KASSERT((*dep)->td_node == VP_TO_TMPFS_NODE(vp)); in tmpfs_gro_remove()
439 error = vcache_get(mp, &dirent->td_node, sizeof(dirent->td_node), &vp); in tmpfs_gro_lookup()
H A Dtmpfs_vnops.c230 if (de == NULL || de->td_node == TMPFS_NODE_WHITEOUT) { in tmpfs_lookup()
247 KASSERT(de->td_node == TMPFS_NODE_WHITEOUT); in tmpfs_lookup()
253 tnode = de->td_node; in tmpfs_lookup()
730 KASSERT(de && de->td_node == node); in tmpfs_remove()
884 if (de->td_node != TMPFS_NODE_WHITEOUT) { in tmpfs_rmdir()
900 KASSERT(de && de->td_node == node); in tmpfs_rmdir()
930 KASSERT(de->td_node == TMPFS_NODE_WHITEOUT); in tmpfs_rmdir()
H A Dtmpfs.h55 struct tmpfs_node * td_node; member
H A Dtmpfs_vfsops.c273 cnode = de->td_node; in tmpfs_unmount()