Lines Matching refs:overhead
101 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead);
120 u_long payload, overhead ;
258 overhead = ((struct smt_p_3210 *)p)->mib_overhead ;
260 DB_ESSN(2, "payload= %lx overhead= %lx",
261 payload, overhead);
266 (void)process_bw_alloc(smc,(long)payload,(long)overhead) ;
309 overhead = ((struct smt_p_3210 *)p)->mib_overhead ;
313 DB_ESSN(2, "payload= %lx overhead= %lx",
314 payload, overhead);
319 if(!process_bw_alloc(smc,(long)payload,(long)overhead))
376 static int process_bw_alloc(struct s_smc *smc, long int payload, long int overhead)
401 * plus the overhead.
421 if (smt_set_obj(smc,SMT_P3210,overhead,S_SET)) {
422 DB_ESS("ESS: SMT does not accept the overhead value");
427 if (payload > MAX_PAYLOAD || overhead > 5000) {
428 DB_ESS("ESS: payload / overhead not accepted");
433 * start the iterative allocation process if the payload or the overhead
438 (u_long)overhead != smc->mib.fddiESSOverhead)) {
450 smc->ess.sync_bw = overhead -
458 overhead = 0 ;
462 smc->mib.a[PATH0].fddiPATHSbaOverhead = overhead ;
521 chg->overhead.para.p_type = SMT_P3210 ;
522 chg->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ;
523 chg->overhead.mib_index = SBAPATHINDEX ;
524 chg->overhead.mib_overhead = smc->mib.a[PATH0].fddiPATHSbaOverhead ;
558 * overhead is zero or deallocate bandwidth when no bandwidth is
629 req->overhead.para.p_type = SMT_P3210 ;
630 req->overhead.para.p_len = sizeof(struct smt_p_3210) - PARA_LEN ;
631 req->overhead.mib_index = SBAPATHINDEX ;
632 req->overhead.mib_overhead = smc->mib.a[PATH0].fddiPATHSbaOverhead ;