Home
last modified time | relevance | path

Searched defs:lock (Results 51 – 75 of 3652) sorted by relevance

12345678910>>...147

/OK3568_Linux_fs/kernel/arch/mips/include/asm/octeon/
H A Dcvmx-spinlock.h63 static inline void cvmx_spinlock_init(cvmx_spinlock_t *lock) in cvmx_spinlock_init()
74 static inline int cvmx_spinlock_locked(cvmx_spinlock_t *lock) in cvmx_spinlock_locked()
84 static inline void cvmx_spinlock_unlock(cvmx_spinlock_t *lock) in cvmx_spinlock_unlock()
103 static inline unsigned int cvmx_spinlock_trylock(cvmx_spinlock_t *lock) in cvmx_spinlock_trylock()
128 static inline void cvmx_spinlock_lock(cvmx_spinlock_t *lock) in cvmx_spinlock_lock()
/OK3568_Linux_fs/kernel/arch/arm/include/asm/
H A Dspinlock.h56 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock()
81 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
107 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
114 static inline int arch_spin_value_unlocked(arch_spinlock_t lock) in arch_spin_value_unlocked()
119 static inline int arch_spin_is_locked(arch_spinlock_t *lock) in arch_spin_is_locked()
124 static inline int arch_spin_is_contended(arch_spinlock_t *lock) in arch_spin_is_contended()
/OK3568_Linux_fs/kernel/tools/lib/lockdep/include/liblockdep/
H A Dmutex.h22 static inline int __mutex_init(liblockdep_pthread_mutex_t *lock, in __mutex_init()
37 static inline int liblockdep_pthread_mutex_lock(liblockdep_pthread_mutex_t *lock) in liblockdep_pthread_mutex_lock()
43 static inline int liblockdep_pthread_mutex_unlock(liblockdep_pthread_mutex_t *lock) in liblockdep_pthread_mutex_unlock()
49 static inline int liblockdep_pthread_mutex_trylock(liblockdep_pthread_mutex_t *lock) in liblockdep_pthread_mutex_trylock()
55 static inline int liblockdep_pthread_mutex_destroy(liblockdep_pthread_mutex_t *lock) in liblockdep_pthread_mutex_destroy()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_lock.c63 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_take() local
112 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_transfer() local
127 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_legacy_lock_free() local
168 struct drm_lock *lock = data; in drm_legacy_lock() local
259 struct drm_lock *lock = data; in drm_legacy_unlock() local
312 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_legacy_idlelock_release() local
/OK3568_Linux_fs/kernel/arch/arc/include/asm/
H A Dspinlock.h17 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock()
44 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
67 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
222 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock()
244 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
261 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
/OK3568_Linux_fs/kernel/fs/ocfs2/dlm/
H A Ddlmconvert.c63 struct dlm_lock *lock, int flags, int type) in dlmconvert_master()
106 struct dlm_lock *lock, int flags, in __dlmconvert_master()
236 struct dlm_lock *lock) in dlm_revert_pending_convert()
253 struct dlm_lock *lock, int flags, int type) in dlmconvert_remote()
357 struct dlm_lock *lock, int flags, int type) in dlm_send_remote_convert_request()
437 struct dlm_lock *lock = NULL; in dlm_convert_lock_handler() local
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/
H A Dbuffer_pool.cpp82 SmartLock lock (_mutex); in set_video_info() local
106 SmartLock lock (_mutex); in reserve() local
151 SmartLock lock (_mutex); in get_buffer() local
184 SmartLock lock (_mutex); in stop() local
194 SmartLock lock (_mutex); in release() local
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dqspinlock.h15 static __always_inline void queued_spin_lock_slowpath(struct qspinlock *lock, u32 val) in queued_spin_lock_slowpath()
24 static inline void queued_spin_unlock(struct qspinlock *lock) in queued_spin_unlock()
36 static __always_inline void queued_spin_lock(struct qspinlock *lock) in queued_spin_lock()
49 static __always_inline int queued_spin_is_locked(struct qspinlock *lock) in queued_spin_is_locked()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dlinux_osl_priv.h37 #define OSL_MEMLIST_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
38 #define OSL_MEMLIST_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
40 #define OSL_STATIC_BUF_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
41 #define OSL_STATIC_BUF_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
43 #define OSL_STATIC_PKT_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
44 #define OSL_STATIC_PKT_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
46 #define OSL_PKTLIST_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
47 #define OSL_PKTLIST_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
49 #define OSL_CTRACE_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
50 #define OSL_CTRACE_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dlinux_osl_priv.h37 #define OSL_MEMLIST_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
38 #define OSL_MEMLIST_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
40 #define OSL_STATIC_BUF_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
41 #define OSL_STATIC_BUF_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
43 #define OSL_STATIC_PKT_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
44 #define OSL_STATIC_PKT_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
46 #define OSL_PKTLIST_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
47 #define OSL_PKTLIST_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
49 #define OSL_CTRACE_LOCK(lock, flags) (flags) = osl_spin_lock(lock) argument
50 #define OSL_CTRACE_UNLOCK(lock, flags) osl_spin_unlock((lock), (flags)) argument
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/smart_ptr/detail/
H A Dsp_counted_base_spin.hpp32 spinlock_pool<1>::scoped_lock lock( pw ); in atomic_exchange_and_add() local
41 spinlock_pool<1>::scoped_lock lock( pw ); in atomic_increment() local
47 spinlock_pool<1>::scoped_lock lock( pw ); in atomic_conditional_increment() local
124 spinlock_pool<1>::scoped_lock lock( &use_count_ ); in use_count() local
H A Datomic_count_spin.hpp34 spinlock_pool<0>::scoped_lock lock( &value_ ); in operator ++() local
40 spinlock_pool<0>::scoped_lock lock( &value_ ); in operator --() local
46 spinlock_pool<0>::scoped_lock lock( &value_ ); in operator long() local
H A Datomic_count_pt.hpp68 scoped_lock lock(mutex_); in operator ++() local
74 scoped_lock lock(mutex_); in operator --() local
80 scoped_lock lock(mutex_); in operator long() local
H A Dquick_allocator.hpp93 lightweight_mutex::scoped_lock lock( mutex() ); in alloc() local
123 lightweight_mutex::scoped_lock lock( mutex() ); in alloc() local
148 lightweight_mutex::scoped_lock lock( mutex() ); in dealloc() local
165 lightweight_mutex::scoped_lock lock( mutex() ); in dealloc() local
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dlocking.c597 int btrfs_drew_lock_init(struct btrfs_drew_lock *lock) in btrfs_drew_lock_init()
612 void btrfs_drew_lock_destroy(struct btrfs_drew_lock *lock) in btrfs_drew_lock_destroy()
618 bool btrfs_drew_try_write_lock(struct btrfs_drew_lock *lock) in btrfs_drew_try_write_lock()
635 void btrfs_drew_write_lock(struct btrfs_drew_lock *lock) in btrfs_drew_write_lock()
644 void btrfs_drew_write_unlock(struct btrfs_drew_lock *lock) in btrfs_drew_write_unlock()
650 void btrfs_drew_read_lock(struct btrfs_drew_lock *lock) in btrfs_drew_read_lock()
666 void btrfs_drew_read_unlock(struct btrfs_drew_lock *lock) in btrfs_drew_read_unlock()
/OK3568_Linux_fs/kernel/include/linux/
H A Dww_mutex.h87 static inline void ww_mutex_init(struct ww_mutex *lock, in ww_mutex_init()
282 ww_mutex_lock_slow(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_lock_slow()
318 ww_mutex_lock_slow_interruptible(struct ww_mutex *lock, in ww_mutex_lock_slow_interruptible()
336 static inline int __must_check ww_mutex_trylock(struct ww_mutex *lock) in ww_mutex_trylock()
349 static inline void ww_mutex_destroy(struct ww_mutex *lock) in ww_mutex_destroy()
360 static inline bool ww_mutex_is_locked(struct ww_mutex *lock) in ww_mutex_is_locked()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/mbgl/util/
H A Ddefault_thread_pool.cpp15 std::unique_lock<std::mutex> lock(mutex); in ThreadPool() local
37 std::lock_guard<std::mutex> lock(mutex); in ~ThreadPool() local
50 std::lock_guard<std::mutex> lock(mutex); in schedule() local
/OK3568_Linux_fs/kernel/fs/lockd/
H A Dsvclock.c145 nlmsvc_lookup_block(struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_lookup_block()
217 struct nlm_file *file, struct nlm_lock *lock, in nlmsvc_create_block()
392 nlmsvc_release_lockowner(struct nlm_lock *lock) in nlmsvc_release_lockowner()
408 static int nlmsvc_setgrantargs(struct nlm_rqst *call, struct nlm_lock *lock) in nlmsvc_setgrantargs()
469 struct nlm_host *host, struct nlm_lock *lock, int wait, in nlmsvc_lock()
576 struct nlm_host *host, struct nlm_lock *lock, in nlmsvc_testlock()
642 nlmsvc_unlock(struct net *net, struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_unlock()
670 nlmsvc_cancel_blocked(struct net *net, struct nlm_file *file, struct nlm_lock *lock) in nlmsvc_cancel_blocked()
805 struct nlm_lock *lock = &block->b_call->a_args.lock; in nlmsvc_grant_blocked() local
H A Dclnt4xdr.c65 static void nlm4_compute_offsets(const struct nlm_lock *lock, in nlm4_compute_offsets()
242 const struct nlm_lock *lock = &result->lock; in encode_nlm4_holder() local
258 struct nlm_lock *lock = &result->lock; in decode_nlm4_holder() local
326 const struct nlm_lock *lock) in encode_nlm4_lock()
364 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_testargs() local
386 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_lockargs() local
409 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_cancargs() local
428 const struct nlm_lock *lock = &args->lock; in nlm4_xdr_enc_unlockargs() local
H A Dclntxdr.c61 static void nlm_compute_offsets(const struct nlm_lock *lock, in nlm_compute_offsets()
237 const struct nlm_lock *lock = &result->lock; in encode_nlm_holder() local
253 struct nlm_lock *lock = &result->lock; in decode_nlm_holder() local
320 const struct nlm_lock *lock) in encode_nlm_lock()
357 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_testargs() local
379 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_lockargs() local
402 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_cancargs() local
421 const struct nlm_lock *lock = &args->lock; in nlm_xdr_enc_unlockargs() local
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/storage/
H A Dnetwork_status.cpp34 std::lock_guard<std::mutex> lock(NetworkStatus::mtx); in Subscribe() local
39 std::lock_guard<std::mutex> lock(NetworkStatus::mtx); in Unsubscribe() local
48 std::lock_guard<std::mutex> lock(NetworkStatus::mtx); in Reachable() local
/OK3568_Linux_fs/kernel/drivers/hwspinlock/
H A Dsprd_hwspinlock.c42 static int sprd_hwspinlock_trylock(struct hwspinlock *lock) in sprd_hwspinlock_trylock()
62 static void sprd_hwspinlock_unlock(struct hwspinlock *lock) in sprd_hwspinlock_unlock()
70 static void sprd_hwspinlock_relax(struct hwspinlock *lock) in sprd_hwspinlock_relax()
91 struct hwspinlock *lock; in sprd_hwspinlock_probe() local
/OK3568_Linux_fs/kernel/lib/
H A Drefcount.c113 bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) in refcount_dec_and_mutex_lock()
144 bool refcount_dec_and_lock(refcount_t *r, spinlock_t *lock) in refcount_dec_and_lock()
172 bool refcount_dec_and_lock_irqsave(refcount_t *r, spinlock_t *lock, in refcount_dec_and_lock_irqsave()
/OK3568_Linux_fs/kernel/kernel/locking/
H A Dlockdep.c711 static void print_lockdep_cache(struct lockdep_map *lock) in print_lockdep_cache()
735 struct lock_class *lock = hlock_class(hlock); in print_lock() local
844 look_up_lock_class(const struct lockdep_map *lock, unsigned int subclass) in look_up_lock_class()
908 static bool assign_lock_key(struct lockdep_map *lock) in assign_lock_key()
1235 register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force) in register_lock_class()
1456 struct lock_list * lock; in __cq_dequeue() local
1472 static inline void mark_lock_accessed(struct lock_list *lock) in mark_lock_accessed()
1477 static inline void visit_lock_entry(struct lock_list *lock, in visit_lock_entry()
1483 static inline unsigned long lock_accessed(struct lock_list *lock) in lock_accessed()
1512 static inline struct list_head *get_dep_list(struct lock_list *lock, int offset) in get_dep_list()
[all …]
H A Dosq_lock.c42 osq_wait_next(struct optimistic_spin_queue *lock, in osq_wait_next()
90 bool osq_lock(struct optimistic_spin_queue *lock) in osq_lock()
207 void osq_unlock(struct optimistic_spin_queue *lock) in osq_unlock()

12345678910>>...147