/openbmc/linux/include/linux/ |
H A D | mutex.h | 66 struct mutex { struct 86 extern void mutex_destroy(struct mutex *lock); argument 104 #define mutex_init(mutex) \ argument 138 struct mutex { struct 139 struct rt_mutex_base rtmutex; argument 152 struct mutex mutexname = __MUTEX_INITIALIZER(mutexname) argument 162 #define __mutex_init(mutex, name, key) \ argument 168 #define mutex_init(mutex) \ argument 193 #define devm_mutex_init(dev, mutex) \ argument
|
/openbmc/qemu/util/ |
H A D | qemu-coroutine-lock.c | 142 static void coroutine_fn push_waiter(CoMutex *mutex, CoWaitRecord *w) in push_waiter() 148 static void move_waiters(CoMutex *mutex) in move_waiters() 159 static CoWaitRecord *pop_waiter(CoMutex *mutex) in pop_waiter() 174 static bool has_waiters(CoMutex *mutex) in has_waiters() 179 void qemu_co_mutex_init(CoMutex *mutex) in qemu_co_mutex_init() 184 static void coroutine_fn qemu_co_mutex_wake(CoMutex *mutex, Coroutine *co) in qemu_co_mutex_wake() 195 CoMutex *mutex) in qemu_co_mutex_lock_slowpath() 236 void coroutine_fn qemu_co_mutex_lock(CoMutex *mutex) in qemu_co_mutex_lock() 276 void coroutine_fn qemu_co_mutex_unlock(CoMutex *mutex) in qemu_co_mutex_unlock()
|
H A D | qemu-thread-common.h | 19 static inline void qemu_mutex_post_init(QemuMutex *mutex) in qemu_mutex_post_init() 28 static inline void qemu_mutex_pre_lock(QemuMutex *mutex, in qemu_mutex_pre_lock() 34 static inline void qemu_mutex_post_lock(QemuMutex *mutex, in qemu_mutex_post_lock() 44 static inline void qemu_mutex_pre_unlock(QemuMutex *mutex, in qemu_mutex_pre_unlock()
|
H A D | qemu-thread-posix.c | 67 void qemu_mutex_init(QemuMutex *mutex) in qemu_mutex_init() 77 void qemu_mutex_destroy(QemuMutex *mutex) in qemu_mutex_destroy() 88 void qemu_mutex_lock_impl(QemuMutex *mutex, const char *file, const int line) in qemu_mutex_lock_impl() 100 int qemu_mutex_trylock_impl(QemuMutex *mutex, const char *file, const int line) in qemu_mutex_trylock_impl() 116 void qemu_mutex_unlock_impl(QemuMutex *mutex, const char *file, const int line) in qemu_mutex_unlock_impl() 127 void qemu_rec_mutex_init(QemuRecMutex *mutex) in qemu_rec_mutex_init() 142 void qemu_rec_mutex_destroy(QemuRecMutex *mutex) in qemu_rec_mutex_destroy() 147 void qemu_rec_mutex_lock_impl(QemuRecMutex *mutex, const char *file, int line) in qemu_rec_mutex_lock_impl() 152 int qemu_rec_mutex_trylock_impl(QemuRecMutex *mutex, const char *file, int line) in qemu_rec_mutex_trylock_impl() 157 void qemu_rec_mutex_unlock_impl(QemuRecMutex *mutex, const char *file, int line) in qemu_rec_mutex_unlock_impl() [all …]
|
H A D | qemu-thread-win32.c | 68 void qemu_mutex_init(QemuMutex *mutex) in qemu_mutex_init() 74 void qemu_mutex_destroy(QemuMutex *mutex) in qemu_mutex_destroy() 81 void qemu_mutex_lock_impl(QemuMutex *mutex, const char *file, const int line) in qemu_mutex_lock_impl() 89 int qemu_mutex_trylock_impl(QemuMutex *mutex, const char *file, const int line) in qemu_mutex_trylock_impl() 102 void qemu_mutex_unlock_impl(QemuMutex *mutex, const char *file, const int line) in qemu_mutex_unlock_impl() 109 void qemu_rec_mutex_init(QemuRecMutex *mutex) in qemu_rec_mutex_init() 115 void qemu_rec_mutex_destroy(QemuRecMutex *mutex) in qemu_rec_mutex_destroy() 122 void qemu_rec_mutex_lock_impl(QemuRecMutex *mutex, const char *file, int line) in qemu_rec_mutex_lock_impl() 128 int qemu_rec_mutex_trylock_impl(QemuRecMutex *mutex, const char *file, int line) in qemu_rec_mutex_trylock_impl() 134 void qemu_rec_mutex_unlock_impl(QemuRecMutex *mutex, const char *file, int line) in qemu_rec_mutex_unlock_impl() [all …]
|
/openbmc/qemu/scripts/ |
H A D | analyse-locks-simpletrace.py | 22 def _get_mutex(self, mutex): argument 34 def qemu_mutex_lock(self, timestamp, mutex, filename, line): argument 41 def qemu_mutex_locked(self, timestamp, mutex, filename, line): argument 50 def qemu_mutex_unlock(self, timestamp, mutex, filename, line): argument
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_mutex.c | 128 struct nfp_cpp_mutex *mutex; in nfp_cpp_mutex_alloc() local 160 void nfp_cpp_mutex_free(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_free() 171 int nfp_cpp_mutex_lock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_lock() 217 int nfp_cpp_mutex_unlock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_unlock() 262 int nfp_cpp_mutex_trylock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_trylock()
|
/openbmc/linux/tools/include/linux/ |
H A D | spinlock.h | 25 static inline void arch_spin_lock(arch_spinlock_t *mutex) in arch_spin_lock() 30 static inline void arch_spin_unlock(arch_spinlock_t *mutex) in arch_spin_unlock() 35 static inline bool arch_spin_is_locked(arch_spinlock_t *mutex) in arch_spin_is_locked()
|
/openbmc/linux/drivers/soc/mediatek/ |
H A D | mtk-mutex.c | 316 struct mtk_mutex mutex[MTK_MUTEX_MAX_HANDLES]; member 731 void mtk_mutex_put(struct mtk_mutex *mutex) in mtk_mutex_put() 742 int mtk_mutex_prepare(struct mtk_mutex *mutex) in mtk_mutex_prepare() 750 void mtk_mutex_unprepare(struct mtk_mutex *mutex) in mtk_mutex_unprepare() 758 void mtk_mutex_add_comp(struct mtk_mutex *mutex, in mtk_mutex_add_comp() 816 void mtk_mutex_remove_comp(struct mtk_mutex *mutex, in mtk_mutex_remove_comp() 858 void mtk_mutex_enable(struct mtk_mutex *mutex) in mtk_mutex_enable() 869 int mtk_mutex_enable_by_cmdq(struct mtk_mutex *mutex, void *pkt) in mtk_mutex_enable_by_cmdq() 888 void mtk_mutex_disable(struct mtk_mutex *mutex) in mtk_mutex_disable() 899 void mtk_mutex_acquire(struct mtk_mutex *mutex) in mtk_mutex_acquire() [all …]
|
/openbmc/linux/drivers/tee/optee/ |
H A D | optee_private.h | 50 struct mutex mutex; member 68 struct mutex mutex; member 88 struct mutex mutex; member 139 struct mutex mutex; member 211 struct mutex mutex; member
|
/openbmc/linux/tools/perf/util/ |
H A D | mutex.h | 72 struct LOCKABLE mutex { struct 73 pthread_mutex_t lock; argument
|
/openbmc/linux/drivers/mfd/ |
H A D | atc260x-core.c | 28 struct mutex *mutex = __mutex; in regmap_lock_mutex() local 49 struct mutex *mutex = __mutex; in regmap_unlock_mutex() local
|
/openbmc/linux/net/smc/ |
H A D | smc_ib.h | 29 struct mutex mutex; /* protects list of smc ib devices */ member 56 struct mutex mutex; /* protect dev setup+cleanup */ member
|
/openbmc/linux/drivers/scsi/cxlflash/ |
H A D | superpipe.h | 47 struct mutex mutex; member 101 struct mutex mutex; /* Context protection */ member 112 struct mutex mutex; member
|
/openbmc/qemu/include/qemu/ |
H A D | lockcnt.h | 21 QemuMutex mutex; member
|
H A D | coroutine.h | 74 static inline coroutine_fn void qemu_co_mutex_assert_locked(CoMutex *mutex) in qemu_co_mutex_assert_locked() argument 173 CoMutex mutex; member
|
H A D | thread.h | 114 #define qemu_mutex_unlock(mutex) \ argument 117 #define qemu_rec_mutex_unlock(mutex) \ argument
|
/openbmc/linux/fs/kernfs/ |
H A D | file.c | 567 struct mutex *mutex; in kernfs_get_open_node() local 612 struct mutex *mutex; in kernfs_unlink_open_file() local 800 struct mutex *mutex; in kernfs_fop_release() local 838 struct mutex *mutex; in kernfs_drain_open_files() local
|
/openbmc/linux/drivers/nfc/s3fwrn5/ |
H A D | phy_common.h | 27 struct mutex mutex; member
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | intel_wakeref.h | 38 struct mutex mutex; member 49 struct lock_class_key mutex; member
|
/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_memfree.h | 70 struct mutex mutex; member 149 struct mutex mutex; member
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_reset_types.h | 50 struct mutex mutex; /* serialises wedging/unwedging */ member
|
/openbmc/linux/include/drm/ |
H A D | i915_pxp_tee_interface.h | 44 struct mutex mutex; member
|
/openbmc/linux/drivers/media/platform/ti/omap3isp/ |
H A D | ispcsiphy.h | 24 struct mutex mutex; /* serialize csiphy configuration */ member
|
/openbmc/linux/sound/firewire/ |
H A D | iso-resources.h | 22 struct mutex mutex; member
|