Home
last modified time | relevance | path

Searched refs:filep1 (Results 1 – 3 of 3) sorted by relevance

/third_party/NuttX/fs/vfs/
Dfs_dupfd2.c88 struct file *filep1; in fs_dupfd2() local
94 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()
/third_party/NuttX/fs/inode/
Dfs_files.c317 int file_dup2(struct file *filep1, struct file *filep2) in file_dup2() argument
324 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()
/third_party/NuttX/fs/vfs/include/
Dfile.h196 int file_dup2(struct file *filep1, struct file *filep2);