Searched refs:atomic_cmpset_32 (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-12-stable/sys/arm/include/
H A Datomic.h74 #define atomic_cmpset_ptr atomic_cmpset_32
97 #define atomic_cmpset_int atomic_cmpset_32
H A Datomic-v4.h224 atomic_cmpset_32(volatile u_int32_t *p, volatile u_int32_t cmpval, volatile u_int32_t newval) function
384 atomic_cmpset_32(volatile u_int32_t *p, volatile u_int32_t cmpval, volatile u_int32_t newval) function
533 #define atomic_cmpset_rel_32 atomic_cmpset_32
534 #define atomic_cmpset_acq_32 atomic_cmpset_32
586 return (atomic_cmpset_32((volatile uint32_t *)dst, old, newe));
/freebsd-12-stable/sys/mips/cavium/
H A Docteon_mp.c148 if (atomic_cmpset_32(&octeon_ap_boot, ~0, cpuid) == 0)
152 if (atomic_cmpset_32(&octeon_ap_boot, 0, ~0) != 0)
H A Duart_dev_oct16550.c523 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
779 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
/freebsd-12-stable/sys/mips/malta/
H A Dmalta_mp.c268 if (atomic_cmpset_32(&malta_ap_boot, ~0, cpuid) == 0)
276 if (atomic_cmpset_32(&malta_ap_boot, 0, ~0) != 0) {
/freebsd-12-stable/sys/riscv/include/
H A Datomic.h103 atomic_cmpset_32(volatile uint32_t *p, uint32_t cmpval, uint32_t newval) function
181 #define atomic_cmpset_int atomic_cmpset_32
198 res = atomic_cmpset_32(p, cmpval, newval);
211 return (atomic_cmpset_32(p, cmpval, newval));
/freebsd-12-stable/sys/mips/include/
H A Datomic.h356 atomic_cmpset_32(__volatile uint32_t *p, uint32_t cmpval, uint32_t newval) function
387 retval = atomic_cmpset_32(p, cmpval, newval);
396 return (atomic_cmpset_32(p, cmpval, newval));
640 #define atomic_cmpset_int atomic_cmpset_32
711 atomic_cmpset_32((volatile u_int *)(p), (u_int)(cmpval), \
/freebsd-12-stable/sys/dev/uart/
H A Duart_dev_quicc.c344 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
468 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
H A Duart_core.c279 } while (!atomic_cmpset_32(&sc->sc_ttypend, old, new));
402 } while (!atomic_cmpset_32(&sc->sc_ttypend, old, new));
H A Duart_dev_sab82532.c485 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
681 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
H A Duart_dev_z8530.c387 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
597 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
H A Duart_dev_ns8250.c627 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, sig & ~SER_MASK_DELTA));
1008 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
H A Duart_dev_imx.c410 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
/freebsd-12-stable/sys/kern/
H A Dkern_syscalls.c77 while (atomic_cmpset_32(&se->sy_thrcnt, SY_THR_DRAINING,
/freebsd-12-stable/sys/dev/nvme/
H A Dnvme_ctrlr.c394 cmpset = atomic_cmpset_32(&ctrlr->is_resetting, 0, 1);
1148 atomic_cmpset_32(&ctrlr->is_resetting, 1, 0);
1589 while (atomic_cmpset_32(&ctrlr->is_resetting, 0, 1) == 0 && to-- > 0)
1643 (void)atomic_cmpset_32(&ctrlr->is_resetting, 1, 0);
1654 (void)atomic_cmpset_32(&ctrlr->is_resetting, 1, 0);
H A Dnvme.c179 cmpset = atomic_cmpset_32(&ctrlr->notification_sent, 0, 1);
/freebsd-12-stable/sys/dev/acpica/Osd/
H A DOsdSynch.c619 } while (atomic_cmpset_32(lock, old, new) == 0);
637 } while (atomic_cmpset_32(lock, old, new) == 0);
/freebsd-12-stable/sys/arm/amlogic/aml8726/
H A Duart_dev_aml8726.c345 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
364 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
/freebsd-12-stable/sys/arm/xilinx/
H A Duart_dev_cdnc.c497 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
639 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
/freebsd-12-stable/sys/arm64/include/
H A Datomic.h421 #define atomic_cmpset_int atomic_cmpset_32
/freebsd-12-stable/sys/mips/atheros/
H A Duart_dev_ar933x.c644 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
/freebsd-12-stable/sys/mips/mediatek/
H A Duart_dev_mtk.c364 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
/freebsd-12-stable/sys/amd64/include/
H A Datomic.h617 #define atomic_cmpset_32 atomic_cmpset_int macro
/freebsd-12-stable/sys/sparc64/pci/
H A Dsbbc.c917 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
1073 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
/freebsd-12-stable/sys/powerpc/include/
H A Datomic.h655 #define atomic_cmpset_32 atomic_cmpset_int macro

Completed in 395 milliseconds

12