Lines Matching refs:dfs_fdtable
37 static struct dfs_fdtable _fdtab;
38 static int fd_alloc(struct dfs_fdtable *fdt, int startfd);
183 static int fd_slot_expand(struct dfs_fdtable *fdt, int fd) in fd_slot_expand()
239 static int fd_slot_alloc(struct dfs_fdtable *fdt, int startfd) in fd_slot_alloc()
274 static int fd_alloc(struct dfs_fdtable *fdt, int startfd) in fd_alloc()
305 int fdt_fd_new(struct dfs_fdtable *fdt) in fdt_fd_new()
327 struct dfs_fdtable *fdt = NULL; in fd_new()
343 struct dfs_file *fdt_fd_get(struct dfs_fdtable* fdt, int fd) in fdt_fd_get()
369 struct dfs_fdtable *fdt; in fd_get()
384 void fdt_fd_release(struct dfs_fdtable* fdt, int fd) in fdt_fd_release()
431 struct dfs_fdtable *fdt; in fd_release()
454 struct dfs_fdtable *fdt = NULL; in sys_dup()
497 struct dfs_fdtable *fdt; in fd_is_open()
562 struct dfs_fdtable *fdt = NULL; in sys_dup2()
615 static int fd_get_fd_index_form_fdt(struct dfs_fdtable *fdt, struct dfs_file *file) in fd_get_fd_index_form_fdt()
646 struct dfs_fdtable *fdt; in fd_get_fd_index()
667 int fd_associate(struct dfs_fdtable *fdt, int fd, struct dfs_file *file) in fd_associate()
889 struct dfs_fdtable *dfs_fdtable_get(void) in dfs_fdtable_get()
891 struct dfs_fdtable *fdt; in dfs_fdtable_get()
908 struct dfs_fdtable *dfs_fdtable_get_pid(int pid) in dfs_fdtable_get_pid()
911 struct dfs_fdtable *fdt = RT_NULL; in dfs_fdtable_get_pid()
925 struct dfs_fdtable *dfs_fdtable_get_global(void) in dfs_fdtable_get_global()
934 struct dfs_fdtable *fd_table; in list_fd()
977 struct dfs_fdtable *fd_table = RT_NULL; in lsofp()