/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_fm.c | 433 uint32_t end = r[idx].zr_end; local 441 uint32_t gap = nstart - end; 443 end = nend; 451 r[output].zr_end = end; 461 add_range(zfs_ecksum_info_t *eip, int start, int end) argument 477 r[count - 1].zr_end = end; 484 r[count].zr_end = end; 599 size_t end = eip->zei_ranges[range].zr_end; local 601 for (idx = start; idx < end; idx++) {
|
H A D | space_map.c | 59 uint64_t bufsize, size, offset, end, space; local 64 end = space_map_length(sm); 78 if (end > bufsize) { 80 end - bufsize, ZIO_PRIORITY_SYNC_READ); 84 for (offset = 0; offset < end; offset += bufsize) { 85 size = MIN(end - offset, bufsize);
|
/illumos-gate/usr/src/lib/libdns_sd/common/ |
H A D | dnssd_clientstub.c | 131 typedef void (*ProcessReplyFn)(DNSServiceOp *const sdr, const CallbackHeader *const cbh, const char *msg, const char *const end); 517 DNSServiceOp **p = &(*ref)->next; // Append ourselves to end of primary's list 833 // Close our end of the socketpair *before* calling read_all() to get the four-byte error code. 1231 static void handle_resolve_response(DNSServiceOp *const sdr, const CallbackHeader *const cbh, const char *data, const char *end) argument 1239 get_string(&data, end, fullname, kDNSServiceMaxDomainName); 1240 get_string(&data, end, target, kDNSServiceMaxDomainName); 1241 if (!data || data + 2 > end) goto fail; 1245 txtlen = get_uint16(&data, end); 1246 txtrecord = (unsigned char *)get_rdata(&data, end, txtlen); 1340 static void handle_query_response(DNSServiceOp *const sdr, const CallbackHeader *const cbh, const char *data, const char *const end) argument 1404 handle_addrinfo_response(DNSServiceOp *const sdr, const CallbackHeader *const cbh, const char *data, const char *const end) argument 1512 handle_browse_response(DNSServiceOp *const sdr, const CallbackHeader *const cbh, const char *data, const char *const end) argument 1584 handle_regservice_response(DNSServiceOp *const sdr, const CallbackHeader *const cbh, const char *data, const char *const end) argument 1658 handle_enumeration_response(DNSServiceOp *const sdr, const CallbackHeader *const cbh, const char *data, const char *const end) argument 1702 ConnectionResponse(DNSServiceOp *const sdr, const CallbackHeader *const cbh, const char *const data, const char *const end) argument 2115 handle_port_mapping_response(DNSServiceOp *const sdr, const CallbackHeader *const cbh, const char *data, const char *const end) argument [all...] |
/illumos-gate/usr/src/lib/libsasl/plugin/ |
H A D | plugin_common.c | 136 const char *start, *end, *p; local 145 end = strchr(addr, ']'); 146 if (end != NULL) { 149 if (start >= end || start == NULL) { 153 for (i = 0, p = start + 1; p < end; p++) { 158 p = strchr(end, ':'); 160 p = end + 1; 819 const char *end; local 835 /* Find the end of the language tag */ 836 for (end [all...] |
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | part.c | 341 entry->part.end = ent->ent_lba_end; 389 uint32_t start, end, offset; local 422 end = le32toh(dp[0].dp_size); 427 entry->part.end = entry->part.start + end - 1; 510 entry->part.end = entry->part.start + 592 entry->part.end = be32toh(dl->map[i].nblks) + 678 entry->part.end = dv->v_part[i].p_size + 702 uint32_t start, end; local 796 end [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 883 * the offset from the end of the data, not the offset of the start. 1437 ulong_t end; local 1445 for (; off < endoff; off = end) { 1446 end = P2END(off, NBBY * sizeof (uint64_t)); 1447 if (end > endoff) 1448 end = endoff; 1450 ASSERT((end - off) <= NBBY * sizeof (uint64_t)); 1451 print_hole(pap, depth, off, end); 1453 ASSERT(end == endoff); 1511 ulong_t end local 1910 char *end; local 2087 char *start, *end; local 2421 char *end; local [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/stdio/ |
H A D | vfscanf.c | 416 return 0; /* return 0 for end of string */ 474 char start, end; local 485 end = 0; 488 end = str[1]; 490 if (start > end) { 508 if (c >= start && c <= end) 513 if (c < start || c > end) 599 w = width; /* force end of loop */ 627 w = width; /* force end of loop */ 664 w = width; /* force end o [all...] |
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | rdn_parser.c | 76 unsigned char ch, *end; local 78 end = data + len; 79 while (data < end) { 91 unsigned char ch, *end; local 93 end = data + len; 94 while (data < end) {
|
/illumos-gate/usr/src/cmd/amt/ |
H A D | amt.c | 69 #define STACK_SLOP 256 /* a guess at how far below current end */ 76 extern int _end; /* first address after the end of initialized data */ 247 * to the new end of data 429 "Child end of hole before change: %08X\n"), 441 "Child end of hole after change: %08X\n"), 623 unsigned char *end; /* end of stack */ local 628 unsigned char mark = 0xAA; /* roughly the end of stack */ 631 end = &mark; 633 end [all...] |
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | stk.c | 29 * end of the current frame. 71 char *end; /* address of end this frame */ member in struct:frame 82 char *stkend; /* end of current stack frame */ 251 fp->end = sp->stkend = cp+bsize; 328 if(loc>=((char*)(fp+1)) && loc< fp->end) 373 sp->stkend = ((struct frame*)(fp->prev))->end; 492 * to the end is copied into the new stack frame 527 sp->stkend = fp->end = cp+n; 532 fp->aliases = (char**)fp->end; [all...] |
/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | support.c | 387 if(x==zero) goto end; 100+r; /* trigger inexact flag */ 391 b=1.0+3*r/4; if(b==1.0) goto end; /* b==1 : Round-to-zero */ 397 b=1.0+3*r/4; if(b==1.0) goto end; 401 end: return(scalb(q,n)); 482 /* end while (x > y) */ 584 if(j==0) { if(t==y) goto end; else t=subc(t); } /* ...t=t-ulp */ 590 end: py[n0]=py[n0]+scalx; /* ...scale back y */
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_txdring.c | 79 static int vgen_send_dringdata(vgen_ldc_t *ldcp, uint32_t start, int32_t end); 81 uint32_t start, int32_t end, uint8_t pstate); 181 * 14K could end up needing 3 cookies, with the buffer spread across 859 int32_t end; local 872 end = dringmsg->end_idx; 874 * received a data msg, which contains the start and end 881 DBG1(vgenp, ldcp, "INFO: start(%d), end(%d)\n", 882 start, end); 884 /* validate rx start and end indexes */ 885 if (!(CHECK_RXI(start, ldcp)) || ((end ! 1283 int32_t end; local 1413 int32_t end; local 1589 vgen_send_dringdata(vgen_ldc_t *ldcp, uint32_t start, int32_t end) argument 1630 vgen_send_dringack(vgen_ldc_t *ldcp, vio_msg_tag_t *tagp, uint32_t start, int32_t end, uint8_t pstate) argument [all...] |
H A D | vsw_txdring.c | 260 * 14K could end up needing 3 cookies, with the buffer spread across 911 D3(vswp, "%s(%lld): start %lld : end %lld :\n", 1037 int32_t end, num, cnt = 0; local 1075 end = dring_pkt->end_idx; 1080 D2(vswp, "%s(%lld): start index %ld : end %ld\n", 1081 __func__, ldcp->ldc_id, start, end); 1083 if (end == -1) { 1085 } else if (end >= 0) { 1086 num = end >= pos ? end [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | memlist.c | 110 u_longlong_t start, end; local 118 end = avail[i + 1].addr; 147 if (end >= spec_hole_end && start <= spec_hole_start) 150 allocpages += btopr(end - start); 189 uint64_t pa, end = base + len; local 192 for (pa = base; pa < end; pa += PAGESIZE) {
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | srv_query.c | 261 uchar_t *end; local 314 if ((end = ptr + size) > eom) { 320 ptr = end; 345 /* move ptr to the end of current record */ 346 ptr = end; 374 if ((end = ptr + size) > eom) { 404 /* move ptr to the end of current record */ 405 ptr = end; 593 /* Make this sort at the end. */
|
/illumos-gate/usr/src/cmd/ptools/plgrp/ |
H A D | plgrp.c | 207 "\t\t<start lgroup ID>-<end lgroup ID>\n" 492 lgrp_id_t end; local 498 start = end = lgrps[0]; 504 if (lgrpid == end + 1) { 506 * Got consecutive lgroup ID, so extend end of range 510 end = lgrpid; 516 if (end == start) { /* same value */ 518 } else if (end > start + 1) { /* range */ 519 (void) printf("%d-%d,", (int)start, (int)end); 521 (void) printf("%d,%d,", (int)start, (int)end); [all...] |
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/ |
H A D | av1394_isoch_recv.c | 302 * callback at the end of each frame. A sequence of IXL commands that 368 uint_t end; local 375 end = min(frame_end, cookie_end); 377 if (end - off <= AV1394_IXL_BUFSZ_MAX) { 381 end - off, icp->ic_pktsz, &dummy1, &dummy2); 386 off = end; 410 uint_t end; local 424 end = min(frame_end, cookie_end); 426 if (end == frame_end) 433 if (end [all...] |
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_pvn.c | 193 * Add page to end of page list. 211 * extend as far as the end of the frags. 732 * Drop two marker pages at the end of the list. 738 * can be added to either end of the list, so we'll continue to move 739 * the marker and process pages until it is up against the end marker. 756 page_t *end; /* marker page at end of list */ local 796 end = kmem_cache_alloc(marker_cache, KM_SLEEP); 797 end->p_vnode = vp; 798 end 1006 page_t *pp, *next, *end; local [all...] |
/illumos-gate/usr/src/cmd/fm/fmadm/common/ |
H A D | faulty.c | 620 resource_list_t *np, *end; local 624 end = np; 633 if (order > 0 && np != end) { 649 if (np == end) { 669 name_list_t *fp, *end; local 672 end = fp; 676 if (fp == end) 1079 name_list_t *end = list; local 1111 while ((list = list->next) != end) { 1132 name_list_t *end local 1393 sr_list_t *slp, *end; local 1525 sr_list_t *slp, *end; local [all...] |
/illumos-gate/usr/src/lib/libbc/libc/sys/common/sparc/ |
H A D | sbrk.s | 38 .global end 42 .word end
|
/illumos-gate/usr/src/cmd/hal/tools/ |
H A D | hal-storage-eject.c | 95 const char *end; local 135 if (!g_utf8_validate (eject_options, -1, &end))
|
H A D | hal-storage-unmount.c | 94 const char *end; local 138 if (!g_utf8_validate (unmount_options, -1, &end))
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dcpc.c | 213 char *str, *end, *p; local 270 * 1) this performance counter back end supports masks. 276 ddi_strtol(p, &end, 16, &umask) == 0 && 277 end == p + strlen(p)) { 288 if ((ddi_strtol(p, &end, 10, &val) != 0) || end != p + strlen(p) || 296 char *events, *cp, *p, *end; local 305 end = cp + llen; 312 while (p < end && found == 0) { 1125 * Determine which, if any, mask attribute the back-end ca [all...] |
/illumos-gate/usr/src/psm/promif/ieee1275/common/ |
H A D | prom_printf.c | 41 _pput_flush(char *start, char *end) argument 44 start, end - start, 0, BYTE) == -1)
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | graphics.c | 139 clock_t end = drv_usectohz(150000); local 144 (void) cv_reltimedwait(&pbar_cv, &pbar_lock, end,
|