Home
last modified time | relevance | path

Searched refs:EEXIST (Results 1 – 25 of 75) sorted by relevance

123

/tools/testing/selftests/bpf/
A Dcgroup_helpers.c206 if (mkdir(CGROUP_MOUNT_PATH, 0777) && errno != EEXIST) { in setup_cgroup_environment()
230 if (mkdir(cgroup_workdir, 0777) && errno != EEXIST) { in setup_cgroup_environment()
431 if (mkdir(cgroup_path, 0777) && errno != EEXIST) { in create_and_get_cgroup()
553 if (mkdir(NETCLS_MOUNT_PATH, 0777) && errno != EEXIST) { in setup_classid_environment()
576 if (mkdir(cgroup_workdir, 0777) && errno != EEXIST) { in setup_classid_environment()
/tools/include/uapi/asm-generic/
A Derrno-base.h21 #define EEXIST 17 /* File exists */ macro
/tools/testing/selftests/kvm/arm64/
A Dsmccc_filter.c107 TEST_ASSERT(r < 0 && errno == EEXIST, in test_filter_reserved_range()
114 TEST_ASSERT(r < 0 && errno == EEXIST, in test_filter_reserved_range()
170 TEST_ASSERT(r < 0 && errno == EEXIST, in test_filter_overlap()
A Dvgic_init.c201 TEST_ASSERT(ret && errno == EEXIST, "GIC redist base set again"); in subtest_dist_rdist()
673 TEST_ASSERT(ret && errno == EEXIST, "ITS base set again"); in test_v3_its_region()
740 TEST_ASSERT(ret < 0 && errno == EEXIST, "create GIC device twice"); in test_kvm_device()
748 TEST_ASSERT(ret < 0 && (errno == EINVAL || errno == EEXIST), in test_kvm_device()
/tools/lib/bpf/
A Dstrset.c71 if (err == -EEXIST) in strset__new()
170 if (err == -EEXIST) in strset__add_str()
A Dstr_error.c60 case -EEXIST: return "-EEXIST"; in libbpf_errstr()
/tools/testing/selftests/bpf/progs/
A Dcrypto_common.h60 return -EEXIST; in crypto_ctx_insert()
A Dtest_misc_tcp_hdr_options.c195 if (err != -EEXIST) in write_active_opt()
202 if (err != -EEXIST) in write_active_opt()
239 if (err != -EEXIST) in write_active_opt()
A Dcgrp_kfunc_common.h73 return -EEXIST; in cgrps_kfunc_map_insert()
A Dtask_kfunc_common.h71 return -EEXIST; in tasks_kfunc_map_insert()
A Dcrypto_bench.c49 if (err && err != -EEXIST) in crypto_setup()
A Dcrypto_sanity.c81 if (err && err != -EEXIST) in skb_crypto_setup()
A Dcpumask_common.h123 return -EEXIST; in cpumask_map_insert()
A Dtest_sk_lookup.c235 if (err != -EEXIST) { in sk_assign_eexist()
237 err, -EEXIST); in sk_assign_eexist()
307 if (err != -EEXIST) in sk_assign_null()
/tools/testing/selftests/net/tcp_ao/
A Dbench-lookups.c52 if (err && err != -EEXIST) in test_add_routes()
282 if (ret && ret != -EEXIST) in client_addr_setup()
285 if (ret && ret != -EEXIST) in client_addr_setup()
A Dsetsockopt-closed.c773 setsockopt_checked(sk, TCP_AO_ADD_KEY, &ao, EEXIST, "duplicate: full copy"); in duplicate_tests()
781 setsockopt_checked(sk, TCP_AO_ADD_KEY, &ao, EEXIST, "duplicate: any addr key on the socket"); in duplicate_tests()
788 setsockopt_checked(sk, TCP_AO_ADD_KEY, &ao, EEXIST, "duplicate: add any addr key"); in duplicate_tests()
798 setsockopt_checked(sk, TCP_AO_ADD_KEY, &ao, EEXIST, "duplicate: add any addr for the same subnet"); in duplicate_tests()
803 setsockopt_checked(sk, TCP_AO_ADD_KEY, &ao, EEXIST, "duplicate: full copy of a key"); in duplicate_tests()
809 setsockopt_checked(sk, TCP_AO_ADD_KEY, &ao, EEXIST, "duplicate: RecvID differs"); in duplicate_tests()
815 setsockopt_checked(sk, TCP_AO_ADD_KEY, &ao, EEXIST, "duplicate: SendID differs"); in duplicate_tests()
/tools/testing/selftests/kvm/
A Ddemand_paging_test.c89 if (r == -1 && errno != EEXIST) { in handle_uffd_page_request()
113 if (r == -1 && errno != EEXIST) { in handle_uffd_page_request()
/tools/testing/selftests/bpf/prog_tests/
A Dmap_ops.c88 ASSERT_EQ(skel->bss->err, -EEXIST, "map_update_existing"); in map_ops_update_delete_subtest()
A Dtest_bpffs.c51 if ((err && errno != EEXIST) && !ASSERT_OK(err, "mkdir " TDIR)) in fn()
/tools/testing/selftests/mm/
A Duffd-common.c414 if (ret >= 0 || req.mapped != -EEXIST) in continue_range()
579 if (uffdio_copy->copy != -EEXIST) in retry_copy_page()
616 if (uffdio_copy.copy != -EEXIST) in __copy_page()
650 if (uffdio_move.move != -EEXIST) in move_page()
/tools/perf/util/
A Drblist.c32 return -EEXIST; in rblist__add_node()
A Dbuild-id.c666 } else if (link(realname, filename) && errno != EEXIST) { in build_id_cache__add()
696 errno != EEXIST && in build_id_cache__add()
717 } else if (errno == EEXIST) { in build_id_cache__add()
930 if (mkdir(buildid_dir, 0755) != 0 && errno != EEXIST) in __perf_session__cache_build_ids()
/tools/perf/jvmti/
A Djvmti_agent.c158 if (errno != EEXIST) { in create_jit_cache_dir()
173 if (errno != EEXIST) { in create_jit_cache_dir()
/tools/usb/usbip/src/
A Dusbip_attach.c49 if (errno == EEXIST) { in record_connection()
/tools/testing/selftests/landlock/
A Daudit_test.c57 if (self->audit_fd == -EEXIST) in FIXTURE_SETUP()
328 if (self->audit_fd == -EEXIST) in FIXTURE_SETUP()
517 if (self->audit_fd == -EEXIST) in FIXTURE_SETUP()

Completed in 34 milliseconds

123