Searched refs:child_fd (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/net/ |
H A D | bind_timewait.c | 45 int server_fd, client_fd, child_fd, ret; in create_timewait_socket() local 68 child_fd = accept(server_fd, (struct sockaddr *)&addr, &addrlen); in create_timewait_socket() 69 ASSERT_GT(child_fd, 0); in create_timewait_socket() 71 close(child_fd); in create_timewait_socket()
|
/linux/tools/testing/selftests/mm/ |
H A D | hmm-tests.c | 537 int child_fd; in TEST_F() local 586 child_fd = hmm_open(0); in TEST_F() 587 ASSERT_GE(child_fd, 0); in TEST_F() 590 ret = hmm_dmirror_cmd(child_fd, HMM_DMIRROR_WRITE, buffer, npages); in TEST_F() 599 close(child_fd); in TEST_F() 615 int child_fd; in TEST_F() local 664 child_fd = hmm_open(0); in TEST_F() 665 ASSERT_GE(child_fd, 0); in TEST_F() 668 ret = hmm_dmirror_cmd(child_fd, HMM_DMIRROR_WRITE, buffer, npages); in TEST_F() 677 close(child_fd); in TEST_F()
|