Searched refs:ubr (Results 1 – 5 of 5) sorted by relevance
1240 static struct eni_tx *alloc_tx(struct eni_dev *eni_dev,int ubr) in alloc_tx() argument1244 for (i = !ubr; i < NR_CHAN; i++) in alloc_tx()1295 int rate,ubr,unlimited,new_tx; in reserve_or_set_tx() local1300 ubr = txtp->traffic_class == ATM_UBR; in reserve_or_set_tx()1301 unlimited = ubr && (!rate || rate <= -ATM_OC3_PCR || in reserve_or_set_tx()1310 if (eni_dev->ubr) { in reserve_or_set_tx()1311 eni_vcc->tx = eni_dev->ubr; in reserve_or_set_tx()1344 if (!error && !ubr && rate > eni_dev->tx_bw+tx->reserved) in reserve_or_set_tx()1348 if (!error && !set_rsv && rate > tx->reserved && !ubr) in reserve_or_set_tx()1358 if (set_rsv && !ubr) { in reserve_or_set_tx()[all …]
62 int ubr; /* UBR shaper; -1 if none */ member
86 struct eni_tx *ubr; /* UBR channel */ member
788 static int alloc_shaper(struct atm_dev *dev,int *pcr,int min,int max,int ubr) in alloc_shaper() argument800 if (ubr) { in alloc_shaper()804 zatm_dev->ubr = shaper; in alloc_shaper()858 if (shaper == zatm_dev->ubr) { in dealloc_shaper()860 zatm_dev->ubr = -1; in dealloc_shaper()906 if (zatm_vcc->shaper != zatm_dev->ubr) { in close_tx()940 if (unlimited && zatm_dev->ubr != -1) zatm_vcc->shaper = zatm_dev->ubr; in open_tx_first()1009 zatm_dev->ubr = -1; in start_tx()
853 u8 ubr: 1; member