Searched refs:rproc_state_fd (Results 1 – 1 of 1) sorted by relevance
19 static int rproc_state_fd; variable34 rproc_state_fd = -1; in rproc_init()47 while (rproc_state_fd < 0 && (device_de = readdir(base_dir)) != NULL) { in rproc_init()63 while (rproc_state_fd < 0 && (rproc_de = readdir(rproc_dir)) != NULL) { in rproc_init()72 rproc_state_fd = openat(rproc_fd, "state", O_WRONLY); in rproc_init()73 if (rproc_state_fd < 0) { in rproc_init()89 if (rproc_state_fd < 0) in rproc_init()94 close(rproc_state_fd); in rproc_init()105 ret = pwrite(rproc_state_fd, "start", 5, 0); in do_rproc_start()121 ret = pwrite(rproc_state_fd, "stop", 4, 0); in do_rproc_stop()