Lines Matching refs:lock
14 /* lock contention flags from include/trace/events/lock.h */
46 /* actual lock contention statistics */
133 /* determine the key of lock stat */
245 static inline struct task_struct *get_lock_owner(__u64 lock, __u32 flags)
251 struct mutex *mutex = (void *)lock;
262 struct rw_semaphore___old *rwsem = (void *)lock;
265 struct rw_semaphore___new *rwsem = (void *)lock;
270 struct rw_semaphore *rwsem = (void *)lock;
282 static inline __u32 check_lock_type(__u64 lock, __u32 flags)
297 if (&mm_new->mmap_lock == (void *)lock)
303 if (&mm_old->mmap_sem == (void *)lock)
311 if (sighand && &sighand->siglock == (void *)lock)
332 if (pelem && pelem->lock)
340 if (pelem && pelem->lock)
373 pelem->lock = (__u64)ctx[0];
385 task = get_lock_owner(pelem->lock, pelem->flags);
429 if (pelem && pelem->lock) {
430 if (pelem->lock != ctx[0])
435 if (!pelem || pelem->lock != ctx[0])
442 pelem->lock = 0;
465 key.lock_addr_or_cgroup = pelem->lock;
480 pelem->lock = 0;
497 first.flags |= check_lock_type(pelem->lock, pelem->flags);
505 pelem->lock = 0;
520 pelem->lock = 0;
529 raw_spinlock_t lock;
545 lock_off = offsetof(struct rq___old, lock);