Searched refs:lock_fd (Results 1 – 1 of 1) sorted by relevance
95 int lock_fd = open(lock_path_.c_str(), O_RDONLY); in WakeLockHeld() local96 assert(lock_fd >= 0); in WakeLockHeld()102 fstat(lock_fd, &lock_stat); in WakeLockHeld()108 MAP_PRIVATE, lock_fd, 0); in WakeLockHeld()123 close(lock_fd); in WakeLockHeld()