Lines Matching refs:mem_link_rx
515 } mem_link_rx; variable
1717 LL_ASSERT(delta <= 0 || mem_link_rx.quota_pdu < RX_CNT); in ll_rx_link_quota_update()
1718 mem_link_rx.quota_pdu += delta; in ll_rx_link_quota_update()
1733 return mem_acquire(&mem_link_rx.free); in ll_rx_link_alloc()
1738 mem_release(link, &mem_link_rx.free); in ll_rx_link_release()
2345 mem_init(mem_link_rx.pool, sizeof(memq_link_t), in init_reset()
2346 sizeof(mem_link_rx.pool) / sizeof(memq_link_t), in init_reset()
2347 &mem_link_rx.free); in init_reset()
2350 link = mem_acquire(&mem_link_rx.free); in init_reset()
2357 link = mem_acquire(&mem_link_rx.free); in init_reset()
2364 mem_link_rx.quota_pdu = RX_CNT; in init_reset()
2447 if (max > mem_link_rx.quota_pdu) { in rx_replenish()
2448 max = mem_link_rx.quota_pdu; in rx_replenish()
2455 link = mem_acquire(&mem_link_rx.free); in rx_replenish()
2483 while (mem_link_rx.quota_pdu && in rx_replenish()
2488 link = mem_acquire(&mem_link_rx.free); in rx_replenish()