Home
last modified time | relevance | path

Searched refs:EBADF (Results 1 – 15 of 15) sorted by relevance

/tools/include/uapi/asm-generic/
Derrno-base.h13 #define EBADF 9 /* Bad file number */ macro
/tools/testing/selftests/pidfd/
Dpidfd_setns_test.c131 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()
Dpidfd_getfd_test.c227 EXPECT_EQ(EBADF, errno) { in TEST_F()
/tools/testing/selftests/exec/
Dexecveat.c369 fail += check_execveat_fail(99, "", AT_EMPTY_PATH, EBADF); in run_tests()
370 fail += check_execveat_fail(99, "execveat", 0, EBADF); in run_tests()
/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector_reattach.c373 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()
Dcgroup_attach_multi.c216 CHECK_FAIL(errno != EBADF); in test_cgroup_attach_multi()
Dsockmap_listen.c337 if (!err || errno != EBADF) in test_insert_invalid()
/tools/perf/util/
Dsymbol-elf.c2268 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()
Ds390-cpumsf.c639 err = -EBADF; in s390_cpumsf_samples()
Dprobe-event.c945 if (ntevs == -EBADF) in try_to_find_probe_trace_events()
/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c36 fd = -EBADF; \
/tools/testing/selftests/cgroup/
Dtest_core.c146 int cgroup_fd = -EBADF; in test_cgcore_populated()
/tools/perf/
Dbuiltin-stat.c760 if ((errno == EINVAL || errno == EBADF) && in __run_perf_stat()
Dbuiltin-record.c923 if ((errno == EINVAL || errno == EBADF) && in record__open()
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c4135 EXPECT_EQ(errno, EBADF); in TEST()