HomeSort by relevance Sort by last modified time
    Searched refs:state_fd (Results 1 - 2 of 2) sorted by null

  /system/core/libsuspend/
autosuspend_wakeup_count.c 35 static int state_fd; variable
79 ret = write(state_fd, sleep_state, strlen(sleep_state));
144 state_fd = open(SYS_POWER_STATE, O_RDWR);
145 if (state_fd < 0) {
179 close(state_fd);
  /external/e2fsprogs/lib/uuid/
gen_uuid.c 310 THREAD_LOCAL int state_fd = -2; local
319 if (state_fd == -2) {
321 state_fd = open("/var/lib/libuuid/clock.txt",
324 state_f = fdopen(state_fd, "r+");
326 close(state_fd);
327 state_fd = -1;
335 if (state_fd >= 0) {
337 while (fcntl(state_fd, F_SETLKW, &fl) < 0) {
341 close(state_fd);
342 state_fd = -1
    [all...]

Completed in 70 milliseconds