Searched refs:filep1 (Results 1 – 3 of 3) sorted by relevance
85 struct file *filep1; in fs_dupfd2() local91 ret = fs_getfilep(fd1, &filep1); in fs_dupfd2()106 if (filep1->f_vnode == NULL) in fs_dupfd2()121 if (!file_dup2(filep1, filep2)) in fs_dupfd2()
314 int file_dup2(struct file *filep1, struct file *filep2) in file_dup2() argument321 if (!filep1 || !filep1->f_vnode || !filep2) in file_dup2()355 vnode_ptr = filep1->f_vnode; in file_dup2()359 filep2->f_oflags = filep1->f_oflags; in file_dup2()360 filep2->f_pos = filep1->f_pos; in file_dup2()361 filep2->f_vnode = filep1->f_vnode; in file_dup2()362 filep2->f_priv = filep1->f_priv; in file_dup2()363 filep2->f_path = filep1->f_path; in file_dup2()364 filep2->ops = filep1->ops; in file_dup2()365 filep2->f_refcount = filep1->f_refcount; in file_dup2()
193 int file_dup2(struct file *filep1, struct file *filep2);