Home
last modified time | relevance | path

Searched refs:pin_cookie (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/include/linux/
Dlockdep.h380 struct pin_cookie { unsigned int val; }; argument
382 #define NIL_COOKIE (struct pin_cookie){ .val = 0U, }
384 extern struct pin_cookie lock_pin_lock(struct lockdep_map *lock);
385 extern void lock_repin_lock(struct lockdep_map *lock, struct pin_cookie);
386 extern void lock_unpin_lock(struct lockdep_map *lock, struct pin_cookie);
485 struct pin_cookie { }; struct
487 #define NIL_COOKIE (struct pin_cookie){ }
489 #define lockdep_pin_lock(l) ({ struct pin_cookie cookie = { }; cookie; })
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_request.h134 struct pin_cookie cookie;
/Linux-v5.4/kernel/locking/
Dlockdep.c4319 static struct pin_cookie __lock_pin_lock(struct lockdep_map *lock) in __lock_pin_lock()
4321 struct pin_cookie cookie = NIL_COOKIE; in __lock_pin_lock()
4347 static void __lock_repin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in __lock_repin_lock()
4367 static void __lock_unpin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in __lock_unpin_lock()
4534 struct pin_cookie lock_pin_lock(struct lockdep_map *lock) in lock_pin_lock()
4536 struct pin_cookie cookie = NIL_COOKIE; in lock_pin_lock()
4554 void lock_repin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in lock_repin_lock()
4571 void lock_unpin_lock(struct lockdep_map *lock, struct pin_cookie cookie) in lock_unpin_lock()
/Linux-v5.4/Documentation/locking/
Dlockdep-design.rst258 returns a 'struct pin_cookie' that is then used by lockdep_unpin_lock() to check
/Linux-v5.4/kernel/sched/
Dsched.h1128 struct pin_cookie cookie;