Home
last modified time | relevance | path

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

/freebsd/sys/contrib/zstd/programs/
H A Dlorem.c115 int lmax; in countFreqs() local
118 lmax = weights[len]; in countFreqs()
119 total += (unsigned)lmax; in countFreqs()
135 int l, lmax; in init_word_distrib() local
138 lmax = weights[len]; in init_word_distrib()
139 for (l = 0; l < lmax; l++) { in init_word_distrib()
/freebsd/sys/dev/hid/
H A Dhidmap.c225 data = hi->lmin < 0 || hi->lmax < 0 in hidmap_intr()
235 : hi->lmin + hi->lmax - data; in hidmap_intr()
250 if (data < hi->lmin || data > hi->lmax) in hidmap_intr()
275 if (data < hi->lmin || data > hi->lmax) in hidmap_intr()
294 if (data < hi->lmin || data > hi->lmax) in hidmap_intr()
646 item->lmax = hi->logical_maximum; in hidmap_parse_hid_item()
H A Dhidmap.h184 int32_t lmax; /* HID item logical maximum */ member
/freebsd/sys/netpfil/ipfw/test/
H A Dmain.c34 int lmin, lmax; /* packet len */ member
446 c->lmin = c->lmax = 1280; /* packet len */ in init()
480 c->lmax = c->lmin; in init()
516 if (c->lmax <= 0) in init()
517 c->lmax = 1; in init()
/freebsd/sys/netinet/cc/
H A Dcc_cubic.h310 return (lmax(0,cwnd)); in cubic_cwnd()
/freebsd/sys/netpfil/ipfw/
H A Ddn_sched_qfq.c199 uint32_t lmax; /* Max packet size for this flow. */ member
293 cl->lmax = _q->fs->fs.par[1]; in qfq_new_queue()
303 i = qfq_calc_index(cl->inv_w, cl->lmax); in qfq_new_queue()
/freebsd/sbin/ipfw/
H A Ddummynet.c63 { "lmax", TOK_LMAX },
522 "weight %d lmax %d pri %d %s\n", in print_flowset_parms()
1297 int lmax; in ipfw_config_pipe()
1304 lmax = sizeof(struct dn_id); /* command header */ in ipfw_config_pipe()
1305 lmax += sizeof(struct dn_sch) + sizeof(struct dn_link) + in ipfw_config_pipe()
1314 lmax += lmax_extra*2; in ipfw_config_pipe()
1325 base = buf = safe_calloc(1, lmax); in ipfw_config_pipe()
1709 NEED(fs, "lmax is only for flowsets"); in ipfw_config_pipe()
1710 NEED1("lmax needs argument\n"); in ipfw_config_pipe()
1294 int lmax; ipfw_config_pipe() local
/freebsd/sys/sys/
H A Dlibkern.h90 static __inline long lmax(long a, long b) { return (a > b ? a : b); } in lmax() function
/freebsd/sys/dev/sound/pcm/
H A Dfeeder_rate.c707 int32_t c, z, len, lmax; in z_resampler_sinc_len() local
720 lmax = z_coeff_tab[Z_SINC_COEFF_IDX(info)].len; in z_resampler_sinc_len()
726 } while (c < lmax && ++len > 0); in z_resampler_sinc_len()
/freebsd/stand/libsa/
H A Dstand.h416 static __inline long lmax(long a, long b) { return (a > b ? a : b); } in lmax() function
/freebsd/sys/kern/
H A Dkern_ntptime.c831 if (u_nsec > lmax(pps_jitter << PPS_POPCORN, in hardpps()
H A Dkern_clocksource.c571 div = lmax((et->et_frequency + freq / 2) / freq, 1);
H A Dkern_mbuf.c191 nmbufs = lmax(maxmbufmem / MSIZE / 5, in tunable_mbinit()
H A Dvfs_bio.c1264 hibufspace = lmax(3 * maxbufspace / 4, maxbufspace - maxbcachebuf * 10); in bufinit()
1277 hirunningspace = lmax(lmin(roundup(hibufspace / 64, maxbcachebuf), in bufinit()
/freebsd/tools/tools/netmap/
H A Dnmreplay.c1459 burst,p,lmin,lmax burst loss with burst probability p and
1461 lmin and lmax
/freebsd/sys/ufs/ufs/
H A Dufs_dirhash.c1303 ufs_dirhashmaxmem = lmax(roundup(hibufspace / 64, PAGE_SIZE), in ufsdirhash_init()
/freebsd/sys/netinet/
H A Dtcp_output.c572 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in tcp_default_output()
/freebsd/sys/vm/
H A Duma_core.c1138 zdom->uzd_wss = lmax(zdom->uzd_wss * 3 / 4, in zone_domain_update_wss()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c11919 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in bbr_output_wtime()
12599 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in bbr_output_wtime()
H A Drack.c13987 rack->r_ctl.fsb.recwin = lmin(lmax(sbspace(&tptosocket(tp)->so_rcv), 0), in rack_init_fsb_block()
20580 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in rack_output()