Lines Matching refs:vnode
29 #include "vnode.h"
42 * Register a character driver vnode the pseudo file system.
45 * path - The path to the vnode to create
48 * priv - Private, user data that will be associated with the vnode.
51 * Zero on success (with the vnode point in 'vnode'); A negated errno
56 * EEXIST - An vnode already exists at 'path'
64 struct Vnode *vnode = NULL;
73 ret = VnodeLookup(path, &vnode, 0);
80 /* Insert a dummy node -- we need to hold the vnode semaphore because we
90 ret = VnodeLookup(path, &vnode, V_CREATE | V_DUMMY);
94 * NOTE that the initial reference count on the new vnode is zero.
96 vnode->type = VNODE_TYPE_CHR;
97 vnode->data = data;
98 vnode->mode = mode;
99 vnode->fop = (struct file_operations_vfs *)fops;