Home
last modified time | relevance | path

Searched defs:lock (Results 76 – 100 of 3051) sorted by relevance

12345678910>>...123

/openbmc/linux/arch/sh/include/asm/
H A Dspinlock-llsc.h26 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock()
46 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock()
61 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock()
H A Dspinlock_types.h10 volatile unsigned int lock; member
16 volatile unsigned int lock; member
/openbmc/linux/drivers/hwspinlock/
H A Du8500_hsem.c50 static int u8500_hsem_trylock(struct hwspinlock *lock) in u8500_hsem_trylock()
63 static void u8500_hsem_unlock(struct hwspinlock *lock) in u8500_hsem_unlock()
74 static void u8500_hsem_relax(struct hwspinlock *lock) in u8500_hsem_relax()
H A Domap_hwspinlock.c38 static int omap_hwspinlock_trylock(struct hwspinlock *lock) in omap_hwspinlock_trylock()
46 static void omap_hwspinlock_unlock(struct hwspinlock *lock) in omap_hwspinlock_unlock()
64 static void omap_hwspinlock_relax(struct hwspinlock *lock) in omap_hwspinlock_relax()
H A Dstm32_hwspinlock.c28 static int stm32_hwspinlock_trylock(struct hwspinlock *lock) in stm32_hwspinlock_trylock()
39 static void stm32_hwspinlock_unlock(struct hwspinlock *lock) in stm32_hwspinlock_unlock()
46 static void stm32_hwspinlock_relax(struct hwspinlock *lock) in stm32_hwspinlock_relax()
/openbmc/linux/include/linux/
H A Dkfifo.h255 #define kfifo_is_empty_spinlocked(fifo, lock) \ argument
271 #define kfifo_is_empty_spinlocked_noirqsave(fifo, lock) \ argument
541 #define kfifo_in_spinlocked(fifo, buf, n, lock) \ argument
562 #define kfifo_in_spinlocked_noirqsave(fifo, buf, n, lock) \ argument
572 #define kfifo_in_locked(fifo, buf, n, lock) \ argument
611 #define kfifo_out_spinlocked(fifo, buf, n, lock) \ argument
634 #define kfifo_out_spinlocked_noirqsave(fifo, buf, n, lock) \ argument
646 #define kfifo_out_locked(fifo, buf, n, lock) \ argument
H A Dosq_lock.h28 static inline void osq_lock_init(struct optimistic_spin_queue *lock) in osq_lock_init()
36 static inline bool osq_is_locked(struct optimistic_spin_queue *lock) in osq_is_locked()
/openbmc/linux/include/drm/
H A Ddrm_modeset_lock.h112 static inline void drm_modeset_lock_fini(struct drm_modeset_lock *lock) in drm_modeset_lock_fini()
121 static inline bool drm_modeset_is_locked(struct drm_modeset_lock *lock) in drm_modeset_is_locked()
130 static inline void drm_modeset_lock_assert_held(struct drm_modeset_lock *lock) in drm_modeset_lock_assert_held()
/openbmc/linux/include/asm-generic/bitops/
H A Dext2-atomic.h9 #define ext2_set_bit_atomic(lock, nr, addr) \ argument
18 #define ext2_clear_bit_atomic(lock, nr, addr) \ argument
/openbmc/linux/tools/testing/radix-tree/linux/
H A Dlocal_lock.h5 static inline void local_lock(local_lock_t *lock) { } in local_lock()
6 static inline void local_unlock(local_lock_t *lock) { } in local_unlock()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_helper_restricted.c10 struct lock { struct
11 struct bpf_spin_lock l; argument
50 struct lock *lock; in spin_lock_work() local
H A Dtest_spin_lock.c10 struct bpf_spin_lock lock; member
22 struct bpf_spin_lock lock; member
33 struct bpf_spin_lock lock; member
/openbmc/linux/arch/sparc/include/asm/
H A Dspinlock_types.h10 volatile unsigned char lock; member
20 volatile unsigned int lock; member
/openbmc/linux/arch/hexagon/include/asm/
H A Dspinlock_types.h16 volatile unsigned int lock; member
22 volatile unsigned int lock; member
/openbmc/linux/arch/alpha/include/asm/
H A Dspinlock_types.h10 volatile unsigned int lock; member
16 volatile unsigned int lock; member
/openbmc/qemu/include/qemu/
H A Dcoroutine.h117 #define qemu_co_queue_wait(queue, lock) \ argument
119 #define qemu_co_queue_wait_flags(queue, lock, flags) \ argument
148 #define qemu_co_enter_next(queue, lock) \ argument
161 #define qemu_co_enter_all(queue, lock) \ argument
/openbmc/linux/drivers/net/wireguard/
H A Dallowedips.c151 struct mutex *lock) in node_placement()
182 u8 cidr, struct wg_peer *peer, struct mutex *lock) in add()
258 void wg_allowedips_free(struct allowedips *table, struct mutex *lock) in wg_allowedips_free()
282 u8 cidr, struct wg_peer *peer, struct mutex *lock) in wg_allowedips_insert_v4()
293 u8 cidr, struct wg_peer *peer, struct mutex *lock) in wg_allowedips_insert_v6()
304 struct wg_peer *peer, struct mutex *lock) in wg_allowedips_remove_by_peer()
/openbmc/linux/fs/nilfs2/
H A Dalloc.c131 spinlock_t *lock) in nilfs_palloc_group_desc_nfrees()
149 spinlock_t *lock, u32 n) in nilfs_palloc_group_desc_add_entries()
203 spinlock_t *lock) in nilfs_palloc_get_block()
242 spinlock_t *lock) in nilfs_palloc_delete_block()
385 spinlock_t *lock, bool wrap) in nilfs_palloc_find_available_slot()
514 spinlock_t *lock; in nilfs_palloc_prepare_alloc_entry() local
616 spinlock_t *lock; in nilfs_palloc_commit_free_entry() local
657 spinlock_t *lock; in nilfs_palloc_abort_alloc_entry() local
746 spinlock_t *lock; in nilfs_palloc_freev() local
/openbmc/linux/drivers/clk/spear/
H A Dclk.h52 spinlock_t *lock; member
65 spinlock_t *lock; member
79 spinlock_t *lock; member
96 spinlock_t *lock; member
103 spinlock_t *lock; member
/openbmc/linux/arch/x86/include/asm/
H A Dcmpxchg.h42 #define __xchg_op(ptr, arg, op, lock) \ argument
85 #define __raw_cmpxchg(ptr, old, new, size, lock) \ argument
158 #define __raw_try_cmpxchg(_ptr, _pold, _new, size, lock) \ argument
239 #define __xadd(ptr, inc, lock) __xchg_op((ptr), (inc), xadd, lock) argument
/openbmc/linux/arch/s390/lib/
H A Dspinlock.c73 static inline int arch_load_niai4(int *lock) in arch_load_niai4()
84 static inline int arch_cmpxchg_niai8(int *lock, int old, int new) in arch_cmpxchg_niai8()
97 static inline struct spin_wait *arch_spin_decode_tail(int lock) in arch_spin_decode_tail()
106 static inline int arch_spin_yield_target(int lock, struct spin_wait *node) in arch_spin_yield_target()
/openbmc/linux/fs/lockd/
H A Dxdr4.c74 svcxdr_decode_lock(struct xdr_stream *xdr, struct nlm_lock *lock) in svcxdr_decode_lock()
99 svcxdr_encode_holder(struct xdr_stream *xdr, const struct nlm_lock *lock) in svcxdr_encode_holder()
269 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_shareargs() local
296 struct nlm_lock *lock = &argp->lock; in nlm4svc_decode_notify() local
H A Dxdr.c72 svcxdr_decode_lock(struct xdr_stream *xdr, struct nlm_lock *lock) in svcxdr_decode_lock()
104 svcxdr_encode_holder(struct xdr_stream *xdr, const struct nlm_lock *lock) in svcxdr_encode_holder()
274 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_shareargs() local
301 struct nlm_lock *lock = &argp->lock; in nlmsvc_decode_notify() local
/openbmc/linux/arch/ia64/include/asm/
H A Dacenv.h20 ia64_acpi_acquire_global_lock(unsigned int *lock) in ia64_acpi_acquire_global_lock()
32 ia64_acpi_release_global_lock(unsigned int *lock) in ia64_acpi_release_global_lock()
/openbmc/linux/kernel/locking/
H A Dmcs_spinlock.h65 void mcs_spin_lock(struct mcs_spinlock **lock, struct mcs_spinlock *node) in mcs_spin_lock()
102 void mcs_spin_unlock(struct mcs_spinlock **lock, struct mcs_spinlock *node) in mcs_spin_unlock()

12345678910>>...123