/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd.c | 2167 uint32_t nbytes; local 2169 nbytes = sizeof (struct fit_completion_entry_v1) * 2171 nbytes += sizeof (struct fit_comp_error_info) * SKD_N_COMPLETION_ENTRY; 2174 bzero(skdev->skcomp_table, nbytes); 3126 uint32_t nbytes; local 3129 nbytes = sizeof (*skcomp) * SKD_N_COMPLETION_ENTRY; 3130 nbytes += sizeof (struct fit_comp_error_info) * SKD_N_COMPLETION_ENTRY; 3132 Dcmn_err(CE_NOTE, "cons_skcomp: nbytes=%d,entries=%d", nbytes, 3136 mem->size = nbytes; 3288 uint32_t nbytes; local 3358 uint32_t nbytes; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 1226 uint64_t nbytes = 0; local 1230 nbytes += p->ml_size; 1232 if (nbytes == 0) { 1238 mp->nbytes = nbytes; 1247 mp->nbytes = 0; 1284 if (mp->nbytes == 0 && mp->slice_size == 0) { 2589 uint64_t nbytes = 0; local 2615 nbytes += p->ml_size; 2619 ASSERT(nbytes > [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | drive.c | 1418 int nbytes; local 1429 nbytes = sizeof (struct block_descriptor) + 1431 nbytes = page_size; 1432 if ((mode_sense_buf = malloc((uint_t)nbytes)) == NULL) { 1439 (void) memset(mode_sense_buf, 0, nbytes); 1444 FORMG0COUNT(&cdb, (uchar_t)nbytes); 1449 ucmd.uscsi_buflen = nbytes;
|
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 613 int nbytes; local 617 nbytes = read(STDIN_FILENO, ibuf, ZLOGIN_RDBUFSIZ); 618 if (nbytes == -1 && (errno != EINTR || dead)) 621 if (nbytes == -1) /* The read was interrupted. */ 625 if (nbytes == 0) 628 for (c = *buf; nbytes > 0; c = *buf, --nbytes) {
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 895 mdb_qname(const queue_t *q, char *buf, size_t nbytes) argument 910 if (mdb_readstr(buf, nbytes, (uintptr_t)mi.mi_idname) <= 0) { 918 (void) mdb_snprintf(buf, nbytes, "???"); 923 mdb_qinfo(const queue_t *q, char *buf, size_t nbytes) argument 929 qip->qi_ops->q_info(q, buf, nbytes); 1606 mdb_read_refstr(uintptr_t refstr_addr, char *str, size_t nbytes) argument 1610 return (mdb_readstr(str, nbytes, (uintptr_t)r->rs_string));
|
/illumos-gate/usr/src/cmd/format/ |
H A D | io.c | 2049 print_buf(buf, nbytes) 2051 int nbytes; 2055 while (nbytes-- > 0) { 2368 get_inputline(line, nbytes) 2370 int nbytes; 2395 if (nbytes > 1) { 2397 nbytes --;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_target.c | 502 size_t nbytes, mdb_tgt_addr_t addr) 504 ssize_t n, nread = mdb_tgt_aread(t, as, buf, nbytes, addr); 516 while (nread < nbytes && (n = mdb_tgt_aread(t, as, p, 1, addr)) == 1) { 528 if (nbytes != 0) 529 buf[MIN(nread, nbytes - 1)] = '\0'; 646 mdb_tgt_readsym(mdb_tgt_t *t, mdb_tgt_as_t as, void *buf, size_t nbytes, argument 652 return (mdb_tgt_aread(t, as, buf, nbytes, sym.st_value)); 659 size_t nbytes, const char *obj, const char *name) 664 return (mdb_tgt_awrite(t, as, buf, nbytes, sym.st_value)); 1445 char *buf, size_t nbytes) 501 mdb_tgt_readstr(mdb_tgt_t *t, mdb_tgt_as_t as, char *buf, size_t nbytes, mdb_tgt_addr_t addr) argument 658 mdb_tgt_writesym(mdb_tgt_t *t, mdb_tgt_as_t as, const void *buf, size_t nbytes, const char *obj, const char *name) argument 1444 mdb_tgt_vespec_info(mdb_tgt_t *t, int vid, mdb_tgt_spec_desc_t *sp, char *buf, size_t nbytes) argument 1834 mdb_tgt_getxdata(mdb_tgt_t *t, const char *name, void *buf, size_t nbytes) argument [all...] |
H A D | mdb.c | 1016 size_t nbytes = MIN((size_t)(p - s), MDB_NV_NAMELEN - 1); local 1020 (void) strncpy(mname, s, nbytes); 1021 mname[nbytes] = '\0'; 1047 size_t nbytes = MIN((size_t)(p - s), MDB_NV_NAMELEN - 1); local 1051 (void) strncpy(mname, s, nbytes); 1052 mname[nbytes] = '\0';
|
H A D | mdb_whatis.c | 443 size_t nbytes = sizeof (*whatis_cb) * nsize; local 445 whatis_callback_t **narray = mdb_zalloc(nbytes, UM_SLEEP);
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | doprnt.c | 1781 int nbytes; 1783 nbytes = wctomb(tmpbuf, *wp); 1784 if (nbytes < 0) { 1788 if ((prec - (wcount + nbytes)) >= 0) { 1789 wcount += nbytes; 1979 int ncol, nbytes; local 1991 if ((nbytes = mbtowc(&wc, qp, 1994 nbytes = 1; 2005 qp += nbytes;
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mem.c | 1097 uint64_t nbytes; local 1101 nbytes = ml->ml_size; 1103 size += nbytes; 1104 while (nbytes != 0ull) { 1127 nbytes -= (4 * sizeof (uint64_t)); 2090 uint64_t nbytes; local 2093 nbytes = ml->ml_size; 2095 while (nbytes != 0ull) { 2104 nbytes -= (4 * sizeof (uint64_t));
|
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 265 reqraw_write.nbytes = r_p->size; 289 return (retraw_write->nbytes); 327 reqraw_read.nbytes = r_p->size; 352 (void) memcpy(r_p->buffer, handle->sm_buf, retraw_read->nbytes); 353 bytes_read = retraw_read->nbytes;
|
/illumos-gate/usr/src/tools/codereview/ |
H A D | lwlp.c | 1105 int bytecount, nbytes; local 1111 nbytes = off_end - off_beg; 1112 while (nbytes > 0) { 1113 bytecount = nbytes; 1125 nbytes -= bytecount;
|
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 571 item->nbytes = header->pktlen; 575 item->nbytes += header->pktlen; 694 * Ports, protocol, version, dsfield, project id, uid, nbytes, npackets 704 tmp_frec->fl_use->fu_nbytes = item->nbytes; 819 atomic_add_64(&flowacct_data->tbytes, (~item->nbytes + 918 atomic_add_64(&flowacct_data->nbytes, header->pktlen);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_consume.c | 1125 size_t nbytes, int width, int quiet, int forceraw) 1135 if (nbytes == 0) 1144 for (i = 0; i < nbytes; i++) { 1168 for (j = i + 1; j < nbytes; j++) { 1173 if (j != nbytes) 1187 if (i == nbytes) { 1193 char *s = alloca(nbytes + 1); 1194 bcopy(c, s, nbytes); 1195 s[nbytes] = '\0'; 1211 for (i = 0; i < nbytes; 1124 dt_print_bytes(dtrace_hdl_t *dtp, FILE *fp, caddr_t addr, size_t nbytes, int width, int quiet, int forceraw) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | auto_subr.c | 747 auto_rddir_malloc(unsigned nbytes) argument 752 if ((p = malloc(nbytes)) == NULL) { 768 p = malloc(nbytes);
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4tx.c | 29 u32_t nbytes, 35 db_data->bds_prod += nbds; /* nbds should be written before nbytes (FW assumption) */ 37 db_data->bytes_prod_seq += nbytes; 46 "ringing tx doorbell: cid=%d, (nbytes+=%d, nbds+=%d, fin=%d)\n", 47 cid, nbytes, nbds, fin); 386 * fast-path part (nbytes completed) which will be handled in any case that cqe->len > 0 */ 25 _lm_tcp_tx_write_db( lm_device_t * pdev, lm_tcp_con_t * tx_con, u32_t cid, u32_t nbytes, u16_t nbds, u8_t fin) argument
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_node.c | 432 size_t nbytes = local 436 pvn_vpzero(PCTOV(pcp), (u_offset_t)length, nbytes); local 438 (u_offset_t)length + nbytes,
|
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_process.c | 2005 int nbytes; local 2008 nbytes = ndr_mbtowc(nds, wcs, mbs, MTS_MB_CHAR_MAX); 2009 if (nbytes < 0) { 2018 mbs += nbytes; 2026 * is stored in wcharp. Up to nbytes bytes are examined. 2034 size_t nbytes) 2038 if ((rc = smb_mbtowc(wcharp, mbchar, nbytes)) < 0) 2033 ndr_mbtowc(ndr_stream_t *nds, smb_wchar_t *wcharp, const char *mbchar, size_t nbytes) argument
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 1653 tuneablep->nbytes); 1735 tuneablep->nbytes); 1792 tuneablep->nbytes); 1814 tuneables->nbytes); 1833 tuneablep->nbytes); 1855 tuneablep->nbytes);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvd.c | 2396 tuneablep->nbytes); 2480 tuneablep->nbytes); 2564 tuneablep->nbytes); 2642 tuneablep->nbytes); 2702 tuneablep->nbytes); 2724 tuneables->nbytes); 2744 tuneablep->nbytes); 2766 tuneablep->nbytes);
|
H A D | envd.h | 457 int nbytes; member in struct:env_tuneable
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | raw_access.c | 1068 fru_get_payload(packet_hdl_t packet, void *buffer, size_t nbytes, argument 1080 if (nbytes != packet_hash_obj->u.pkt_obj->paylen) { 1084 (void) memcpy(buffer, packet_hash_obj->u.pkt_obj->payload, nbytes); 1085 return (nbytes);
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | m_cc.c | 295 int i, nbytes, width, have_one; local 297 for (start = mbs, have_one = i = 0; *mbs != '\0'; mbs += nbytes, ++i) { 302 if ((nbytes = mbtowc(&wc, mbs, UINT_MAX)) < 0) 306 if (nbytes == 0)
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/ |
H A D | envd.h | 512 int nbytes; member in struct:env_tuneable
|