Lines Matching defs:xde
1286 struct tmpfs_dirent *xde, *nde;
1298 xde = RB_INSERT(tmpfs_dir, &dnode->tn_dir.tn_dirhead, de);
1299 if (xde != NULL && tmpfs_dirent_duphead(xde))
1300 tmpfs_dir_attach_dup(dnode, &xde->ud.td_duphead, de);
1301 else if (xde != NULL) {
1303 * Allocate new duphead. Swap xde with duphead to avoid
1306 MPASS(!tmpfs_dirent_dup(xde));
1309 /* *nde = *xde; XXX gcc 4.2.1 may generate invalid code. */
1310 memcpy(nde, xde, sizeof(*xde));
1311 xde->td_cookie |= TMPFS_DIRCOOKIE_DUPHEAD;
1312 LIST_INIT(&xde->ud.td_duphead);
1313 xde->td_namelen = 0;
1314 xde->td_node = NULL;
1315 tmpfs_dir_attach_dup(dnode, &xde->ud.td_duphead, nde);
1316 tmpfs_dir_attach_dup(dnode, &xde->ud.td_duphead, de);
1335 struct tmpfs_dirent *xde;
1347 xde = tmpfs_dir_xlookup_hash(dnode, de->td_hash);
1348 MPASS(tmpfs_dirent_duphead(xde));
1350 xde = NULL;
1353 if (xde != NULL) {
1354 if (LIST_EMPTY(&xde->ud.td_duphead)) {
1355 RB_REMOVE(tmpfs_dir, head, xde);
1357 MPASS(xde->td_node == NULL);
1358 tmpfs_free_dirent(tmp, xde);