spin_lock
{"raw_spin_unlock", UNLOCK, spin_lock, 0, ret_any},
{"_raw_spin_lock", LOCK, spin_lock, 0, ret_any},
{"_raw_spin_lock_nested", LOCK, spin_lock, 0, ret_any},
{"_raw_spin_unlock", UNLOCK, spin_lock, 0, ret_any},
{"__raw_spin_lock", LOCK, spin_lock, 0, ret_any},
{"__raw_spin_unlock", UNLOCK, spin_lock, 0, ret_any},
{"spin_lock_irq", LOCK, spin_lock, 0, ret_any},
{"spin_unlock_irq", UNLOCK, spin_lock, 0, ret_any},
{"_spin_lock_irq", LOCK, spin_lock, 0, ret_any},
{"_spin_unlock_irq", UNLOCK, spin_lock, 0, ret_any},
{"__spin_lock_irq", LOCK, spin_lock, 0, ret_any},
{"__spin_unlock_irq", UNLOCK, spin_lock, 0, ret_any},
{"_raw_spin_lock_irq", LOCK, spin_lock, 0, ret_any},
{"_raw_spin_unlock_irq", UNLOCK, spin_lock, 0, ret_any},
{"__raw_spin_unlock_irq", UNLOCK, spin_lock, 0, ret_any},
{"spin_lock_irqsave", LOCK, spin_lock, 0, ret_any},
{"spin_unlock_irqrestore", UNLOCK, spin_lock, 0, ret_any},
{"_spin_lock_irqsave", LOCK, spin_lock, 0, ret_any},
{"_spin_unlock_irqrestore", UNLOCK, spin_lock, 0, ret_any},
{"__spin_lock_irqsave", LOCK, spin_lock, 0, ret_any},
{"__spin_unlock_irqrestore", UNLOCK, spin_lock, 0, ret_any},
{"_raw_spin_lock_irqsave", LOCK, spin_lock, 0, ret_any},
{"_raw_spin_unlock_irqrestore", UNLOCK, spin_lock, 0, ret_any},
{"__raw_spin_lock_irqsave", LOCK, spin_lock, 0, ret_any},
{"__raw_spin_unlock_irqrestore", UNLOCK, spin_lock, 0, ret_any},
{"spin_lock_irqsave_nested", LOCK, spin_lock, 0, ret_any},
{"_spin_lock_irqsave_nested", LOCK, spin_lock, 0, ret_any},
{"__spin_lock_irqsave_nested", LOCK, spin_lock, 0, ret_any},
{"_raw_spin_lock_irqsave_nested", LOCK, spin_lock, 0, ret_any},
{"spin_lock_bh", LOCK, spin_lock, 0, ret_any},
{"spin_unlock_bh", UNLOCK, spin_lock, 0, ret_any},
{"_spin_lock_bh", LOCK, spin_lock, 0, ret_any},
{"_spin_unlock_bh", UNLOCK, spin_lock, 0, ret_any},
{"__spin_lock_bh", LOCK, spin_lock, 0, ret_any},
{"__spin_unlock_bh", UNLOCK, spin_lock, 0, ret_any},
{"spin_trylock", LOCK, spin_lock, 0, ret_one},
{"_spin_trylock", LOCK, spin_lock, 0, ret_one},
{"__spin_trylock", LOCK, spin_lock, 0, ret_one},
{"raw_spin_trylock", LOCK, spin_lock, 0, ret_one},
{"_raw_spin_trylock", LOCK, spin_lock, 0, ret_one},
{"spin_trylock_irq", LOCK, spin_lock, 0, ret_one},
{"spin_trylock_irqsave", LOCK, spin_lock, 0, ret_one},
{"spin_trylock_bh", LOCK, spin_lock, 0, ret_one},
{"_spin_trylock_bh", LOCK, spin_lock, 0, ret_one},
{"__spin_trylock_bh", LOCK, spin_lock, 0, ret_one},
{"__raw_spin_trylock", LOCK, spin_lock, 0, ret_one},
{"_atomic_dec_and_lock", LOCK, spin_lock, 1, ret_one},
[spin_lock] = "spin_lock",
{"spin_lock", LOCK, spin_lock, 0, ret_any},
{"spin_unlock", UNLOCK, spin_lock, 0, ret_any},
{"spin_lock_nested", LOCK, spin_lock, 0, ret_any},
{"_spin_lock", LOCK, spin_lock, 0, ret_any},
{"_spin_unlock", UNLOCK, spin_lock, 0, ret_any},
{"_spin_lock_nested", LOCK, spin_lock, 0, ret_any},
{"__spin_lock", LOCK, spin_lock, 0, ret_any},
{"__spin_unlock", UNLOCK, spin_lock, 0, ret_any},
{"__spin_lock_nested", LOCK, spin_lock, 0, ret_any},
{"raw_spin_lock", LOCK, spin_lock, 0, ret_any},
# define MUTEX_ENTER(x) spin_lock(&(x)->ipf_lk)
spin_lock(qlock);
spin_lock(&sge->cmdQ[0].cq_qlock);
spin_lock(&sge->cmdQ[1].cq_qlock);