Searched refs:in_fds (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/um/drivers/
H A Dharddog_user.c33 int in_fds[2], out_fds[2], pid, n, err; start_watchdog() local
40 err = os_pipe(in_fds, 1, 0); start_watchdog()
53 data.stdout_fd = in_fds[1]; start_watchdog()
55 data.close_me[1] = in_fds[0]; start_watchdog()
70 close(in_fds[1]); start_watchdog()
78 n = read(in_fds[0], &c, sizeof(c)); start_watchdog()
92 *in_fd_ret = in_fds[0]; start_watchdog()
97 close(in_fds[0]); start_watchdog()
98 close(in_fds[1]); start_watchdog()
/linux-4.4.14/tools/perf/bench/
H A Dsched-messaging.c49 int in_fds[2]; member in struct:receiver_context
116 close(ctx->in_fds[1]); receiver()
127 ret = read(ctx->in_fds[0], data + done, DATASIZE - done); receiver()
217 ctx->in_fds[0] = fds[0]; group()
218 ctx->in_fds[1] = fds[1]; group()

Completed in 250 milliseconds