Home
last modified time | relevance | path

Searched refs:c2p (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/powerpc/mm/
H A Dlarge_vm_fork_separation.c26 int p2c[2], c2p[2], rc, status, c, *p; in test() local
45 FAIL_IF(pipe(p2c) == -1 || pipe(c2p) == -1); in test()
55 FAIL_IF(write(c2p[1], &c, 1) != 1); in test()
62 FAIL_IF(read(c2p[0], &c, 1) != 1); in test()
/linux/drivers/leds/
H A Dleds-tca6507.c190 static int choose_times(int msec, int *c1p, int *c2p) in choose_times() argument
233 *c2p = c2; in choose_times()
242 swap(*c2p, *c1p); in choose_times()
244 actual = time_codes[*c1p] + time_codes[*c2p]; in choose_times()
245 if (*c1p < *c2p) in choose_times()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_multi_test.c50 int c2p[2]; /* child -> parent channel */ member
67 close(child->c2p[0]); in release_child()
68 close(child->c2p[1]); in release_child()
142 err = write(child->c2p[1], &c, 1); in child_thread()
168 if (pipe(child->c2p)) { in spawn_thread()
181 close(child->c2p[0]); in spawn_thread()
182 close(child->c2p[1]); in spawn_thread()
187 err = read(child->c2p[0], &c, 1); in spawn_thread()