Lines Matching refs:vnode_ptr
320 struct Vnode *vnode_ptr = NULL; in file_dup2() local
358 vnode_ptr = filep1->f_vnode; in file_dup2()
373 if (vnode_ptr->vop) in file_dup2()
375 if (vnode_ptr->flag & VNODE_FLAG_MOUNT_NEW) in file_dup2()
383 if (vnode_ptr->vop->Open) in file_dup2()
385 ret = vnode_ptr->vop->Open(vnode_ptr, 0, 0, 0); in file_dup2()
422 struct file *files_allocate(const struct Vnode *vnode_ptr, int oflags, off_t pos, const void *priv,… in files_allocate() argument
451 filep->f_vnode = (struct Vnode *)vnode_ptr; in files_allocate()
454 filep->f_mapping = (struct page_mapping *)&vnode_ptr->mapping; in files_allocate()
456 filep->f_path = vnode_ptr->filePath; in files_allocate()
458 filep->ops = vnode_ptr->fop; in files_allocate()