Home
last modified time | relevance | path

Searched refs:_unlock (Results 1 – 17 of 17) sorted by relevance

/linux/include/linux/
H A Dcleanup.h290 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ argument
291 DEFINE_CLASS(_name, _type, if (_T) { _unlock; }, ({ _lock; _T; }), _type _T); \
337 #define __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, ...) \ argument
345 if (_T->lock) { _unlock; } \
371 #define DEFINE_LOCK_GUARD_1(_name, _type, _lock, _unlock, ...) \ argument
372 __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \
375 #define DEFINE_LOCK_GUARD_0(_name, _lock, _unlock, ...) \ argument
376 __DEFINE_UNLOCK_GUARD(_name, void, _unlock, __VA_ARGS__) \
H A Dseqlock.h167 __SEQ_LOCK(lockbase##_unlock(s->lock)); \
/linux/drivers/iio/common/ssp_sensors/
H A Dssp_spi.c381 goto _unlock; in ssp_irq_msg()
394 goto _unlock; in ssp_irq_msg()
412 goto _unlock; in ssp_irq_msg()
419 _unlock: in ssp_irq_msg()
/linux/drivers/mtd/chips/
H A Dfwh_lock.h106 mtd->_unlock = fwh_unlock_varsize; in fixup_use_fwh_lock()
H A Dcfi_cmdset_0020.c236 mtd->_unlock = cfi_staa_unlock; in cfi_staa_setup()
H A Dcfi_cmdset_0002.c346 mtd->_unlock = cfi_atmel_unlock; in fixup_use_atmel_lock()
688 mtd->_unlock = cfi_ppb_unlock; in cfi_cmdset_0002()
H A Dcfi_cmdset_0001.c516 mtd->_unlock = cfi_intelext_unlock; in cfi_cmdset_0001()
/linux/drivers/mtd/spi-nor/
H A Dswp.c434 mtd->_unlock = spi_nor_unlock; in spi_nor_set_mtd_locking_ops()
/linux/drivers/mtd/lpddr/
H A Dlpddr2_nvm.c403 ._unlock = lpddr2_nvm_unlock,
H A Dlpddr_cmds.c59 mtd->_unlock = lpddr_unlock; in lpddr_cmdset()
/linux/include/linux/mtd/
H A Dmtd.h349 int (*_unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len); member
/linux/drivers/mtd/
H A Dmtdconcat.c764 concat->mtd._unlock = concat_unlock; in mtd_concat_create()
H A Dmtdcore.c2265 if (!master->_unlock) in mtd_unlock()
2277 return master->_unlock(master, mtd_get_master_ofs(mtd, ofs), len); in mtd_unlock()
/linux/kernel/sched/
H A Dsched.h2932 #define DEFINE_LOCK_GUARD_2(name, type, _lock, _unlock, ...) \ argument
2933 __DEFINE_UNLOCK_GUARD(name, type, _unlock, type *lock2; __VA_ARGS__) \
/linux/sound/core/
H A Dpcm_native.c1245 goto _unlock; in snd_pcm_action_group()
1258 goto _unlock; in snd_pcm_action_group()
1264 _unlock: in snd_pcm_action_group()
/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c3966 mtd->_unlock = onenand_unlock; in onenand_scan()
/linux/drivers/mtd/nand/raw/
H A Dnand_base.c6552 mtd->_unlock = nand_unlock; in nand_scan_tail()