/linux-master/include/linux/ |
H A D | netpoll.h | 77 while (cmpxchg(&napi->poll_owner, -1, owner) != -1)
|
/linux-master/arch/mips/kernel/ |
H A D | cmpxchg.c | 8 #include <asm/cmpxchg.h>
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_sw_fence.h | 120 cmpxchg(&fence->error, 0, error);
|
/linux-master/include/asm-generic/ |
H A D | cmpxchg.h | 3 * 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 D | atomic.h | 12 #include <asm/cmpxchg.h> 17 /* we can build all atomic primitives from cmpxchg */
|
/linux-master/arch/hexagon/include/asm/ |
H A D | atomic.h | 12 #include <asm/cmpxchg.h>
|
/linux-master/arch/sparc/include/asm/ |
H A D | atomic_64.h | 12 #include <asm/cmpxchg.h>
|
H A D | cmpxchg_32.h | 2 /* 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 D | atomic.h | 131 #include <asm/cmpxchg.h>
|
/linux-master/net/netfilter/ |
H A D | nf_conntrack_labels.c | 23 } while (cmpxchg(address, old, tmp) != old);
|
/linux-master/arch/s390/include/asm/ |
H A D | percpu.h | 6 #include <asm/cmpxchg.h> 38 prev__ = cmpxchg(ptr__, old__, new__); \ 141 ret__ = cmpxchg(ptr__, oval, nval); \
|
/linux-master/kernel/kcsan/ |
H A D | selftest.c | 153 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 D | nfs3acl.c | 25 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 D | smc_llc.h | 50 (cmpxchg(state, SMC_LNK_ACTIVE, SMC_LNK_INACTIVE) == SMC_LNK_ACTIVE)
|
/linux-master/arch/powerpc/include/asm/ |
H A D | pgtable-be-types.h | 5 #include <asm/cmpxchg.h>
|
/linux-master/arch/csky/include/asm/ |
H A D | atomic.h | 9 #include <asm/cmpxchg.h>
|
/linux-master/arch/loongarch/include/asm/ |
H A D | local.h | 11 #include <asm/cmpxchg.h>
|
/linux-master/kernel/locking/ |
H A D | osq_lock.c | 137 * 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 D | mib.c | 85 if (cmpxchg(&net->mib.mptcp_statistics, NULL, mib))
|
/linux-master/arch/parisc/include/asm/ |
H A D | cmpxchg.h | 87 #include <asm-generic/cmpxchg-local.h>
|
/linux-master/drivers/dma-buf/ |
H A D | dma-fence-array.c | 36 cmpxchg(&array->base.error, PENDING_ERROR, error); 42 cmpxchg(&array->base.error, PENDING_ERROR, 0);
|
/linux-master/sound/soc/dwc/ |
H A D | dwc-pcm.c | 114 cmpxchg(&dev->tx_ptr, ptr, new_ptr); 119 cmpxchg(&dev->rx_ptr, ptr, new_ptr);
|
/linux-master/net/ipv4/ |
H A D | gre_demux.c | 36 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 D | atomics.c | 136 int cmpxchg(const void *ctx) function
|
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | rng.c | 157 if (cmpxchg(&ppc_md.get_random_seed, pnv_get_random_long_early,
|