Home
last modified time | relevance | path

Searched refs:max_files (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl12.c61 int fd, i, status, max_files; in main() local
78 max_files = getdtablesize(); in main()
79 for (i = 0; i < max_files; i++) { in main()
/external/perfetto/src/base/
Dunix_socket.cc283 size_t max_files) { in Receive() argument
291 if (max_files > 0) { in Receive()
294 static_cast<CBufLenType>(CMSG_SPACE(max_files * sizeof(int))); in Receive()
306 if (max_files > 0) { in Receive()
327 if (i < max_files) in Receive()
660 size_t max_files) { in Receive() argument
666 const ssize_t sz = sock_raw_.Receive(msg, len, fd_vec, max_files); in Receive()
/external/perfetto/include/perfetto/base/
Dunix_socket.h93 size_t max_files = 0);
264 size_t Receive(void* msg, size_t len, ScopedFile*, size_t max_files = 1);
/external/squashfs-tools/squashfs-tools/
Dunsquashfs.c2175 int i, max_files, res; in initialise_threads() local
2281 max_files = 1; in initialise_threads()
2283 max_files = rlim.rlim_cur - OPEN_FILE_MARGIN; in initialise_threads()
2285 max_files = -1; in initialise_threads()
2288 open_init(max_files); in initialise_threads()
2298 if (max_files != -1) { in initialise_threads()
2299 if(add_overflow(data_buffer_size, max_files) || in initialise_threads()
2300 add_overflow(data_buffer_size, max_files * 2)) in initialise_threads()
2303 to_reader = queue_init(max_files + data_buffer_size); in initialise_threads()
2304 to_inflate = queue_init(max_files + data_buffer_size); in initialise_threads()
[all …]
/external/kernel-headers/original/uapi/linux/
Dfs.h97 unsigned long max_files; /* tunable */ member