Lines Matching defs:vnode

46 	struct vnode	*vnode;
182 vfs_asynchronous_read_pages(fRef->vnode, NULL, fOffset, fVecs, fVecCount,
340 status_t status = vfs_read_pages(ref->vnode, cookie, offset, vecs, count,
478 status_t status = vfs_read_pages(ref->vnode, cookie, offset + pageOffset,
544 status = vfs_read_pages(ref->vnode, cookie, offset, &readVec, 1,
567 status = vfs_read_pages(ref->vnode, cookie,
606 status_t status = vfs_write_pages(ref->vnode, cookie, offset, vecs,
632 write_zeros_to_file(struct vnode* vnode, void* cookie, off_t offset,
654 status = vfs_write_pages(vnode, cookie, offset,
680 status = write_zeros_to_file(ref->vnode, cookie, offset + pageOffset,
687 status = vfs_write_pages(ref->vnode, cookie, offset + pageOffset,
954 cache_prefetch_vnode(struct vnode* vnode, off_t offset, size_t size)
960 if (vfs_get_vnode_cache(vnode, &cache, false) != B_OK)
1043 TRACE(("cache_prefetch(vnode %ld:%lld)\n", mountID, vnodeID));
1045 // get the vnode for the object, this also grabs a ref to it
1046 struct vnode* vnode;
1047 if (vfs_get_vnode(mountID, vnodeID, true, &vnode) != B_OK)
1050 cache_prefetch_vnode(vnode, offset, size);
1051 vfs_put_vnode(vnode);
1056 cache_node_opened(struct vnode* vnode, int32 fdType, VMCache* cache,
1069 sCacheModule->node_opened(vnode, fdType, mountID, parentID, vnodeID, name,
1075 cache_node_closed(struct vnode* vnode, int32 fdType, VMCache* cache,
1086 sCacheModule->node_closed(vnode, fdType, mountID, vnodeID, accessType);
1157 // the vnode lock, maybe a dedicated one.
1162 // Get the vnode for the object
1164 if (vfs_lookup_vnode(mountID, vnodeID, &ref->vnode) != B_OK)
1168 if (vfs_get_vnode_cache(ref->vnode, &ref->cache, true) != B_OK)
1322 status_t error = vfs_read_pages(ref->vnode, cookie, offset, &vec, 1, 0,
1349 status_t error = vfs_write_pages(ref->vnode, cookie, offset, &vec,
1354 return write_zeros_to_file(ref->vnode, cookie, offset, _size);