Lines Matching refs:fde

1383 	struct tmpfs_dirent *fde, *tde;
1447 fde = tde = NULL;
1450 fdvp, fdnode, fcnp, &fde, &fvp,
1458 KASSERT(fde != NULL);
1460 KASSERT(fde->td_node != NULL);
1461 KASSERT(fde->td_node->tn_vnode == fvp);
1462 KASSERT(fde->td_node->tn_type == fvp->v_type);
1478 if (fde->td_node->tn_type == VDIR) {
1483 if (!posixly_correct && (fde != tde)) {
1487 error = tmpfs_do_remove(tmpfs, fdvp, fdnode, fde, fvp,
1494 KASSERT(fde != tde);
1521 error = tmpfs_rename_check_possible(fdnode, fde->td_node,
1525 error = tmpfs_rename_check_permitted(cred, fdnode, fde->td_node,
1533 tmpfs_rename_attachdetach(tmpfs, fdvp, fde, fvp, tdvp, tde, tvp);
1545 tmpfs_strname_free(tmpfs, fde->td_name, fde->td_namelen);
1546 fde->td_namelen = (uint16_t)tcnp->cn_namelen;
1549 fde->td_name = newname;
1552 tmpfs_update(fde->td_node, TMPFS_NODE_CHANGED);
1669 struct tmpfs_dirent *fde, *tde;
1694 fde = tmpfs_dir_lookup(dnode, fcnp);
1695 if (fde == NULL) {
1700 KASSERT(fde->td_node != NULL);
1702 KASSERT(fde->td_node != dnode);
1704 KASSERT(fde->td_node != dnode->tn_spec.tn_dir.tn_parent);
1705 rw_enter_write(&fde->td_node->tn_nlock);
1706 error = tmpfs_vnode_get(mount, fde->td_node, &fvp);
1729 if (tde->td_node != fde->td_node) {
1750 *fde_ret = fde;
1780 struct tmpfs_dirent *fde, *tde;
1802 fdvp, fdnode, fcnp, 0, &fde, &fvp);
1805 fdvp, fdnode, fcnp, 0, &fde, &fvp,
1810 KASSERT(fde != NULL);
1811 KASSERT(fde->td_node != NULL);
1816 if (fde->td_node == intermediate_node) {
1821 *fde_ret = fde;
2171 * into the directory tdvp. fde is fvp's directory entry in fdvp. If
2179 struct vnode *fdvp, struct tmpfs_dirent *fde, struct vnode *fvp,
2185 KASSERT(fde != NULL);
2188 KASSERT(fde->td_node != NULL);
2189 KASSERT(fde->td_node->tn_vnode == fvp);
2203 /* tmpfs_dir_detach clobbers fde->td_node, so save it. */
2204 struct tmpfs_node *fnode = fde->td_node;
2207 tmpfs_dir_detach(fdnode, fde);
2208 tmpfs_dir_attach(tdnode, fde, fnode);