Searched refs:fd_limit (Results 1 – 3 of 3) sorted by relevance
/third_party/musl/src/misc/ |
D | nftw.c | 22 …h, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struc… in do_nftw() argument 73 if ((type == FTW_D || type == FTW_DP) && fd_limit) { in do_nftw() 89 if ((r=do_nftw(path, fn, fd_limit-1, flags, &new))) { in do_nftw() 107 …ar *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags) in nftw() argument 113 if (fd_limit <= 0) return 0; in nftw() 123 r = do_nftw(pathbuf, fn, fd_limit, flags, NULL); in nftw()
|
/third_party/musl/src/legacy/ |
D | ftw.c | 3 int ftw(const char *path, int (*fn)(const char *, const struct stat *, int), int fd_limit) in ftw() argument 8 return nftw(path, (int (*)())fn, fd_limit, FTW_PHYS); in ftw()
|
/third_party/python/Lib/test/libregrtest/ |
D | setup.py | 147 fd_limit, max_fds = resource.getrlimit(RLIMIT_NOFILE) 152 if fd_limit < desired_fds and fd_limit < max_fds:
|