Searched refs:magic (Results 1 – 10 of 10) sorted by relevance
/kernel/locking/ |
D | spinlock_debug.c | 27 lock->magic = SPINLOCK_MAGIC; in __raw_spin_lock_init() 45 lock->magic = RWLOCK_MAGIC; in __rwlock_init() 63 lock, READ_ONCE(lock->magic), in spin_dump() 83 SPIN_BUG_ON(READ_ONCE(lock->magic) != SPINLOCK_MAGIC, lock, "bad magic"); in debug_spin_lock_before() 97 SPIN_BUG_ON(lock->magic != SPINLOCK_MAGIC, lock, "bad magic"); in debug_spin_unlock() 157 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in do_raw_read_lock() 176 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in do_raw_read_unlock() 182 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in debug_write_lock_before() 196 RWLOCK_BUG_ON(lock->magic != RWLOCK_MAGIC, lock, "bad magic"); in debug_write_unlock()
|
D | mutex-debug.c | 33 waiter->magic = waiter; in debug_mutex_lock_common() 41 DEBUG_LOCKS_WARN_ON(waiter->magic != waiter); in debug_mutex_wake_waiter() 75 DEBUG_LOCKS_WARN_ON(lock->magic != lock); in debug_mutex_unlock() 90 lock->magic = lock; in debug_mutex_init() 104 lock->magic = NULL; in mutex_destroy()
|
D | rwsem.c | 110 (unsigned long) sem->magic, \ 335 sem->magic = sem; in __init_rwsem() 1367 DEBUG_RWSEMS_WARN_ON(sem->magic != sem, sem); in __down_read_trylock() 1415 DEBUG_RWSEMS_WARN_ON(sem->magic != sem, sem); in __down_write_trylock() 1433 DEBUG_RWSEMS_WARN_ON(sem->magic != sem, sem); in __up_read() 1453 DEBUG_RWSEMS_WARN_ON(sem->magic != sem, sem); in __up_write()
|
D | mutex.c | 938 DEBUG_LOCKS_WARN_ON(lock->magic != lock); in __mutex_lock_common() 1415 DEBUG_LOCKS_WARN_ON(lock->magic != lock); in mutex_trylock()
|
D | rtmutex.c | 1661 lock->magic = NULL; in rt_mutex_destroy()
|
/kernel/ |
D | cred.c | 45 .magic = CRED_MAGIC, 100 if (cred->magic != CRED_MAGIC_DEAD || in put_cred_rcu() 105 cred, cred->magic, cred->put_addr, in put_cred_rcu() 141 cred->magic = CRED_MAGIC_DEAD; in __put_cred() 223 new->magic = CRED_MAGIC; in cred_alloc_blank() 792 if (cred->magic != CRED_MAGIC) in creds_are_invalid() 810 cred->magic, cred->put_addr); in dump_invalid_creds()
|
D | scs.c | 227 unsigned long *magic = scs_magic(__scs_base(tsk)); in scs_corrupted() local 229 return READ_ONCE_NOCHECK(*magic) != SCS_END_MAGIC; in scs_corrupted()
|
/kernel/trace/ |
D | blktrace.c | 95 t->magic = BLK_IO_TRACE_MAGIC | BLK_IO_TRACE_VERSION; in trace_note() 276 t->magic = BLK_IO_TRACE_MAGIC | BLK_IO_TRACE_VERSION; in __blk_add_trace() 1504 .magic = BLK_IO_TRACE_MAGIC | BLK_IO_TRACE_VERSION, in blk_trace_synthesize_old_trace()
|
/kernel/bpf/ |
D | btf.c | 806 __btf_verifier_log(log, "magic: 0x%x\n", hdr->magic); in btf_verifier_log_hdr() 3259 if (hdr->magic != BTF_MAGIC) { in btf_parse_hdr()
|
/kernel/cgroup/ |
D | cgroup.c | 2098 ctx->kfc.magic = CGROUP2_SUPER_MAGIC; in cgroup_do_get_tree() 2100 ctx->kfc.magic = CGROUP_SUPER_MAGIC; in cgroup_do_get_tree()
|