Searched refs:lmax (Results 1 – 15 of 15) sorted by relevance
| /f-stack/freebsd/netpfil/ipfw/test/ |
| H A D | main.c | 35 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 D | cc_cubic.h | 205 return (lmax(0,cwnd)); in cubic_cwnd()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_dn_glue.c | 507 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 D | dn_sched_qfq.c | 220 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 D | dummynet.c | 1287 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 D | libkern.h | 93 static __inline long lmax(long a, long b) { return (a > b ? a : b); } in lmax() function
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_timewait.c | 298 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in tcp_twstart()
|
| H A D | tcp_output.c | 575 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in tcp_output()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_ntptime.c | 869 if (u_nsec > lmax(pps_jitter << PPS_POPCORN, in hardpps()
|
| H A D | kern_clocksource.c | 574 div = lmax((et->et_frequency + freq / 2) / freq, 1);
|
| H A D | kern_mbuf.c | 179 nmbufs = lmax(maxmbufmem / MSIZE / 5, in tunable_mbinit()
|
| H A D | vfs_bio.c | 1199 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 D | uma_core.c | 1350 target = drain ? 0 : lmax(zdom->uzd_wss, zdom->uzd_nitems - in bucket_cache_reclaim()
|
| /f-stack/freebsd/netinet/tcp_stacks/ |
| H A D | bbr.c | 12068 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 D | rack.c | 12625 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in rack_output()
|