/freebsd-12-stable/sys/arm/include/ |
H A D | atomic.h | 74 #define atomic_cmpset_ptr atomic_cmpset_32 97 #define atomic_cmpset_int atomic_cmpset_32
|
H A D | atomic-v4.h | 224 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 D | octeon_mp.c | 148 if (atomic_cmpset_32(&octeon_ap_boot, ~0, cpuid) == 0) 152 if (atomic_cmpset_32(&octeon_ap_boot, 0, ~0) != 0)
|
H A D | uart_dev_oct16550.c | 523 } 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 D | malta_mp.c | 268 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 D | atomic.h | 103 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 D | atomic.h | 356 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 D | uart_dev_quicc.c | 344 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); 468 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
|
H A D | uart_core.c | 279 } while (!atomic_cmpset_32(&sc->sc_ttypend, old, new)); 402 } while (!atomic_cmpset_32(&sc->sc_ttypend, old, new));
|
H A D | uart_dev_sab82532.c | 485 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); 681 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
|
H A D | uart_dev_z8530.c | 387 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); 597 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
|
H A D | uart_dev_ns8250.c | 627 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, sig & ~SER_MASK_DELTA)); 1008 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
|
H A D | uart_dev_imx.c | 410 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
|
/freebsd-12-stable/sys/kern/ |
H A D | kern_syscalls.c | 77 while (atomic_cmpset_32(&se->sy_thrcnt, SY_THR_DRAINING,
|
/freebsd-12-stable/sys/dev/nvme/ |
H A D | nvme_ctrlr.c | 394 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 D | nvme.c | 179 cmpset = atomic_cmpset_32(&ctrlr->notification_sent, 0, 1);
|
/freebsd-12-stable/sys/dev/acpica/Osd/ |
H A D | OsdSynch.c | 619 } 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 D | uart_dev_aml8726.c | 345 } 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 D | uart_dev_cdnc.c | 497 } 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 D | atomic.h | 421 #define atomic_cmpset_int atomic_cmpset_32
|
/freebsd-12-stable/sys/mips/atheros/ |
H A D | uart_dev_ar933x.c | 644 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
|
/freebsd-12-stable/sys/mips/mediatek/ |
H A D | uart_dev_mtk.c | 364 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new));
|
/freebsd-12-stable/sys/amd64/include/ |
H A D | atomic.h | 617 #define atomic_cmpset_32 atomic_cmpset_int macro
|
/freebsd-12-stable/sys/sparc64/pci/ |
H A D | sbbc.c | 917 } 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 D | atomic.h | 655 #define atomic_cmpset_32 atomic_cmpset_int macro
|