Lines Matching defs:xde
1489 struct tmpfs_dirent *xde, *nde;
1501 xde = RB_INSERT(tmpfs_dir, &dnode->tn_dir.tn_dirhead, de);
1502 if (xde != NULL && tmpfs_dirent_duphead(xde))
1503 tmpfs_dir_attach_dup(dnode, &xde->ud.td_duphead, de);
1504 else if (xde != NULL) {
1506 * Allocate new duphead. Swap xde with duphead to avoid
1509 MPASS(!tmpfs_dirent_dup(xde));
1512 /* *nde = *xde; XXX gcc 4.2.1 may generate invalid code. */
1513 memcpy(nde, xde, sizeof(*xde));
1514 xde->td_cookie |= TMPFS_DIRCOOKIE_DUPHEAD;
1515 LIST_INIT(&xde->ud.td_duphead);
1516 xde->td_namelen = 0;
1517 xde->td_node = NULL;
1518 tmpfs_dir_attach_dup(dnode, &xde->ud.td_duphead, nde);
1519 tmpfs_dir_attach_dup(dnode, &xde->ud.td_duphead, de);
1538 struct tmpfs_dirent *xde;
1550 xde = tmpfs_dir_xlookup_hash(dnode, de->td_hash);
1551 MPASS(tmpfs_dirent_duphead(xde));
1553 xde = NULL;
1556 if (xde != NULL) {
1557 if (LIST_EMPTY(&xde->ud.td_duphead)) {
1558 RB_REMOVE(tmpfs_dir, head, xde);
1560 MPASS(xde->td_node == NULL);
1561 tmpfs_free_dirent(tmp, xde);