Searched refs:max (Results 551 - 575 of 603) sorted by relevance

<<2122232425

/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c500 max(DEV_BSIZE, bd->d_dma.dma_attr_granular);
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c4775 /* Do not exceed channel max TX power. */
5110 #define inc(val, inc, max) \
5111 if ((val) < (max)) { \
5112 if ((val) < (max) - (inc)) \
5115 (val) = (max); \
7105 /* Set FH wait threshold to max (HW bug under stress workaround). */
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/
H A DKstat.xs612 SAVE_INT32(self, tempsp, max);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c3313 #define max(x, y) (((x) < (y)) ? (y) : (x)) macro
3393 if ((c = select(max(net, master) + 1, &ibits, &obits, &xbits,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/
H A Dwificonfig.c1986 selected = select_profile(fd, 0, max(timeout, forever));
1999 len = max(strlen(argv[0]), strlen("wait=forever"));
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_stats.c857 // allocate max(emac, bmac) instead of emac+bmac, but need to make sure there are no races in the transition from
992 alloc_size = max( ( sizeof( *drv_info_to_mfw->addr.eth_stats ) ),
994 alloc_size = max( ( sizeof( *drv_info_to_mfw->addr.fcoe_stats ) ), alloc_size ) ;
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon.c1843 state->hs_rsvd_eqs = max(state->hs_devlim.num_rsvd_eq,
2535 * Determine number of available QPs and max QP size. Number of
2551 /* we need to reduce this by the max space needed for headroom */
2556 * Determine max scatter-gather size in WQEs. The HCA has split
2557 * the max sgl into rec'v Q and send Q values. Use the least.
2574 /* If the rounded value for max SGL is too large, cap it */
2586 * Determine number of available CQs and max CQ size. Number of
2605 * Determine number of available SRQs and max SRQ size. Number of
2644 * Determine number of available MemReg, MemWin, and their max size.
2681 /* Determine max numbe
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c520 struct_sz = max(8, strlen(s) + 1);
2677 struct_sz = max(8, strlen(&(mlu->mlu_buf[mlu->mlu_fname_off]))
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c992 int kmem_depot_contention = 3; /* max failed tryenters per real interval */
1001 size_t kmem_content_maxsave = 256; /* KMF_CONTENTS max bytes to log */
2403 kmem_dumppr(&p, e, "Oversize max size,%ld\n",
4249 ASSERT(size > maxbuf); /* i.e. maxbuf <= max(cache_size) */
4307 size_t max = local
4314 for (i = 0; i < max; i++) {
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c2713 uint_t flag, int max, int which, int stop)
2717 if (which < 0 || which > max) {
2712 Psetaction(struct ps_prochandle *P, void *sp, size_t size, uint_t flag, int max, int which, int stop) argument
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c6052 "Target %d now Synchronous at %d.%d MB/s max transmit rate\n";
6054 "Target %d now Synchronous at %d.0%d MB/s max transmit rate\n";
6056 "Target %d now Synchronous at %d.00%d MB/s max transmit rate\n";
6103 period ? max(period, MIN_SYNC_PERIOD(fas)) : 0;
6107 max(period, fas->f_neg_period[tgt]) : 0;
7155 max((fas->f_tcmds[slot] - 2), 0);
8342 * restore throttles to max throttle, regardless
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_name.c1663 nslice = max(nslice, V_NUMPAR);
H A Dmeta_sp.c2175 len = max(len, strlen(dgettext(TEXT_DOMAIN, "Device")));
/illumos-gate/usr/src/cmd/ypcmd/yp2lscripts/
H A Dinityp2l.sh3747 # It is believed that 'min','max' and 'def' labels were reserved fields in
3761 # name, passwd, min, max, def, always, \
3774 name, passwd, min, max, def, always, \
3783 name, passwd, min, max, def, always, \\
3806 name, lastchg, min, max, warn, inactive, \
4804 shadowMax=max, \
5458 max=shadowMax, \
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1669 nsegs = max(ccount, cmd->sc_win_len / SBP2_PT_SEGSIZE_MAX) * 2;
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c566 cmn_err(CE_WARN, "%s: SGE max packet size exceeded\n",
1276 * this to set the max offload coalescing size so that RX packets
1647 sge->ptimeout = max(val, 1);
/illumos-gate/usr/src/uts/sun4/ml/
H A Dinterrupt.s706 ! CPU_BASE_SPL and set %pil to max(our-pil, CPU_BASE_SPL)
/illumos-gate/usr/src/uts/common/io/
H A Dfdc.c1156 csb->csb_cmd[6] = (uchar_t)max(fjp->fj_chars->fdc_secptrack, sector);
1816 specifycmd[1] = fcp->c_hutsrt |= 0x0F; /* use max head unload time */
H A Dtl.c395 #define TL_MAXPSZ INFPSZ /* max packet size ZZZ */
609 t_uscalar_t _te_qlen; /* max conn requests */
2389 /* negotiate max conn req pending */
2671 * preallocate memory for max of T_OK_ACK and T_ERROR_ACK
2672 * ==> allocate for T_ERROR_ACK (known max)
2826 * 1. max of T_ERROR_ACK and T_OK_ACK
2827 * ==> known max T_ERROR_ACK
2828 * 2. max of T_DISCON_IND and T_CONN_IND
3120 size = max(ci_msz, sizeof (struct T_discon_ind));
3354 * 1. max o
[all...]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_xmit.c638 ndelim = max(mindelim, ndelim);
912 "HAL AC %u out of range, max %zu!\n",
1036 * IEEE80211 max.
1585 "hal qnum %u out of range, max %u!\n",
1638 "HAL AC %u out of range, max %zu!\n",
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba.c1691 max(n_odata, n_ndata) * sizeof (int)) == 0)) {
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_solaris.c253 2048, /* fca cmd max */
293 2048, /* fca cmd max */
331 2048, /* fca cmd max */
369 2048, /* max cmds */
2447 /* Make sure the max transfer is 128 bytes */
4533 parm->max = cfg->hi;
4594 parm_out->max = cfg->hi;
4661 parm_out->max = cfg->hi;
5083 "fca_port_manage: EMLXS_GET_THROTTLE: max=%d",
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge.c82 QL_DMA_MAX_XFER_SIZE, /* max DMA xfer size */
100 QL_DMA_MAX_XFER_SIZE, /* max DMA xfer size */
117 QL_DMA_MAX_XFER_SIZE, /* max DMA xfer size */
435 * Set up the max number of unicast list
3071 QL_PRINT(DBG_GLD, ("%s for ring(%d) to read max %d bytes\n",
3155 max(WCS_MPI_CODE_RAM_LENGTH, MEMC_MPI_RAM_LENGTH);
5340 max_seg_len = max(nbyte, max_seg_len);
5371 " max seg len: %d\n", total_len, frags, max_seg_len));
6985 * check current port max frame size, if different from OS setting,
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c1098 * Clip a policy's min/max keybits vs. the capabilities of the
1264 #define SET_EXP_MINMAX(type, wild, alg, min, max, ipss) \
1271 max = ipss->ipsec_nalgs[type] - 1; \
4708 * Compute the min, max, and default key sizes (in number of
4748 * Find the min and max key sizes supported by the cryptographic
4760 /* min and max key sizes supported by framework */
4779 /* adjust min/max supported by framework */
4810 * Determine min and max key sizes from alg_key_sizes[].
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c125 #define max(a, b) ((a) > (b) ? (a) : (b)) macro
141 #define MAXEXT 9 /* reasonable max # extents for a file */
144 /* max value dblock.dbuf.efsize can store */
2381 maxread = max(min(stbuf.st_blksize, stbuf.st_size),

Completed in 342 milliseconds

<<2122232425