Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.6.21/lib/
Dstrscpy_kunit.c53 if (count && written == -E2BIG) { in tc()
96 tc(test, "a", 0, -E2BIG, 0, 0, 0); in strscpy_test()
97 tc(test, "", 0, -E2BIG, 0, 0, 0); in strscpy_test()
99 tc(test, "a", 1, -E2BIG, 0, 1, 0); in strscpy_test()
102 tc(test, "ab", 2, -E2BIG, 1, 1, 0); in strscpy_test()
106 tc(test, "abc", 3, -E2BIG, 2, 1, 0); in strscpy_test()
111 tc(test, "abcd", 4, -E2BIG, 3, 1, 0); in strscpy_test()
121 KUNIT_EXPECT_EQ(test, strscpy(dest, "", 0), -E2BIG); in strscpy_test()
123 KUNIT_EXPECT_EQ(test, strscpy(dest, "Fixed", 3), -E2BIG); in strscpy_test()
124 KUNIT_EXPECT_EQ(test, strscpy(dest, "Fixed", 1), -E2BIG); in strscpy_test()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/security/keys/trusted-keys/
Dtrusted_tpm2.c307 rc = -E2BIG; in tpm2_seal_trusted()
317 rc = -E2BIG; in tpm2_seal_trusted()
392 return -E2BIG; in tpm2_load_cmd()
396 return -E2BIG; in tpm2_load_cmd()
410 return -E2BIG; in tpm2_load_cmd()
426 rc = -E2BIG; in tpm2_load_cmd()
/linux-6.6.21/net/ceph/
Dcls_lock_client.c50 return -E2BIG; in ceph_cls_lock()
109 return -E2BIG; in ceph_cls_unlock()
162 return -E2BIG; in ceph_cls_break_lock()
211 return -E2BIG; in ceph_cls_set_cookie()
350 return -E2BIG; in ceph_cls_lock_info()
405 return -E2BIG; in ceph_cls_assert_locked()
/linux-6.6.21/drivers/gpu/drm/i915/
Dintel_region_ttm.c213 ret = -E2BIG; in intel_region_ttm_resource_alloc()
218 ret = -E2BIG; in intel_region_ttm_resource_alloc()
228 ret = -E2BIG; in intel_region_ttm_resource_alloc()
/linux-6.6.21/tools/testing/selftests/landlock/
Dbase_test.c50 ASSERT_EQ(E2BIG, errno); in TEST()
65 ASSERT_EQ(E2BIG, errno); in TEST()
68 ASSERT_EQ(E2BIG, errno); in TEST()
128 ASSERT_EQ(E2BIG, errno); in TEST()
/linux-6.6.21/tools/testing/selftests/kvm/aarch64/
Dvgic_init.c167 TEST_ASSERT(ret && errno == E2BIG, "dist address beyond IPA limit"); in subtest_dist_rdist()
171 TEST_ASSERT(ret && errno == E2BIG, "redist address beyond IPA limit"); in subtest_dist_rdist()
177 TEST_ASSERT(ret && errno == E2BIG, in subtest_dist_rdist()
269 TEST_ASSERT(ret && errno == E2BIG, in subtest_v3_redist_regions()
276 TEST_ASSERT(ret && errno == E2BIG, in subtest_v3_redist_regions()
610 TEST_ASSERT(ret && errno == E2BIG, in test_v3_its_region()
616 TEST_ASSERT(ret && errno == E2BIG, in test_v3_its_region()
/linux-6.6.21/fs/btrfs/
Dzstd.c438 ret = -E2BIG; in zstd_compress_pages()
445 ret = -E2BIG; in zstd_compress_pages()
454 ret = -E2BIG; in zstd_compress_pages()
504 ret = -E2BIG; in zstd_compress_pages()
511 ret = -E2BIG; in zstd_compress_pages()
526 ret = -E2BIG; in zstd_compress_pages()
Dzlib.c191 ret = -E2BIG; in zlib_compress_pages()
200 ret = -E2BIG; in zlib_compress_pages()
236 ret = -E2BIG; in zlib_compress_pages()
254 ret = -E2BIG; in zlib_compress_pages()
/linux-6.6.21/drivers/misc/lkdtm/
Dfortify.c157 if (strscpy(dst, src, 0) != -E2BIG) in lkdtm_FORTIFY_STRSCPY()
161 if (strscpy(dst, src, sizeof(dst)) != -E2BIG) in lkdtm_FORTIFY_STRSCPY()
/linux-6.6.21/fs/fuse/
Dacl.c49 acl = ERR_PTR(-E2BIG); in __fuse_get_acl()
131 return -E2BIG; in fuse_set_acl()
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c38 return -E2BIG; in huge_get_pages()
114 return ERR_PTR(-E2BIG); in huge_gem_object()
/linux-6.6.21/arch/um/os-Linux/
Dumid.c102 ret = -E2BIG; in remove_files_and_dir()
244 return -E2BIG; in set_umid()
348 return -E2BIG; in umid_file_name()
/linux-6.6.21/include/net/
Diw_handler.h512 return ERR_PTR(-E2BIG); in iwe_stream_add_event_check()
531 return ERR_PTR(-E2BIG); in iwe_stream_add_point_check()
/linux-6.6.21/kernel/trace/
Dtrace_dynevent.c306 return -E2BIG; in dynevent_arg_add()
355 return -E2BIG; in dynevent_arg_pair_add()
378 return -E2BIG; in dynevent_str_add()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_internal.c44 return -E2BIG; in i915_gem_object_get_pages_internal()
151 return ERR_PTR(-E2BIG); in __i915_gem_object_create_internal()
/linux-6.6.21/lib/crypto/mpi/
Dmpicoder.c607 return -E2BIG; in mpi_print()
630 return -E2BIG; in mpi_print()
650 return -E2BIG; in mpi_print()
690 return -E2BIG; in mpi_print()
723 return -E2BIG; in mpi_print()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
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()
Dbpf_iter_task_btf.c38 case -E2BIG: in dump_task_struct()
/linux-6.6.21/include/uapi/linux/
Dkvm_para.h17 #define KVM_E2BIG E2BIG
/linux-6.6.21/tools/testing/selftests/openat2/
Dopenat2_test.c76 .size = sizeof(struct open_how_ext), .err = -E2BIG }, in test_openat2_struct()
79 .size = sizeof(struct open_how_ext), .err = -E2BIG }, in test_openat2_struct()
82 .size = sizeof(struct open_how_ext), .err = -E2BIG }, in test_openat2_struct()
/linux-6.6.21/include/uapi/asm-generic/
Derrno-base.h11 #define E2BIG 7 /* Argument list too long */ macro
/linux-6.6.21/tools/include/uapi/asm-generic/
Derrno-base.h11 #define E2BIG 7 /* Argument list too long */ macro
/linux-6.6.21/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()
/linux-6.6.21/security/landlock/
Druleset.c83 return ERR_PTR(-E2BIG); in create_rule()
209 return -E2BIG; in insert_rule()
416 return ERR_PTR(-E2BIG); in landlock_merge_ruleset()

12345678910>>...17