Home
last modified time | relevance | path

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

/f-stack/freebsd/netpfil/ipfw/test/
H A Dmain.c35 int lmin, lmax; /* packet len */ member
447 c->lmin = c->lmax = 1280; /* packet len */ in init()
481 c->lmax = c->lmin; in init()
517 if (c->lmax <= 0) in init()
518 c->lmax = 1; in init()
/f-stack/freebsd/netinet/cc/
H A Dcc_cubic.h205 return (lmax(0,cwnd)); in cubic_cwnd()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_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()
H A Ddn_sched_qfq.c220 uint32_t lmax; /* Max packet size for this flow. */ member
314 cl->lmax = _q->fs->fs.par[1]; in qfq_new_queue()
324 i = qfq_calc_index(cl->inv_w, cl->lmax); in qfq_new_queue()
/f-stack/tools/ipfw/
H A Ddummynet.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()
/f-stack/freebsd/sys/
H A Dlibkern.h93 static __inline long lmax(long a, long b) { return (a > b ? a : b); } in lmax() function
/f-stack/freebsd/netinet/
H A Dtcp_timewait.c298 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in tcp_twstart()
H A Dtcp_output.c575 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in tcp_output()
/f-stack/freebsd/kern/
H A Dkern_ntptime.c869 if (u_nsec > lmax(pps_jitter << PPS_POPCORN, in hardpps()
H A Dkern_clocksource.c574 div = lmax((et->et_frequency + freq / 2) / freq, 1);
H A Dkern_mbuf.c179 nmbufs = lmax(maxmbufmem / MSIZE / 5, in tunable_mbinit()
H A Dvfs_bio.c1199 hibufspace = lmax(3 * maxbufspace / 4, maxbufspace - maxbcachebuf * 10); in bufinit()
1211 hirunningspace = lmax(lmin(roundup(hibufspace / 64, maxbcachebuf), in bufinit()
/f-stack/freebsd/vm/
H A Duma_core.c1350 target = drain ? 0 : lmax(zdom->uzd_wss, zdom->uzd_nitems - in bucket_cache_reclaim()
/f-stack/freebsd/netinet/tcp_stacks/
H A Dbbr.c12068 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in bbr_output_wtime()
12747 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in bbr_output_wtime()
H A Drack.c12625 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in rack_output()