Searched refs:EBADF (Results 1 – 15 of 15) sorted by relevance
13 #define EBADF 9 /* Bad file number */ macro
131 self->nsfds[i] = -EBADF; in FIXTURE_SETUP()132 self->child_nsfds1[i] = -EBADF; in FIXTURE_SETUP()133 self->child_nsfds2[i] = -EBADF; in FIXTURE_SETUP()316 int ns_fd2 = -EBADF; in in_same_namespace()
227 EXPECT_EQ(EBADF, errno) { in TEST_F()
369 fail += check_execveat_fail(99, "", AT_EMPTY_PATH, EBADF); in run_tests()370 fail += check_execveat_fail(99, "execveat", 0, EBADF); in run_tests()
373 if (CHECK_FAIL(!err || errno != EBADF)) { in test_link_update_invalid_opts()411 if (CHECK_FAIL(!err || errno != EBADF)) { in test_link_update_invalid_prog()
216 CHECK_FAIL(errno != EBADF); in test_cgroup_attach_multi()
337 if (!err || errno != EBADF) in test_insert_invalid()
2268 ret = -EBADF; in populate_sdt_note()2322 ret = -EBADF; in construct_sdt_notes_list()2326 ret = -EBADF; in construct_sdt_notes_list()2382 return -EBADF; in get_sdt_note_list()2386 ret = -EBADF; in get_sdt_note_list()
639 err = -EBADF; in s390_cpumsf_samples()
945 if (ntevs == -EBADF) in try_to_find_probe_trace_events()
36 fd = -EBADF; \
146 int cgroup_fd = -EBADF; in test_cgcore_populated()
760 if ((errno == EINVAL || errno == EBADF) && in __run_perf_stat()
923 if ((errno == EINVAL || errno == EBADF) && in record__open()
4135 EXPECT_EQ(errno, EBADF); in TEST()