Lines Matching refs:ovp
181 ffs_truncate_internal(vnode_t ovp, off_t length, int flags, ucred_t cred)
202 oip = VTOI(ovp);
209 if (ovp->v_type == VLNK &&
210 oip->i_size < ovp->v_mount->mnt_maxsymlinklen) {
218 return (ffs_update(ovp, &tv, &tv, 1));
223 return (ffs_update(ovp, &tv, &tv, 0));
246 if (UBCINFOEXISTS(ovp)) {
249 ubc_setsize(ovp, (off_t)length);
257 return (ffs_update(ovp, &tv, &tv, 1));
266 if (UBCINFOEXISTS(ovp))
267 ubc_setsize(ovp, (off_t)length);
272 ffs_fsync_internal(ovp, MNT_WAIT);
273 allerror = buf_invalidateblks(ovp, vflags, 0, 0);
289 if (UBCINFOEXISTS(ovp)) {
310 devBlockSize = vfs_devblocksize(vnode_mount(ovp));
328 if (error = ffs_update(ovp, &tv, &tv, MNT_WAIT))
343 ffs_fsync_internal(ovp, MNT_WAIT);
344 allerror = buf_invalidateblks(ovp, vflags, 0, 0);
424 (vnode_hasdirtyblks(ovp) || vnode_hascleanblks(ovp)))