Lines Matching refs:pool_info
201 offset = zatm_dev->pool_info[pool].offset+ in refill_pool()
210 if (free >= zatm_dev->pool_info[pool].low_water) return; in refill_pool()
217 while (free < zatm_dev->pool_info[pool].high_water) { in refill_pool()
291 if (!(zatm_dev->pool_info[pool].ref_count++)) { in use_pool()
298 zpokel(zatm_dev,((zatm_dev->pool_info[pool].low_water/4) << in use_pool()
309 DPRINTK("pool %d: %d\n",pool,zatm_dev->pool_info[pool].ref_count); in use_pool()
315 if (!(--ZATM_DEV(dev)->pool_info[pool].ref_count)) in unuse_pool()
328 pool = &ZATM_DEV(vcc->dev)->pool_info[ZATM_VCC(vcc)->pool]; in zatm_feedback()
800 zatm_dev->pool_info[i].ref_count = 0; in start_rx()
801 zatm_dev->pool_info[i].rqa_count = 0; in start_rx()
802 zatm_dev->pool_info[i].rqu_count = 0; in start_rx()
803 zatm_dev->pool_info[i].low_water = LOW_MARK; in start_rx()
804 zatm_dev->pool_info[i].high_water = HIGH_MARK; in start_rx()
805 zatm_dev->pool_info[i].offset = 0; in start_rx()
806 zatm_dev->pool_info[i].next_off = 0; in start_rx()
807 zatm_dev->pool_info[i].next_cnt = 0; in start_rx()
808 zatm_dev->pool_info[i].next_thres = OFF_CNG_THRES; in start_rx()
1240 zatm_dev->pool_info[i].rqa_count++; in zatm_int()
1255 zatm_dev->pool_info[i].rqu_count++; in zatm_int()
1652 info = zatm_dev->pool_info[pool]; in zatm_ioctl()
1654 zatm_dev->pool_info[pool].rqa_count = 0; in zatm_ioctl()
1655 zatm_dev->pool_info[pool].rqu_count = 0; in zatm_ioctl()
1678 pool_info[pool].low_water; in zatm_ioctl()
1681 pool_info[pool].high_water; in zatm_ioctl()
1684 pool_info[pool].next_thres; in zatm_ioctl()
1690 zatm_dev->pool_info[pool].low_water = in zatm_ioctl()
1692 zatm_dev->pool_info[pool].high_water = in zatm_ioctl()
1694 zatm_dev->pool_info[pool].next_thres = in zatm_ioctl()