Home
last modified time | relevance | path

Searched refs:UINT16_MAX (Results 1 – 25 of 45) sorted by relevance

12

/titanic_50/usr/src/cmd/format/
H A Dparam.h34 #ifndef UINT16_MAX
35 #define UINT16_MAX 0xffffU macro
67 #define MAXBLKS(heads, spt) UINT16_MAX * heads * spt, heads, spt
/titanic_50/usr/src/uts/common/sys/
H A Dint_limits.h93 #define UINT16_MAX (65535U) macro
121 #define UINT_LEAST16_MAX UINT16_MAX
135 #define UINT_FAST16_MAX UINT16_MAX
H A Ddtrace.h489 #define DTRACE_LQUANTIZE_STEPMASK ((uint64_t)UINT16_MAX << 48)
491 #define DTRACE_LQUANTIZE_LEVELMASK ((uint64_t)UINT16_MAX << 32)
508 #define DTRACE_LLQUANTIZE_FACTORMASK ((uint64_t)UINT16_MAX << 48)
510 #define DTRACE_LLQUANTIZE_LOWMASK ((uint64_t)UINT16_MAX << 32)
512 #define DTRACE_LLQUANTIZE_HIGHMASK ((uint64_t)UINT16_MAX << 16)
514 #define DTRACE_LLQUANTIZE_NSTEPMASK UINT16_MAX
H A Dmac_client_impl.h297 #define MCIP_VIDCACHE_VIDMASK (UINT16_MAX << MCIP_VIDCACHE_VIDSHIFT)
/titanic_50/usr/src/uts/intel/io/
H A Dpit_beep.c262 if (counter > UINT16_MAX) in pit_beep_freq()
263 counter = UINT16_MAX; in pit_beep_freq()
/titanic_50/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DLogLinearDistribution.java38 static final long UINT16_MAX = 0xffff; field in LogLinearDistribution
46 return (x & (UINT16_MAX << thing)) >> thing; in unpack()
/titanic_50/usr/src/test/libc-tests/tests/
H A Dtimespec_get.c48 VERIFY0(timespec_get(&ts, UINT16_MAX)); in main()
/titanic_50/usr/src/lib/libuuid/common/
H A Duuid_misc.c124 return (arc4random_uniform(UINT16_MAX)); in get_random()
/titanic_50/usr/src/uts/common/inet/sctp/
H A Dsctp_tunables.c301 {1, UINT16_MAX, 32}, {32} },
305 {1, UINT16_MAX, 32}, {32} },
/titanic_50/usr/src/cmd/prtdiag/i386/
H A Dsmbios.c212 if (vid >= 0 && vid <= UINT16_MAX && in do_slot_mapping_cb()
213 did >= 0 && did <= UINT16_MAX) { in do_slot_mapping_cb()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/
H A Dilbadm.h73 #define ILB_MAX_PORT UINT16_MAX
/titanic_50/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddm_platform.c282 } else if (assertmask > UINT16_MAX) { in platform_set_sensor()
286 } else if (assertmask > UINT16_MAX) { in platform_set_sensor()
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_smb.c876 ASSERT(*lenp <= UINT16_MAX); in smb_smb_read()
879 todo = (uint16_t)min(uiop->uio_resid, UINT16_MAX); in smb_smb_read()
955 ASSERT(*lenp <= UINT16_MAX); in smb_smb_write()
958 todo = (uint16_t)min(uiop->uio_resid, UINT16_MAX); in smb_smb_write()
/titanic_50/usr/src/lib/libzonestat/common/
H A Dzonestat.h53 #define ZS_SHARES_UNLIMITED (UINT16_MAX)
/titanic_50/usr/src/lib/libuutil/common/
H A Duu_strtoint.c249 if (max > UINT16_MAX) in uu_strtouint()
/titanic_50/usr/src/cmd/fm/fminject/common/
H A Dinj_string.c83 { 0, UINT16_MAX },
/titanic_50/usr/src/uts/common/io/kb8042/
H A Dkb8042.c979 frequency = UINT16_MAX;
980 else if (cycles == UINT16_MAX)
984 if (frequency > UINT16_MAX)
985 frequency = UINT16_MAX;
/titanic_50/usr/src/uts/common/io/usb/clients/usbkbm/
H A Dusbkbm.c884 frequency = UINT16_MAX; in usbkbm_ioctl()
885 else if (cycles == UINT16_MAX) in usbkbm_ioctl()
889 if (frequency > UINT16_MAX) in usbkbm_ioctl()
890 frequency = UINT16_MAX; in usbkbm_ioctl()
/titanic_50/usr/src/lib/scsi/libses/common/
H A Dses_snap.c218 MIN(pp->ssp_alloc, UINT16_MAX)); in read_status_page()
239 if (pp->ssp_alloc - pp->ssp_len < 0x80 && pp->ssp_alloc < UINT16_MAX) { in read_status_page()
/titanic_50/usr/src/lib/libdtrace/common/
H A Ddt_cc.c1294 if ((step = arg3->dn_value) > UINT16_MAX) { in dt_compile_agg()
1308 if (nlevels > UINT16_MAX) { in dt_compile_agg()
1423 if ((uint64_t)llarg->dn_value > UINT16_MAX) { in dt_compile_agg()
1431 assert(!(arg & (UINT16_MAX << args[i].shift))); in dt_compile_agg()
1500 expected = (oarg >> args[i].shift) & UINT16_MAX; in dt_compile_agg()
1501 found = (arg >> args[i].shift) & UINT16_MAX; in dt_compile_agg()
/titanic_50/usr/src/uts/common/io/
H A Dcmlb.c1780 cl->cl_map[FDISK_P1 + count].dkl_cylno = UINT16_MAX;
1906 (UINT16_MAX * nhead * nsect) - 1) /
1907 (UINT16_MAX * nhead * nsect)) * nsect;
1910 cl_g->dkg_nsect = (UINT16_MAX / nsect) * nsect;
3336 (UINT16_MAX * 255 * 63) - 1) /
3337 (UINT16_MAX * 255 * 63)) * 63;
3340 cl->cl_g.dkg_nsect = (UINT16_MAX / 63) * 63;
5266 (UINT16_MAX * 255 * 63) - 1) /
5267 (UINT16_MAX * 255 * 63)) * 63;
5270 cl->cl_g.dkg_nsect = (UINT16_MAX / 63) * 63;
H A Dkbd.c580 frequency = UINT16_MAX; in kbdioctl()
581 else if (cycles == UINT16_MAX) in kbdioctl()
585 if (frequency > UINT16_MAX) in kbdioctl()
586 frequency = UINT16_MAX; in kbdioctl()
/titanic_50/usr/src/uts/common/net/
H A Dif.h728 #define IF_INDEX_MAX UINT16_MAX
/titanic_50/usr/src/lib/fm/libdiskstatus/common/
H A Dds_scsi_uscsi.c1334 assert(page_size >= 0 && page_size < UINT16_MAX); in uscsi_mode_sense_10()
1592 assert(page_size >= 0 && page_size < UINT16_MAX); in uscsi_log_sense()
/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_conf.c357 ASSERT(safestore_config.ssc_ss_psize <= UINT16_MAX); /* LINTED */

12