Lines Matching defs:lock
59 int get_expired_time(struct wake_lock *lock, ktime_t *expire_time) in get_expired_time()
86 static int print_lock_stat(char *buf, int len, struct wake_lock *lock) in print_lock_stat()
131 struct wake_lock *lock; in wakelocks_read_proc() local
159 static void wake_unlock_stat_locked(struct wake_lock *lock, int expired) in wake_unlock_stat_locked()
187 struct wake_lock *lock; in update_sleep_wait_stats_locked() local
213 static void expire_wake_lock(struct wake_lock *lock) in expire_wake_lock()
229 struct wake_lock *lock; in print_active_locks() local
247 struct wake_lock *lock, *n; in has_wake_lock_locked() local
345 void wake_lock_init(struct wake_lock *lock, int type, const char *name) in wake_lock_init()
373 void wake_lock_destroy(struct wake_lock *lock) in wake_lock_destroy()
401 struct wake_lock *lock, long timeout, int has_timeout) in wake_lock_internal()
475 void wake_lock(struct wake_lock *lock) in wake_lock()
481 void wake_lock_timeout(struct wake_lock *lock, long timeout) in wake_lock_timeout()
487 void wake_unlock(struct wake_lock *lock) in wake_unlock()
528 int wake_lock_active(struct wake_lock *lock) in wake_lock_active()