Searched refs:MIN (Results 201 - 225 of 552) sorted by relevance

1234567891011>>

/freebsd-9.3-release/gnu/lib/libodialog/
H A Dlineedit.c206 fix_len = flen >= 0 ? MIN(flen-scroll,box_width) : box_width;
/freebsd-9.3-release/lib/libc/locale/
H A Deuc.c204 for (i = (es->want == 0) ? 1 : 0; i < MIN(want, n); i++) {
/freebsd-9.3-release/lib/libc/nameser/
H A Dns_print.c489 T(addstr(base64_key + n, MIN(len - n, 48),
552 T(addstr(base64_key + n, MIN(len - n, 48),
610 T(addstr(base64_cert + n, MIN(len - n, 48),
723 n = MIN(16, edata - rdata);
/freebsd-9.3-release/sys/boot/uboot/lib/
H A Dnet.c191 memcpy(pkt, sc->sc_rxbuf, MIN(len, rlen));
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_rcmd_pxy.c139 COPYDATA(m, off, MIN(sizeof(portbuf), dlen), portbuf);
/freebsd-9.3-release/sys/dev/ath/ath_rate/sample/
H A Dsample.c510 MIN(tries0, tries) - 1, is_ht40);
517 MIN(tries1 + tries_so_far, tries) - tries_so_far - 1, is_ht40);
525 MIN(tries2 + tries_so_far, tries) - tries_so_far - 1, is_ht40);
533 MIN(tries3 + tries_so_far, tries) - tries_so_far - 1, is_ht40);
/freebsd-9.3-release/sys/dev/hptmv/
H A Dglobal.h138 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro
/freebsd-9.3-release/sys/dev/sfxge/common/
H A Dsiena_nic.c334 encp->enc_txq_limit = MIN(EFX_TXQ_LIMIT_TARGET,
336 encp->enc_rxq_limit = MIN(EFX_RXQ_LIMIT_TARGET,
397 MIN(sizeof (encp->enc_phy_name) - 1,
404 MIN(sizeof (encp->enc_phy_revision) - 1,
/freebsd-9.3-release/sys/dev/usb/controller/
H A Dohci.h35 #define OHCI_MAX_DEVICES MIN(USB_MAX_DEVICES, 128)
H A Duhci.h35 #define UHCI_MAX_DEVICES MIN(USB_MAX_DEVICES, 128)
/freebsd-9.3-release/usr.sbin/bsdinstall/partedit/
H A Ddiskeditor.c148 for (i = cur_scroll; i < MIN(cur_scroll + partlist_height - 2, nitems);
/freebsd-9.3-release/sys/fs/nfsclient/
H A Dnfs_clbio.c558 n = MIN((unsigned)(bcount - on), uio->uio_resid);
577 n = MIN(uio->uio_resid, NFS_MAXPATHLEN - bp->b_resid);
745 size = MIN(uiop->uio_resid, wsize);
746 size = MIN(uiop->uio_iov->iov_len, size);
794 size = MIN(uiop->uio_resid, wsize);
795 size = MIN(uiop->uio_iov->iov_len, size);
1032 n = MIN((unsigned)(biosize - on), uio->uio_resid);
/freebsd-9.3-release/sys/nfsclient/
H A Dnfs_bio.c549 n = MIN((unsigned)(bcount - on), uio->uio_resid);
568 n = MIN(uio->uio_resid, NFS_MAXPATHLEN - bp->b_resid);
736 size = MIN(uiop->uio_resid, wsize);
737 size = MIN(uiop->uio_iov->iov_len, size);
785 size = MIN(uiop->uio_resid, wsize);
786 size = MIN(uiop->uio_iov->iov_len, size);
1014 n = MIN((unsigned)(biosize - on), uio->uio_resid);
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzvol.c738 uint64_t bytes = MIN(resid, SPA_MAXBLOCKSIZE);
1141 len = MIN(ZIL_MAX_LOG_DATA, resid);
1144 len = MIN(ZIL_MAX_LOG_DATA, resid);
1326 size_t size = MIN(resid, zvol_maxphys);
1329 size = MIN(size, P2END(off, zv->zv_volblocksize) - off);
1412 size = MIN(resid, P2END(boff, zv->zv_volblocksize) - boff);
1452 uint64_t bytes = MIN(uio->uio_resid, DMU_MAX_ACCESS >> 1);
1502 uint64_t bytes = MIN(uio->uio_resid, DMU_MAX_ACCESS >> 1);
1574 if (ddi_copyout(&gpt, ptr, MIN(sizeof (gpt), length),
1580 if (length > 0 && ddi_copyout(&gpe, ptr, MIN(sizeo
[all...]
H A Darc.c2275 adjustment = MIN((int64_t)(arc_size - arc_c),
2280 delta = MIN(arc_mru->arcs_lsize[ARC_BUFC_DATA], adjustment);
2286 delta = MIN(arc_mru->arcs_lsize[ARC_BUFC_METADATA], adjustment);
2298 delta = MIN(adjustment, arc_mfu->arcs_lsize[ARC_BUFC_DATA]);
2304 int64_t delta = MIN(adjustment,
2317 delta = MIN(arc_mru_ghost->arcs_size, adjustment);
2325 delta = MIN(arc_mfu_ghost->arcs_size, adjustment);
2648 mult = MIN(mult, 10); /* avoid wild arc_p adjustment */
2650 arc_p = MIN(arc_c - arc_p_min, arc_p + bytes * mult);
2656 mult = MIN(mul
[all...]
H A Ddmu_zfetch.c212 zs->zst_cap = MIN(zfetch_block_cap, 2 * zs->zst_cap);
730 max_streams = MIN(zfetch_max_streams,
/freebsd-9.3-release/sys/geom/raid/
H A Dtr_raid1e.c457 len = MIN(g_raid1e_rebuild_slab,
460 len = MIN(len, vol->v_strip_size - start);
714 length = MIN(strip_size - start, remain);
784 length = MIN(strip_size - start, remain);
1170 length = MIN(strip_size - start, remain);
/freebsd-9.3-release/contrib/ntp/util/
H A Dtg2.c322 #define MIN (3) /* minute pulse */ macro
337 {MIN, 800}, /* 0 minute sync pulse */
472 {MIN, M8}, /* 0 PI (on-time marker for the second at zero cross of 1st cycle) */
1777 case MIN: /* send "second start" marker/position indicator IM/PI bit */
1934 case MIN: /* send minute sync */
/freebsd-9.3-release/sys/dev/vt/
H A Dvt_core.c357 if (c >= F_SCR && c <= MIN(L_SCR, F_SCR + VT_MAXWINDOWS - 1)) {
444 if (c >= F_SCR && c <= MIN(L_SCR, F_SCR + VT_MAXWINDOWS - 1)) {
1184 x = MIN(x, 255 - '!');
1185 y = MIN(y, 255 - '!');
1270 x = MIN(x, (size.tp_col * vf->vf_width) - 1);
1271 y = MIN(y, (size.tp_row * vf->vf_height) - 1);
/freebsd-9.3-release/sys/fs/ntfs/
H A Dntfs_subr.c1382 towrite = MIN(left, ntfs_cntob(vap->va_vcnend + 1) - off);
1477 tocopy = MIN(left, ntfs_cntob(1) - off);
1585 tocopy = MIN(left,
1625 tocopy = MIN(left, ntfs_cntob(ccl) - off);
1687 toread = MIN(left, ntfs_cntob(vap->va_vcnend + 1) - off);
1772 tocopy = MIN(left, ntfs_cntob(NTFS_COMPUNIT_CL) - off);
/freebsd-9.3-release/sys/dev/isci/scil/
H A Dscic_sds_controller.c4519 MIN(this_controller->remote_node_entries, SCI_MAX_REMOTE_DEVICES);
4521 MIN(this_controller->task_context_entries, SCU_IO_REQUEST_COUNT);
4523 MIN(this_controller->uf_control.buffers.count, SCU_UNSOLICITED_FRAME_COUNT);
4525 MIN(this_controller->completion_event_entries, SCU_EVENT_COUNT);
4527 MIN(this_controller->completion_queue_entries, SCU_COMPLETION_QUEUE_COUNT);
4534 MIN(this_controller->remote_node_entries, SCI_MIN_REMOTE_DEVICES);
4536 MIN(this_controller->task_context_entries, SCI_MIN_IO_REQUESTS);
4538 MIN(this_controller->uf_control.buffers.count, SCU_MIN_UNSOLICITED_FRAMES);
4540 MIN(this_controller->completion_event_entries, SCU_MIN_EVENTS);
4542 MIN(this_controlle
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dctfmerge.c647 nslots = MIN(nslots, (nfiles + wq->wq_maxbatchsz - 1) /
652 wq->wq_nthreads = MIN(sysconf(_SC_NPROCESSORS_ONLN) * 3 / 2, nslots);
/freebsd-9.3-release/contrib/dialog/
H A Ddialog.h168 #undef MIN macro
169 #define MIN(x,y) ((x) < (y) ? (x) : (y)) macro
/freebsd-9.3-release/contrib/gcc/
H A Dsystem.h318 #undef MIN macro
320 #define MIN(X,Y) ((X) < (Y) ? (X) : (Y)) macro
/freebsd-9.3-release/sys/cam/scsi/
H A Dscsi_targ_bh.c603 descr->data_resid = MIN(sizeof(no_lun_inq_data),
620 descr->data_resid = MIN(descr->data_resid,

Completed in 195 milliseconds

1234567891011>>