Home
last modified time | relevance | path

Searched refs:atomic_load_acq_int (Results 1 – 25 of 69) sorted by relevance

123

/freebsd/sys/dev/liquidio/
H A Dlio_network.h235 return (atomic_load_acq_int(&lio->ifstate) & state_flag); in lio_ifstate_check()
248 (atomic_load_acq_int(&lio->ifstate) | state_flag)); in lio_ifstate_set()
261 (atomic_load_acq_int(&lio->ifstate) & in lio_ifstate_reset()
277 pcount = atomic_load_acq_int( in lio_wait_for_pending_requests()
H A Dlio_core.c511 if (atomic_load_acq_int(&iq->instr_pending)) in lio_msix_intr_handler()
543 if (!(atomic_load_acq_int(&oct->status) == LIO_DEV_IN_RESET)) in lio_intr_handler()
/freebsd/sys/dev/cxgbe/
H A Dt4_l2t.c78 if (!atomic_load_acq_int(&d->nfree)) in t4_alloc_l2e()
83 if (atomic_load_acq_int(&e->refcnt) == 0) in t4_alloc_l2e()
86 for (e = d->l2tab; atomic_load_acq_int(&e->refcnt); ++e) in t4_alloc_l2e()
117 if (atomic_load_acq_int(&e->refcnt) == 0) { in find_or_alloc_l2e()
300 if (atomic_load_acq_int(&e->refcnt) == 0) { in t4_l2t_alloc_switching()
492 l2e_state(e), atomic_load_acq_int(&e->refcnt), in sysctl_l2t()
H A Dt4_smt.c78 if (atomic_load_acq_int(&e->refcnt) == 0) { in t4_find_or_alloc_sme()
208 if (atomic_load_acq_int(&e->refcnt) == 1) { in t4_smt_set_switching()
333 smt_state(e), atomic_load_acq_int(&e->refcnt)); in sysctl_smt()
/freebsd/lib/libc/locale/
H A Dlocaleconv.c62 if (atomic_load_acq_int(&loc->monetary_locale_changed) != 0) { in localeconv_l()
94 if (atomic_load_acq_int(&loc->numeric_locale_changed) != 0) { in localeconv_l()
/freebsd/sys/sys/
H A Dseqc.h81 return (atomic_load_acq_int(seqcp)); in seqc_read_any()
88 return (atomic_load_acq_int(seqcp) & ~SEQC_MOD); in seqc_read_notmodify()
/freebsd/tools/test/stress2/misc/
H A Dsegregs.sh63 while (atomic_load_acq_int(&b) == 0)
95 while (atomic_load_acq_int(&b) != 0)
/freebsd/sys/kern/
H A Dsubr_smr.c282 s_rd_seq = atomic_load_acq_int(&s->s_rd_seq); in smr_default_advance()
515 s_rd_seq = atomic_load_acq_int(&s->s_rd_seq); in smr_poll()
528 s_wr_seq = atomic_load_acq_int(&s->s_wr.seq); in smr_poll()
H A Dkern_tc.c248 gen = atomic_load_acq_int(&th->th_generation); in bintime_off()
275 gen = atomic_load_acq_int(&th->th_generation); in getthmember()
910 gen = atomic_load_acq_int(&th->th_generation); in ffclock_read_counter()
1067 gen = atomic_load_acq_int(&th->th_generation); in sysclock_getsnapshot()
1768 pps->capgen = atomic_load_acq_int(&th->th_generation); in pps_capture()
/freebsd/sys/dev/liquidio/base/
H A Dlio_device.c238 int32_t istate = (int32_t)atomic_load_acq_int(state_ptr); in lio_get_state_string()
392 refcount = atomic_load_acq_int(oct->adapter_refcount); in lio_register_device()
411 refcount = atomic_load_acq_int(oct->adapter_refcount); in lio_deregister_device()
780 if (atomic_load_acq_int(&oct->status) >= LIO_DEV_RUNNING) { in lio_core_drv_init()
782 atomic_load_acq_int(&oct->status)); in lio_core_drv_init()
1018 pkts_pend = atomic_load_acq_int(&droq->pkts_pending); in lio_enable_irq()
H A Dlio_request_manager.c300 pending = atomic_load_acq_int( in lio_wait_for_instr_fetch()
321 if (atomic_load_acq_int(&oct->status) == LIO_DEV_RUNNING) { in lio_ring_doorbell()
353 if (atomic_load_acq_int(&iq->instr_pending) >= in __lio_post_command2()
360 if (atomic_load_acq_int(&iq->instr_pending) >= in __lio_post_command2()
540 if (atomic_load_acq_int(&iq->instr_pending)) { in __lio_check_db_timeout()
H A Dlio_ctrl.h135 return (atomic_load_acq_int(&oct->instr_queue[q_no]->instr_pending) >= in lio_iq_is_full()
H A Dlio_droq.c243 if (atomic_load_acq_int(&iq->instr_pending)) in lio_droq_bh()
735 pkt_count = atomic_load_acq_int(&droq->pkts_pending); in lio_droq_process_packets()
761 if (atomic_load_acq_int(&droq->pkts_pending)) in lio_droq_process_packets()
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_types.h127 (atomic_load_acq_int(&(a)->counter))
/freebsd/tests/sys/vm/
H A Dshared_shadow_inval_test.c252 oldval = atomic_load_acq_int(ss->p); in child()
299 oldval = atomic_load_acq_int(ss->p); in child()
/freebsd/sys/dev/random/fenestrasX/
H A Dfx_pool.c376 atomic_load_acq_int(&fxent_nactpools) > 1 && in fxrng_event_processor()
481 if (atomic_load_acq_int(&fxent_timer_ready) != 0) { in fxrng_alg_seeded()
/freebsd/sys/dev/drm2/
H A Ddrm_atomic.h40 #define atomic_read(p) atomic_load_acq_int(p)
/freebsd/sys/powerpc/include/
H A Datomic.h524 #define atomic_load_acq_32 atomic_load_acq_int
540 return ((u_long)atomic_load_acq_int((const volatile u_int *)addr)); in ATOMIC_STORE_LOAD()
550 #define atomic_load_acq_ptr atomic_load_acq_int
/freebsd/sys/dev/hyperv/vmbus/amd64/
H A Dhyperv_machdep.c144 while ((seq = atomic_load_acq_int(&tsc_ref->tsc_seq)) != 0) { \
/freebsd/sys/dev/acpica/Osd/
H A DOsdSchedule.c238 if ((atomic_load_acq_int(&acpi_tasks[i].at_flag) & in AcpiOsWaitEventsComplete()
/freebsd/sys/arm/arm/
H A Dmp_machdep.c171 while (!atomic_load_acq_int(&aps_ready)) { in init_secondary()
/freebsd/sys/cddl/dev/sdt/
H A Dsdt.c234 while (atomic_load_acq_int(&arg->done) == 0) in sdt_probe_update_cb()
238 while (atomic_load_acq_int(&arg->arrived) != mp_ncpus - 1) in sdt_probe_update_cb()
/freebsd/sys/dev/firmware/arm/
H A Dscmi_virtio.c216 while (tmo_loops-- && atomic_load_acq_int(&msg->poll_done) == 0) { in scmi_virtio_poll_msg()
/freebsd/sys/i386/include/
H A Datomic.h780 #define atomic_load_acq_32 atomic_load_acq_int
836 atomic_load_acq_int((const volatile u_int *)(p))
/freebsd/lib/libsys/x86/
H A D__vdso_gettc.c320 while ((seq = atomic_load_acq_int(&tsc_ref->tsc_seq)) != 0) { in __vdso_hyperv_tsc()

123