Searched refs:filep1 (Results 1 – 3 of 3) sorted by relevance
88 struct file *filep1; in fs_dupfd2() local94 ret = fs_getfilep(fd1, &filep1); in fs_dupfd2()109 if (filep1->f_vnode == NULL) in fs_dupfd2()124 if (!file_dup2(filep1, filep2)) in fs_dupfd2()
317 int file_dup2(struct file *filep1, struct file *filep2) in file_dup2() argument324 if (!filep1 || !filep1->f_vnode || !filep2) in file_dup2()358 vnode_ptr = filep1->f_vnode; in file_dup2()362 filep2->f_oflags = filep1->f_oflags; in file_dup2()363 filep2->f_pos = filep1->f_pos; in file_dup2()364 filep2->f_vnode = filep1->f_vnode; in file_dup2()365 filep2->f_priv = filep1->f_priv; in file_dup2()366 filep2->f_path = filep1->f_path; in file_dup2()367 filep2->ops = filep1->ops; in file_dup2()368 filep2->f_refcount = filep1->f_refcount; in file_dup2()
196 int file_dup2(struct file *filep1, struct file *filep2);