Searched refs:startfd (Results 1 – 3 of 3) sorted by relevance
| /components/dfs/dfs_v2/src/ |
| A D | dfs.c | 105 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 D | dfs.c | 38 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 D | dfs.h | 141 int dfs_dup(int oldfd, int startfd);
|
Completed in 7 milliseconds