Lines Matching refs:dvp
1177 vnode_t *dvp, /* the directory vnode */
1192 * dvp must be a directory
1194 if (dvp->v_type != VDIR)
1202 VN_HOLD(dvp);
1203 *vpp = dvp;
1212 error = sfnode_access(VN2SFN(dvp), VEXEC, cred);
1222 node = sfnode_lookup(VN2SFN(dvp), name, VNON, 0, NULL, 0, NULL);
1232 vnode_t *dvp,
1260 error = sffs_lookup(dvp, name, &vp,
1289 sfnode_invalidate_stat_cache(VN2SFN(dvp));
1312 node = sfnode_lookup(VN2SFN(dvp), name, VNON, 0, NULL, 0, NULL);
1321 sfnode_invalidate_stat_cache(VN2SFN(dvp));
1323 node = sfnode_lookup(VN2SFN(dvp), name, VREG,
1339 vnode_t *dvp,
1363 error = sffs_lookup(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL, NULL);
1375 error = sfnode_access(VN2SFN(dvp), VWRITE, cred);
1381 sfnode_invalidate_stat_cache(VN2SFN(dvp));
1383 node = sfnode_lookup(VN2SFN(dvp), nm, VDIR,
1399 struct vnode *dvp,
1418 error = sffs_lookup(dvp, nm, &vp, NULL, 0, NULL, cred, ct, NULL, NULL);
1441 error = sfnode_access(VN2SFN(dvp), VEXEC | VWRITE, cred);
1464 sfnode_invalidate_stat_cache(VN2SFN(dvp));
1513 vnode_t *dvp,
1529 sfnode_t *node = VN2SFN(dvp);
1537 ppages = page_create_va(dvp, io_off, io_len, PG_WAIT | PG_EXCL, segp, addr);
1540 ppages = pvn_read_kluster(dvp, off, segp, addr, &io_off, &io_len, off, pagelistsize, 0);
1591 vnode_t *dvp,
1609 sfnode_t *node = VN2SFN(dvp);
1652 if ((*pagelist = page_lookup(dvp, off, SE_SHARED)) != NULL)
1654 else if ((error = sffs_readpages(dvp, off, pagelist, pagelistsize, segp, addr, segaccess)) != 0)
1686 && (*pagelist++ = page_lookup_nowait(dvp, off, SE_SHARED)))
1702 vnode_t *dvp,
1722 vnode_t *dvp,
1741 vnode_t *dvp,
1761 sfnode_t *node = VN2SFN(dvp);
1769 if (dvp->v_type != VREG)
1772 if (dvp->v_flag & VNOMAP)
1775 if (vn_has_mandatory_locks(dvp, node->sf_stat.sf_mode))
1803 vnodeargs.vp = dvp;
1825 vnode_t *dvp,
1839 if (dvp->v_flag & VNOMAP)
1848 vnode_t *dvp,
1862 if (dvp->v_flag & VNOMAP)
1915 vnode_t *dvp,
1949 if (sfnode_lookup(VN2SFN(dvp), linkname, VNON, 0, NULL, 0, NULL) !=
1955 dir = VN2SFN(dvp);
1986 vnode_t *dvp,
2002 error = sffs_lookup(dvp, name, &vp,
2009 error = sfnode_access(VN2SFN(dvp), VEXEC | VWRITE, cred);
2032 sfnode_invalidate_stat_cache(VN2SFN(dvp));