Home
last modified time | relevance | path

Searched refs:EMFILE (Results 1 - 25 of 108) sorted by relevance

12345

/third_party/rust/crates/nix/src/
H A Derrno.rs172 EMFILE => "Too many open files",
1148 EMFILE = libc::EMFILE,
1293 libc::EMFILE => EMFILE,
1438 EMFILE = libc::EMFILE,
1556 libc::EMFILE => EMFILE,
1674 EMFILE
[all...]
/third_party/musl/libc-test/src/regression/
H A Ddaemon-failure.c51 if (errno != EMFILE) in main()
52 t_error("daemon should have failed with %d [EMFILE] got %d [%s]\n", EMFILE, errno, strerror(errno)); in main()
H A Drlimit-open-files.c27 if (errno != EMFILE) in main()
28 t_error("dup(1) failed with %s, wanted EMFILE\n", strerror(errno)); in main()
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen04.c10 * Verify that open(2) fails with EMFILE when per-process limit on the number
38 if (errno != EMFILE) in setup()
39 tst_brk(TBROK, "Expected EMFILE but got %d", errno); in setup()
50 TST_EXP_FAIL2(open(fname, O_RDWR | O_CREAT, 0777), EMFILE); in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/errno_h/
H A D3-2.c58 EMFILE, "EMFILE", EMFILE}, {
H A D4-1.c53 EMFILE, "EMFILE"}, {
/third_party/musl/libc-test/src/common/
H A Dfdfill.c10 if (errno == EMFILE) in t_fdfill()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
H A D38-1.c10 * Test that the shm_open() function sets errno = EMFILE if too many file
31 if (errno == EMFILE) { in main()
/third_party/NuttX/fs/vfs/
H A Dfs_dupfd.c96 set_errno(EMFILE); in file_dup()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
H A Dfopen.c30 errno = EMFILE; in fopen()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
H A Dfopen.c28 errno = EMFILE; in fopen()
/third_party/musl/porting/uniproton/kernel/src/stdio/
H A Dfopen.c28 errno = EMFILE; in fopen()
/third_party/ltp/testcases/kernel/syscalls/pipe/
H A Dpipe06.c12 * Verify that, pipe(2) syscall fails with errno EMFILE when
41 TST_EXP_FAIL(pipe(fds), EMFILE); in run() local
H A Dpipe07.c75 TST_EXP_EQ_LI(errno, EMFILE); in run()
/third_party/ltp/testcases/kernel/syscalls/dup/
H A Ddup03.c10 * Verify that dup(2) syscall fails with errno EMFILE when the per-process
22 TST_EXP_FAIL2(dup(fd[0]), EMFILE, "dup(%d)", fd[0]); in run() local
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl12.c13 * - EMFILE when cmd is F_DUPFD and the per-process limit on the number of open
39 TST_EXP_FAIL2(fcntl(1, F_DUPFD, 1), EMFILE, in verify_fcntl()
/third_party/libuv/include/uv/
H A Derrno.h197 #if defined(EMFILE) && !defined(_WIN32)
198 # define UV__EMFILE UV__ERR(EMFILE)
/third_party/node/deps/uv/include/uv/
H A Derrno.h197 #if defined(EMFILE) && !defined(_WIN32)
198 # define UV__EMFILE UV__ERR(EMFILE)
/third_party/libfuse/example/
H A Dpassthrough_hp.cc415 if (err == ENFILE || err == EMFILE) in sfs_lookup()
450 if (saverr == ENFILE || saverr == EMFILE) in mknod_symlink()
682 if (error == ENFILE || error == EMFILE) in sfs_opendir()
775 if (err == ENFILE || err == EMFILE) in do_readdir()
819 if (err == ENFILE || err == EMFILE) in sfs_create()
829 if (err == ENFILE || err == EMFILE) in sfs_create()
881 if (err == ENFILE || err == EMFILE) in sfs_open()
/third_party/ltp/testcases/kernel/syscalls/dup2/
H A Ddup205.c61 if (TST_ERR != EBADF && TST_ERR != EMFILE && TST_ERR != EINVAL) { in run()
/third_party/ltp/testcases/kernel/syscalls/creat/
H A Dcreat05.c8 * Testcase to check that creat(2) system call returns EMFILE.
35 if (TST_ERR == EMFILE) in verify_creat()
36 tst_res(TPASS, "creat() failed with EMFILE"); in verify_creat()
38 tst_res(TFAIL | TTERRNO, "Expected EMFILE"); in verify_creat()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/speculative/
H A D26-1.c10 * Test that mq_open() fails with EMFILE if there are too many message
15 * descriptors or file descriptors open and check that errno == EMFILE.
68 if (errno != EMFILE) { in main()
69 printf("errno != EMFILE on > "); in main()
/third_party/libuv/test/
H A Dtest-emfile.c75 ASSERT_EQ(errno, EMFILE); in TEST_IMPL()
78 /* Now connect and use up the last available file descriptor. The EMFILE in TEST_IMPL()
/third_party/ltp/testcases/kernel/containers/mqns/
H A Dmqns_03.c34 #define CHECK_MQ_OPEN_RET(x) ((x) >= 0 || ((x) == -1 && errno != EMFILE))
H A Dmqns_04.c32 #define CHECK_MQ_OPEN_RET(x) ((x) >= 0 || ((x) == -1 && errno != EMFILE))

Completed in 9 milliseconds

12345