Home
last modified time | relevance | path

Searched refs:min (Results 1 – 25 of 727) sorted by path

12345678910>>...30

/illumos-gate/usr/src/boot/common/
H A Dinterp_parse.c169 i += min(len, PARSE_BUFSIZE - 1); in parse()
H A Dmisc.c108 chunk = min(sizeof(buf), resid); in kern_bzero()
/illumos-gate/usr/src/boot/efi/libefi/
H A Defipart.c1148 size_t x = min(size, bio_size); in efipart_realstrategy()
1177 blksz = min(blksz, size); in efipart_realstrategy()
/illumos-gate/usr/src/boot/efi/loader/
H A Dframebuffer.c168 count = min(size, maxcount); in efifb_uga_find_pixel()
/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiosdisk.c1037 bio_size = min(BIO_BUFFER_SIZE, size); in bd_realstrategy()
1055 int x = min(blks, bio_size / bd->bd_sectorsize); in bd_realstrategy()
1080 bsize = min(bsize, rest); in bd_realstrategy()
H A Dpxe.c423 len = min(sizeof (desc->myea), undi_info_p->HwAddrLen); in pxe_netif_init()
H A Dvidconsole.c438 int min, mid, max; in vga_get_cp437() local
440 min = 0; in vga_get_cp437()
447 while (max >= min) { in vga_get_cp437()
448 mid = (min + max) / 2; in vga_get_cp437()
453 min = mid + 1; in vga_get_cp437()
715 int min, mid, max; in vga_cp437_to_uni() local
717 min = 0; in vga_cp437_to_uni()
720 while (max >= min) { in vga_cp437_to_uni()
721 mid = (min + max) / 2; in vga_cp437_to_uni()
726 min = mid + 1; in vga_cp437_to_uni()
/illumos-gate/usr/src/boot/libsa/
H A Dbzipfs.c48 min(uint_t a, uint_t b) in min() function
353 errno = bzf_read(f, discard, min(sizeof (discard), in bzf_seek()
H A Dgzipfs.c322 errno = zf_read(f, discard, min(sizeof (discard), in zf_seek()
H A Dsplitfs.c276 errno = splitfs_read(f, tmp, min(seek_by, SEEK_BUF), &resid); in splitfs_seek()
277 nread = min(seek_by, SEEK_BUF) - resid; in splitfs_seek()
H A Dstand.h382 static __inline uint_t min(uint_t a, uint_t b) { return (a < b ? a : b); } in min() function
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfs.c425 memcpy(outbuf, bouncebuf + head, min(secsz - head, bytes)); in vdev_read()
426 outbuf += min(secsz - head, bytes); in vdev_read()
514 memcpy(bouncebuf + head, outbuf, min(secsz - head, bytes)); in vdev_write()
521 outbuf += min(secsz - head, bytes); in vdev_write()
/illumos-gate/usr/src/cmd/acct/
H A Dacctcom.c596 long hr, min, sec; local
598 min = sec = 0;
600 if(sscanf(str, "%ld:%ld:%ld", &hr, &min, &sec) < 1) {
604 sec += (min*60);
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c1636 char *zlbl = NULL, *min = NULL, *max = NULL; in _check_label() local
1639 (void) bsltos(drange.lower_bound, &min, 0, 0); in _check_label()
1643 dprintf("min - %s, ", min); in _check_label()
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioTypes.h154 inline double min(const Double& x, const Double& y) { in min() function
158 inline double min(const Double& x, double y) { in min() function
161 inline double min(double x, const Double& y) { in min() function
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c170 int min = tme->tm_min; in tm_to_secs() local
191 num_sec += min * 60; in tm_to_secs()
/illumos-gate/usr/src/cmd/autopush/
H A Dautopush.c345 rem_info(major_t maj, minor_t min) in rem_info() argument
357 push.sap_minor = min; in rem_info()
374 if ((min != 0) && (ioctl(sadfd, SAD_GAP, &push) == 0) && in rem_info()
409 get_info(major_t maj, minor_t min) in get_info() argument
421 push.sap_minor = min; in get_info()
/illumos-gate/usr/src/cmd/awk/
H A Dawk.h385 extern int adjbuf(char **pb, size_t *sz, size_t min, size_t q,
/illumos-gate/usr/src/cmd/bhyve/
H A Dmevent_test.c75 uint64_t min, max, diff, sum; in timer_print() local
82 min = UINT64_MAX; in timer_print()
99 if (min > diff) in timer_print()
100 min = diff; in timer_print()
105 printf("timers done: usecs, min %ld, max %ld, mean %ld\n", min, max, in timer_print()
H A Dpci_virtio_input.c96 uint32_t min; member
383 sc->vsc_config.u.abs.min = abs.minimum; in pci_vtinput_read_config_abs_info()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c755 l_max = min(LMAX, sizeof (ll.ll_line)); in findwhen()
756 h_max = min(HMAX, sizeof (ll.ll_host)); in findwhen()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dutilities.c141 #define min(x, y) ((x < y) ? x:y) macro
152 buffer = buffer + min(length, BYTES_PER_LINE/2);
162 buffer = buffer + min(length, BYTES_PER_LINE);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_hc.c1212 in_port_t min, max; in create_argv() local
1215 min = ntohs(rule->irl_minport); in create_argv()
1218 min = ntohs(sg_srv->sgs_minport); in create_argv()
1221 if (max > min) in create_argv()
1222 port = min + gethrtime() % (max - min + 1); in create_argv()
1224 port = min; in create_argv()
H A Dilbd_nat.c124 max_num = min(req_si->sn_num, min(NUM_ENTRIES, max_num)); in ilbd_show_nat()
245 max_num = min(req_si->sn_num, min(NUM_ENTRIES, max_num)); in ilbd_show_sticky()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Ddefs.h105 #define min(a, b) ((a) > (b) ? (b) : (a)) macro

12345678910>>...30