Lines Matching refs:pool_info
196 offset = zatm_dev->pool_info[pool].offset+ in refill_pool()
204 if (free >= zatm_dev->pool_info[pool].low_water) return; in refill_pool()
211 while (free < zatm_dev->pool_info[pool].high_water) { in refill_pool()
285 if (!(zatm_dev->pool_info[pool].ref_count++)) { in use_pool()
291 zpokel(zatm_dev,((zatm_dev->pool_info[pool].low_water/4) << in use_pool()
302 DPRINTK("pool %d: %d\n",pool,zatm_dev->pool_info[pool].ref_count); in use_pool()
308 if (!(--ZATM_DEV(dev)->pool_info[pool].ref_count)) in unuse_pool()
612 zatm_dev->pool_info[i].ref_count = 0; in start_rx()
613 zatm_dev->pool_info[i].rqa_count = 0; in start_rx()
614 zatm_dev->pool_info[i].rqu_count = 0; in start_rx()
615 zatm_dev->pool_info[i].low_water = LOW_MARK; in start_rx()
616 zatm_dev->pool_info[i].high_water = HIGH_MARK; in start_rx()
617 zatm_dev->pool_info[i].offset = 0; in start_rx()
618 zatm_dev->pool_info[i].next_off = 0; in start_rx()
619 zatm_dev->pool_info[i].next_cnt = 0; in start_rx()
620 zatm_dev->pool_info[i].next_thres = OFF_CNG_THRES; in start_rx()
1042 zatm_dev->pool_info[i].rqa_count++; in zatm_int()
1057 zatm_dev->pool_info[i].rqu_count++; in zatm_int()
1460 info = zatm_dev->pool_info[pool]; in zatm_ioctl()
1462 zatm_dev->pool_info[pool].rqa_count = 0; in zatm_ioctl()
1463 zatm_dev->pool_info[pool].rqu_count = 0; in zatm_ioctl()
1486 pool_info[pool].low_water; in zatm_ioctl()
1489 pool_info[pool].high_water; in zatm_ioctl()
1492 pool_info[pool].next_thres; in zatm_ioctl()
1497 zatm_dev->pool_info[pool].low_water = in zatm_ioctl()
1499 zatm_dev->pool_info[pool].high_water = in zatm_ioctl()
1501 zatm_dev->pool_info[pool].next_thres = in zatm_ioctl()