txtp 1003 drivers/atm/ambassador.c struct atm_trafprm * txtp; txtp 1041 drivers/atm/ambassador.c txtp = &qos->txtp; txtp 1042 drivers/atm/ambassador.c if (txtp->traffic_class != ATM_NONE) { txtp 1043 drivers/atm/ambassador.c switch (txtp->traffic_class) { txtp 1046 drivers/atm/ambassador.c int pcr = atm_pcr_goal (txtp); txtp 1070 drivers/atm/ambassador.c pcr = atm_pcr_goal (txtp); txtp 1137 drivers/atm/ambassador.c if (txtp->traffic_class != ATM_NONE) { txtp 1224 drivers/atm/ambassador.c if (atm_vcc->qos.txtp.traffic_class != ATM_NONE) { txtp 1320 drivers/atm/ambassador.c if (skb->len > (size_t) atm_vcc->qos.txtp.max_sdu) { txtp 199 drivers/atm/atmtcp.c if (vcc->qos.txtp.traffic_class == ATM_NONE) { txtp 1289 drivers/atm/eni.c static int reserve_or_set_tx(struct atm_vcc *vcc,struct atm_trafprm *txtp, txtp 1301 drivers/atm/eni.c rate = atm_pcr_goal(txtp); txtp 1302 drivers/atm/eni.c ubr = txtp->traffic_class == ATM_UBR; txtp 1306 drivers/atm/eni.c size = txtp->max_sdu*eni_dev->tx_mult/100; txtp 1307 drivers/atm/eni.c if (size > MID_MAX_BUF_SIZE && txtp->max_sdu <= txtp 1314 drivers/atm/eni.c txtp->pcr = ATM_OC3_PCR; txtp 1343 drivers/atm/eni.c if (!error && txtp->min_pcr > rate) error = -EINVAL; txtp 1344 drivers/atm/eni.c if (!error && txtp->max_pcr && txtp->max_pcr != ATM_MAX_PCR && txtp 1345 drivers/atm/eni.c txtp->max_pcr < rate) error = -EINVAL; txtp 1359 drivers/atm/eni.c txtp->pcr = rate; txtp 1380 drivers/atm/eni.c if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0; txtp 1382 drivers/atm/eni.c return reserve_or_set_tx(vcc,&vcc->qos.txtp,1,1); txtp 1965 drivers/atm/eni.c if (qos->txtp.traffic_class == ATM_NONE) return 0; txtp 1967 drivers/atm/eni.c rate = atm_pcr_goal(&qos->txtp); txtp 1975 drivers/atm/eni.c error = reserve_or_set_tx(vcc,&qos->txtp,rsv,shp); txtp 853 drivers/atm/firestream.c struct atm_trafprm * txtp; txtp 894 drivers/atm/firestream.c txtp = &atm_vcc->qos.txtp; txtp 908 drivers/atm/firestream.c if (DO_DIRECTION(txtp) && test_bit (dev->channo, dev->tx_inuse)) txtp 924 drivers/atm/firestream.c ( DO_DIRECTION(txtp) && test_bit (vcc->channo, dev->tx_inuse))) { txtp 934 drivers/atm/firestream.c if (DO_DIRECTION (txtp)) { txtp 976 drivers/atm/firestream.c int pcr = atm_pcr_goal (txtp); txtp 1100 drivers/atm/firestream.c struct atm_trafprm * txtp; txtp 1121 drivers/atm/firestream.c txtp = &atm_vcc->qos.txtp; txtp 1128 drivers/atm/firestream.c if (DO_DIRECTION (txtp)) { txtp 1292 drivers/atm/fore200e.c if (qos->txtp.max_pcr < ATM_OC3_PCR) { txtp 1295 drivers/atm/fore200e.c rate->data_cells = qos->txtp.max_pcr * FORE200E_MAX_BACK2BACK_CELLS / ATM_OC3_PCR; txtp 1344 drivers/atm/fore200e.c fore200e_traffic_class[ vcc->qos.txtp.traffic_class ], txtp 1345 drivers/atm/fore200e.c vcc->qos.txtp.min_pcr, vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_cdv, vcc->qos.txtp.max_sdu, txtp 1350 drivers/atm/fore200e.c if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { txtp 1353 drivers/atm/fore200e.c if (fore200e->available_cell_rate < vcc->qos.txtp.max_pcr) { txtp 1362 drivers/atm/fore200e.c fore200e->available_cell_rate -= vcc->qos.txtp.max_pcr; txtp 1382 drivers/atm/fore200e.c fore200e->available_cell_rate += vcc->qos.txtp.max_pcr; txtp 1389 drivers/atm/fore200e.c if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { txtp 1396 drivers/atm/fore200e.c vcc->qos.txtp.max_pcr, vcc->qos.rxtp.max_pcr, txtp 1449 drivers/atm/fore200e.c if ((vcc->qos.txtp.traffic_class == ATM_CBR) && (vcc->qos.txtp.max_pcr > 0)) { txtp 1452 drivers/atm/fore200e.c fore200e->available_cell_rate += vcc->qos.txtp.max_pcr; txtp 1505 drivers/atm/fore200e.c if ((vcc->qos.aal == ATM_AAL0) && (vcc->qos.txtp.max_sdu == ATM_AAL0_SDU)) { txtp 1925 drivers/atm/fore200e.c fore200e_traffic_class[ qos->txtp.traffic_class ], txtp 1926 drivers/atm/fore200e.c qos->txtp.min_pcr, qos->txtp.max_pcr, qos->txtp.max_cdv, qos->txtp.max_sdu, txtp 1931 drivers/atm/fore200e.c if ((qos->txtp.traffic_class == ATM_CBR) && (qos->txtp.max_pcr > 0)) { txtp 1934 drivers/atm/fore200e.c if (fore200e->available_cell_rate + vcc->qos.txtp.max_pcr < qos->txtp.max_pcr) { txtp 1939 drivers/atm/fore200e.c fore200e->available_cell_rate += vcc->qos.txtp.max_pcr; txtp 1940 drivers/atm/fore200e.c fore200e->available_cell_rate -= qos->txtp.max_pcr; txtp 2152 drivers/atm/he.c if (vcc->qos.txtp.traffic_class != ATM_NONE) { txtp 2155 drivers/atm/he.c pcr_goal = atm_pcr_goal(&vcc->qos.txtp); txtp 2187 drivers/atm/he.c switch (vcc->qos.txtp.traffic_class) { txtp 2382 drivers/atm/he.c if (vcc->qos.txtp.traffic_class != ATM_NONE) { txtp 2415 drivers/atm/he.c switch (vcc->qos.txtp.traffic_class) { txtp 2466 drivers/atm/he.c if (vcc->qos.txtp.traffic_class == ATM_CBR) { txtp 1565 drivers/atm/horizon.c if (atm_vcc->qos.txtp.traffic_class == ATM_NONE) { txtp 1574 drivers/atm/horizon.c if (skb->len > atm_vcc->qos.txtp.max_sdu) { txtp 2099 drivers/atm/horizon.c struct atm_trafprm * txtp; txtp 2186 drivers/atm/horizon.c txtp = &qos->txtp; txtp 2198 drivers/atm/horizon.c if (txtp->traffic_class != ATM_NONE) { txtp 2199 drivers/atm/horizon.c error = check_max_sdu (vcc.aal, txtp, max_tx_size); txtp 2205 drivers/atm/horizon.c switch (txtp->traffic_class) { txtp 2224 drivers/atm/horizon.c int pcr = atm_pcr_goal (txtp); txtp 2250 drivers/atm/horizon.c error = atm_pcr_check (txtp, vcc.tx_rate); txtp 2260 drivers/atm/horizon.c int pcr = atm_pcr_goal (txtp); txtp 2487 drivers/atm/horizon.c if (atm_vcc->qos.txtp.traffic_class != ATM_NONE) { txtp 2144 drivers/atm/idt77252.c if ((qos->txtp.max_pcr == 0) && txtp 2145 drivers/atm/idt77252.c (qos->txtp.pcr == 0) && (qos->txtp.min_pcr == 0)) { txtp 2157 drivers/atm/idt77252.c tcr = atm_pcr_goal(&qos->txtp); txtp 2225 drivers/atm/idt77252.c tcr = atm_pcr_goal(&qos->txtp); txtp 2251 drivers/atm/idt77252.c switch (qos->txtp.traffic_class) { txtp 2283 drivers/atm/idt77252.c card->name, qos->txtp.traffic_class); txtp 2446 drivers/atm/idt77252.c vcc->qos.txtp.traffic_class != ATM_NONE ? "tx" : "--", txtp 2450 drivers/atm/idt77252.c if (vcc->qos.txtp.traffic_class != ATM_NONE && txtp 2464 drivers/atm/idt77252.c if (vcc->qos.txtp.traffic_class != ATM_NONE) { txtp 2529 drivers/atm/idt77252.c if (vcc->qos.txtp.traffic_class != ATM_NONE) { txtp 2580 drivers/atm/idt77252.c if (qos->txtp.traffic_class != ATM_NONE) { txtp 2586 drivers/atm/idt77252.c switch (qos->txtp.traffic_class) { txtp 245 drivers/atm/iphase.c if (vcc->qos.txtp.traffic_class == ATM_ABR) { txtp 475 drivers/atm/iphase.c if (vcc->qos.txtp.max_pcr <= 0) { txtp 479 drivers/atm/iphase.c rate = vcc->qos.txtp.max_pcr; txtp 1399 drivers/atm/iphase.c (vcc->qos.txtp.traffic_class == ATM_ABR)) txtp 1725 drivers/atm/iphase.c if (vcc->qos.txtp.pcr >= iadev->rate_limit) { txtp 1754 drivers/atm/iphase.c if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0; txtp 1758 drivers/atm/iphase.c if (vcc->qos.txtp.traffic_class == ATM_ABR) { txtp 1762 drivers/atm/iphase.c if (vcc->qos.txtp.traffic_class == ATM_CBR) { txtp 1769 drivers/atm/iphase.c if (vcc->qos.txtp.max_sdu > txtp 1772 drivers/atm/iphase.c vcc->qos.txtp.max_sdu,iadev->tx_buf_sz); txtp 1781 drivers/atm/iphase.c if (vcc->qos.txtp.max_pcr == ATM_MAX_PCR) txtp 1782 drivers/atm/iphase.c vcc->qos.txtp.pcr = iadev->LineRate; txtp 1783 drivers/atm/iphase.c else if ((vcc->qos.txtp.max_pcr == 0)&&( vcc->qos.txtp.pcr <= 0)) txtp 1784 drivers/atm/iphase.c vcc->qos.txtp.pcr = iadev->LineRate; txtp 1785 drivers/atm/iphase.c else if ((vcc->qos.txtp.max_pcr > vcc->qos.txtp.pcr) && (vcc->qos.txtp.max_pcr> 0)) txtp 1786 drivers/atm/iphase.c vcc->qos.txtp.pcr = vcc->qos.txtp.max_pcr; txtp 1787 drivers/atm/iphase.c if (vcc->qos.txtp.pcr > iadev->LineRate) txtp 1788 drivers/atm/iphase.c vcc->qos.txtp.pcr = iadev->LineRate; txtp 1789 drivers/atm/iphase.c ia_vcc->pcr = vcc->qos.txtp.pcr; txtp 1800 drivers/atm/iphase.c if (vcc->qos.txtp.max_sdu != 0) { txtp 1802 drivers/atm/iphase.c sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 5; txtp 1804 drivers/atm/iphase.c sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 4; txtp 1806 drivers/atm/iphase.c sk->sk_sndbuf = vcc->qos.txtp.max_sdu * 3; txtp 1828 drivers/atm/iphase.c if (vcc->qos.txtp.traffic_class == ATM_UBR) txtp 1833 drivers/atm/iphase.c if (vcc->qos.txtp.pcr > 0) txtp 1834 drivers/atm/iphase.c vc->acr = cellrate_to_float(vcc->qos.txtp.pcr); txtp 1836 drivers/atm/iphase.c vcc->qos.txtp.max_pcr,vc->acr);) txtp 1838 drivers/atm/iphase.c else if (vcc->qos.txtp.traffic_class == ATM_ABR) txtp 1842 drivers/atm/iphase.c if (vcc->qos.txtp.pcr > 0) txtp 1843 drivers/atm/iphase.c srv_p.pcr = vcc->qos.txtp.pcr; txtp 1844 drivers/atm/iphase.c if (vcc->qos.txtp.min_pcr > 0) { txtp 1845 drivers/atm/iphase.c int tmpsum = iadev->sum_mcr+iadev->sum_cbr+vcc->qos.txtp.min_pcr; txtp 1848 drivers/atm/iphase.c srv_p.mcr = vcc->qos.txtp.min_pcr; txtp 1849 drivers/atm/iphase.c iadev->sum_mcr += vcc->qos.txtp.min_pcr; txtp 1852 drivers/atm/iphase.c if (vcc->qos.txtp.icr) txtp 1853 drivers/atm/iphase.c srv_p.icr = vcc->qos.txtp.icr; txtp 1854 drivers/atm/iphase.c if (vcc->qos.txtp.tbe) txtp 1855 drivers/atm/iphase.c srv_p.tbe = vcc->qos.txtp.tbe; txtp 1856 drivers/atm/iphase.c if (vcc->qos.txtp.frtt) txtp 1857 drivers/atm/iphase.c srv_p.frtt = vcc->qos.txtp.frtt; txtp 1858 drivers/atm/iphase.c if (vcc->qos.txtp.rif) txtp 1859 drivers/atm/iphase.c srv_p.rif = vcc->qos.txtp.rif; txtp 1860 drivers/atm/iphase.c if (vcc->qos.txtp.rdf) txtp 1861 drivers/atm/iphase.c srv_p.rdf = vcc->qos.txtp.rdf; txtp 1862 drivers/atm/iphase.c if (vcc->qos.txtp.nrm_pres) txtp 1863 drivers/atm/iphase.c srv_p.nrm = vcc->qos.txtp.nrm; txtp 1864 drivers/atm/iphase.c if (vcc->qos.txtp.trm_pres) txtp 1865 drivers/atm/iphase.c srv_p.trm = vcc->qos.txtp.trm; txtp 1866 drivers/atm/iphase.c if (vcc->qos.txtp.adtf_pres) txtp 1867 drivers/atm/iphase.c srv_p.adtf = vcc->qos.txtp.adtf; txtp 1868 drivers/atm/iphase.c if (vcc->qos.txtp.cdf_pres) txtp 1869 drivers/atm/iphase.c srv_p.cdf = vcc->qos.txtp.cdf; txtp 1875 drivers/atm/iphase.c } else if (vcc->qos.txtp.traffic_class == ATM_CBR) { txtp 1880 drivers/atm/iphase.c if (vcc->qos.txtp.max_pcr > iadev->LineRate) { txtp 2625 drivers/atm/iphase.c if (vcc->qos.txtp.traffic_class != ATM_NONE) { txtp 2652 drivers/atm/iphase.c if (vcc->qos.txtp.traffic_class == ATM_ABR) { txtp 2653 drivers/atm/iphase.c if (vcc->qos.txtp.min_pcr > 0) txtp 2654 drivers/atm/iphase.c iadev->sum_mcr -= vcc->qos.txtp.min_pcr; txtp 2656 drivers/atm/iphase.c if (vcc->qos.txtp.traffic_class == ATM_CBR) { txtp 3012 drivers/atm/iphase.c if (vcc->qos.txtp.traffic_class == ATM_ABR) txtp 727 drivers/atm/lanai.c (lvcc->tx.atmvcc->qos.txtp.traffic_class == ATM_CBR) ? txtp 789 drivers/atm/lanai.c (lvcc->tx.atmvcc->qos.txtp.traffic_class != ATM_CBR || txtp 1517 drivers/atm/lanai.c max_sdu = qos->txtp.max_sdu; txtp 1973 drivers/atm/lanai.c if (qos->txtp.traffic_class == ATM_CBR || qos->aal == ATM_AAL0) txtp 1998 drivers/atm/lanai.c if (qos->txtp.traffic_class != ATM_NONE && txtp 2001 drivers/atm/lanai.c if (qos->txtp.traffic_class == ATM_CBR && txtp 2071 drivers/atm/lanai.c int x, icg, pcr = atm_pcr_goal(&qos->txtp); txtp 2355 drivers/atm/lanai.c if (atmvcc->qos.txtp.traffic_class != ATM_NONE) { txtp 2362 drivers/atm/lanai.c if (atmvcc->qos.txtp.traffic_class == ATM_CBR) { txtp 1257 drivers/atm/nicstar.c if (vcc->qos.txtp.traffic_class != ATM_NONE && vc->tx) txtp 1276 drivers/atm/nicstar.c if (vcc->qos.txtp.traffic_class == ATM_CBR) { txtp 1278 drivers/atm/nicstar.c if (vcc->qos.txtp.max_pcr == 0 && vcc->qos.txtp.pcr == 0 txtp 1279 drivers/atm/nicstar.c && vcc->qos.txtp.min_pcr == 0) { txtp 1288 drivers/atm/nicstar.c tcr = atm_pcr_goal(&(vcc->qos.txtp)); txtp 1292 drivers/atm/nicstar.c card->index, vcc->qos.txtp.max_pcr); txtp 1373 drivers/atm/nicstar.c } else if (vcc->qos.txtp.traffic_class == ATM_UBR) { txtp 1378 drivers/atm/nicstar.c if (vcc->qos.txtp.traffic_class != ATM_NONE) { txtp 1460 drivers/atm/nicstar.c if (vcc->qos.txtp.traffic_class != ATM_NONE) { txtp 1464 drivers/atm/nicstar.c if (vcc->qos.txtp.traffic_class == ATM_CBR) { txtp 1526 drivers/atm/nicstar.c if (vcc->qos.txtp.traffic_class != ATM_NONE) { txtp 1698 drivers/atm/nicstar.c if (vcc->qos.txtp.traffic_class == ATM_CBR) { txtp 908 drivers/atm/zatm.c zatm_dev->tx_bw += vcc->qos.txtp.min_pcr; txtp 928 drivers/atm/zatm.c if (vcc->qos.txtp.traffic_class == ATM_NONE) return 0; txtp 938 drivers/atm/zatm.c unlimited = vcc->qos.txtp.traffic_class == ATM_UBR && txtp 939 drivers/atm/zatm.c (!vcc->qos.txtp.max_pcr || vcc->qos.txtp.max_pcr == ATM_MAX_PCR || txtp 940 drivers/atm/zatm.c vcc->qos.txtp.max_pcr >= ATM_OC3_PCR); txtp 945 drivers/atm/zatm.c if (unlimited) vcc->qos.txtp.max_sdu = ATM_MAX_AAL5_PDU; txtp 947 drivers/atm/zatm.c vcc->qos.txtp.min_pcr,vcc->qos.txtp.max_pcr,unlimited)) txtp 953 drivers/atm/zatm.c vcc->qos.txtp.min_pcr = vcc->qos.txtp.max_pcr = pcr; txtp 161 include/uapi/linux/atm.h struct atm_trafprm txtp; /* parameters in TX direction */ txtp 104 net/atm/common.c return (vcc->qos.txtp.max_sdu + txtp 159 net/atm/common.c vcc->qos.txtp.max_sdu = 1 << 16; /* for meta VCs */ txtp 324 net/atm/common.c walk->vci == vci && ((walk->qos.txtp.traffic_class != txtp 325 net/atm/common.c ATM_NONE && vcc->qos.txtp.traffic_class != ATM_NONE) || txtp 429 net/atm/common.c error = adjust_tp(&vcc->qos.txtp, vcc->qos.aal); txtp 436 net/atm/common.c vcc->qos.txtp.traffic_class, txtp 437 net/atm/common.c vcc->qos.txtp.min_pcr, txtp 438 net/atm/common.c vcc->qos.txtp.max_pcr, txtp 439 net/atm/common.c vcc->qos.txtp.max_sdu); txtp 483 net/atm/common.c vcc->qos.txtp.traffic_class, vcc->qos.txtp.min_pcr, txtp 484 net/atm/common.c vcc->qos.txtp.max_pcr, vcc->qos.txtp.max_sdu, txtp 492 net/atm/common.c if (vcc->qos.txtp.traffic_class == ATM_ANYCLASS || txtp 597 net/atm/common.c if (size > vcc->qos.txtp.max_sdu) { txtp 679 net/atm/common.c if (vcc->qos.txtp.traffic_class != ATM_NONE && txtp 696 net/atm/common.c qos->txtp.traffic_class != vcc->qos.txtp.traffic_class) txtp 698 net/atm/common.c error = adjust_tp(&qos->txtp, qos->aal); txtp 734 net/atm/common.c if (!qos->txtp.traffic_class && !qos->rxtp.traffic_class) txtp 736 net/atm/common.c if (qos->txtp.traffic_class != qos->rxtp.traffic_class && txtp 737 net/atm/common.c qos->txtp.traffic_class && qos->rxtp.traffic_class && txtp 738 net/atm/common.c qos->txtp.traffic_class != ATM_ANYCLASS && txtp 741 net/atm/common.c error = check_tp(&qos->txtp); txtp 256 net/atm/mpc.c qos->qos.txtp.max_pcr, txtp 257 net/atm/mpc.c qos->qos.txtp.pcr, txtp 258 net/atm/mpc.c qos->qos.txtp.min_pcr, txtp 259 net/atm/mpc.c qos->qos.txtp.max_cdv, txtp 260 net/atm/mpc.c qos->qos.txtp.max_sdu, txtp 1125 net/atm/mpc.c if (eg_entry->shortcut->qos.txtp.traffic_class & txtp 1126 net/atm/mpc.c msg->qos.txtp.traffic_class & txtp 1127 net/atm/mpc.c (qos ? qos->qos.txtp.traffic_class : ATM_UBR | ATM_CBR)) { txtp 1128 net/atm/mpc.c if (eg_entry->shortcut->qos.txtp.traffic_class == ATM_UBR) txtp 1130 net/atm/mpc.c else if (eg_entry->shortcut->qos.txtp.max_pcr > 0) txtp 1146 net/atm/mpc.c (qos->qos.txtp.traffic_class == msg->qos.txtp.traffic_class)) { txtp 271 net/atm/mpoa_proc.c qos.txtp.traffic_class = ATM_CBR; txtp 272 net/atm/mpoa_proc.c qos.txtp.max_pcr = tx_pcr; txtp 273 net/atm/mpoa_proc.c qos.txtp.max_sdu = tx_sdu; txtp 279 net/atm/mpoa_proc.c qos.txtp.max_pcr, qos.txtp.max_sdu, txtp 416 net/atm/pppoatm.c pvcc->chan.mtu = atmvcc->qos.txtp.max_sdu - PPP_HDRLEN - txtp 157 net/atm/proc.c vcc->qos.txtp.min_pcr, txtp 158 net/atm/proc.c class_name[vcc->qos.txtp.traffic_class]); txtp 195 net/atm/svc.c if (vcc->qos.txtp.traffic_class == ATM_ANYCLASS || txtp 200 net/atm/svc.c if (!vcc->qos.txtp.traffic_class && txtp 268 net/atm/svc.c vcc->qos.txtp.max_pcr = SELECT_TOP_PCR(vcc->qos.txtp); txtp 269 net/atm/svc.c vcc->qos.txtp.pcr = 0; txtp 270 net/atm/svc.c vcc->qos.txtp.min_pcr = 0;