Home
last modified time | relevance | path

Searched refs:atomic_read (Results 1 – 3 of 3) sorted by relevance

/titanic_53/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_l2t.c140 #define atomic_read(x) atomic_add_int_nv(x, 0) macro
152 if (!atomic_read(&d->nfree)) in alloc_l2e()
157 if (atomic_read(&e->refcnt) == 0) in alloc_l2e()
160 for (e = d->l2tab; atomic_read(&e->refcnt); ++e) in alloc_l2e()
414 if (atomic_read(&e->refcnt) == 0) { /* hasn't been recycled */ in t4_l2e_free()
543 if (atomic_read(&e->refcnt) != 0) in t4_l2t_update()
552 if (atomic_read(&e->refcnt) != 0) { in t4_l2t_update()
/titanic_53/usr/src/uts/common/io/chxge/
H A Dsge.h52 #define atomic_read(a) (a) macro
H A Dsge.c235 atomic_read(&sge->cmdQ[0].cq_asleep)) { in t1_espi_workaround()
488 if (atomic_read(Q->cq_asleep)) { in sge_data_out()
700 if (atomic_read(cmdQ->cq_pio_pidx) != cmdQ->cq_pidx) { in sge_data_in()
1612 atomic_read(Q->cq_credits); in free_tx_resources()