Home
last modified time | relevance | path

Searched refs:acq (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-6.6/arch/ia64/include/asm/
H A Datomic.h41 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); \
56 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); \
97 ? ia64_fetchadd(__ia64_aar_i, &(v)->counter, acq) \
105 ? ia64_fetchadd(-__ia64_asr_i, &(v)->counter, acq) \
136 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); \
151 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); \
182 ? ia64_fetchadd(__ia64_aar_i, &(v)->counter, acq) \
190 ? ia64_fetchadd(-__ia64_asr_i, &(v)->counter, acq) \
H A Dspinlock.h47 ticket = ia64_fetchadd(1, p, acq); in __ticket_spin_lock()
68 return ia64_cmpxchg(acq, &lock->lock, tmp, tmp + 1, sizeof (tmp)) == tmp; in __ticket_spin_trylock()
148 "fetchadd4.acq r2 = [%0], 1;;\n" in arch_read_lock()
161 while (unlikely(ia64_fetchadd(1, (int *) __read_lock_ptr, acq) < 0)) { \
198 "cmpxchg4.acq r2 = [%0], r29, ar.ccv;;\n" in arch_write_lock()
212 "cmpxchg4.acq %0 = [%1], r29, ar.ccv\n" \
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Datomic_ll_sc.h42 #define ATOMIC_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\
51 "1: ld" #acq "xr %w0, %2\n" \
63 #define ATOMIC_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint) \
72 "1: ld" #acq "xr %w0, %3\n" \
138 #define ATOMIC64_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\
147 "1: ld" #acq "xr %0, %2\n" \
159 #define ATOMIC64_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint)\
168 "1: ld" #acq "xr %0, %3\n" \
239 #define __CMPXCHG_CASE(w, sfx, name, sz, mb, acq, rel, cl, constraint) \
258 "1: ld" #acq "x
[all...]
H A Dcmpxchg.h21 #define __XCHG_CASE(w, sfx, name, sz, mb, nop_lse, acq, acq_lse, rel, cl) \
30 "1: ld" #acq "xr" #sfx "\t%" #w "0, %2\n" \
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Datomic_ll_sc.h42 #define ATOMIC_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\
51 "1: ld" #acq "xr %w0, %2\n" \
63 #define ATOMIC_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint) \
72 "1: ld" #acq "xr %w0, %3\n" \
138 #define ATOMIC64_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\
147 "1: ld" #acq "xr %0, %2\n" \
159 #define ATOMIC64_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint)\
168 "1: ld" #acq "xr %0, %3\n" \
239 #define __CMPXCHG_CASE(w, sfx, name, sz, mb, acq, rel, cl, constraint) \
258 "1: ld" #acq "x
[all...]
H A Dcmpxchg.h21 #define __XCHG_CASE(w, sfx, name, sz, mb, nop_lse, acq, acq_lse, rel, cl) \
30 "1: ld" #acq "xr" #sfx "\t%" #w "0, %2\n" \
/kernel/linux/linux-5.10/arch/ia64/include/asm/
H A Datomic.h41 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); \
56 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic_t)) != old); \
97 ? ia64_fetchadd(__ia64_aar_i, &(v)->counter, acq) \
105 ? ia64_fetchadd(-__ia64_asr_i, &(v)->counter, acq) \
136 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); \
151 } while (ia64_cmpxchg(acq, v, old, new, sizeof(atomic64_t)) != old); \
182 ? ia64_fetchadd(__ia64_aar_i, &(v)->counter, acq) \
190 ? ia64_fetchadd(-__ia64_asr_i, &(v)->counter, acq) \
H A Dspinlock.h47 ticket = ia64_fetchadd(1, p, acq); in __ticket_spin_lock()
68 return ia64_cmpxchg(acq, &lock->lock, tmp, tmp + 1, sizeof (tmp)) == tmp; in __ticket_spin_trylock()
153 "fetchadd4.acq r2 = [%0], 1;;\n" in arch_read_lock_flags()
171 while (unlikely(ia64_fetchadd(1, (int *) __read_lock_ptr, acq) < 0)) { \
206 "cmpxchg4.acq r2 = [%0], r29, ar.ccv;;\n" in arch_write_lock_flags()
223 "cmpxchg4.acq %0 = [%1], r29, ar.ccv\n" \
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Dipsec.c1381 struct xfrm_user_acquire acq; in xfrm_monitor_acquire() member
1394 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.acq)); in xfrm_monitor_acquire()
1399 req.acq.policy.sel.family = AF_INET; in xfrm_monitor_acquire()
1400 req.acq.aalgos = 0xfeed; in xfrm_monitor_acquire()
1401 req.acq.ealgos = 0xbaad; in xfrm_monitor_acquire()
1402 req.acq.calgos = 0xbabe; in xfrm_monitor_acquire()
1433 if (req.acq.aalgos != 0xfeed || req.acq.ealgos != 0xbaad in xfrm_monitor_acquire()
1434 || req.acq.calgos != 0xbabe) { in xfrm_monitor_acquire()
1436 req.acq in xfrm_monitor_acquire()
[all...]
/kernel/linux/linux-6.6/arch/ia64/include/uapi/asm/
H A Dcmpxchg.h114 ia64_cmpxchg(acq, (ptr), (o), (n), sizeof(*(ptr)))
121 * this meant a lot of badly written code that used .acq when they really
123 * that strictly did the .acq or .rel ... all that code started breaking - so
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dipsec.c1369 struct xfrm_user_acquire acq; in xfrm_monitor_acquire() member
1382 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(req.acq)); in xfrm_monitor_acquire()
1387 req.acq.policy.sel.family = AF_INET; in xfrm_monitor_acquire()
1388 req.acq.aalgos = 0xfeed; in xfrm_monitor_acquire()
1389 req.acq.ealgos = 0xbaad; in xfrm_monitor_acquire()
1390 req.acq.calgos = 0xbabe; in xfrm_monitor_acquire()
1421 if (req.acq.aalgos != 0xfeed || req.acq.ealgos != 0xbaad in xfrm_monitor_acquire()
1422 || req.acq.calgos != 0xbabe) { in xfrm_monitor_acquire()
1424 req.acq in xfrm_monitor_acquire()
[all...]
/kernel/linux/linux-5.10/arch/ia64/include/uapi/asm/
H A Dcmpxchg.h116 ia64_cmpxchg(acq, (ptr), (o), (n), sizeof(*(ptr)))
123 * this meant a lot of badly written code that used .acq when they really
125 * that strictly did the .acq or .rel ... all that code started breaking - so
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dchannel.c122 for (j = 0; j < ARRAY_SIZE(ctx->acq); j++) { in ath_chanctx_init()
123 INIT_LIST_HEAD(&ctx->acq[j].acq_new); in ath_chanctx_init()
124 INIT_LIST_HEAD(&ctx->acq[j].acq_old); in ath_chanctx_init()
125 spin_lock_init(&ctx->acq[j].lock); in ath_chanctx_init()
1352 for (i = 0; i < ARRAY_SIZE(ctx->acq); i++) { in ath9k_offchannel_init()
1353 INIT_LIST_HEAD(&ctx->acq[i].acq_new); in ath9k_offchannel_init()
1354 INIT_LIST_HEAD(&ctx->acq[i].acq_old); in ath9k_offchannel_init()
1355 spin_lock_init(&ctx->acq[i].lock); in ath9k_offchannel_init()
H A Dmain.c76 struct ath_acq *acq; in ath9k_has_pending_frames() local
78 acq = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames()
79 if (!list_empty(&acq->acq_new) || !list_empty(&acq->acq_old)) in ath9k_has_pending_frames()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dchannel.c122 for (j = 0; j < ARRAY_SIZE(ctx->acq); j++) { in ath_chanctx_init()
123 INIT_LIST_HEAD(&ctx->acq[j].acq_new); in ath_chanctx_init()
124 INIT_LIST_HEAD(&ctx->acq[j].acq_old); in ath_chanctx_init()
125 spin_lock_init(&ctx->acq[j].lock); in ath_chanctx_init()
1352 for (i = 0; i < ARRAY_SIZE(ctx->acq); i++) { in ath9k_offchannel_init()
1353 INIT_LIST_HEAD(&ctx->acq[i].acq_new); in ath9k_offchannel_init()
1354 INIT_LIST_HEAD(&ctx->acq[i].acq_old); in ath9k_offchannel_init()
1355 spin_lock_init(&ctx->acq[i].lock); in ath9k_offchannel_init()
H A Dmain.c76 struct ath_acq *acq; in ath9k_has_pending_frames() local
78 acq = &sc->cur_chan->acq[txq->mac80211_qnum]; in ath9k_has_pending_frames()
79 if (!list_empty(&acq->acq_new) || !list_empty(&acq->acq_old)) in ath9k_has_pending_frames()
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dsmp.c248 ia64_fetchadd(1, &local_tlb_flush_counts[smp_processor_id()].count, acq); in smp_local_flush_tlb()
H A Dtraps.c319 if ((last.count & 15) < 5 && (ia64_fetchadd(1, &last.count, acq) & 15) < 5) { in handle_fpu_swa()
H A Divt.S556 (p6) cmpxchg8.acq r26=[r17],r25,ar.ccv // Only update if page is present
622 (p6) cmpxchg8.acq r26=[r17],r25,ar.ccv // Only if page present
677 (p6) cmpxchg8.acq r26=[r17],r25,ar.ccv // Only if page is present
H A Dfsys.S215 ld4.acq r28 = [r20] // gtod_lock.sequence, Must take first
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dsmp.c248 ia64_fetchadd(1, &local_tlb_flush_counts[smp_processor_id()].count, acq); in smp_local_flush_tlb()
H A Dtraps.c319 if ((last.count & 15) < 5 && (ia64_fetchadd(1, &last.count, acq) & 15) < 5) { in handle_fpu_swa()
H A Divt.S555 (p6) cmpxchg8.acq r26=[r17],r25,ar.ccv // Only update if page is present
621 (p6) cmpxchg8.acq r26=[r17],r25,ar.ccv // Only if page present
676 (p6) cmpxchg8.acq r26=[r17],r25,ar.ccv // Only if page is present
/kernel/linux/linux-5.10/arch/ia64/mm/
H A Dtlb.c124 unsigned long t = ia64_fetchadd(1, &ss->ticket, acq), serve; in down_spin()
/kernel/linux/linux-6.6/arch/ia64/mm/
H A Dtlb.c124 unsigned long t = ia64_fetchadd(1, &ss->ticket, acq), serve; in down_spin()

Completed in 26 milliseconds

12