Home
last modified time | relevance | path

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

/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/netpfil/ipfw/
H A Dip_dn_glue.c509 int lmax; in dn_compat_configure() local
517 lmax = sizeof(struct dn_id); /* command header */ in dn_compat_configure()
518 lmax += sizeof(struct dn_sch) + sizeof(struct dn_link) + in dn_compat_configure()
521 base = buf = malloc(lmax, M_DUMMYNET, M_WAITOK|M_ZERO); in dn_compat_configure()
H A Ddn_sched_qfq.c219 uint32_t lmax; /* Max packet size for this flow. */ member
313 cl->lmax = _q->fs->fs.par[1]; in qfq_new_queue()
323 i = qfq_calc_index(cl->inv_w, cl->lmax); in qfq_new_queue()
/freebsd/sys/netinet/cc/
H A Dcc_cubic.h252 return (lmax(0,cwnd)); in cubic_cwnd()
/freebsd/sbin/ipfw/
H A Ddummynet.c63 { "lmax", TOK_LMAX },
522 "weight %d lmax %d pri %d %s\n", in print_flowset_parms()
1294 int lmax; in ipfw_config_pipe() local
1301 lmax = sizeof(struct dn_id); /* command header */ in ipfw_config_pipe()
1302 lmax += sizeof(struct dn_sch) + sizeof(struct dn_link) + in ipfw_config_pipe()
1311 lmax += lmax_extra*2; in ipfw_config_pipe()
1322 base = buf = safe_calloc(1, lmax); in ipfw_config_pipe()
1706 NEED(fs, "lmax is only for flowsets"); in ipfw_config_pipe()
1707 NEED1("lmax needs argument\n"); in ipfw_config_pipe()
/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.c731 int32_t c, z, len, lmax; in z_resampler_sinc_len() local
744 lmax = z_coeff_tab[Z_SINC_COEFF_IDX(info)].len; in z_resampler_sinc_len()
750 } while (c < lmax && ++len > 0); in z_resampler_sinc_len()
/freebsd/stand/libsa/
H A Dstand.h400 static __inline long lmax(long a, long b) { return (a > b ? a : b); } in lmax() function
/freebsd/sys/kern/
H A Dkern_ntptime.c830 if (u_nsec > lmax(pps_jitter << PPS_POPCORN, in hardpps()
H A Dkern_clocksource.c570 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.c1261 hibufspace = lmax(3 * maxbufspace / 4, maxbufspace - maxbcachebuf * 10); in bufinit()
1274 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.c575 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in tcp_default_output()
/freebsd/sys/vm/
H A Duma_core.c1136 zdom->uzd_wss = lmax(zdom->uzd_wss * 3 / 4, in zone_domain_update_wss()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c11921 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in bbr_output_wtime()
12602 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in bbr_output_wtime()
H A Drack.c14113 rack->r_ctl.fsb.recwin = lmin(lmax(sbspace(&tptosocket(tp)->so_rcv), 0), in rack_init_fsb_block()
20688 recwin = lmin(lmax(sbspace(&so->so_rcv), 0), in rack_output()