/illumos-gate/usr/src/common/ucode/ |
H A D | ucode_utils.c | 170 int remaining; local 175 for (remaining = size; remaining > 0; ) { 178 uint8_t *curbuf = &ucodep[size - remaining]; 215 remaining -= total_size;
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_bootcfg.c | 253 size_t remaining; local 297 for (offset = 0; offset < sector_length; offset += remaining) { 298 remaining = MIN(chunk_length, sector_length - offset); 304 MIN(remaining, used_bytes - offset)); 311 offset, (caddr_t)chunk, remaining)) != 0)
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_manage.c | 229 u16 remaining, i, j, prev_bytes; local 253 remaining = length & 0x3; 254 length -= remaining; 271 if (remaining) { 273 if (j < remaining)
|
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | t4_ioctl.c | 481 uint32_t base, size, lo, hi, win, off, remaining, i, n; local 543 remaining = mr.len; 545 while (remaining) { 552 n = min(remaining, MEMWIN2_APERTURE - off); 554 for (i = 0; i < n; i += 4, remaining -= 4)
|
H A D | t4_nexus.c | 1092 uint32_t param, val, mtype, maddr, bar, off, win, remaining; local 1157 remaining = t4cfg_size; 1158 if (remaining > FLASH_CFG_MAX_SIZE || 1159 remaining > MEMWIN2_APERTURE - off) { 1162 remaining, FLASH_CFG_MAX_SIZE, MEMWIN2_APERTURE - off); 1169 * throw away the last remaining bytes when the config file is not an 1174 for (i = 0; remaining >= 4; i += 4, remaining -= 4)
|
/illumos-gate/usr/src/cmd/ucodeadm/ |
H A D | ucodeadm.c | 316 int remaining; local 329 for (remaining = size; remaining > 0; ) { 334 uint8_t *curbuf = &buf[size - remaining]; 343 remaining -= total_size;
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_hash.c | 357 ssize_t mlen, remaining; local 399 remaining = ntohs(ich->sch_len) - sizeof (*ich) - 401 if (remaining < sizeof (*ph)) { 408 totaddr = remaining/addr_len; 456 ph = sctp_next_parm(ph, &remaining);
|
H A D | sctp_common.c | 1187 * o Updates remaining 1191 sctp_next_parm(sctp_parm_hdr_t *current, ssize_t *remaining) argument 1197 *remaining -= len; 1198 if (*remaining < sizeof (*current) || len < sizeof (*current)) { 1203 *remaining -= pad; 1263 ssize_t remaining; local 1344 remaining = ntohs(ich->sch_len) - sizeof (*ich) - 1346 if (remaining < sizeof (*ph)) { 1384 if (remaining >= PARM_ADDR4_LEN) { 1422 if (remaining > 1513 ssize_t remaining; local [all...] |
H A D | sctp_cookie.c | 163 ssize_t remaining; local 192 remaining = ntohs(ch->sch_len) - sizeof (*ch); 194 remaining -= sizeof (*ic); 195 if (remaining < sizeof (*cph)) { 331 cph = sctp_next_parm(cph, &remaining); 1446 ssize_t remaining; local 1468 remaining = ntohs(ich->sch_len) - sizeof (*ich) - sizeof (*iack); 1469 if (remaining < sizeof (*ph)) { 1519 ph = sctp_next_parm(ph, &remaining);
|
H A D | sctp_input.c | 271 sctp_first_chunk(uchar_t *rptr, ssize_t remaining) argument 276 if (remaining < sizeof (*ch)) { 283 if (ch_len < sizeof (*ch) || remaining < ch_len) { 291 sctp_next_chunk(sctp_chunk_hdr_t *ch, ssize_t *remaining) argument 306 *remaining -= (ch_len + pad); 309 return (sctp_first_chunk((uchar_t *)ch, *remaining)); 2294 ssize_t remaining; local 2298 remaining = ntohs(ch->sch_len) - sizeof (*ch) - sizeof (*ftsn); 2315 while (remaining >= sizeof (*ftsn_entry)) { 2329 remaining [all...] |
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xenbus_dev.c | 487 int remaining; local 493 remaining = sizeof (xbs->read_buffer) - 496 if (sizeof (*msg) + msg->len > remaining) {
|
/illumos-gate/usr/src/lib/auditd_plugins/syslog/ |
H A D | sysplugin.c | 512 size_t used, remaining; local 656 remaining = out_len; 662 used = snprintf(bp, remaining, "%hu", 665 used = strlcpy(bp, event->ae_desc, remaining); 667 remaining -= used; 671 used = strlcpy(bp, " failed", remaining); 673 used = strlcpy(bp, " ok", remaining); 675 remaining -= used; 678 used = snprintf(bp, remaining, " session %u", 680 remaining [all...] |
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | display.c | 789 int remaining; local 830 remaining = duration - (int)(lt_millisecond() - start); 832 if (remaining <= 0) { 846 if (next_snap > 0 && remaining > next_snap) { 847 remaining = next_snap; 850 timeout.tv_sec = remaining / 1000; 851 timeout.tv_usec = (remaining % 1000) * 1000;
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_matching.c | 267 int *remaining, 287 *remaining -= kw->length; 334 len = (*remaining); 349 *remaining -= len; 395 int remaining; local 405 remaining = strlen(rule); 414 if (remaining > 1) { 418 remaining -= 2; 422 remaining -= 2; 426 while (remaining > 265 parse_rule_component(krb5_context context, const char **rule, int *remaining, rule_component **ret_rule) argument [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | microcode.c | 971 int remaining; local 980 for (remaining = size; remaining > 0; ) { 982 uint8_t *curbuf = &ucodep[size - remaining]; 1023 remaining -= total_size;
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | biosdisk.c | 404 int blks, remaining; local 426 remaining = (int)(BD(dev).bd_sectors - dblk); /* truncate */ 427 if (remaining > 0 && remaining < blks) { 428 blks = remaining;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | rlogin.c | 1249 int n, remaining; local 1267 while ((remaining = rcvcnt - (bufp - rcvbuf)) > 0) { 1269 n = write(STDOUT_FILENO, bufp, remaining);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcplugin/ |
H A D | psvcplugin.c | 528 int remaining = ip->interval; local 533 remaining = sleep(remaining); 534 } while (remaining > 0);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | ldc.c | 2542 * secondary data queue fills up and there are packets remaining on 4175 /* continue reading remaining pkts */ 4470 size_t len, bytes_written = 0, remaining; local 4563 remaining = *size - bytes_written; 4564 len = min(ldcp->pkt_payload, remaining);
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | cpr_impl.c | 1011 uint_t remaining, datalen; local 1067 remaining = (i_cpr_storage_data_end - sensitive_write_ptr); 1070 remaining, (remaining + datalen));
|
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | usba.c | 1022 int remaining; local 1027 remaining = head->count; 1052 remaining--; 1058 if ((next->next && (remaining == 0)) || 1059 ((next->next == NULL) && remaining)) { 1094 int remaining; local 1103 remaining = head->count; 1113 remaining--; 1116 if ((e && (remaining == 0)) || 1117 ((e == NULL) && (remaining))) { 1258 int remaining; local 1290 int remaining; local [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_consume.c | 1727 int64_t remaining; local 1755 remaining = *((int64_t *)addr); 1759 remaining = *((int32_t *)addr); 1763 remaining = *((int16_t *)addr); 1766 remaining = *((int8_t *)addr); 1772 if (remaining < 0) { 1774 remaining = -remaining; 1779 assert(remaining >= 0); 1780 trunc.dttd_remaining = remaining; [all...] |
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 159 int dfd, int sfd, int remaining); 1497 * Look up the last remaining bits of info we need 2934 write_rest(bpb_t *wbpb, char *efn, int dfd, int sfd, int remaining) argument 2943 * Compute number of clusters required to contain remaining bytes. 2945 numsect = idivceil(remaining, BPSEC);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bscv.c | 1794 unsigned remaining = size; local 1800 while (remaining > 0) { 1802 if ((page_idx + remaining) > 0x100) { 1805 blk_size = remaining; 1813 "%s data @0x%x.%02x, size 0x%x, 0x%x bytes remaining", 1815 this_page, page_idx, blk_size, remaining - blk_size); 1826 remaining -= blk_size;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.telnetd.c | 3352 * make an ioctl to reinsert remaining data at 4908 int remaining, copied; local 4910 remaining = BUFSIZ - (nfrontp - netobuf); 4916 if ((len > BUFSIZ ? BUFSIZ : len) > remaining) { 4918 remaining = BUFSIZ - (nfrontp - netobuf); 4921 copied = remaining > len ? len : remaining; 4925 remaining -= copied;
|