Lines Matching refs:cookie
4320 struct pin_cookie cookie = NIL_COOKIE; in __lock_pin_lock() local
4325 return cookie; in __lock_pin_lock()
4336 cookie.val = 1 + (prandom_u32() >> 16); in __lock_pin_lock()
4337 hlock->pin_count += cookie.val; in __lock_pin_lock()
4338 return cookie; in __lock_pin_lock()
4343 return cookie; in __lock_pin_lock()
4346 static void __lock_repin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in __lock_repin_lock() argument
4358 hlock->pin_count += cookie.val; in __lock_repin_lock()
4366 static void __lock_unpin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in __lock_unpin_lock() argument
4381 hlock->pin_count -= cookie.val; in __lock_unpin_lock()
4535 struct pin_cookie cookie = NIL_COOKIE; in lock_pin_lock() local
4539 return cookie; in lock_pin_lock()
4545 cookie = __lock_pin_lock(lock); in lock_pin_lock()
4549 return cookie; in lock_pin_lock()
4553 void lock_repin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in lock_repin_lock() argument
4564 __lock_repin_lock(lock, cookie); in lock_repin_lock()
4570 void lock_unpin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in lock_unpin_lock() argument
4581 __lock_unpin_lock(lock, cookie); in lock_unpin_lock()