Home
last modified time | relevance | path

Searched refs:E2BIG (Results 1 – 25 of 55) sorted by relevance

123

/tools/testing/selftests/clone3/
Dclone3.c167 test_clone3(0, sizeof(struct __clone_args) + 16, -E2BIG, in main()
170 test_clone3(0, sizeof(struct __clone_args) * 2, -E2BIG, in main()
174 test_clone3(0, getpagesize() + 8, -E2BIG, CLONE3_ARGS_NO_TEST); in main()
195 test_clone3(CLONE_NEWPID, getpagesize() + 8, -E2BIG, in main()
/tools/include/uapi/asm-generic/
Derrno-base.h11 #define E2BIG 7 /* Argument list too long */ macro
/tools/testing/selftests/bpf/progs/
Dbpf_iter_task_btf.c38 case -E2BIG: in dump_task_struct()
Ddynptr_success.c306 if (bpf_dynptr_write(&ptr, 0, &write_data, sizeof(write_data), 0) != -E2BIG) { in test_adjust_err()
344 if (bpf_dynptr_read(&read_data, sizeof(read_data), &ptr, 0, 0) != -E2BIG) { in test_zero_size_dynptr()
349 if (bpf_dynptr_write(&ptr, 0, &write_data, sizeof(write_data), 0) != -E2BIG) { in test_zero_size_dynptr()
Diters_num.c164 const volatile __s64 exp_e2big_range = -E2BIG;
/tools/testing/selftests/landlock/
Dbase_test.c51 ASSERT_EQ(E2BIG, errno); in TEST()
66 ASSERT_EQ(E2BIG, errno); in TEST()
69 ASSERT_EQ(E2BIG, errno); in TEST()
129 ASSERT_EQ(E2BIG, errno); in TEST()
Dptrace_test.c55 return E2BIG; in test_ptrace_read()
/tools/testing/selftests/kvm/aarch64/
Dvgic_init.c180 TEST_ASSERT(ret && errno == E2BIG, "dist address beyond IPA limit"); in subtest_dist_rdist()
184 TEST_ASSERT(ret && errno == E2BIG, "redist address beyond IPA limit"); in subtest_dist_rdist()
190 TEST_ASSERT(ret && errno == E2BIG, in subtest_dist_rdist()
282 TEST_ASSERT(ret && errno == E2BIG, in subtest_v3_redist_regions()
289 TEST_ASSERT(ret && errno == E2BIG, in subtest_v3_redist_regions()
657 TEST_ASSERT(ret && errno == E2BIG, in test_v3_its_region()
663 TEST_ASSERT(ret && errno == E2BIG, in test_v3_its_region()
/tools/testing/selftests/openat2/
Dopenat2_test.c77 .size = sizeof(struct open_how_ext), .err = -E2BIG }, in test_openat2_struct()
80 .size = sizeof(struct open_how_ext), .err = -E2BIG }, in test_openat2_struct()
83 .size = sizeof(struct open_how_ext), .err = -E2BIG }, in test_openat2_struct()
/tools/lib/bpf/
Dringbuf.c135 return libbpf_err(-E2BIG); in ring_buffer__add()
395 return -E2BIG; in user_ringbuf_map()
491 return errno = E2BIG, NULL; in user_ring_buffer__reserve()
506 return errno = E2BIG, NULL; in user_ring_buffer__reserve()
Drelo_core.c297 return -E2BIG; in bpf_core_parse_spec()
514 return -E2BIG; in bpf_core_match_member()
659 return -E2BIG; in bpf_core_spec_match()
745 return -E2BIG; in bpf_core_calc_field_relo()
Dbpf.c270 return libbpf_err(-E2BIG); in bpf_prog_load()
323 while (errno == E2BIG && (!finfo || !linfo)) { in bpf_prog_load()
332 errno = E2BIG; in bpf_prog_load()
345 errno = E2BIG; in bpf_prog_load()
/tools/testing/selftests/bpf/prog_tests/
Dtrampoline_count.c77 if (!ASSERT_EQ(libbpf_get_error(link), -E2BIG, "E2BIG")) in serial_test_trampoline_count()
Dmap_ops.c113 ASSERT_EQ(skel->bss->err, -E2BIG, "map_push_when_full"); in map_ops_push_peek_pop_subtest()
Dxdp_context_test_run.c53 ASSERT_EQ(errno, E2BIG, "extradata-errno"); in test_xdp_context_test_run()
Dverify_pkcs7_sig.c237 ret = -E2BIG; in populate_data_item_mod()
245 ret = -E2BIG; in populate_data_item_mod()
Dbpf_loop.c38 ASSERT_EQ(skel->bss->err, -E2BIG, "over max limit"); in check_nr_loops()
/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c126 TEST_ASSERT(ret == -1 && errno == E2BIG, in test_hv_cpuid_e2big()
Dcpuid_test.c179 TEST_ASSERT(r && errno == E2BIG, KVM_IOCTL_ERROR(KVM_GET_CPUID2, r)); in test_get_cpuid2()
/tools/perf/util/
Dperf_api_probe.c181 if (fd < 0 && errno == E2BIG) in perf_can_aux_sample()
Dstrbuf.c55 return -E2BIG; in strbuf_grow()
/tools/testing/selftests/bpf/
Dtest_maps.c90 errno == E2BIG); in test_hashmap()
99 errno == E2BIG); in test_hashmap()
221 errno == E2BIG); in test_hashmap_percpu()
393 errno == E2BIG); in test_arraymap()
452 errno == E2BIG); in test_arraymap_percpu()
570 errno == E2BIG); in test_queuemap()
626 errno == E2BIG); in test_stackmap()
1334 errno == E2BIG); in test_map_large()
1731 CHECK(err >= 0 || errno != E2BIG, "reuseport array del >=max_entries", in test_reuseport_array()
1735 CHECK(err >= 0 || errno != E2BIG, in test_reuseport_array()
Dtest_sysctl.c288 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, -E2BIG, 6),
386 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, -E2BIG, 10),
434 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, -E2BIG, 6),
548 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, -E2BIG, 6),
780 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, -E2BIG, 4),
/tools/crypto/ccp/
Ddbc_cli.py11 errno.E2BIG: "Excess data provided",
/tools/perf/util/bpf_skel/
Dlock_contention.bpf.c188 if (bpf_map_update_elem(&task_data, &pid, &data, BPF_NOEXIST) == -E2BIG) in update_task_data()
401 if (err == -E2BIG) in contention_end()

123