/illumos-gate/usr/src/uts/common/os/ |
H A D | grow.c | 1045 (size_t)MIN(MC_QUANTUM, ea - addr), vec, &rl);
|
H A D | sunddi.c | 923 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 D | dumpsubr.c | 1335 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 D | if_iwn.c | 5051 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 D | ztest.c | 655 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 D | zonecfg.c | 642 * 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 D | ipsec_util.c | 2001 scratch = MIN(adddelta, usedelta); 2081 scratch = MIN(adddelta, usedelta);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 1901 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 D | fmd_api.c | 1560 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 D | nfs3_xdr.c | 1526 n = MIN(size, mp->b_wptr - mp->b_rptr); 1527 if ((n = MIN(uiop->uio_resid, n)) != 0) {
|
H A D | nfs4_subr.c | 702 mlen = MIN(alen, blen); 1320 timeo = (MIN(mi->mi_timeo, SHORTWAIT) * hz) / 10;
|
H A D | nfs_srv.c | 558 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 D | ip_compat.h | 2468 #ifndef MIN 2469 # define MIN(a,b) (((a)<(b))?(a):(b)) macro
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_znode.c | 1485 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); 1487 newblksz = MIN(end, zp->z_zfsvfs->z_max_blksz);
|
H A D | dnode.c | 548 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 D | tem_safe.c | 2114 nbits = MIN(8, bitsleft); 2177 nbits = MIN(8, bitsleft);
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 537 ndyns = MIN(DYN_STRIDE, ndyns); 1543 len = MIN(size, n);
|
/illumos-gate/usr/src/lib/libdlpi/common/ |
H A D | libdlpi.c | 1398 ctl.len = MIN(cscratch.len, DLPI_CHUNKSIZE);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/ |
H A D | wanboot-cgi.c | 291 validsize = MIN(chunksize, nbytes - nwritten);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | net.c | 863 (void) mdb_readstr(intf, MIN(LIFNAMSIZ, ill.ill_name_length),
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 903 itime = MIN(idle.xmit_idle, idle.recv_idle);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | rts.c | 1381 t_uscalar_t size = MIN(len, *optlen);
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | fx.c | 351 userdpsz = MIN(fxadmin.fx_ndpents * sizeof (fxdpent_t),
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_vnops.c | 1283 error = uiomove(fnp->fn_symlink, MIN(fnp->fn_symlinklen,
|
/illumos-gate/usr/src/uts/common/fs/hsfs/ |
H A D | hsfs_node.c | 852 bytes_wanted = MIN(MAXBSIZE, dirsiz - (offset & MAXBMASK));
|