Home
last modified time | relevance | path

Searched refs:can_drain (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/cxgbe/
H A Dt4_mp_ring.c259 ring_can_drain_t can_drain, struct malloc_type *mt, struct mtx *lck, in mp_ring_alloc() argument
267 can_drain == NULL) in mp_ring_alloc()
280 r->can_drain = can_drain; in mp_ring_alloc()
450 (os.flags == STALLED && r->can_drain(r))) { in mp_ring_enqueue()
481 if (os.flags == STALLED && r->can_drain(r)) { in mp_ring_check_drainage()
H A Dt4_mp_ring.h47 ring_can_drain_t can_drain; /* cheap, may be unreliable */ member
/freebsd/sys/net/
H A Dmp_ring.c248 mp_ring_can_drain_t can_drain, struct malloc_type *mt, int flags) in ifmp_ring_alloc() argument
254 can_drain == NULL) in ifmp_ring_alloc()
267 r->can_drain = can_drain; in ifmp_ring_alloc()
482 (os.flags != ABDICATED && r->can_drain(r) == 0)) // Can either drain, or everyone left in ifmp_ring_check_drainage()
H A Dmp_ring.h52 mp_ring_can_drain_t can_drain; /* cheap, may be unreliable */ member
H A Diflib.c4082 r->can_drain = iflib_txq_drain_always; in iflib_ifmp_purge()
4087 r->can_drain = iflib_txq_can_drain; in iflib_ifmp_purge()