/freebsd/sys/dev/nvme/ |
H A D | nvme.c | 132 cmpset = atomic_cmpset_32(&ctrlr->notification_sent, 0, 1); in nvme_notify() 144 (void)atomic_cmpset_32(&ctrlr->notification_sent, 1, 0); in nvme_notify()
|
H A D | nvme_ctrlr.c | 442 cmpset = atomic_cmpset_32(&ctrlr->is_resetting, 0, 1); in nvme_ctrlr_reset() 1203 atomic_cmpset_32(&ctrlr->is_resetting, 1, 0); in nvme_ctrlr_reset_task() 1781 while (atomic_cmpset_32(&ctrlr->is_resetting, 0, 1) == 0 && to-- > 0) in nvme_ctrlr_suspend() 1827 (void)atomic_cmpset_32(&ctrlr->is_resetting, 1, 0); in nvme_ctrlr_resume() 1838 (void)atomic_cmpset_32(&ctrlr->is_resetting, 1, 0); in nvme_ctrlr_resume()
|
/freebsd/sys/sys/ |
H A D | buf_ring.h | 118 } while (!atomic_cmpset_32(&br->br_prod_head, prod_head, prod_next)); in buf_ring_enqueue() 165 } while (!atomic_cmpset_32(&br->br_cons_head, cons_head, cons_next)); in buf_ring_dequeue_mc()
|
H A D | atomic_san.h | 351 #define atomic_cmpset_32 ATOMIC_SAN(cmpset_32) macro
|
/freebsd/sys/riscv/sifive/ |
H A D | sifive_uart.c | 300 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); in sfuart_bus_getsig() 319 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); in sfuart_bus_setsig()
|
/freebsd/sys/arm/include/ |
H A D | atomic.h | 476 atomic_cmpset_32(volatile uint32_t *_ptr, uint32_t _old, uint32_t _new) in atomic_cmpset_32() function 1071 #define atomic_cmpset_ptr atomic_cmpset_32 1097 #define atomic_cmpset_int atomic_cmpset_32
|
/freebsd/sys/riscv/include/ |
H A D | atomic.h | 193 atomic_cmpset_32(volatile uint32_t *p, uint32_t cmpval, uint32_t newval) in atomic_cmpset_32() function 299 #define atomic_cmpset_int atomic_cmpset_32
|
/freebsd/sys/arm/xilinx/ |
H A D | uart_dev_cdnc.c | 491 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); in cdnc_uart_bus_setsig() 633 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); in cdnc_uart_bus_getsig()
|
/freebsd/sys/dev/acpica/Osd/ |
H A D | OsdSynch.c | 617 } while (atomic_cmpset_32(lock, old, new) == 0); in acpi_acquire_global_lock() 635 } while (atomic_cmpset_32(lock, old, new) == 0); in acpi_release_global_lock()
|
/freebsd/sys/kern/ |
H A D | kern_syscalls.c | 85 while (atomic_cmpset_32(&se->sy_thrcnt, SY_THR_DRAINING, in syscall_thread_drain()
|
H A D | kern_fail.c | 576 if (atomic_cmpset_32(&ent->fe_count, count, count - 1)) { in fail_point_eval_nontrivial()
|
/freebsd/sys/dev/uart/ |
H A D | uart_core.c | 275 } while (!atomic_cmpset_32(&sc->sc_ttypend, old, new)); in uart_sched_softih() 400 } while (!atomic_cmpset_32(&sc->sc_ttypend, old, new)); in uart_intr_sigchg()
|
H A D | uart_dev_ns8250.c | 710 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, sig & ~SER_MASK_DELTA)); in ns8250_bus_getsig() 1078 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); in ns8250_bus_setsig()
|
H A D | uart_dev_imx.c | 460 } while (!atomic_cmpset_32(&sc->sc_hwsig, old, new)); in imx_uart_bus_getsig()
|
/freebsd/sys/arm64/arm64/ |
H A D | cmn600.c | 508 if (atomic_cmpset_32(&node->nd_paired, old, new) != 0) in pmu_cmn600_alloc_localpmc() 537 } while (atomic_cmpset_32(&node->nd_paired, old, new) == 0); in pmu_cmn600_free_localpmc()
|
/freebsd/sys/amd64/include/ |
H A D | atomic.h | 529 #define atomic_cmpset_32 atomic_cmpset_int macro
|
/freebsd/sys/arm64/include/ |
H A D | atomic.h | 565 #define atomic_cmpset_int atomic_cmpset_32
|
/freebsd/sys/i386/include/ |
H A D | atomic.h | 782 #define atomic_cmpset_32 atomic_cmpset_int macro
|
/freebsd/sys/powerpc/include/ |
H A D | atomic.h | 734 #define atomic_cmpset_32 atomic_cmpset_int macro
|
/freebsd/sys/amd64/vmm/ |
H A D | vmm_instruction_emul.c | 2153 if (atomic_cmpset_32(&ptpbase32[ptpindex], in _vm_gla2gpa() 2168 if (atomic_cmpset_32(&ptpbase32[ptpindex], in _vm_gla2gpa()
|
/freebsd/sys/rpc/ |
H A D | clnt_dg.c | 246 atomic_cmpset_32(&rpc_xid, 0, newxid); in clnt_dg_create()
|
/freebsd/sys/dev/gve/ |
H A D | gve_tx_dqo.c | 533 if (atomic_cmpset_32(&tx->dqo.free_pending_pkts_prd, in gve_free_pending_packet()
|
/freebsd/sys/dev/pms/freebsd/driver/ini/src/ |
H A D | agtiapi.c | 5579 cmpsetRtn = atomic_cmpset_32( &pWWNList[devIdx].devRemoved, 0, 5 ); in agtiapi_GetDevHandle() 5988 cmpsetRtn = atomic_cmpset_32( &pWWNList[lIdx].devRemoved, in agtiapi_devRmCheck()
|