Searched refs:lock_stat (Results 1 – 1 of 1) sorted by relevance
101 struct stat lock_stat, unlock_stat; in WakeLockHeld() local102 fstat(lock_fd, &lock_stat); in WakeLockHeld()105 assert(lock_stat.st_size >= unlock_stat.st_size); in WakeLockHeld()107 void *lock_file = mmap(nullptr, lock_stat.st_size, PROT_READ, in WakeLockHeld()114 held = lock_stat.st_size > unlock_stat.st_size; in WakeLockHeld()121 munmap(lock_file, lock_stat.st_size); in WakeLockHeld()