Home
last modified time | relevance | path

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

/components/dfs/dfs_v2/src/
A Ddfs.c105 static int _fdt_slot_alloc(struct dfs_fdtable *fdt, int startfd) in _fdt_slot_alloc() argument
110 for (idx = startfd; idx < (int)fdt->maxfd; idx++) in _fdt_slot_alloc()
119 if (idx < startfd) in _fdt_slot_alloc()
121 idx = startfd; in _fdt_slot_alloc()
144 static int _fdt_fd_alloc(struct dfs_fdtable *fdt, int startfd) in _fdt_fd_alloc() argument
148 idx = _fdt_slot_alloc(fdt, startfd); in _fdt_fd_alloc()
669 int dfs_dup(int oldfd, int startfd) in dfs_dup() argument
691 newfd = _fdt_slot_alloc(fdt, startfd); in dfs_dup()
/components/dfs/dfs_v1/src/
A Ddfs.c38 static int fd_alloc(struct dfs_fdtable *fdt, int startfd);
239 static int fd_slot_alloc(struct dfs_fdtable *fdt, int startfd) in fd_slot_alloc() argument
244 for (idx = startfd; idx < (int)fdt->maxfd; idx++) in fd_slot_alloc()
253 if (idx < startfd) in fd_slot_alloc()
255 idx = startfd; in fd_slot_alloc()
274 static int fd_alloc(struct dfs_fdtable *fdt, int startfd) in fd_alloc() argument
279 idx = fd_slot_alloc(fdt, startfd); in fd_alloc()
/components/dfs/dfs_v2/include/
A Ddfs.h141 int dfs_dup(int oldfd, int startfd);

Completed in 6 milliseconds