/illumos-gate/usr/src/test/bhyve-tests/tests/kdev/ |
H A D | vatpit_freq.c | 107 const uint_t margin_ticks = MAX(1, ATPIT_TARGET_TICKS / 2500); in main()
|
H A D | vpmtmr_freq.c | 113 const uint_t margin_ticks = MAX(1, PMTMR_TARGET_TICKS / 10000); in main()
|
H A D | vhpet_freq.c | 108 const uint_t margin_ticks = MAX(1, HPET_TARGET_TICKS / 10000); in main()
|
H A D | vlapic_freq_periodic.c | 104 const uint_t margin_ticks = MAX(1, LAPIC_TARGET_TICKS / 5000); in run_test()
|
H A D | vlapic_freq.c | 99 const uint_t margin_ticks = MAX(1, LAPIC_TARGET_TICKS / 5000); in test_for_divisor()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_dir.c | 1150 uint64_t old_accounted = MAX(used, dsl_dir_phys(dd)->dd_reserved); in parent_delta() 1152 MAX(used + delta, dsl_dir_phys(dd)->dd_reserved); in parent_delta() 1713 if (MAX(used, newval) > MAX(used, dsl_dir_phys(dd)->dd_reserved)) { in dsl_dir_set_reservation_check() 1714 uint64_t delta = MAX(used, newval) - in dsl_dir_set_reservation_check() 1715 MAX(used, dsl_dir_phys(dd)->dd_reserved); in dsl_dir_set_reservation_check() 1737 delta = MAX(used, value) - MAX(used, dsl_dir_phys(dd)->dd_reserved); in dsl_dir_set_reservation_sync_impl() 1929 MAX(dsl_dir_phys(dd)->dd_used_bytes, in dsl_dir_rename_check()
|
H A D | spa_log_spacemap.c | 339 spa->spa_unflushed_stats.sus_blocklimit = MIN(MAX(calculated_limit, in spa_log_sm_set_blocklimit() 386 uint64_t blocks_per_row = MAX(1, in summary_entry_is_full() 684 max_flushes_pertxg = MAX(max_flushes_pertxg, in spa_estimate_metaslabs_to_flush()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vmem_impl.h | 87 MAX(1 << highbit(3 * (max)), 64)
|
H A D | sysmacros.h | 59 #ifndef MAX 60 #define MAX(a, b) ((a) < (b) ? (b) : (a)) macro
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | bootops.c | 232 size = roundup(size, MAX(align, 8)); in bop_temp_alloc() 331 chunksz = MAX(chunksz, PAGESIZE); in bop_alloc_chunk()
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci.c | 448 if (reg.regspec_addr + offset < MAX(reg.regspec_addr, offset)) in pci_bus_map() 493 (offset + len > pci_rlength) || (offset + len < MAX(offset, len))) { in pci_bus_map() 521 if (reg.regspec_addr + offset < MAX(reg.regspec_addr, offset)) in pci_bus_map()
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_intr.c | 78 uint8_t payload[MAX(MC_CMD_TRIGGER_INTERRUPT_IN_LEN, in efx_mcdi_trigger_interrupt()
|
H A D | efx_lic.c | 386 uint8_t payload[MAX(MC_CMD_FC_IN_LICENSE_LEN, in efx_mcdi_fc_license_get_key_stats() 711 uint8_t payload[MAX(MC_CMD_GET_LICENSED_APP_STATE_IN_LEN, in efx_mcdi_licensed_app_state() 813 uint8_t payload[MAX(MC_CMD_LICENSING_IN_LEN, in efx_mcdi_licensing_get_key_stats() 913 uint8_t payload[MAX(MC_CMD_LICENSING_V3_IN_LEN, in efx_mcdi_licensing_v3_report_license() 976 uint8_t payload[MAX(MC_CMD_GET_LICENSED_V3_APP_STATE_IN_LEN, in efx_mcdi_licensing_v3_app_state() 1034 uint8_t payload[MAX(MC_CMD_LICENSING_GET_ID_V3_IN_LEN, in efx_mcdi_licensing_v3_get_id()
|
H A D | ef10_mac.c | 102 uint8_t payload[MAX(MC_CMD_VADAPTOR_SET_MAC_IN_LEN, in efx_mcdi_vadapter_set_mac() 168 uint8_t payload[MAX(MC_CMD_SET_MAC_EXT_IN_LEN, in efx_mcdi_mtu_set() 236 uint8_t payload[MAX(MC_CMD_SET_MAC_IN_LEN, in ef10_mac_reconfigure()
|
H A D | hunt_phy.c | 86 uint8_t payload[MAX(MC_CMD_POLL_BIST_IN_LEN,
|
/illumos-gate/usr/src/cmd/sort/ |
H A D | utility.h | 63 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) macro
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | taskq.c | 311 pct = MAX(pct, 0); in taskq_create_proc() 314 nthreads = MAX(nthreads, 1); /* need at least 1 thread */ in taskq_create_proc()
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | libbe_priv.h | 83 #define MAX(a, b) ((a) > (b) ? (a) : (b)) macro
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp.c | 1568 sctps->sctps_sc_cnt = MAX(ncpus, boot_ncpus); in sctp_stack_init() 1673 thrs = MIN(sctp_recvq_tq_thr_max, MAX(sctp_recvq_tq_thr_min, in sctp_rq_tq_init() 1674 MAX(ncpus, boot_ncpus))); in sctp_rq_tq_init() 1679 max_tasks = MAX(sctp_recvq_tq_task_min, thrs) * 3; in sctp_rq_tq_init() 1730 thrs = MIN(sctp_recvq_tq_thr_max, MAX(sctp_recvq_tq_thr_min, in sctp_inc_taskq() 1731 MAX(ncpus, boot_ncpus))); in sctp_inc_taskq() 1736 max_tasks = MAX(sctp_recvq_tq_task_min, thrs) * 3; in sctp_inc_taskq()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_dispq.c | 338 cvbuflen = MAX(cvbuflen, len); in fmd_dispq_dispatch_gid() 405 dqp->dq_gmax = MAX(dqp->dq_gmax, gid); in fmd_dispq_getgid()
|
H A D | fmd_trace.c | 72 sizeof (uintptr_t) * (MAX(tbp->tb_frames, 1) - 1); in fmd_trace_create()
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_util.c | 317 ml->ml_size = MAX((base + len), in dr_memlist_add_span() 324 ml->ml_size = MAX((base + len), in dr_memlist_add_span()
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_util.c | 316 ml->ml_size = MAX((base + len), in dr_memlist_add_span() 323 ml->ml_size = MAX((base + len), in dr_memlist_add_span()
|
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_collection.c | 38 #define MAX(x, y) (((x) > (y)) ? (x) : (y)) macro
|
/illumos-gate/usr/src/uts/common/ktli/ |
H A D | t_kalloc.c | 104 dsize = MAX(tiptr->tp_info.connect, in t_kalloc()
|