| /freebsd-12.1/sys/cddl/compat/opensolaris/sys/ |
| H A D | atomic.h | 72 return (atomic_fetchadd_32(target, delta) + delta); in atomic_add_32_nv() 90 return (atomic_fetchadd_32(target, -1) - 1); in atomic_dec_32_nv()
|
| /freebsd-12.1/sys/arm/include/ |
| H A D | atomic-v4.h | 188 atomic_fetchadd_32(volatile uint32_t *p, uint32_t v) in atomic_fetchadd_32() function 365 atomic_fetchadd_32(volatile uint32_t *p, uint32_t v) in atomic_fetchadd_32() function 522 return (atomic_fetchadd_32((volatile uint32_t *)p, v)); in atomic_fetchadd_long()
|
| H A D | atomic.h | 93 #define atomic_fetchadd_int atomic_fetchadd_32
|
| H A D | atomic-v6.h | 414 atomic_fetchadd_32(volatile uint32_t *p, uint32_t val) in atomic_fetchadd_32() function 458 return (atomic_fetchadd_32((volatile uint32_t *)p, val)); in atomic_fetchadd_long()
|
| /freebsd-12.1/sys/arm64/include/ |
| H A D | atomic.h | 258 atomic_fetchadd_32(volatile uint32_t *p, uint32_t val) 422 #define atomic_fetchadd_int atomic_fetchadd_32
|
| /freebsd-12.1/sys/mips/include/ |
| H A D | atomic.h | 440 atomic_fetchadd_32(__volatile uint32_t *p, uint32_t v) in atomic_fetchadd_32() function 646 #define atomic_fetchadd_int atomic_fetchadd_32 729 atomic_fetchadd_32((volatile u_int *)(p), (u_int)(v))
|
| /freebsd-12.1/sys/riscv/include/ |
| H A D | atomic.h | 151 atomic_fetchadd_32(volatile uint32_t *p, uint32_t val) in atomic_fetchadd_32() function 183 #define atomic_fetchadd_int atomic_fetchadd_32
|
| /freebsd-12.1/sys/dev/ocs_fc/ |
| H A D | ocs_os.h | 931 #define ocs_atomic_add_return(a, v) atomic_fetchadd_32(a, v) 942 #define ocs_atomic_sub_return(a, v) atomic_fetchadd_32(a, (-(v)))
|
| /freebsd-12.1/sys/kgssapi/krb5/ |
| H A D | krb5_mech.c | 912 seq = atomic_fetchadd_32(&kc->kc_local_seqnumber, 1); in krb5_get_mic_old() 990 seq = atomic_fetchadd_32(&kc->kc_local_seqnumber, 1); in krb5_get_mic_new() 1349 seq = atomic_fetchadd_32(&kc->kc_local_seqnumber, 1); in krb5_wrap_old() 1502 seq = atomic_fetchadd_32(&kc->kc_local_seqnumber, 1); in krb5_wrap_new()
|
| /freebsd-12.1/sys/sparc64/include/ |
| H A D | atomic.h | 360 #define atomic_fetchadd_32 atomic_add_32 macro
|
| /freebsd-12.1/sys/net80211/ |
| H A D | ieee80211_freebsd.c | 313 ostate = atomic_fetchadd_32(&vap->iv_com_state, IEEE80211_COM_REF_ADD); in ieee80211_com_vincref() 333 ostate = atomic_fetchadd_32(&vap->iv_com_state, -IEEE80211_COM_REF_ADD); in ieee80211_com_vdecref()
|
| /freebsd-12.1/sys/netgraph/netflow/ |
| H A D | netflow_v9.c | 225 header->seq_num = htonl(atomic_fetchadd_32(&fe->flow9_seq, 1)); in export9_send()
|
| H A D | netflow.c | 1069 header->flow_seq = htonl(atomic_fetchadd_32(&fe->flow_seq, in export_send()
|
| /freebsd-12.1/sys/amd64/include/ |
| H A D | atomic.h | 625 #define atomic_fetchadd_32 atomic_fetchadd_int macro
|
| /freebsd-12.1/sys/powerpc/include/ |
| H A D | atomic.h | 848 #define atomic_fetchadd_32 atomic_fetchadd_int macro
|
| /freebsd-12.1/sys/i386/include/ |
| H A D | atomic.h | 879 #define atomic_fetchadd_32 atomic_fetchadd_int macro
|
| /freebsd-12.1/sys/net/ |
| H A D | if_lagg.c | 1920 p = atomic_fetchadd_32(&sc->sc_seq, 1); in lagg_rr_start() 1924 p = atomic_fetchadd_32(&sc->sc_seq, 1); in lagg_rr_start()
|
| /freebsd-12.1/sys/cam/ctl/ |
| H A D | ctl_frontend_iscsi.c | 2675 atomic_fetchadd_32(&cs->cs_target_transfer_tag, 1); in cfiscsi_datamove_out()
|
| /freebsd-12.1/sys/dev/usb/wlan/ |
| H A D | if_run.c | 124 #define RUN_CMDQ_GET(c) (atomic_fetchadd_32((c), 1) & RUN_CMDQ_MASQ)
|