/freebsd-current/sys/sys/ |
H A D | param.h | 323 #define MIN(a,b) (((a)<(b))?(a):(b)) macro
|
/freebsd-current/sys/dev/mpr/ |
H A D | mpr_config.c | 183 bcopy(page, config_page, MIN(cm->cm_length, (sizeof(Mpi2IOCPage8_t)))); 315 bcopy(page, config_page, MIN(cm->cm_length, 446 bcopy(page, config_page, MIN(cm->cm_length, 642 bcopy(page, config_page, MIN(cm->cm_length, sz)); 751 bcopy(config_page, page, MIN(cm->cm_length, 916 bcopy(page, config_page, MIN(cm->cm_length, 1053 bcopy(page, config_page, MIN(cm->cm_length, 1190 bcopy(page, config_page, MIN(cm->cm_length, 1322 bcopy(page, config_page, MIN(cm->cm_length, sizeof(Mpi2BiosPage3_t))); 1586 bcopy(page, config_page, MIN(c [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/hexagon/ |
H A D | fastmath2_dlib_asm.S | 89 expd = MIN(expd, c63) 190 expd = MIN(expd, c63)
|
H A D | fastmath_dlib_asm.S | 97 expd = MIN(expd, c63) 232 expd = MIN(expd, c63)
|
/freebsd-current/contrib/tnftp/ |
H A D | tnftp.h | 444 #if !defined(MIN) 445 # define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
|
/freebsd-current/contrib/tnftp/src/ |
H A D | progressbar.c | 226 ratio = MIN(ratio, 100); 233 barlength = MIN((int)(sizeof(buf) - 1), ttywidth) - BAROVERHEAD;
|
/freebsd-current/contrib/netbsd-tests/fs/puffs/ |
H A D | t_basic.c | 49 for (i = 0; i < MIN(puffsdump_vfsop_count, PUFFS_VFS_MAX); i++) { 55 for (i = 0; i < MIN(puffsdump_vnop_count, PUFFS_VN_MAX); i++) {
|
/freebsd-current/contrib/nvi/common/ |
H A D | seq.c | 208 diff = MEMCMP(qp->input, c_input, MIN(qp->ilen, ilen)); 216 e_memcmp(qp->input, e_input, MIN(qp->ilen, ilen));
|
/freebsd-current/sys/netpfil/ipfilter/netinet/ |
H A D | ip_irc_pxy.c | 147 k = MIN(strlen(ipf_p_irc_dcctypes[j]), i); 275 COPYDATA(m, off, MIN(sizeof(ctcpbuf), dlen), ctcpbuf);
|
H A D | ip_raudio_pxy.c | 231 a2 = MIN(dlen, sizeof(rap->rap_svr)); 238 a2 = MIN(dlen, sizeof(rap->rap_svr));
|
/freebsd-current/sys/dev/iicbus/ |
H A D | icee.c | 238 len = MIN(MAX_RD_SZ - (uio->uio_offset & (MAX_RD_SZ - 1)), 298 len = MIN(sc->wr_sz - (uio->uio_offset & (sc->wr_sz - 1)),
|
/freebsd-current/sys/geom/raid/ |
H A D | tr_concat.c | 247 length = MIN(sd->sd_size - offset, remain); 312 length = MIN(sd->sd_size - offset, remain);
|
H A D | tr_raid0.c | 227 length = MIN(strip_size - start, remain); 295 length = MIN(strip_size - start, remain);
|
/freebsd-current/sys/geom/vinum/ |
H A D | geom_vinum_init.c | 206 MIN(GV_DFLT_SYNCSIZE, up->size - p->synced), 344 gv_grow_request(p, 0, MIN(origlength, origsize), BIO_READ, NULL);
|
/freebsd-current/sys/dev/cfi/ |
H A D | cfi_disk.c | 253 MIN(top - bp->bio_offset, resid)); 254 resid -= MIN(top - bp->bio_offset, resid);
|
/freebsd-current/sys/dev/random/fenestrasX/ |
H A D | fx_pool.c | 387 rem = MIN(rem, event->he_size); 570 for (i = 1; i < MIN(fxent_nactpools + 1, FXRNG_NPOOLS); i++) {
|
/freebsd-current/sbin/camcontrol/ |
H A D | attrib.c | 389 for (len_left = MIN(valid_len, hdr_len), 442 for (len_left = MIN(valid_len, hdr_len),
|
H A D | modeedit.c | 625 len = MIN(len, sizeof(data) - (mode_pars - data)); 667 len = MIN(len, sizeof(data) - (desc - data)); 769 len = MIN(len, sizeof(data) - (mode_pars - data)); 821 len = MIN(len, sizeof(data) - (desc - data)); 1030 len = MIN(len, sizeof(data) - (mode_pars - data)); 1061 len = MIN(len, sizeof(data) - (desc - data));
|
/freebsd-current/bin/pax/ |
H A D | tar.c | 384 MIN(sizeof(hd->name), sizeof(arcn->name)) - 1); 409 MIN(sizeof(hd->linkname), sizeof(arcn->ln_name)) - 1); 421 MIN(sizeof(hd->linkname), sizeof(arcn->ln_name)) - 1); 737 MIN(sizeof(hd->prefix), sizeof(arcn->name) - 2)); 748 MIN(sizeof(hd->name), sizeof(arcn->name) - cnt - 1)); 837 MIN(sizeof(hd->linkname), sizeof(arcn->ln_name) - 1));
|
/freebsd-current/contrib/wpa/src/tls/ |
H A D | libtommath.c | 62 #ifndef MIN 63 #define MIN(x,y) ((x)<(y)?(x):(y)) macro 500 if (MIN (a->used, b->used) >= TOOM_MUL_CUTOFF) { 506 if (MIN (a->used, b->used) >= KARATSUBA_MUL_CUTOFF) { 521 MIN(a->used, b->used) <= 2352 MIN (a->used, b->used) < 2370 pb = MIN (b->used, digs - ix); 2440 pa = MIN(digs, a->used + b->used); 2451 ty = MIN(b->used-1, ix); 2461 iy = MIN( [all...] |
/freebsd-current/sys/dev/mps/ |
H A D | mps_config.c | 183 bcopy(page, config_page, MIN(cm->cm_length, (sizeof(Mpi2IOCPage8_t)))); 681 bcopy(page, config_page, MIN(cm->cm_length, sz)); 791 bcopy(config_page, page, MIN(cm->cm_length, 956 bcopy(page, config_page, MIN(cm->cm_length, 1088 bcopy(page, config_page, MIN(cm->cm_length, sizeof(Mpi2BiosPage3_t))); 1352 bcopy(page, config_page, MIN(cm->cm_length, 1508 bcopy(page, config_page, MIN(cm->cm_length,
|
/freebsd-current/sys/dev/sound/midi/ |
H A D | midi.c | 592 used = MIN(size, MIDIQ_LEN(m->outq)); 777 used = MIN(MIDIQ_LEN(m->inq), uio->uio_resid); 778 used = MIN(used, MIDI_RSIZE); 852 used = MIN(MIDIQ_AVAIL(m->outq), uio->uio_resid); 853 used = MIN(used, MIDI_WSIZE); 1230 used = MIN(MIDIQ_AVAIL(m->outq), len); 1231 used = MIN(used, MIDI_WSIZE);
|
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zvol_os.c | 293 uint64_t bytes = MIN(uio.uio_resid, DMU_MAX_ACCESS >> 1); 472 uint64_t bytes = MIN(uio.uio_resid, DMU_MAX_ACCESS >> 1); 1463 chunks = MIN(zvol_blk_mq_blocks_per_thread, UINT16_MAX); 1528 len = MIN(zvol_prefetch_bytes, SPA_MAXBLOCKSIZE); 1628 zvol_actual_threads = MIN(MAX(zvol_threads, 1), 1024); 1650 uint_t num_tqs = MIN(num_online_cpus(), zvol_num_taskqs); 1680 zvol_blk_mq_actual_threads = MIN(MAX(zvol_blk_mq_threads, 1),
|
/freebsd-current/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-taskq.c | 291 lowest_id = MIN(lowest_id, t->tqent_id); 296 lowest_id = MIN(lowest_id, t->tqent_id); 301 lowest_id = MIN(lowest_id, t->tqent_id); 308 lowest_id = MIN(lowest_id, tqt->tqt_id); 1061 nthreads = MIN(threads_arg, 100); 1353 int nthreads = MIN(tq->tq_cpu_pct, 100); 1387 int nthreads = MIN(tq->tq_cpu_pct, 100);
|
/freebsd-current/sys/cam/ctl/ |
H A D | ctl_backend_ramdisk.c | 434 lbas = MIN(lbas, 131072 / cbe_lun->blocksize); 460 lbas = MIN(lbas, (SGPP << cbe_lun->pblockexp) - lbaoff); 480 sg_entries[i].len = MIN(len, be_lun->pblocksize - off); 1251 MIN(sizeof(cbe_lun->serial_num), sizeof(tmpstr))); 1255 MIN(sizeof(params->serial_num), sizeof(tmpstr))); 1258 MIN(sizeof(cbe_lun->serial_num), 1264 MIN(sizeof(cbe_lun->device_id), sizeof(tmpstr))); 1268 MIN(sizeof(params->device_id), sizeof(tmpstr))); 1271 MIN(sizeof(cbe_lun->device_id),
|