Lines Matching refs:vp
86 vnode_pager_get_filesize(struct vnode *vp)
89 return (vm_object_offset_t) ubc_getsize(vp);
94 struct vnode *vp,
101 error = vn_getpath(vp, pathname, &len);
111 struct vnode *vp,
114 *filename = vp->v_name;
120 struct vnode *vp,
123 *blobs = ubc_get_cs_blobs(vp);
128 vnode_pageout(struct vnode *vp,
155 if (UBCINFOEXISTS(vp) == 0) {
174 if ( (error_ret = VNOP_PAGEOUT(vp, upl, upl_offset, (off_t)f_offset,
192 if (ubc_getsize(vp) == 0) {
201 if (vp->v_tag == VT_NFS)
203 error = nfs_buf_page_inval(vp, (off_t)f_offset);
207 blkno = ubc_offtoblk(vp, (off_t)f_offset);
208 error = buf_invalblkno(vp, blkno, 0);
282 if (vp->v_tag == VT_NFS)
284 error = nfs_buf_page_inval(vp, (off_t)f_offset);
288 blkno = ubc_offtoblk(vp, (off_t)f_offset);
289 error = buf_invalblkno(vp, blkno, 0);
324 if ( (error = VNOP_PAGEOUT(vp, upl, (vm_offset_t)offset, (off_t)f_offset,
348 struct vnode *vp,
370 if (UBCINFOEXISTS(vp) == 0) {
388 ubc_create_upl(vp, f_offset, size, &upl, &pl, UPL_NOBLOCK | UPL_RET_ONLY_ABSENT | UPL_SET_LITE);
498 if ( (error = VNOP_PAGEIN(vp, upl, (vm_offset_t) xoff,
530 vnode_t vp;
533 vp = (vnode_t)(bs_port_table[i]).vp;
534 if (vp) {
535 (bs_port_table[i]).vp = 0;
538 vnode_rele(vp);