/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/dns-sd/ |
H A D | dns-sd.c | 632 const unsigned char *const end = txt + 1 + txt[0]; local 635 while (txt<end) 695 const unsigned char *const end = ptr + 1 + ptr[0]; local 696 if (end > max) { printf("<< invalid data >>"); break; } 697 if (++ptr < end) printf(" "); // As long as string is non-empty, begin with a space 698 while (ptr<end) 849 const char *const end = p + max; local 852 p += snprintf(p, end-p, "%.*s.", **rd, *rd+1); 974 const unsigned char *end = (const unsigned char *) rdata + rdlen; local 1081 while (rd < end) [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | exec.c | 1184 size_t end, oldlen; local 1280 end = (size_t)addr + len; 1281 zfodbase = (caddr_t)roundup(end, PAGESIZE); 1282 zfoddiff = (uintptr_t)zfodbase - end; 1306 seg = as_segat(curproc->p_as, (caddr_t)end); 1308 SEGOP_GETPROT(seg, (caddr_t)end, zfoddiff - 1, 1313 if (as_setprot(as, (caddr_t)end, zfoddiff - 1, 1323 (void) as_setprot(as, (caddr_t)end, 1328 uzero((void *)end, zfoddiff); 1331 (void) as_setprot(as, (caddr_t)end, [all...] |
H A D | netstack.c | 1364 int i, end; local 1366 end = *handle; 1372 for (i = 0; i < end; i++) { 1385 end++; 1389 *handle = end + 1;
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | generalop.c | 1005 goto end; 1009 end: 2548 goto end; 2553 goto end; 2562 goto end; 2569 goto end; 2574 goto end; 2582 goto end; 2589 goto end; 2594 goto end; [all...] |
/illumos-gate/usr/src/cmd/zonestat/zonestat/ |
H A D | zonestat.c | 300 " %s Print reports at end or after each report interval.\n" 2135 zonestat_extract_int(char *start, char *end, char **tail) argument 2140 save = *end; 2141 *end = '\0'; 2144 *end = save; 2160 char *this, *next, *end; local 2175 if ((hours = zonestat_extract_int(this, next, &end)) == -1) 2180 end++; 2186 if ((minutes = zonestat_extract_int(this, next, &end)) == -1) 2191 end [all...] |
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_proto.c | 1026 offset_t off, end; local 1064 for (end = off + len; off < end; ) { 1068 if (off + size > end || 1186 uint32_t start, stuff, end, value, flags; local 1255 hcksum_retrieve(payload, NULL, NULL, &start, &stuff, &end, &value, 1257 (void) hcksum_assoc(bp, NULL, NULL, start, stuff, end, value, flags, 0);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devpoll.c | 251 int start, ostart, end; local 283 end = pcp->pc_mapend; 302 * last stop. Scan till end of the map. Then 305 fd = bt_getlowbit(pcp->pc_bitmap, start, end); 306 ASSERT(fd <= end); 308 if (fd == end) { 313 end = ostart - 1; 549 end = ostart - 1; 1409 * to the end if no match (and therefore loop) is found. Once poll operations
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vnops.c | 315 goto end; 323 end: 364 goto end; 385 * In append mode start at end of file. 392 end: 1164 goto end; 1237 end: 1429 goto end; 1443 goto end; 1465 goto end; [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv.c | 7297 goto end; 7308 goto end; 7314 goto end; 7329 goto end; 7556 end: 7726 goto end; 7731 goto end; 7734 goto end; 7737 goto end; 7740 goto end; [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_znode.c | 1445 * end - new end-of-file 1450 zfs_extend(znode_t *zp, uint64_t end) argument 1466 if (end <= zp->z_size) { 1473 if (end > zp->z_blksz && 1485 newblksz = MIN(end, 1 << highbit64(zp->z_blksz)); 1487 newblksz = MIN(end, zp->z_zfsvfs->z_max_blksz); 1504 zp->z_size = end; 1559 * end - new end 1564 zfs_trunc(znode_t *zp, uint64_t end) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_conn.c | 52 * end: ending index into the hash table to do gc 59 uint32_t end; member in struct:ilb_timer_s 198 * the table. The portion is stored in timer->start, timer->end. 217 for (i = timer->start; i < timer->end; i++) { 353 tm->end = i * part + part; 354 if (tm->end > ilbs->ilbs_conn_hash_size) 355 tm->end = ilbs->ilbs_conn_hash_size; 1021 * the end of table is reached, a flag (ILB_LIST_END) is set to tell 1321 for (i = timer->start; i < timer->end; i++) { 1400 tm->end [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_lic.c | 111 __in uint32_t end, 295 __in uint32_t end, 648 __in uint32_t end, 654 uint32_t move_length = end - move_start; 657 EFSYS_ASSERT(end <= buffer_size); 1237 __in uint32_t end, 1246 buffer_size, offset, length, end)) != 0) { 1669 __in uint32_t end, 1680 length, end, deltap)) != 0) 641 efx_lic_v1v2_delete_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in uint32_t length, __in uint32_t end, __out uint32_t *deltap ) argument 1230 efx_lic_v3_delete_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in uint32_t length, __in uint32_t end, __out uint32_t *deltap ) argument 1662 efx_lic_delete_key( __in efx_nic_t *enp, __in_bcount(buffer_size) caddr_t bufferp, __in size_t buffer_size, __in uint32_t offset, __in uint32_t length, __in uint32_t end, __out uint32_t *deltap ) argument
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_ui.c | 1030 char *end = str + strlen(str) - 1; local 1034 while (isspace(*end)) 1035 end--; 1036 if (end <= start) 1038 slen = end - start + 1;
|
/illumos-gate/usr/src/cmd/vscan/vscand/ |
H A D | vs_icap.c | 1265 * Read a line of response data from the socket. \n indicates end of line. 1436 char *end; local 1454 val = strtol(line, &end, 10); 1455 if ((end != (line + strlen(line))) || (val < 0)) 1885 char *p, *end = (char *)vec + vec->iov_len; local 1887 for (p = vec->iov_base; p < end; p += strlen(p) + 1) { 1920 * Trims whitespace from both the beginning and end of a string. This 1926 * Whitespace found at the end of the string are overwritten with nulls.
|
/illumos-gate/usr/src/lib/auditd_plugins/remote/ |
H A D | transport.c | 1016 * the necessity of broadcasting (DO_SYNC/DO_NOT_SYNC) the end 1438 transq_hdr.end = node_ptr->prev; 1451 * transq_enqueue() - creates new node in (at the end of) the transmission 1480 if (transq_hdr.end != NULL) { 1481 (transq_hdr.end)->next = *node_ptr; 1482 (*node_ptr)->prev = transq_hdr.end; 1484 transq_hdr.end = *node_ptr;
|
/illumos-gate/usr/src/cmd/sa/ |
H A D | sar.c | 342 uint64_t ts, te; /* time interval start and end */ 433 fail(1, "premature end-of-file seen"); 1170 int begin, int end) 1175 for (i = begin; i < end; i += sizeof (uint64_t)) { 1243 char *end; local 1247 tmp = strtol(val, &end, 10); 1248 if (*end != '\0' || errno) 1169 ulong_delta(uint64_t *new, uint64_t *old, uint64_t *delta, uint64_t *accum, int begin, int end) argument
|
/illumos-gate/usr/src/cmd/sed/ |
H A D | compile.c | 235 * Short-circuit command processing, since end of 254 fatal(_("extra characters at the end of %c " 267 "at the end of %c command"), 352 fatal(_("extra text at the end of a " 762 char *end, re[_POSIX2_LINE_MAX + 1]; local 802 a->u.l = strtol(p, &end, 10); 803 return (end); 841 fixuplabel(struct s_command *cp, struct s_command *end) argument 844 for (; cp != end; cp = cp->next)
|
/illumos-gate/usr/src/cmd/cmd-crypto/pktool/ |
H A D | list.c | 47 char *start, *end, *keyusage, *extkeyusage; local 55 start = end = NULL; 81 &certs[i].certificate, &end) == KMF_OK) 83 end); 114 kmf_free_str(end);
|
/illumos-gate/usr/src/tools/codereview/ |
H A D | lwlp.c | 1024 int begin, end, place; local 1033 begin = 0; end = DEFAULT_PAPER_WIDTH * POINTS_PER_INCH; 1037 (void) fprintf(outfile, "%d %d %s\n", end, place, LINETO); 1039 begin = 0; end = DEFAULT_PAPER_HEIGHT * POINTS_PER_INCH; 1043 (void) fprintf(outfile, "%d %d %s\n", place, end, LINETO); 1134 * backspaces and eliminating tabs at the end of a line 1448 * The input buffer will be null-terminated and will *not* end with a newline
|
/illumos-gate/usr/src/tools/ctf/dump/ |
H A D | dump.c | 318 const ushort_t *end = (ushort_t *)(cd->cd_ctfdata + hp->cth_typeoff); local 335 for (symidx = -1, id = 0; fp < end; id++) { 358 if (fp + n > end) { 395 const ctf_type_t *end = (ctf_type_t *)(cd->cd_ctfdata + hp->cth_stroff); local 415 for (/* */; tp < end; id++) {
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hxge_virtual.c | 464 uint8_t ldv, i, maxldvs, maxldgs, start, end, nldvs; local 556 end = start + p_cfgp->max_rdcs; 566 for (i = 0, ldv = start; ldv < end; i++, ldv++) { 588 end = start + p_cfgp->max_tdcs; 589 for (i = 0, ldv = start; ldv < end; i++, ldv++) {
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_rxdring.c | 468 * that during initial registration the exporting end point mark the 1121 int32_t end; local 1133 end = msg->end_idx; 1138 * peer to indicate that it is unspecified. However, the end index 1142 !(CHECK_TXI(dp, end))) { 1144 DWARN(vswp, "%s(%lld): Invalid Tx ack start(%d) or end(%d)\n", 1145 __func__, ldcp->ldc_id, start, end); 1192 txi = end;
|
/illumos-gate/usr/src/uts/sun4u/opl/os/ |
H A D | opl.c | 370 * whole show in to the high end of memory. Having 632 pfn_t start, end; local 660 end = mem_node_config[mnode].physmax; 661 mem_node_del_slice(start, end); 705 end = mem_node_config[tnode].physmax; 706 mem_node_del_slice(start, end);
|
/illumos-gate/usr/src/cmd/fm/fmtopo/common/ |
H A D | fmtopo.c | 601 char *end; local 631 val = strtol(pp->value, &end, 0); 643 val = strtoul(pp->value, &end, 0); 655 val = strtoll(pp->value, &end, 0); 667 val = strtoull(pp->value, &end, 0);
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/ |
H A D | acpidev_resource.c | 591 uint64_t end; local 594 end = addrp->Address.Minimum + 596 if (end < addrp->Address.Minimum || end > UINT_MAX) { 603 bus.bus_end = end & 0xFFFFFFFF;
|