Lines Matching refs:vnode
54 #include "vnode.h"
183 * Close an vnode (if open)
192 struct Vnode *vnode = filep->f_vnode;
195 /* Check if the struct file is open (i.e., assigned an vnode) */
218 vnode->useCount--;
220 if (vnode->type == VNODE_TYPE_BCHR)
222 ret = VnodeFree(vnode);
304 * Assign an vnode to a specific files structure. This is the heart of
344 /* If there is already an vnode contained in the new file structure,
345 * close the file and release the vnode.
356 /* Increment the reference count on the contained vnode */
488 /* If the file was properly opened, there should be an vnode assigned */
624 int close_files(struct Vnode *vnode)
633 if (open_file_vnode && (open_file_vnode == vnode))