Searched refs:in_fds (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/um/drivers/ |
H A D | harddog_user.c | 34 int in_fds[2], out_fds[2], pid, n, err; in start_watchdog() local 41 err = os_pipe(in_fds, 1, 0); in start_watchdog() 54 data.stdout_fd = in_fds[1]; in start_watchdog() 56 data.close_me[1] = in_fds[0]; in start_watchdog() 71 close(in_fds[1]); in start_watchdog() 79 n = read(in_fds[0], &c, sizeof(c)); in start_watchdog() 93 *in_fd_ret = in_fds[0]; in start_watchdog() 98 close(in_fds[0]); in start_watchdog() 99 close(in_fds[1]); in start_watchdog()
|
/openbmc/linux/tools/perf/bench/ |
H A D | sched-messaging.c | 53 int in_fds[2]; member 120 close(ctx->in_fds[1]); in receiver() 131 ret = read(ctx->in_fds[0], data + done, DATASIZE - done); in receiver() 224 ctx->in_fds[0] = fds[0]; in group() 225 ctx->in_fds[1] = fds[1]; in group()
|