Searched refs:p2fd (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/containers/utsname/ |
D | utstest.c | 97 int p1fd[2], p2fd[2]; variable 126 close(p2fd[0]); in P1() 144 write(p2fd[1], "1", 1); in P1() 163 write(p2fd[1], "1", 1); in P1() 189 write(p2fd[1], "1", 1); /* tell p2 to go ahead and sethostname */ in P1() 208 write(p2fd[1], "1", 1); /* tell p2 to go ahead and sethostname */ in P1() 235 close(p2fd[1]); in P2() 246 len = read(p2fd[0], hostname, 1); in P2() 255 len = read(p2fd[0], hostname, 1); in P2() 306 if (pipe(p2fd) == -1) { in main() [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_verifier.c | 441 int mfd, p1fd, p2fd, p3fd; in create_prog_array() local 453 p2fd = create_prog_dummy_loop(prog_type, mfd, p2key, 41); in create_prog_array() 455 if (p1fd < 0 || p2fd < 0 || p3fd < 0) in create_prog_array() 459 if (bpf_map_update_elem(mfd, &p2key, &p2fd, BPF_ANY) < 0) in create_prog_array() 467 close(p2fd); in create_prog_array()
|