Lines Matching refs:dfs_fdtable
40 static struct dfs_fdtable _fdtab = {0};
57 static int _fdt_slot_expand(struct dfs_fdtable *fdt, int fd) in _fdt_slot_expand()
105 static int _fdt_slot_alloc(struct dfs_fdtable *fdt, int startfd) in _fdt_slot_alloc()
144 static int _fdt_fd_alloc(struct dfs_fdtable *fdt, int startfd) in _fdt_fd_alloc()
298 int fdt_fd_new(struct dfs_fdtable *fdt) in fdt_fd_new()
350 void fdt_fd_release(struct dfs_fdtable *fdt, int fd) in fdt_fd_release()
381 struct dfs_file *fdt_get_file(struct dfs_fdtable *fdt, int fd) in fdt_get_file()
412 int fdt_fd_associate_file(struct dfs_fdtable *fdt, int fd, struct dfs_file *file) in fdt_fd_associate_file()
459 struct dfs_fdtable *fdt; in fd_new()
473 struct dfs_fdtable *fdt; in fd_release()
489 struct dfs_fdtable *fdt; in fd_get()
499 struct dfs_fdtable *dfs_fdtable_get(void) in dfs_fdtable_get()
501 struct dfs_fdtable *fdt; in dfs_fdtable_get()
531 struct dfs_fdtable *dfs_fdtable_get_from_pid(int pid) in dfs_fdtable_get_from_pid()
534 struct dfs_fdtable *fdt = RT_NULL; in dfs_fdtable_get_from_pid()
553 struct dfs_fdtable *dfs_fdtable_get_global(void) in dfs_fdtable_get_global()
569 int dfs_fdtable_dup(struct dfs_fdtable *fdt_dst, struct dfs_fdtable *fdt_src, int fd_src) in dfs_fdtable_dup()
634 int dfs_fdtable_drop_fd(struct dfs_fdtable *fdt, int fd) in dfs_fdtable_drop_fd()
672 struct dfs_fdtable *fdt = NULL; in dfs_dup()
712 int dfs_dup_to(int oldfd, struct dfs_fdtable *fdtab) in dfs_dup_to()
715 struct dfs_fdtable *fdt = NULL; in dfs_dup_to()
760 int dfs_dup_from(int oldfd, struct dfs_fdtable *fdtab) in dfs_dup_from()
847 struct dfs_fdtable *fdt = NULL; in sys_dup2()
1110 struct dfs_fdtable *fd_table; in list_fd()