Home
last modified time | relevance | path

Searched refs:tc_copy (Results 1 – 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/bind/
Dbind05.c121 struct test_case tc_copy, *tc = testcase_list + n; in test_bind() local
145 memcpy(&tc_copy, tc, sizeof(struct test_case)); in test_bind()
146 tc_copy.addrlen = tst_get_connect_address(sock, &listen_addr); in test_bind()
147 tc_copy.address = (struct sockaddr *)&listen_addr; in test_bind()
149 SAFE_PTHREAD_CREATE(&thread_id, NULL, peer_thread, &tc_copy); in test_bind()
Dbind04.c107 struct test_case tc_copy, *tc = testcase_list + n; in test_bind() local
132 memcpy(&tc_copy, tc, sizeof(struct test_case)); in test_bind()
133 tc_copy.addrlen = tst_get_connect_address(listen_sock, &listen_addr); in test_bind()
134 tc_copy.address = (struct sockaddr *)&listen_addr; in test_bind()
137 SAFE_PTHREAD_CREATE(&thread_id, NULL, peer_thread, &tc_copy); in test_bind()