Searched refs:cmpxchg (Results 26 - 50 of 256) sorted by relevance

1234567891011

/linux-master/include/linux/
H A Dnetpoll.h77 while (cmpxchg(&napi->poll_owner, -1, owner) != -1)
/linux-master/arch/mips/kernel/
H A Dcmpxchg.c8 #include <asm/cmpxchg.h>
/linux-master/drivers/gpu/drm/i915/
H A Di915_sw_fence.h120 cmpxchg(&fence->error, 0, error);
/linux-master/include/asm-generic/
H A Dcmpxchg.h3 * Generic UP xchg and cmpxchg using interrupt disablement. Does not
11 #error "Cannot use generic cmpxchg on SMP"
89 #include <asm-generic/cmpxchg-local.h>
H A Datomic.h12 #include <asm/cmpxchg.h>
17 /* we can build all atomic primitives from cmpxchg */
/linux-master/arch/hexagon/include/asm/
H A Datomic.h12 #include <asm/cmpxchg.h>
/linux-master/arch/sparc/include/asm/
H A Datomic_64.h12 #include <asm/cmpxchg.h>
H A Dcmpxchg_32.h2 /* 32-bit atomic xchg() and cmpxchg() definitions.
30 /* Emulate cmpxchg() the same way we emulate atomics,
67 #include <asm-generic/cmpxchg-local.h>
/linux-master/arch/openrisc/include/asm/
H A Datomic.h131 #include <asm/cmpxchg.h>
/linux-master/net/netfilter/
H A Dnf_conntrack_labels.c23 } while (cmpxchg(address, old, tmp) != old);
/linux-master/arch/s390/include/asm/
H A Dpercpu.h6 #include <asm/cmpxchg.h>
38 prev__ = cmpxchg(ptr__, old__, new__); \
141 ret__ = cmpxchg(ptr__, oval, nval); \
/linux-master/kernel/kcsan/
H A Dselftest.c153 KCSAN_CHECK_READ_BARRIER(cmpxchg(&test_var, 0, 0));
182 KCSAN_CHECK_WRITE_BARRIER(cmpxchg(&test_var, 0, 0));
214 KCSAN_CHECK_RW_BARRIER(cmpxchg(&test_var, 0, 0));
/linux-master/fs/nfs/
H A Dnfs3acl.c25 cmpxchg(p, ACL_NOT_CACHED, sentinel);
34 if (cmpxchg(p, sentinel, acl) != sentinel)
43 cmpxchg(p, sentinel, ACL_NOT_CACHED);
/linux-master/net/smc/
H A Dsmc_llc.h50 (cmpxchg(state, SMC_LNK_ACTIVE, SMC_LNK_INACTIVE) == SMC_LNK_ACTIVE)
/linux-master/arch/powerpc/include/asm/
H A Dpgtable-be-types.h5 #include <asm/cmpxchg.h>
/linux-master/arch/csky/include/asm/
H A Datomic.h9 #include <asm/cmpxchg.h>
/linux-master/arch/loongarch/include/asm/
H A Dlocal.h11 #include <asm/cmpxchg.h>
/linux-master/kernel/locking/
H A Dosq_lock.c137 * cmpxchg in an attempt to undo our queueing.
165 cmpxchg(&prev->next, node, NULL) == node)
169 * We can only fail the cmpxchg() racing against an unlock(),
/linux-master/net/mptcp/
H A Dmib.c85 if (cmpxchg(&net->mib.mptcp_statistics, NULL, mib))
/linux-master/arch/parisc/include/asm/
H A Dcmpxchg.h87 #include <asm-generic/cmpxchg-local.h>
/linux-master/drivers/dma-buf/
H A Ddma-fence-array.c36 cmpxchg(&array->base.error, PENDING_ERROR, error);
42 cmpxchg(&array->base.error, PENDING_ERROR, 0);
/linux-master/sound/soc/dwc/
H A Ddwc-pcm.c114 cmpxchg(&dev->tx_ptr, ptr, new_ptr);
119 cmpxchg(&dev->rx_ptr, ptr, new_ptr);
/linux-master/net/ipv4/
H A Dgre_demux.c36 return (cmpxchg((const struct gre_protocol **)&gre_proto[version], NULL, proto) == NULL) ?
48 ret = (cmpxchg((const struct gre_protocol **)&gre_proto[version], proto, NULL) == proto) ?
/linux-master/tools/testing/selftests/bpf/progs/
H A Datomics.c136 int cmpxchg(const void *ctx) function
/linux-master/arch/powerpc/platforms/powernv/
H A Drng.c157 if (cmpxchg(&ppc_md.get_random_seed, pnv_get_random_long_early,

Completed in 334 milliseconds

1234567891011