Home
last modified time | relevance | path

Searched refs:lmax (Results 1 – 13 of 13) sorted by relevance

/freebsd-11-stable/sys/netpfil/ipfw/test/
HDmain.c35 int lmin, lmax; /* packet len */ member
449 c->lmin = c->lmax = 1280; /* packet len */ in init()
483 c->lmax = c->lmin; in init()
519 if (c->lmax <= 0) in init()
520 c->lmax = 1; in init()
/freebsd-11-stable/sys/netpfil/ipfw/
HDip_dn_glue.c507 int lmax; in dn_compat_configure() local
515 lmax = sizeof(struct dn_id); /* command header */ in dn_compat_configure()
516 lmax += sizeof(struct dn_sch) + sizeof(struct dn_link) + in dn_compat_configure()
519 base = buf = malloc(lmax, M_DUMMYNET, M_WAITOK|M_ZERO); in dn_compat_configure()
HDdn_sched_qfq.c218 uint32_t lmax; /* Max packet size for this flow. */ member
312 cl->lmax = _q->fs->fs.par[1]; in qfq_new_queue()
322 i = qfq_calc_index(cl->inv_w, cl->lmax); in qfq_new_queue()
/freebsd-11-stable/sbin/ipfw/
HDdummynet.c1287 int lmax; in ipfw_config_pipe() local
1294 lmax = sizeof(struct dn_id); /* command header */ in ipfw_config_pipe()
1295 lmax += sizeof(struct dn_sch) + sizeof(struct dn_link) + in ipfw_config_pipe()
1304 lmax += lmax_extra*2; in ipfw_config_pipe()
1315 base = buf = safe_calloc(1, lmax); in ipfw_config_pipe()
/freebsd-11-stable/sys/sys/
HDlibkern.h65 static __inline long lmax(long a, long b) { return (a > b ? a : b); } in lmax() function
/freebsd-11-stable/stand/libsa/
HDstand.h372 static __inline long lmax(long a, long b) { return (a > b ? a : b); } in lmax() function
/freebsd-11-stable/sys/dev/sound/pcm/
HDfeeder_rate.c736 int32_t c, z, len, lmax; in z_resampler_sinc_len() local
749 lmax = z_coeff_tab[Z_SINC_COEFF_IDX(info)].len; in z_resampler_sinc_len()
755 } while (c < lmax && ++len > 0); in z_resampler_sinc_len()
/freebsd-11-stable/sys/netinet/
HDtcp_timewait.c299 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in tcp_twstart()
/freebsd-11-stable/sys/kern/
HDkern_ntptime.c856 if (u_nsec > lmax(pps_jitter << PPS_POPCORN,
HDkern_mbuf.c152 nmbufs = lmax(maxmbufmem / MSIZE / 5, in tunable_mbinit()
HDkern_clocksource.c572 div = lmax((et->et_frequency + freq / 2) / freq, 1);
HDvfs_bio.c1092 hibufspace = lmax(3 * maxbufspace / 4, maxbufspace - maxbcachebuf * 10); in bufinit()
1104 hirunningspace = lmax(lmin(roundup(hibufspace / 64, maxbcachebuf), in bufinit()
/freebsd-11-stable/sys/ufs/ufs/
HDufs_dirhash.c1303 ufs_dirhashmaxmem = lmax(roundup(hibufspace / 64, PAGE_SIZE), in ufsdirhash_init()