max 831 arch/i386/i386/apm.c clen = max(ap->apm_code32_base + ap->apm_code_len, max 837 arch/i386/i386/apm.c l = max(ap->apm_data_base + ap->apm_data_len + 1, max 325 arch/i386/i386/lapic.c u_int64_t max; max 337 arch/i386/i386/lapic.c max = 1; max 339 arch/i386/i386/lapic.c max *= 10; max 340 arch/i386/i386/lapic.c for (i = 0; tmp >= max && i < sizeof(prefixes); i++) max 1340 arch/i386/i386/machdep.c int max = 100; max 1343 arch/i386/i386/machdep.c max = 85; max 1347 arch/i386/i386/machdep.c ci->ci_sensor.value = max - MSR_THERM_STATUS_TEMP(msr); max 1563 arch/i386/i386/machdep.c int class = CPUCLASS_386, vendor, i, max; max 1586 arch/i386/i386/machdep.c max = sizeof (i386_cpuid_cpus) / sizeof (i386_cpuid_cpus[0]); max 1601 arch/i386/i386/machdep.c for (i = 0; i < max; i++) { max 1753 arch/i386/i386/machdep.c max = sizeof(i386_cpuid_features) / max 1755 arch/i386/i386/machdep.c for (i = 0; i < max; i++) { max 1763 arch/i386/i386/machdep.c max = sizeof(i386_cpuid_ecxfeatures) max 1765 arch/i386/i386/machdep.c for (i = 0; i < max; i++) { max 2481 arch/i386/i386/machdep.c dumpsize = max(dumpsize, dumpmem[i].end); max 3023 arch/i386/i386/machdep.c avail_end = max(avail_end, e); max 73 arch/i386/i386/rbus_machdep.c start = min_start = max(RBUS_MEM_START, ctob(physmem)); max 239 arch/i386/pci/via8231.c int reg, clink, max, pciirq; max 244 arch/i386/pci/via8231.c max = ph->flags & VT8237? VIA8237_LINK_MAX : VIA8231_LINK_MAX; max 245 arch/i386/pci/via8231.c for (clink = 0; clink <= max; clink++) { max 264 arch/i386/pci/via8231.c int reg, clink, max, pciirq; max 274 arch/i386/pci/via8231.c max = ph->flags & VT8237? VIA8237_LINK_MAX : VIA8231_LINK_MAX; max 351 arch/i386/stand/libsa/memprobe.c cnvmem = max(cnvmem, max 76 compat/common/compat_dir.c buflen = max(buflen, va.va_blocksize); max 106 compat/linux/linux_resource.c rlim.rlim_cur = MIN(p->p_rlimit[which].rlim_cur, max); max 107 compat/linux/linux_resource.c rlim.rlim_max = MIN(p->p_rlimit[which].rlim_max, max); max 698 compat/osf1/osf1_cvt.c max(sizeof bsfs->f_fsid, sizeof osfs->f_fsid)); max 701 compat/osf1/osf1_cvt.c max(sizeof bsfs->f_mntonname, sizeof osfs->f_mntonname)); max 703 compat/osf1/osf1_cvt.c max(sizeof bsfs->f_mntfromname, sizeof osfs->f_mntfromname)); max 674 dev/atapiscsi/atapiscsi.c max((retargs.timeout * hz) / 1000, 1) + 1 + ticks; max 693 dev/atapiscsi/atapiscsi.c timeout_delay = max(retargs.delay * hz / 1000, 1); max 1928 dev/audio.c sc->sc_sil_count = max(sc->sc_sil_count, q-s); max 384 dev/i2c/i2c_scan.c u_int8_t val, val2, max; max 403 dev/i2c/i2c_scan.c for (val = max = i = 0; i <= 0xff; i++) max 404 dev/i2c/i2c_scan.c if (max < iicvalcnt[i]) { max 405 dev/i2c/i2c_scan.c max = iicvalcnt[i]; max 410 dev/ic/ar5xxx.c int min, max, freq; max 415 dev/ic/ar5xxx.c max = ieee80211_mhz2ieee(IEEE80211_CHANNELS_2GHZ_MAX, max 422 dev/ic/ar5xxx.c for (i = min; i <= max && c < max_channels; i++) { max 433 dev/ic/ar5xxx.c max = ieee80211_mhz2ieee(IEEE80211_CHANNELS_5GHZ_MAX, max 1738 dev/ic/ar5xxx.c int i, min, max, n; max 1760 dev/ic/ar5xxx.c max = AR5K_EEPROM_PCDAC_STOP; max 1764 dev/ic/ar5xxx.c min + ((i * (max - min)) / n); max 474 dev/ic/dp8390.c sc->txb_len[sc->txb_new] = max(len, ETHER_MIN_LEN - ETHER_CRC_LEN); max 1163 dev/ic/i82365.c beg = max(range->start, sc->iobase); max 493 dev/ic/mfi.c sc->sc_info.mci_stripe_sz_ops.max, max 673 dev/ic/mfireg.h uint8_t max; max 55 dev/ic/pt2254a.c if (*current > 0 && *current <= max / 3) { max 56 dev/ic/pt2254a.c vol = PT2254A_MAX_ATTENUATION - (144 * (int)(*current) / max); max 57 dev/ic/pt2254a.c } else if (*current > max / 3 && *current <= 2 * max / 3) { max 58 dev/ic/pt2254a.c vol = 34 - (42 * (int)(*current) / max); max 59 dev/ic/pt2254a.c } else if (*current > 2 * max / 3) { max 60 dev/ic/pt2254a.c vol = 18 - (18 * (int)(*current) / max); max 65 dev/ic/pt2254a.c steps = *current * PT2254A_MAX_ATTENUATION / max; max 66 dev/ic/pt2254a.c *current = steps * max / PT2254A_MAX_ATTENUATION; max 2719 dev/ic/rt2661.c bbp17 = max(bbp17 - 1, lo); max 808 dev/ic/tcic2.c sizepg = max(i, TCIC_MEM_SHIFT) - (TCIC_MEM_SHIFT-1); max 554 dev/isa/if_eg.c len = max(m0->m_pkthdr.len, ETHER_MIN_LEN); max 337 dev/isa/if_el.c off = EL_BUFSIZ - max(m0->m_pkthdr.len, ETHER_MIN_LEN); max 223 dev/midi.c unsigned i, max; max 231 dev/midi.c max = sc->props & MIDI_PROP_OUT_INTR ? 1 : MIDI_MAXWRITE; max 232 dev/midi.c for (i = max; i != 0;) { max 405 dev/pci/bktr/bktr_card.c int max; max 413 dev/pci/bktr/bktr_card.c max = (int)(bktr->card.eepromSize * EEPROMBLOCKSIZE); max 414 dev/pci/bktr/bktr_card.c if ( (offset + count) > max ) max 366 dev/pci/cz.c cz_timeout_ticks = max(1, hz * CZ_POLL_MS / 1000); max 830 dev/pci/cz.c error = tsleep(cz, TTIPRI | PCATCH, wstring, max(1, hz/100)); max 1114 dev/pci/esa.c sc->mixer_list.max = ESA_MAX_VIRTUAL_MIXER_CHANNELS; max 1116 dev/pci/esa.c sc->adc1_list.max = ESA_MAX_VIRTUAL_ADC1_CHANNELS; max 1118 dev/pci/esa.c sc->dma_list.max = ESA_MAX_VIRTUAL_DMA_CHANNELS; max 1120 dev/pci/esa.c sc->msrc_list.max = ESA_MAX_INSTANCE_MINISRC; max 59 dev/pci/esavar.h int max; max 272 dev/pci/if_san_common.h #ifndef max max 443 dev/pci/ubsec.c static int max; max 468 dev/pci/ubsec.c if (max < npkts) { max 469 dev/pci/ubsec.c max = npkts; max 470 dev/pci/ubsec.c printf("%s: new max aggregate %d\n", sc->sc_dv.dv_xname, max); max 2877 dev/usb/uaudio.c *max = 0; max 2895 dev/usb/uaudio.c if (UA_SAMP_HI(a1d) > *max) max 2896 dev/usb/uaudio.c *max = UA_SAMP_HI(a1d); max 2903 dev/usb/uaudio.c if (UA_GETSAMP(a1d, j) > *max) max 2904 dev/usb/uaudio.c *max = UA_GETSAMP(a1d, j); max 2954 dev/usb/uaudio.c u_long min, max; max 2964 dev/usb/uaudio.c uaudio_get_minmax_rates(nalts, alts, p, mode, &min, &max); max 2965 dev/usb/uaudio.c DPRINTF(("uaudio_match_alt_chan: min=%lu max=%lu\n", min, max)); max 2966 dev/usb/uaudio.c if (max <= 0) max 2970 dev/usb/uaudio.c while ((rate = p->sample_rate * n++) <= max) { max 2978 dev/usb/uaudio.c i = uaudio_match_alt_sub(nalts, alts, p, mode, max); max 2980 dev/usb/uaudio.c p->hw_sample_rate = max; max 884 dev/usb/umidi.c max(sc->sc_out_num_jacks, sc->sc_in_num_jacks)); max 437 dev/wscons/wsconsio.h int min, max, curval; max 1373 dev/wscons/wskbd.c if (dp.max < dp.curval) max 1374 dev/wscons/wskbd.c dp.curval = wraparound ? dp.min : dp.max; max 1377 dev/wscons/wskbd.c dp.curval = wraparound ? dp.max : dp.min; max 638 kern/uipc_mbuf.c count = min(min(max(len, max_protohdr), space), n->m_len); max 48 lib/libkern/libkern.h LIBKERN_INLINE u_int max(u_int, u_int); max 693 lib/libsa/ufs.c fs->fs_npsect = max(fs->fs_npsect, fs->fs_nsect); /* XXX */ max 694 lib/libsa/ufs.c fs->fs_interleave = max(fs->fs_interleave, 1); /* XXX */ max 43 lib/libz/inftrees.c unsigned min, max; /* minimum and maximum code lengths */ max 115 lib/libz/inftrees.c for (max = MAXBITS; max >= 1; max--) max 116 lib/libz/inftrees.c if (count[max] != 0) break; max 117 lib/libz/inftrees.c if (root > max) root = max; max 118 lib/libz/inftrees.c if (max == 0) { /* no symbols to code at all */ max 138 lib/libz/inftrees.c if (left > 0 && (type == CODES || max != 1)) max 256 lib/libz/inftrees.c if (len == max) break; max 272 lib/libz/inftrees.c while (curr + drop < max) { max 4397 net/if_spppsubr.c for (len = 0; len < max && *p; ++p) max 2757 net/pf.c mss = max(tcp_mssdflt, mss); max 2761 net/pf.c mss = max(mss, 64); /* sanity - at least max opt space */ max 331 net/pf_norm.c u_int16_t max = ip_len + off; max 425 net/pf_norm.c if ((*frag)->fr_max < max) max 426 net/pf_norm.c (*frag)->fr_max = max; max 527 net/pf_norm.c u_int16_t max = ip_len + off; max 560 net/pf_norm.c cur->fr_end = max; max 567 net/pf_norm.c DPFPRINTF(("fragcache[%d]: new %d-%d\n", h->ip_id, off, max)); max 592 net/pf_norm.c h->ip_id, frp->fr_off, frp->fr_end, off, max)); max 598 net/pf_norm.c h->ip_id, frp->fr_off, frp->fr_end, off, max)); max 599 net/pf_norm.c frp->fr_end = max; max 610 net/pf_norm.c max)); max 613 net/pf_norm.c max -= precut; max 615 net/pf_norm.c frp->fr_end = max; max 657 net/pf_norm.c max)); max 665 net/pf_norm.c cur->fr_end = max; max 674 net/pf_norm.c aftercut = max - fra->fr_off; max 678 net/pf_norm.c h->ip_id, off, max, fra->fr_off, fra->fr_end)); max 684 net/pf_norm.c h->ip_id, aftercut, off, max, fra->fr_off, max 687 net/pf_norm.c max -= aftercut; max 710 net/pf_norm.c h->ip_id, -aftercut, off, max, fra->fr_off, max 719 net/pf_norm.c cur->fr_end = max; max 731 net/pf_norm.c max, fra->fr_off, fra->fr_end)); max 744 net/pf_norm.c max, fra->fr_off, fra->fr_end)); max 767 net/pf_norm.c if ((*frag)->fr_max < max) max 768 net/pf_norm.c (*frag)->fr_max = max; max 827 net/pf_norm.c u_int16_t max; max 903 net/pf_norm.c max = fragoff + ip_len; max 912 net/pf_norm.c max > frag->fr_max) max 926 net/pf_norm.c DPFPRINTF(("reass frag %d @ %d-%d\n", h->ip_id, fragoff, max)); max 953 net/pf_norm.c max > frag->fr_max) { max 1861 netbt/hci.h uint8_t max; /* max page number */ max 1330 netbt/rfcomm_session.c pn.mtu = max(pn.mtu, RFCOMM_MTU_MIN); max 1677 netbt/rfcomm_session.c if (m->m_pkthdr.len != max(MHLEN, hlen + len)) { max 485 netbt/rfcomm_upper.c fc->tx_cred = max(dlc->rd_txcred, 0xff); max 486 netbt/rfcomm_upper.c fc->rx_cred = max(dlc->rd_rxcred, 0xff); max 993 netinet/ip_input.c int max = 50; max 996 netinet/ip_input.c while (!LIST_EMPTY(&ipq) && ip_frags > ip_maxqueue * 3 / 4 && --max) { max 2940 netinet/tcp_input.c rttmin = min(max(rtt + 2, tp->t_rttmin), TCPTV_REXMTMAX); max 3072 netinet/tcp_input.c mssopt = max(tcp_mssdflt, mssopt); max 3089 netinet/tcp_input.c mss = min(mss, max(tp->t_peermss, 216)); max 3092 netinet/tcp_input.c mss = max(mss, 64); max 3285 netinet/tcp_input.c return (max(mss, tcp_mssdflt)); max 393 nfs/nfs_bio.c bp->b_dirtyend = max((on + n), bp->b_dirtyend); max 404 nfs/nfs_bio.c bp->b_validend = max(bp->b_validend, bp->b_dirtyend); max 253 nfs/nfs_socket.c rcvreserve = max(nmp->nm_rsize, nmp->nm_readdirsize) + max 257 nfs/nfs_socket.c rcvreserve = (max(nmp->nm_rsize, nmp->nm_readdirsize) + max 790 nfs/nfs_syscalls.c nfs_niothreads = max(0, min(nfs_niothreads, NFS_MAXASYNCDAEMON)); max 191 nfs/nfs_vfsops.c u_int32_t *tl, pref, max; max 207 nfs/nfs_vfsops.c max = fxdr_unsigned(u_int32_t, fsp->fs_wtmax); max 208 nfs/nfs_vfsops.c if (max < nmp->nm_wsize) { max 209 nfs/nfs_vfsops.c nmp->nm_wsize = max & ~(NFS_FABLKSIZE - 1); max 211 nfs/nfs_vfsops.c nmp->nm_wsize = max; max 217 nfs/nfs_vfsops.c max = fxdr_unsigned(u_int32_t, fsp->fs_rtmax); max 218 nfs/nfs_vfsops.c if (max < nmp->nm_rsize) { max 219 nfs/nfs_vfsops.c nmp->nm_rsize = max & ~(NFS_FABLKSIZE - 1); max 221 nfs/nfs_vfsops.c nmp->nm_rsize = max; max 227 nfs/nfs_vfsops.c if (max < nmp->nm_readdirsize) { max 228 nfs/nfs_vfsops.c nmp->nm_readdirsize = max & ~(NFS_DIRBLKSIZ - 1); max 230 nfs/nfs_vfsops.c nmp->nm_readdirsize = max; max 692 scsi/cd.c long max; max 710 scsi/cd.c max = cd->sc_dk.dk_label->d_secsize * 0xff; max 712 scsi/cd.c if (bp->b_bcount > max) max 713 scsi/cd.c bp->b_bcount = max; max 775 scsi/sd.c long max; max 793 scsi/sd.c max = sd->sc_dk.dk_label->d_secsize * 0xff; max 795 scsi/sd.c if (bp->b_bcount > max) max 796 scsi/sd.c bp->b_bcount = max; max 249 stand/boot/vars.c l = max(l, q - p) + 1; max 937 ufs/ffs/ffs_vfsops.c fs->fs_npsect = max(fs->fs_npsect, fs->fs_nsect); /* XXX */ max 938 ufs/ffs/ffs_vfsops.c fs->fs_interleave = max(fs->fs_interleave, 1); /* XXX */ max 229 uvm/uvm_km.c *max = *min + size; max 237 uvm/uvm_km.c submap = uvm_map_create(vm_map_pmap(map), *min, *max, flags); max 241 uvm/uvm_km.c uvm_map_setup(submap, *min, *max, flags); max 249 uvm/uvm_km.c if (uvm_map_submap(map, *min, *max, submap) != 0) max 3105 uvm/uvm_map.c uvmspace_init(vm, NULL, min, max, pageable); max 3127 uvm/uvm_map.c uvm_map_setup(&vm->vm_map, min, max, pageable ? VM_MAP_PAGEABLE : 0); max 96 uvm/uvm_map_i.h uvm_map_setup(result, min, max, flags); max 120 uvm/uvm_map_i.h map->max_offset = max; max 171 uvm/uvm_pdaemon.c uvmexp.freemin = max(uvmexp.freemin, (16*1024) >> PAGE_SHIFT); max 1396 uvm/uvm_swap.c max(0, bp->b_dirtyoff - (bp->b_bcount-resid)); max 1399 uvm/uvm_swap.c max(0, bp->b_dirtyend - (bp->b_bcount-resid))); max 1406 uvm/uvm_swap.c max(0, bp->b_validoff - (bp->b_bcount-resid)); max 1409 uvm/uvm_swap.c max(0, bp->b_validend - (bp->b_bcount-resid)));