Lines Matching refs:cookie
5379 struct pin_cookie cookie = NIL_COOKIE; in __lock_pin_lock() local
5384 return cookie; in __lock_pin_lock()
5395 cookie.val = 1 + (prandom_u32() >> 16); in __lock_pin_lock()
5396 hlock->pin_count += cookie.val; in __lock_pin_lock()
5397 return cookie; in __lock_pin_lock()
5402 return cookie; in __lock_pin_lock()
5405 static void __lock_repin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in __lock_repin_lock() argument
5417 hlock->pin_count += cookie.val; in __lock_repin_lock()
5425 static void __lock_unpin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in __lock_unpin_lock() argument
5440 hlock->pin_count -= cookie.val; in __lock_unpin_lock()
5677 struct pin_cookie cookie = NIL_COOKIE; in lock_pin_lock() local
5681 return cookie; in lock_pin_lock()
5687 cookie = __lock_pin_lock(lock); in lock_pin_lock()
5691 return cookie; in lock_pin_lock()
5695 void lock_repin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in lock_repin_lock() argument
5706 __lock_repin_lock(lock, cookie); in lock_repin_lock()
5712 void lock_unpin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in lock_unpin_lock() argument
5723 __lock_unpin_lock(lock, cookie); in lock_unpin_lock()