Searched refs:MIN (Results 501 - 525 of 653) sorted by relevance

<<21222324252627

/illumos-gate/usr/src/uts/common/os/
H A Dgrow.c1045 (size_t)MIN(MC_QUANTUM, ea - addr), vec, &rl);
H A Dsunddi.c923 MIN(attr->dma_attr_addr_hi, mod->dma_attr_addr_hi);
925 MIN(attr->dma_attr_count_max, mod->dma_attr_count_max);
933 MIN(attr->dma_attr_maxxfer, mod->dma_attr_maxxfer);
934 attr->dma_attr_seg = MIN(attr->dma_attr_seg, mod->dma_attr_seg);
935 attr->dma_attr_sgllen = MIN((uint_t)attr->dma_attr_sgllen,
2744 i = MIN(ph->ph_size, PROP_1275_INT_SIZE);
H A Ddumpsubr.c1335 len = MIN(size, dumpbuf.end - dumpbuf.cur);
2924 size = MIN(dumpcfg.cbuf[0].size, DUMP_OFFSET - sizeof (dumphdr_t) -
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c5051 noise = MIN(calib->noise[i], noise);
5062 cmd.gain[i] = (uint8_t)MIN(abs(delta), 3);
5093 cmd.gain[i - 1] = (uint8_t)MIN(abs(delta), 3);
5181 val = MIN(energy[0], energy[1]);
5182 val = MIN(energy[2], val);
5351 cmd.intval[i] = htole32(MIN(maxp, pmgt->intval[i]));
5666 return MIN(IWN_PASSIVE_DWELL_BASE, ((bintval * 85) / 100));
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c655 zo->zo_raidz_parity = MIN(MAX(value, 1), 3);
720 zo->zo_raidz_parity = MIN(zo->zo_raidz_parity, zo->zo_raidz - 1);
5059 blocksize = MIN(blocksize, 2048); /* because we write so many */
5668 zs->zs_thread_stop = MIN(zs->zs_thread_stop, zs->zs_proc_stop);
6332 now = MIN(now, zs->zs_proc_stop);
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c642 * The MAX/MIN tests below are to make sure we have at least
644 * but only check MIN(what we have, what we're checking).
646 if (strncmp(line, "add ", MAX(MIN(word_end, 4), 1)) == 0)
648 if (strncmp(line, "clear ", MAX(MIN(word_end, 6), 2)) == 0)
650 if (strncmp(line, "select ", MAX(MIN(word_end, 7), 3)) == 0)
652 if (strncmp(line, "set ", MAX(MIN(word_end, 4), 3)) == 0)
654 if (strncmp(line, "remove ", MAX(MIN(word_end, 7), 1)) == 0)
656 if (strncmp(line, "info ", MAX(MIN(word_end, 5), 1)) == 0)
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c2001 scratch = MIN(adddelta, usedelta);
2081 scratch = MIN(adddelta, usedelta);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c1901 memlen = MIN(resid, php->p_memsz - mapoff);
1902 filelen = MIN(resid, php->p_filesz - mapoff);
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_api.c1560 bcopy(bp->buf_data, buf, MIN(bp->buf_size, size));
1598 bcopy(buf, bp->buf_data, MIN(bp->buf_size, size));
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_xdr.c1526 n = MIN(size, mp->b_wptr - mp->b_rptr);
1527 if ((n = MIN(uiop->uio_resid, n)) != 0) {
H A Dnfs4_subr.c702 mlen = MIN(alen, blen);
1320 timeo = (MIN(mi->mi_timeo, SHORTWAIT) * hz) / 10;
H A Dnfs_srv.c558 rl->rl_count = (uint32_t)MIN(strsz, NFS_MAXPATHLEN);
2562 rda->rda_count = MIN(rda->rda_count, NFS_MAXDATA);
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h2468 #ifndef MIN
2469 # define MIN(a,b) (((a)<(b))?(a):(b)) macro
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_znode.c1485 newblksz = MIN(end, 1 << highbit64(zp->z_blksz));
1487 newblksz = MIN(end, zp->z_zfsvfs->z_max_blksz);
H A Ddnode.c548 ibs = MIN(MAX(ibs, DN_MIN_INDBLKSHIFT), DN_MAX_INDBLKSHIFT);
1940 *offset = MIN(*offset + (1ULL << span) - 1, start);
/illumos-gate/usr/src/uts/common/io/
H A Dtem_safe.c2114 nbits = MIN(8, bitsleft);
2177 nbits = MIN(8, bitsleft);
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c537 ndyns = MIN(DYN_STRIDE, ndyns);
1543 len = MIN(size, n);
/illumos-gate/usr/src/lib/libdlpi/common/
H A Dlibdlpi.c1398 ctl.len = MIN(cscratch.len, DLPI_CHUNKSIZE);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c291 validsize = MIN(chunksize, nbytes - nwritten);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dnet.c863 (void) mdb_readstr(intf, MIN(LIFNAMSIZ, ill.ill_name_length),
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dauth.c903 itime = MIN(idle.xmit_idle, idle.recv_idle);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Drts.c1381 t_uscalar_t size = MIN(len, *optlen);
/illumos-gate/usr/src/uts/common/disp/
H A Dfx.c351 userdpsz = MIN(fxadmin.fx_ndpents * sizeof (fxdpent_t),
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vnops.c1283 error = uiomove(fnp->fn_symlink, MIN(fnp->fn_symlinklen,
/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_node.c852 bytes_wanted = MIN(MAXBSIZE, dirsiz - (offset & MAXBMASK));

Completed in 254 milliseconds

<<21222324252627