ret_one
if (lock->return_type == ret_one) {
{"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},
{"down_read_trylock", LOCK, read_lock, 0, ret_one},
{"generic__raw_read_trylock", LOCK, read_lock, 0, ret_one},
{"read_trylock", LOCK, read_lock, 0, ret_one},
{"_read_trylock", LOCK, read_lock, 0, ret_one},
{"raw_read_trylock", LOCK, read_lock, 0, ret_one},
{"_raw_read_trylock", LOCK, read_lock, 0, ret_one},
{"__raw_read_trylock", LOCK, read_lock, 0, ret_one},
{"__read_trylock", LOCK, read_lock, 0, ret_one},
{"write_trylock", LOCK, write_lock, 0, ret_one},
{"_write_trylock", LOCK, write_lock, 0, ret_one},
{"raw_write_trylock", LOCK, write_lock, 0, ret_one},
{"_raw_write_trylock", LOCK, write_lock, 0, ret_one},
{"__write_trylock", LOCK, write_lock, 0, ret_one},
{"__raw_write_trylock", LOCK, write_lock, 0, ret_one},
{"down_write_trylock", LOCK, write_lock, 0, ret_one},
{"mutex_trylock", LOCK, mutex, 0, ret_one},
{"spin_trylock_irq", LOCK, irq, NO_ARG, ret_one},
{"spin_trylock_irqsave", LOCK, irq, 1, ret_one},
{"spin_trylock_bh", LOCK, bottom_half, NO_ARG, ret_one},
{"_spin_trylock_bh", LOCK, bottom_half, NO_ARG, ret_one},
{"__spin_trylock_bh", LOCK, bottom_half, NO_ARG, ret_one},
{"dma_resv_trylock", LOCK, mutex, 0, ret_one},