/illumos-gate/usr/src/uts/common/os/ |
H A D | mmapobj.c | 1327 min_align = MAX(PAGESIZE, vac_size); in calc_loadable() 2049 #define MAX_HEADER_SIZE (MAX(sizeof (Ehdr), sizeof (struct exec)))
|
H A D | timer.c | 271 timer_max = MAX(NCPU * 4, timer_max); in clock_timer_init()
|
H A D | timers.c | 356 min = MAX((int)(cyclic_getres() / (NANOSEC / MICROSEC)), in xsetitimer()
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_nic.c | 887 uint8_t payload[MAX(MC_CMD_GET_LOOPBACK_MODES_IN_LEN, in efx_mcdi_get_loopback_modes()
|
H A D | ef10_impl.h | 39 #define EF10_MAX_PIOBUF_NBUFS MAX(HUNT_PIOBUF_NBUFS, MEDFORD_PIOBUF_NBUFS)
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | sysdc.c | 1281 sdp.sdp_DC = MAX(MIN(dc, sysdc_maxDC), sysdc_minDC); in sysdc_thread_enter()
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_dump.c | 148 cpr_buf_size = MAX(size, CPRBUFSZ); in cpr_alloc_bufs()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptraverse.c | 854 n = MAX(n, 0); in bread()
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_opt_data.c | 717 if (val > MIN(4, MAX(2, 4380 / tcp->tcp_mss))) { in tcp_opt_set()
|
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/ |
H A D | pcicfg.c | 4409 mem_end = MAX((MIN(mem_reqd, (mem_answer + mem_alen))), in pcicfg_probe_bridge() 4411 io_end = MAX((MIN(io_reqd, (io_answer + io_alen))), io_end); in pcicfg_probe_bridge() 4412 pf_mem_end = MAX((MIN(pf_mem_reqd, (pf_mem_answer + in pcicfg_probe_bridge() 4414 *highest_bus = MAX((MIN(highest_bus_reqd, max_bus)), in pcicfg_probe_bridge()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipmp.c | 1048 mtu = MAX(mtu, ipmp_ill->ill_isv6 ? IPV6_MIN_MTU : IP_MIN_MTU); in ipmp_illgrp_refresh_mtu() 1049 mc_mtu = MAX(mc_mtu, ipmp_ill->ill_isv6 ? IPV6_MIN_MTU : IP_MIN_MTU); in ipmp_illgrp_refresh_mtu()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_probe.c | 675 pg->pg_fdt = MAX(pg->pg_fdt / NEXT_FDT_MULTIPLE, in incoming_rtt_reply() 930 pg->pg_fdt = MAX(pg->pg_fdt / NEXT_FDT_MULTIPLE, in incoming_echo_reply()
|
/illumos-gate/usr/src/uts/intel/io/amr/ |
H A D | amr.c | 424 MAX(softs->amr_nlogdrives, 1), TASKQ_DEFAULTPRI, 0)) == NULL) { in amr_attach() 1860 slen = MAX(statuslen, sizeof (struct scsi_arq_status)); in amr_tran_init_pkt()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_termio.c | 1426 td->tio_rows = MAX(td->tio_info.ti_lines.at_val, 0); in termio_setup_attrs() 1427 td->tio_cols = MAX(td->tio_info.ti_cols.at_val, 0); in termio_setup_attrs()
|
H A D | mdb_gelf.c | 1499 size = MAX(symp->st_size, 1); in gelf32_sym_search() 1544 size = MAX(symp->st_size, 1); in gelf64_sym_search()
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 648 if (strncmp(line, "add ", MAX(MIN(word_end, 4), 1)) == 0) in CPL_MATCH_FN() 650 if (strncmp(line, "clear ", MAX(MIN(word_end, 6), 2)) == 0) in CPL_MATCH_FN() 652 if (strncmp(line, "select ", MAX(MIN(word_end, 7), 3)) == 0) in CPL_MATCH_FN() 654 if (strncmp(line, "set ", MAX(MIN(word_end, 4), 3)) == 0) in CPL_MATCH_FN() 656 if (strncmp(line, "remove ", MAX(MIN(word_end, 7), 1)) == 0) in CPL_MATCH_FN() 658 if (strncmp(line, "info ", MAX(MIN(word_end, 5), 1)) == 0) in CPL_MATCH_FN()
|
/illumos-gate/usr/src/uts/common/io/aggr/ |
H A D | aggr_grp.c | 1199 nports_high = MAX(grp->lg_nports_high, grp->lg_nports + nports); in aggr_grp_add_ports() 1536 grp->lg_rx_group_count = MAX(grp->lg_rx_group_count, in aggr_grp_create() 1641 tx_ring_limit = MAX_RINGS_PER_GROUP / MAX(4, nports); in aggr_grp_create()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/libzfs_input_check/ |
H A D | libzfs_input_check.c | 168 zc.zc_nvlist_dst_size = MAX(size * 2, 128 * 1024); in lzc_ioctl_run()
|
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/ |
H A D | ip.c | 983 ip_size = MAX(ip_size, sizeof (ip_hdr_t)); in _fmd_init()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | space_map.c | 257 uint64_t bufsz = MAX(sm->sm_blksz, SPA_MINBLOCKSIZE); in space_map_incremental_destroy()
|
H A D | btree.c | 680 uint32_t move_count = MAX((BTREE_CORE_ELEMS / (tree->bt_bulk == NULL ? in zfs_btree_insert_into_parent() 805 uint32_t move_count = MAX(capacity / (tree->bt_bulk ? 4 : 2), 1) - 1; in zfs_btree_insert_into_leaf()
|
/illumos-gate/usr/src/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 202 zc.zc_nvlist_dst_size = MAX(size * 2, 128 * 1024); in lzc_ioctl()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_provider.c | 268 nc = MAX(nc, adp->dtargd_mapping); in dt_probe_discover()
|
/illumos-gate/usr/src/cmd/power/ |
H A D | powerd.c | 981 max_time = MAX(checkidle_time, shutdown_time); in set_alarm()
|
/illumos-gate/usr/src/uts/common/fs/dcfs/ |
H A D | dc_vnops.c | 268 size_t rdsize = MAX(MAXBSIZE, dp->dc_hdr->ch_blksize); in dc_read()
|