/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_rcv.c | 53 _tx_rcv(int fd, char *buf, unsigned nbytes, int *flags, int api_semantics) argument 170 databuf.maxlen = nbytes;
|
/illumos-gate/usr/src/lib/libpicl/ |
H A D | picl2door.h | 136 uint32_t nbytes; /* return value size */ member in struct:__anon3725 156 uint32_t nbytes; /* return value size */ member in struct:__anon3727
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | deflate.c | 100 z_free(notused, ptr, nbytes) 103 u_int nbytes;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop.c | 122 int nbytes; local 133 nbytes = (MAXSUM + 3) * (MAXLINE + REDZONE); 134 output_area = protmalloc(nbytes); 1088 * allocate `nbytes' bytes, and sandwich it between two PROT_NONE pages to 1092 protmalloc(size_t nbytes) argument 1097 nbytes = P2ROUNDUP(nbytes, psz); 1098 start = mmap(NULL, nbytes + psz * 2, PROT_READ|PROT_WRITE, 1109 if (mprotect(start + nbytes, 1, PROT_NONE) == -1)
|
H A D | snoop_capture.c | 524 ssize_t nbytes = 0; local 527 for (nwritten = 0; nwritten < buflen; nwritten += nbytes) { 528 nbytes = write(fd, &buf[nwritten], buflen - nwritten); 529 if (nbytes == -1) 531 if (nbytes == 0) {
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/l4/ |
H A D | mm_l4if.h | 151 u32_t nbytes 288 * - size of mem_buf is larger than nbytes 298 u32_t nbytes
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | genf.c | 185 g_dump(char *hdr, uchar_t *src, int nbytes, int format) argument 200 while (nbytes > 0) { 203 n = min(nbytes, BYTES_PER_LINE); 218 nbytes -= n; 896 string_dump(char *hdr, uchar_t *src, int nbytes, int format, char msg_string[]) argument 911 while (nbytes > 0) { 915 n = min(nbytes, BYTES_PER_LINE); 935 nbytes -= n;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_termio.c | 397 termio_read(mdb_io_t *io, void *buf, size_t nbytes) argument 409 return (IOP_READ(io->io_next, buf, nbytes)); 415 if (nbytes == 1) { 537 if ((rlen = strlen(s)) >= nbytes - 1) 538 rlen = nbytes - 1; 552 termio_write(mdb_io_t *io, const void *buf, size_t nbytes) argument 557 return (IOP_WRITE(io->io_next, buf, nbytes)); 559 return (IOP_WRITE(td->tio_out_io, buf, nbytes)); 1270 size_t nbytes; local 1279 for (nbytes [all...] |
/illumos-gate/usr/src/lib/efcode/engine/ |
H A D | properties.c | 608 int nbytes; local 611 nbytes = min(len, 16); 612 print_bytes(env, data, nbytes); 613 len -= nbytes; 614 data += nbytes;
|
/illumos-gate/usr/src/cmd/pgrep/ |
H A D | pgrep.c | 187 mbstrip(char *buf, size_t nbytes) argument 193 buf[nbytes - 1] = '\0'; 203 if (nbytes <= n) { 208 (void) memmove(p, p + n, nbytes - n); 211 nbytes -= n;
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | swrand.c | 661 int i, nbytes, len, ent = 0; local 729 nbytes = PAGESIZE - poffset < len ? 746 nbytes); 753 len -= nbytes; 754 offset += nbytes;
|
/illumos-gate/usr/src/lib/watchmalloc/common/ |
H A D | malloc.c | 1093 * memalign(align,nbytes) 1106 * if nbytes = 0, 1118 memalign(size_t align, size_t nbytes) argument 1133 if (nbytes == 0 || misaligned(align) || align == 0 || 1150 if (nbytes > MAX_MALLOC) { 1154 ROUND(nbytes); 1155 if (nbytes < MINSIZE) 1156 nbytes = MINSIZE; 1160 reqsize = nbytes + align + (MINSIZE + WORDSIZE); 1162 if (reqsize < nbytes) { [all...] |
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_dump.c | 844 size_t nbytes, clen, len; local 848 nbytes = mmu_ptob(pages); 854 dp->cpd_length = nbytes; 862 cprbcopy(CPR->c_mapping_area, cpr_pagecopy, nbytes); 863 dp->cpd_usum = checksum32(cpr_pagecopy, nbytes); 878 clen = compress(datap, cpr_pagedata, nbytes); 879 if (clen < nbytes) {
|
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/ |
H A D | libc.c | 342 ssize_t nbytes = mdb_get_xdata("lwpstatus", NULL, 0); local 344 if (nbytes <= 0) { 354 wsp->walk_addr = nbytes; /* Use walk_addr to track size */ 355 wsp->walk_data = mdb_alloc(nbytes, UM_SLEEP); 357 if (mdb_get_xdata("lwpstatus", wsp->walk_data, nbytes) != nbytes) { 359 mdb_free(wsp->walk_data, nbytes);
|
/illumos-gate/usr/src/lib/print/libhttp-core/common/ |
H A D | http.c | 1434 nbytes, /* Number of bytes written */ local 1449 for (tbytes = 0, bufptr = buf; tbytes < bytes; tbytes += nbytes, bufptr += nbytes) 1453 nbytes = http_write_ssl(http, bufptr, bytes - tbytes); 1456 nbytes = send(http->fd, bufptr, bytes - tbytes, 0); 1459 if (nbytes >= 0) 1460 httpDumpData(stdout, "httpPrintf:", bufptr, nbytes); 1463 if (nbytes < 0) 1465 nbytes = 0;
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | lux_util.c | 73 static void string_dump(char *hdr, uchar_t *src, int nbytes, int format, 126 string_dump(char *hdr, uchar_t *src, int nbytes, int format, char msg_string[]) argument 141 while (nbytes > 0) { 144 n = MIN(nbytes, BYTES_PER_LINE); 162 nbytes -= n; 1560 dump_hex_data(char *hdr, uchar_t *src, int nbytes, int format) argument 1575 while (nbytes > 0) { 1578 n = MIN(nbytes, BYTES_PER_LINE); 1593 nbytes -= n;
|
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_marshal.c | 415 int nbytes; local 419 nbytes = nds->pdu_size - nds->pdu_scan_offset - NDR_RSP_HDR_SIZE; 421 bcopy(data, hdr, nbytes);
|
/illumos-gate/usr/src/lib/librsc/sparc/mpxu/common/ |
H A D | librsc.c | 490 rsc_raw_write(char *buf, int nbytes) argument 498 srec_bp.data_len = (uint_t)nbytes; 506 printf("send srecord BP len=%d\n", nbytes);
|
/illumos-gate/usr/src/common/net/wanboot/ |
H A D | boot_http.c | 2739 int nbytes; local 2761 nbytes = (int)MIN(cnt, c_id->inbuf.n - c_id->inbuf.i); 2763 nbytes); 2764 c_id->inbuf.i += nbytes; 2766 nbytes = http_srv_recv(c_id, line, cnt); 2767 if (nbytes == 0) { 2770 if (nbytes < 0) { 2775 i += nbytes; 2776 line += nbytes; 2777 msgcnt -= nbytes; [all...] |
/illumos-gate/usr/src/cmd/picl/prtpicl/ |
H A D | prtpicl.c | 134 print_bytearray(int lvl, uint8_t *vbuf, size_t nbytes) argument 161 if ((nbytes * COLUMNS_PER_BYTE + cnum) > columns) { 165 for (i = 0; i < nbytes; ++i) {
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacctddi.c | 109 (void) ipp_stat_named_op(&fl_stat->nbytes, &flowacct_data->nbytes, rw); 144 if ((err = ipp_stat_named_init(flowacct_data->stats, "nbytes", 145 IPP_STAT_UINT64, &flacct_stat->nbytes)) != 0) {
|
/illumos-gate/usr/src/cmd/dc/ |
H A D | dc.c | 127 printf(gettext("nbytes %ld\n"), nbytes); 2121 nbytes += size; 2123 if (nbytes > maxsize) 2124 maxsize = nbytes; 2148 nbytes += HEADSZ; 2172 nbytes += size; 2222 nbytes += nn - hptr->last; 2223 if (nbytes > maxsize) 2224 maxsize = nbytes; 2418 nalloc(char *p, unsigned int nbytes) argument [all...] |
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_addr.c | 150 size_t nbytes; local 158 nbytes = snprintf(buf, *bufsize, "%c%c", 162 if (nbytes >= *bufsize) { 164 *bufsize = nbytes + 1; 1058 size_t nbytes = 0; local 1133 nbytes = snprintf(buf, *bufsize, "%s", inet_ntoa(broadaddr)); 1145 nbytes = snprintf(buf, *bufsize, "%s", 1152 if (nbytes >= *bufsize) { 1154 *bufsize = nbytes + 1; 1175 size_t nbytes; local 1267 size_t nbytes; local 1325 size_t nbytes = 0; local [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 175 uint64_t nbytes; /* size of installed memory */ member in struct:drmach_mem 438 uint64_t nbytes = 0; local 441 nbytes += p->ml_size; 443 if ((mp->nbytes = nbytes) > 0) 450 mp->nbytes = 0; 2245 if (mp->nbytes == 0) { 2366 mem->mi_size = mp->nbytes; 2577 uint64_t nbytes; local 2580 nbytes 3189 uint64_t nbytes; local 3363 int nbytes, s, n_elements; local [all...] |
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vdc.c | 177 caddr_t addr, size_t nbytes, int slice, diskaddr_t offset, 181 caddr_t addr, size_t nbytes, int slice, diskaddr_t offset, 184 size_t nbytes, int slice, diskaddr_t offset, 186 static int vdc_do_op(vdc_t *vdc, int op, caddr_t addr, size_t nbytes, 1438 size_t nbytes = nblk * DEV_BSIZE; local 1449 instance, nbytes, blkno, (void *)addr); 1464 rv = vdc_do_op(vdc, VD_OP_BWRITE, addr, nbytes, VDCPART(dev), 2879 if (ldep->nbytes > 0) { 2897 dep->payload.nbytes = ldep->nbytes; 2930 vdc_send_request(vdc_t *vdcp, int operation, caddr_t addr, size_t nbytes, int slice, diskaddr_t offset, buf_t *bufp, vio_desc_direction_t dir, int flags) argument 3064 vdc_populate_descriptor(vdc_t *vdcp, int operation, caddr_t addr, size_t nbytes, int slice, diskaddr_t offset, buf_t *bufp, vio_desc_direction_t dir, int flags) argument 3237 vdc_do_op(vdc_t *vdc, int op, caddr_t addr, size_t nbytes, int slice, diskaddr_t offset, struct buf *bufp, vio_desc_direction_t dir, int flags) argument 3348 vdc_do_sync_op(vdc_t *vdcp, int operation, caddr_t addr, size_t nbytes, int slice, diskaddr_t offset, vio_desc_direction_t dir, boolean_t rconflict) argument 3648 size_t nbytes; local 3876 size_t nbytes = sizeof (*msgp); local 7174 size_t nbytes; /* size of structure to be copied */ member in struct:vdc_dk_ioctl [all...] |