Searched refs:lmax (Results 1 - 11 of 11) sorted by relevance

/freebsd-9.3-release/sys/netpfil/ipfw/test/
H A Dmain.c35 int lmin, lmax; /* packet len */ member in struct:cfg_s
303 DX(3, "----- fs %4d weight %4d lmax %4d X %4d flows %d",
361 c->lmin = c->lmax = 1280; /* packet len */
397 c->lmax = c->lmin;
429 if (c->lmax <= 0)
430 c->lmax = 1;
628 to achieve a distribution that matches weights, for each X=w/lmax class
/freebsd-9.3-release/sbin/ipfw/
H A Ddummynet.c52 { "lmax", TOK_LMAX },
259 "weight %d lmax %d pri %d %s\n",
771 int lmax; local
778 lmax = sizeof(struct dn_id); /* command header */
779 lmax += sizeof(struct dn_sch) + sizeof(struct dn_link) +
790 base = buf = safe_calloc(1, lmax);
1097 NEED(fs, "lmax is only for flowsets");
1098 NEED1("lmax needs argument\n");
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Dip_dn_glue.c504 int lmax; local
512 lmax = sizeof(struct dn_id); /* command header */
513 lmax += sizeof(struct dn_sch) + sizeof(struct dn_link) +
516 base = buf = malloc(lmax, M_DUMMYNET, M_WAIT|M_ZERO);
H A Ddn_sched_qfq.c152 * inside a group. This is approx lmax/lmin + 5.
202 * which is log_2(lmax/weight), but we never reference it
209 uint32_t lmax; /* Max packet size for this flow. */ member in struct:qfq_class
302 cl->lmax = _q->fs->fs.par[1];
312 i = qfq_calc_index(cl->inv_w, cl->lmax);
/freebsd-9.3-release/sys/sys/
H A Dlibkern.h58 static __inline long lmax(long a, long b) { return (a > b ? a : b); } function
/freebsd-9.3-release/lib/libstand/
H A Dstand.h324 static __inline long lmax(long a, long b) { return (a > b ? a : b); } function
/freebsd-9.3-release/sys/dev/sound/pcm/
H A Dfeeder_rate.c743 int32_t c, z, len, lmax; local
756 lmax = z_coeff_tab[Z_SINC_COEFF_IDX(info)].len;
762 } while (c < lmax && ++len > 0);
/freebsd-9.3-release/sys/kern/
H A Dkern_mbuf.c154 nmbufs = lmax(maxmbufmem / MSIZE / 5,
H A Dkern_clocksource.c598 div = lmax((et->et_frequency + freq / 2) / freq, 1);
H A Dvfs_bio.c701 hibufspace = lmax(3 * maxbufspace / 4, maxbufspace - MAXBSIZE * 10);
712 hirunningspace = lmax(lmin(roundup(hibufspace / 64, MAXBSIZE),
/freebsd-9.3-release/sys/ufs/ufs/
H A Dufs_dirhash.c1292 ufs_dirhashmaxmem = lmax(roundup(hibufspace / 64, PAGE_SIZE),

Completed in 159 milliseconds