Lines Matching defs:nde

406 	struct tmpfs_dirent *nde;
408 nde = uma_zalloc(tmp->tm_dirent_pool, M_WAITOK);
409 nde->td_node = node;
411 nde->ud.td_name = malloc(len, M_TMPFSNAME, M_WAITOK);
412 tmpfs_dirent_init(nde, name, len);
414 nde->td_namelen = 0;
418 *de = nde;
884 * Attach duplicate-cookie directory entry nde to dnode and insert to dupindex
889 struct tmpfs_dir_duphead *duphead, struct tmpfs_dirent *nde)
898 nde->td_cookie = TMPFS_DIRCOOKIE_DUP_MIN;
900 nde->td_cookie = de->td_cookie + 1;
901 MPASS(tmpfs_dirent_dup(nde));
902 LIST_INSERT_HEAD(dupindex, nde, uh.td_dup.index_entries);
903 LIST_INSERT_HEAD(duphead, nde, uh.td_dup.entries);
910 * after inserting nde.
920 nde->td_cookie = TMPFS_DIRCOOKIE_DUP_MIN;
921 LIST_INSERT_AFTER(pde, nde, uh.td_dup.index_entries);
922 LIST_INSERT_HEAD(duphead, nde, uh.td_dup.entries);
931 nde->td_cookie = TMPFS_DIRCOOKIE_DUP_MAX;
932 LIST_INSERT_HEAD(dupindex, nde,
934 LIST_INSERT_HEAD(duphead, nde, uh.td_dup.entries);
940 nde->td_cookie = de->td_cookie + 1;
941 MPASS(tmpfs_dirent_dup(nde));
942 MPASS(pde->td_cookie > nde->td_cookie);
943 MPASS(nde->td_cookie > de->td_cookie);
944 LIST_INSERT_BEFORE(de, nde, uh.td_dup.index_entries);
945 LIST_INSERT_HEAD(duphead, nde, uh.td_dup.entries);
959 struct tmpfs_dirent *xde, *nde;
981 &nde);
982 /* *nde = *xde; XXX gcc 4.2.1 may generate invalid code. */
983 memcpy(nde, xde, sizeof(*xde));
988 tmpfs_dir_attach_dup(dnode, &xde->ud.td_duphead, nde);
1044 struct tmpfs_dirent *de, *dde, *nde;
1046 RB_FOREACH_SAFE(de, tmpfs_dir, &dnode->tn_dir.tn_dirhead, nde) {