/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_eeprom.c | 601 minPwrT4[i] = max(pPwrL[0], pPwrR[0]); 769 minPwrT4[i] = max(pPwrL[0], pPwrR[0]); 1318 twiceLargestAntenna = max( 1325 max((uint8_t)twiceLargestAntenna, 1353 scaledPower = max((uint16_t)0, scaledPower); 1632 scaledPower = max((uint16_t)0, scaledPower);
|
/illumos-gate/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.c | 691 max(dma_attr_txbounce.dma_attr_align, IOC_LINESIZE); 693 /* Size for tx bounce buffers must be max tx packet size. */ 1488 dp->tx_max_packets = max(dp->tx_max_packets - 1, 1); 1830 cnt = max(dp->poll_pkt_delay*2, 10); 3203 DPRINTF(0, (CE_CONT, "%s: %s: max drain time: %d uS", 4812 gc->gc_tx_copy_thresh = max(ETHERMIN, gc->gc_tx_copy_thresh); 4813 gc->gc_rx_copy_thresh = max(ETHERMIN, gc->gc_rx_copy_thresh); 4818 gc->gc_rx_buf_align = max(gc->gc_rx_buf_align, IOC_LINESIZE - 1); 4823 max(gc->gc_dma_attr_desc.dma_attr_align, IOC_LINESIZE); 4863 dp->txmaxdma = 16*4; /* tx max dm [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_io.c | 68 uint32_t max, uint32_t exp); 222 iscsi_update_flow_control(iscsi_sess_t *isp, uint32_t max, uint32_t exp) argument 227 if (!iscsi_sna_lt(max, (exp - 1))) { 233 if (!iscsi_sna_lte(max, isp->sess_maxcmdsn)) { 234 isp->sess_maxcmdsn = max;
|
/illumos-gate/usr/src/uts/common/fs/doorfs/ |
H A D | door_sys.c | 1158 * (max adjustment from door_final_sp()) 2808 uint_t max; local 2814 max = PAGESIZE - off; 2816 max = PAGESIZE; 2817 amount = len > max ? max : len;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dtrace.c | 1520 minor_t max = 0; local 1538 &max, dtrace_minor) == -1) { 1545 dw->dtsw_max = max;
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_nic_main.c | 1327 unm_process_rcv_ring(unm_adapter *adapter, int max) argument 1338 unm_desc_dma_sync(recv_ctx->status_desc_dma_handle, start, max, 1342 while (count < max) {
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_dfc.c | 5240 uint32_t max = 4096; local 5280 /* Get max PCI config range */ 5282 max = 256; 5284 max = 4096; 5287 if ((cnt + offset) > max) { 5289 "%s: Offset+Count too large. (offset=%d count=%d max=%d)", 5290 emlxs_dfc_xlate(dfc->cmd), offset, cnt, max); 5295 if (outsz > max) { 5296 outsz = max; 5335 uint32_t max; local [all...] |
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | hc.c | 313 topo_instance_t max, void *notused1, void *notused2) 328 if (min != max) { 331 "ambiguous instance number, min (%d) != max (%d).\n", 332 HC, min, max); 312 hc_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
|
H A D | svc.c | 239 topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) 238 svc_enum(topo_mod_t *mod, tnode_t *pnode, const char *name, topo_instance_t min, topo_instance_t max, void *notused1, void *notused2) argument
|
/illumos-gate/usr/src/uts/common/io/i40e/ |
H A D | i40e_main.c | 1500 i40e_get_prop(i40e_t *i40e, char *prop, int min, int max, int def) argument 1506 if (val > max) 1507 val = max; 1611 * what the real max is.
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 1858 * Returns the max of old_ovhd and the overhead associated with pol. 1866 new_ovhd = max(new_ovhd, 1921 ipsec_ovhd = max(ipsec_ovhd, 2010 return (max(maxmtu, iptun->iptun_typeinfo->iti_minmtu));
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac.c | 3358 _mac_set_range(mac_propval_range_t *range, uint32_t min, uint32_t max) argument 3363 range->mpr_range_uint32[0].mpur_max = max; 3377 uint_t max; local 3467 max = id == MAC_PROP_RXRINGSRANGE ? 3470 if (max <= 1) { 3481 _mac_set_range(range, 1, max - 1);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 2160 getnum(const char *strp, int *nump, int min, int max) argument 2170 if (num > max)
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | doprnt.c | 210 #define MAXARGS 30 /* max. number of args for fast positional paramters */ 495 wchar_t buf[max(MAXLLDIGS, 1034)]; 509 char buf[max(MAXLLDIGS, 1034)];
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_restore_writer.c | 918 file_size = max(0, file_size); 930 file_size = max(0, file_size);
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_config.c | 960 if (*(int *)data > ic->max || 970 ic->min, ic->max);
|
/illumos-gate/usr/src/uts/i86pc/io/apix/ |
H A D | apix.c | 296 nproc = max(apic_nproc, apic_max_nproc); 2311 apic_max_device_irq = max(irqno, apic_max_device_irq);
|
H A D | apix_utils.c | 108 nproc = max(apic_nproc, apic_max_nproc); 148 nproc = max(apic_nproc, apic_max_nproc);
|
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-mgmtaux.c | 1533 __HAL_AUX_ENTRY("queue size max", drv_config.queue_size_max, "%u"); 1626 xge_os_strlcpy(dest_addr, "max", dest_size); 1627 __HAL_AUX_ENTRY(key, ring->max, "%u"); 1726 xge_os_strlcpy(dest_addr, "max", dest_size); 1727 __HAL_AUX_ENTRY(key, fifo->max, "%u");
|
/illumos-gate/usr/src/cmd/format/ |
H A D | auto_sense.c | 2118 lnsect = max(MINIMUM_NO_SECTORS, lnsect / 2); 2128 lnhead = max(MINIMUM_NO_HEADS, lnhead / 2);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | evchannels.c | 1004 * Calculate limits: max no of channels and max no of events per 1116 /* Check for max binds and create binding */ 1458 int max = size; local 1468 if (len >= max) {
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | mp_platform_common.c | 826 apic_cpus_size = max(apic_nproc, max_ncpus) * sizeof (*apic_cpus); 862 * Slot index range: [max(apic_nproc, boot_ncpus), max_ncpus) 877 for (i = max(boot_ncpus, apic_nproc); i < max_ncpus; i++) { 1088 /* Find max # of CPUS and allocate structure accordingly */
|
/illumos-gate/usr/src/uts/intel/io/acpica/ |
H A D | osl.c | 333 acpi_sema_init(acpi_sema_t *sp, unsigned max, unsigned count) argument 340 sp->maximum = max;
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_reads.c | 3394 * to reinit and retry (max 3 times) on retriable LDAP errors. 3470 * clear any leftover results if max retries have not been 4432 int cnt, max; local 4466 for (max = 1; (send = strchr(++send, SEMITOK)) != NULL; 4467 max++) {} 4468 authpp = (ns_auth_t **)calloc(++max, sizeof (ns_auth_t *));
|
/illumos-gate/usr/src/cmd/vi/misc/ |
H A D | ctags.c | 75 #define max(I1, I2) (I1 > I2 ? I1 : I2) macro
|