Lines Matching refs:ret
32 int ret; in rproc_init() local
92 ret = pipe(rproc_pipe); in rproc_init()
93 if (ret < 0) { in rproc_init()
103 ssize_t ret; in do_rproc_start() local
105 ret = pwrite(rproc_state_fd, "start", 5, 0); in do_rproc_start()
106 if (ret < 4) in do_rproc_start()
119 ssize_t ret; in do_rproc_stop() local
121 ret = pwrite(rproc_state_fd, "stop", 4, 0); in do_rproc_stop()
122 if (ret < 4) in do_rproc_stop()
125 ret = write(rproc_pipe[1], "Y", 1); in do_rproc_stop()
126 if (ret != 1) { in do_rproc_stop()