Lines Matching refs:xde
1448 struct tmpfs_dirent *xde, *nde; in tmpfs_dir_attach() local
1460 xde = RB_INSERT(tmpfs_dir, &dnode->tn_dir.tn_dirhead, de); in tmpfs_dir_attach()
1461 if (xde != NULL && tmpfs_dirent_duphead(xde)) in tmpfs_dir_attach()
1462 tmpfs_dir_attach_dup(dnode, &xde->ud.td_duphead, de); in tmpfs_dir_attach()
1463 else if (xde != NULL) { in tmpfs_dir_attach()
1468 MPASS(!tmpfs_dirent_dup(xde)); in tmpfs_dir_attach()
1472 memcpy(nde, xde, sizeof(*xde)); in tmpfs_dir_attach()
1473 xde->td_cookie |= TMPFS_DIRCOOKIE_DUPHEAD; in tmpfs_dir_attach()
1474 LIST_INIT(&xde->ud.td_duphead); in tmpfs_dir_attach()
1475 xde->td_namelen = 0; in tmpfs_dir_attach()
1476 xde->td_node = NULL; in tmpfs_dir_attach()
1477 tmpfs_dir_attach_dup(dnode, &xde->ud.td_duphead, nde); in tmpfs_dir_attach()
1478 tmpfs_dir_attach_dup(dnode, &xde->ud.td_duphead, de); in tmpfs_dir_attach()
1497 struct tmpfs_dirent *xde; in tmpfs_dir_detach() local
1509 xde = tmpfs_dir_xlookup_hash(dnode, de->td_hash); in tmpfs_dir_detach()
1510 MPASS(tmpfs_dirent_duphead(xde)); in tmpfs_dir_detach()
1512 xde = NULL; in tmpfs_dir_detach()
1515 if (xde != NULL) { in tmpfs_dir_detach()
1516 if (LIST_EMPTY(&xde->ud.td_duphead)) { in tmpfs_dir_detach()
1517 RB_REMOVE(tmpfs_dir, head, xde); in tmpfs_dir_detach()
1519 MPASS(xde->td_node == NULL); in tmpfs_dir_detach()
1520 tmpfs_free_dirent(tmp, xde); in tmpfs_dir_detach()