• Home
  • Raw
  • Download

Lines Matching refs:cur_size

1587 	int cur_size;  in ace_tasklet()  local
1589 cur_size = atomic_read(&ap->cur_rx_bufs); in ace_tasklet()
1590 if ((cur_size < RX_LOW_STD_THRES) && in ace_tasklet()
1593 printk("refilling buffers (current %i)\n", cur_size); in ace_tasklet()
1595 ace_load_std_rx_ring(dev, RX_RING_SIZE - cur_size); in ace_tasklet()
1599 cur_size = atomic_read(&ap->cur_mini_bufs); in ace_tasklet()
1600 if ((cur_size < RX_LOW_MINI_THRES) && in ace_tasklet()
1604 cur_size); in ace_tasklet()
1606 ace_load_mini_rx_ring(dev, RX_MINI_SIZE - cur_size); in ace_tasklet()
1610 cur_size = atomic_read(&ap->cur_jumbo_bufs); in ace_tasklet()
1611 if (ap->jumbo && (cur_size < RX_LOW_JUMBO_THRES) && in ace_tasklet()
1614 printk("refilling jumbo buffers (current %i)\n", cur_size); in ace_tasklet()
1616 ace_load_jumbo_rx_ring(dev, RX_JUMBO_SIZE - cur_size); in ace_tasklet()
2186 int cur_size; in ace_interrupt() local
2189 cur_size = atomic_read(&ap->cur_rx_bufs); in ace_interrupt()
2190 if (cur_size < RX_LOW_STD_THRES) { in ace_interrupt()
2191 if ((cur_size < RX_PANIC_STD_THRES) && in ace_interrupt()
2194 printk("low on std buffers %i\n", cur_size); in ace_interrupt()
2197 RX_RING_SIZE - cur_size); in ace_interrupt()
2203 cur_size = atomic_read(&ap->cur_mini_bufs); in ace_interrupt()
2204 if (cur_size < RX_LOW_MINI_THRES) { in ace_interrupt()
2205 if ((cur_size < RX_PANIC_MINI_THRES) && in ace_interrupt()
2210 cur_size); in ace_interrupt()
2213 RX_MINI_SIZE - cur_size); in ace_interrupt()
2220 cur_size = atomic_read(&ap->cur_jumbo_bufs); in ace_interrupt()
2221 if (cur_size < RX_LOW_JUMBO_THRES) { in ace_interrupt()
2222 if ((cur_size < RX_PANIC_JUMBO_THRES) && in ace_interrupt()
2227 cur_size); in ace_interrupt()
2230 RX_JUMBO_SIZE - cur_size); in ace_interrupt()