| /f-stack/freebsd/amd64/include/ |
| H A D | atomic.h | 120 int atomic_cmpset_int(volatile u_int *dst, u_int expect, u_int src); 536 #define atomic_cmpset_acq_int atomic_cmpset_int 537 #define atomic_cmpset_rel_int atomic_cmpset_int 617 #define atomic_cmpset_32 atomic_cmpset_int
|
| /f-stack/freebsd/i386/include/ |
| H A D | atomic.h | 114 int atomic_cmpset_int(volatile u_int *dst, u_int expect, u_int src); 695 return (atomic_cmpset_int((volatile u_int *)dst, (u_int)expect, in atomic_cmpset_long() 791 #define atomic_cmpset_acq_int atomic_cmpset_int 792 #define atomic_cmpset_rel_int atomic_cmpset_int 872 #define atomic_cmpset_32 atomic_cmpset_int 930 atomic_cmpset_int((volatile u_int *)(dst), (u_int)(old), (u_int)(new))
|
| H A D | pmap_nopae.h | 83 #define pde_cmpset(pdep, old, new) atomic_cmpset_int(pdep, old, new)
|
| /f-stack/freebsd/arm/include/ |
| H A D | atomic.h | 93 #define atomic_cmpset_int atomic_cmpset_32 macro
|
| /f-stack/freebsd/contrib/vchiq/interface/compat/ |
| H A D | vchi_bsd.h | 64 } while (atomic_cmpset_int(addr, val, val | (1 << nr)) == 0); in test_and_set_bit() 75 } while (atomic_cmpset_int(addr, val, val & ~(1 << nr)) == 0); in test_and_clear_bit()
|
| /f-stack/freebsd/netinet/ |
| H A D | sctp_bsd_addr.c | 429 if (!(atomic_cmpset_int(&SCTP_BASE_VAR(packet_log_end), value, thisend))) { in sctp_packet_log() 443 if (!(atomic_cmpset_int(&SCTP_BASE_VAR(packet_log_end), value, thisend))) { in sctp_packet_log()
|
| /f-stack/freebsd/libkern/ |
| H A D | arc4random.c | 201 atomic_cmpset_int(&arc4rand_iniseed_state, ARC4_ENTR_HAVE, ARC4_ENTR_SEED))))
|
| /f-stack/freebsd/amd64/vmm/io/ |
| H A D | iommu.c | 270 if (atomic_cmpset_int(&iommu_initted, 0, 1)) { in iommu_create_domain()
|
| /f-stack/freebsd/kern/ |
| H A D | subr_smr.c | 458 atomic_cmpset_int(&s->s_rd_seq, s_rd_seq, rd_seq); in smr_poll_scan()
|
| H A D | kern_synch.c | 398 if (atomic_cmpset_int(&bc->__count, _BLOCKCOUNT_WAITERS_FLAG, 0)) in _blockcount_wakeup()
|
| H A D | subr_smp.c | 273 while (atomic_cmpset_int(&stopping_cpu, NOCPU, in generic_stop_cpus()
|
| H A D | subr_prf.c | 1246 if (atomic_cmpset_int(counter, c, c - 1)) { in counted_warning()
|
| H A D | kern_intr.c | 1158 atomic_cmpset_int(&ih->ih_need, 1, 0) == 0) in intr_event_execute_handlers()
|
| /f-stack/freebsd/netipsec/ |
| H A D | subr_ipsec.c | 163 while (atomic_cmpset_int(cntr, 0, 0) == 0) in ipsec_kmod_drain()
|
| /f-stack/freebsd/vm/ |
| H A D | vm_glue.c | 524 if (atomic_cmpset_int(&max_kstack_used, prev_used, used)) in intr_prof_stack_use()
|
| H A D | swap_pager.c | 2032 if (atomic_cmpset_int(&swblk_zone_exhausted, in swp_pager_meta_build() 2039 if (atomic_cmpset_int(&swblk_zone_exhausted, in swp_pager_meta_build() 2062 if (atomic_cmpset_int(&swpctrie_zone_exhausted, in swp_pager_meta_build() 2069 if (atomic_cmpset_int(&swpctrie_zone_exhausted, in swp_pager_meta_build()
|
| H A D | vm_page.h | 788 } while (!atomic_cmpset_int(&(m)->busy_lock, _busy_lock, \
|
| /f-stack/freebsd/sys/ |
| H A D | _cscan_atomic.h | 169 #define atomic_cmpset_int kcsan_atomic_cmpset_int macro
|
| /f-stack/freebsd/arm64/include/ |
| H A D | atomic.h | 499 #define atomic_cmpset_int atomic_cmpset_32 macro
|
| /f-stack/freebsd/arm/arm/ |
| H A D | debug_monitor.c | 251 return (atomic_cmpset_int(&dbg_capable_var, 0, 0) == 0); in dbg_capable()
|
| /f-stack/freebsd/mips/include/ |
| H A D | atomic.h | 660 #define atomic_cmpset_int atomic_cmpset_32 macro
|
| /f-stack/freebsd/i386/i386/ |
| H A D | pmap.c | 3466 if (!atomic_cmpset_int((u_int *)pte, obits, in __CONCAT() 3534 if (!atomic_cmpset_int((u_int *)firstpte, newpde, newpde & in pmap_promote_pde() 3560 if (!atomic_cmpset_int((u_int *)pte, oldpte, in pmap_promote_pde() 5070 if (!atomic_cmpset_int((u_int *)pte, oldpte, in __CONCAT() 5418 } while (npte != opte && !atomic_cmpset_int((u_int *)pte, opte, npte)); in pmap_pte_attr() 5435 } while (npde != opde && !atomic_cmpset_int((u_int *)pde, opde, npde)); in pmap_pde_attr()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_ksocket.c | 1011 if (atomic_cmpset_int(&priv->fn_sent, 0, 1) && in ng_ksocket_incoming()
|
| /f-stack/freebsd/netinet6/ |
| H A D | sctp6_usrreq.c | 485 …(atomic_cmpset_int(&inp->sctp_flags, flags, (flags | SCTP_PCB_FLAGS_SOCKET_GONE | SCTP_PCB_FLAGS_C… in sctp6_abort()
|
| /f-stack/freebsd/net80211/ |
| H A D | ieee80211_freebsd.c | 409 return atomic_cmpset_int(&ni->ni_refcnt, 0, 1); in ieee80211_node_dectestref()
|