Home
last modified time | relevance | path

Searched refs:nbytes (Results 201 – 225 of 355) sorted by relevance

12345678910>>...15

/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvsetup.c573 buf, tune->nbytes); in copy_persistent_tuneable()
578 buf, tune->nbytes); in copy_persistent_tuneable()
635 read_buf, tuneablep->nbytes); in env_picl_setup_tuneables()
643 PICL_READ|PICL_WRITE, tuneablep->nbytes, in env_picl_setup_tuneables()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_target.c508 size_t nbytes, mdb_tgt_addr_t addr) in mdb_tgt_readstr() argument
510 ssize_t n = -1, nread = mdb_tgt_aread(t, as, buf, nbytes, addr); in mdb_tgt_readstr()
522 while (nread < nbytes && (n = mdb_tgt_aread(t, as, p, 1, addr)) == 1) { in mdb_tgt_readstr()
534 if (nbytes != 0) in mdb_tgt_readstr()
535 buf[MIN(nread, nbytes - 1)] = '\0'; in mdb_tgt_readstr()
658 return (mdb_tgt_aread(t, as, buf, nbytes, sym.st_value)); in mdb_tgt_readsym()
665 size_t nbytes, const char *obj, const char *name) in mdb_tgt_writesym() argument
670 return (mdb_tgt_awrite(t, as, buf, nbytes, sym.st_value)); in mdb_tgt_writesym()
1432 char *buf, size_t nbytes) in mdb_tgt_vespec_info() argument
1461 return (sep->se_ops->se_info(t, sep, vep, sp, buf, nbytes)); in mdb_tgt_vespec_info()
[all …]
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_traverse.c1067 size_t nbytes; in filecopy() local
1097 nbytes = BUFSIZE; in filecopy()
1099 nbytes = bytes_to_copy; in filecopy()
1101 if ((fread(buf, nbytes, 1, src_fh) != 1) || in filecopy()
1102 (fwrite(buf, nbytes, 1, dst_fh) != 1)) in filecopy()
1104 bytes_to_copy -= nbytes; in filecopy()
/illumos-gate/usr/src/lib/librsc/sparc/mpxu/common/
H A Dlibrsc.c488 rsc_raw_write(char *buf, int nbytes) in rsc_raw_write() argument
496 srec_bp.data_len = (uint_t)nbytes; in rsc_raw_write()
504 printf("send srecord BP len=%d\n", nbytes); in rsc_raw_write()
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp.c1432 nbytes, /* Number of bytes written */ in httpPrintf() local
1447 for (tbytes = 0, bufptr = buf; tbytes < bytes; tbytes += nbytes, bufptr += nbytes) in httpPrintf()
1451 nbytes = http_write_ssl(http, bufptr, bytes - tbytes); in httpPrintf()
1454 nbytes = send(http->fd, bufptr, bytes - tbytes, 0); in httpPrintf()
1457 if (nbytes >= 0) in httpPrintf()
1458 httpDumpData(stdout, "httpPrintf:", bufptr, nbytes); in httpPrintf()
1461 if (nbytes < 0) in httpPrintf()
1463 nbytes = 0; in httpPrintf()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c770 int nbytes = read(fd, data, datalen); in start_stream() local
771 datalen = nbytes; in start_stream()
1581 int nbytes = 0; in readstream() local
1600 if (nread + nbytes > bufsize) { in readstream()
1609 datbuf.buf = buf + nbytes; in readstream()
1611 datbuf.maxlen = bufsize - nbytes; in readstream()
1625 nbytes += datbuf.len; in readstream()
1630 return (nbytes); in readstream()
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dclassifier.c175 update_stats(int class_id, uint_t nbytes) in update_stats() argument
180 UPDATE_STATS(ipgpc_nbytes, nbytes); in update_stats()
186 UPDATE_STATS(ipgpc_cid_list[class_id].stats.nbytes, in update_stats()
187 nbytes); in update_stats()
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dpdevinfo_funcs.c760 int size, nbytes; in dev_find_node_by_compatible() local
778 for (size = prop->size; size >= 0; size -= nbytes) { in dev_find_node_by_compatible()
782 nbytes = strlen(compatible_array) + 1; in dev_find_node_by_compatible()
783 compatible_array += nbytes; in dev_find_node_by_compatible()
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_rcv.c51 _tx_rcv(int fd, char *buf, unsigned nbytes, int *flags, int api_semantics) in _tx_rcv() argument
168 databuf.maxlen = nbytes; in _tx_rcv()
/illumos-gate/usr/src/lib/libpicl/
H A Dpicl2door.h134 uint32_t nbytes; /* return value size */ member
154 uint32_t nbytes; /* return value size */ member
/illumos-gate/usr/src/cmd/mdb/common/modules/nfs/
H A Dnfs.c512 char *s, size_t nbytes) in nfs_addr_by_conf() argument
538 (void) mdb_snprintf(s, nbytes, "%I:%d", in->sin_addr.s_addr, in nfs_addr_by_conf()
549 nfs_addr_by_servinfo4(uintptr_t addr, char *s, size_t nbytes) in nfs_addr_by_servinfo4() argument
560 s, nbytes); in nfs_addr_by_servinfo4()
570 nfs_addr_by_servinfo(uintptr_t addr, char *s, size_t nbytes) in nfs_addr_by_servinfo() argument
581 s, nbytes); in nfs_addr_by_servinfo()
/illumos-gate/usr/src/cmd/picl/prtpicl/
H A Dprtpicl.c134 print_bytearray(int lvl, uint8_t *vbuf, size_t nbytes) in print_bytearray() argument
161 if ((nbytes * COLUMNS_PER_BYTE + cnum) > columns) { in print_bytearray()
165 for (i = 0; i < nbytes; ++i) { in print_bytearray()
/illumos-gate/usr/src/cmd/smserverd/
H A Dsmediad.c1592 if ((req->reqraw_read.nbytes > door_dp->dd_buf_len) || in raw_read()
1597 if ((!req->reqraw_read.nbytes) || in raw_read()
1598 (req->reqraw_read.nbytes % sector_size)) { in raw_read()
1659 if ((req->reqraw_write.nbytes % sector_size)) { in raw_write()
2048 req->reqraw_read.nbytes); in client_servproc()
2050 if (req->reqraw_read.nbytes == 0) { in client_servproc()
2052 rmsvc.retraw_write.nbytes = 0; in client_servproc()
2061 retraw_read.nbytes = ret_val; in client_servproc()
2114 if (req->reqraw_write.nbytes == 0) { in client_servproc()
2116 rmsvc.retraw_write.nbytes = 0; in client_servproc()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dm_cc.c289 int i, nbytes, width, have_one; in __m_mbs_cc() local
291 for (start = mbs, have_one = i = 0; *mbs != '\0'; mbs += nbytes, ++i) { in __m_mbs_cc()
296 if ((nbytes = mbtowc(&wc, mbs, UINT_MAX)) < 0) in __m_mbs_cc()
300 if (nbytes == 0) in __m_mbs_cc()
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_auto.c23 opcode, fileid, pgno, indx, nbytes, hdr, in __db_addrem_log() argument
33 size_t nbytes;
57 + sizeof(nbytes)
79 memcpy(bp, &nbytes, sizeof(nbytes));
80 bp += sizeof(nbytes);
153 printf("\tnbytes: %lu\n", (u_long)argp->nbytes);
211 memcpy(&argp->nbytes, bp, sizeof(argp->nbytes));
212 bp += sizeof(argp->nbytes);
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/
H A Ds_generic.c262 reqraw_write.nbytes = r_p->size; in _m_raw_write()
286 return (retraw_write->nbytes); in _m_raw_write()
324 reqraw_read.nbytes = r_p->size; in _m_raw_read()
349 (void) memcpy(r_p->buffer, handle->sm_buf, retraw_read->nbytes); in _m_raw_read()
350 bytes_read = retraw_read->nbytes; in _m_raw_read()
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.c1228 uint64_t nbytes = 0; in drmach_setup_mc_info() local
1232 nbytes += p->ml_size; in drmach_setup_mc_info()
1234 if (nbytes == 0) { in drmach_setup_mc_info()
1240 mp->nbytes = nbytes; in drmach_setup_mc_info()
1249 mp->nbytes = 0; in drmach_setup_mc_info()
2591 uint64_t nbytes = 0; in drmach_mem_add_span() local
2617 nbytes += p->ml_size; in drmach_mem_add_span()
2621 ASSERT(nbytes > 0); in drmach_mem_add_span()
2622 mp->nbytes += nbytes; in drmach_mem_add_span()
2642 if (mp->nbytes != 0) in drmach_mem_update_lgrp()
[all …]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Ddrive.c1417 int nbytes; in uscsi_mode_sense() local
1428 nbytes = sizeof (struct block_descriptor) + in uscsi_mode_sense()
1430 nbytes = page_size; in uscsi_mode_sense()
1431 if ((mode_sense_buf = malloc((uint_t)nbytes)) == NULL) { in uscsi_mode_sense()
1438 (void) memset(mode_sense_buf, 0, nbytes); in uscsi_mode_sense()
1443 FORMG0COUNT(&cdb, (uchar_t)nbytes); in uscsi_mode_sense()
1448 ucmd.uscsi_buflen = nbytes; in uscsi_mode_sense()
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_mem.c1097 uint64_t nbytes; in sbdp_copy_rename__relocatable() local
1101 nbytes = ml->ml_size; in sbdp_copy_rename__relocatable()
1103 size += nbytes; in sbdp_copy_rename__relocatable()
1104 while (nbytes != 0ull) { in sbdp_copy_rename__relocatable()
1127 nbytes -= (4 * sizeof (uint64_t)); in sbdp_copy_rename__relocatable()
2090 uint64_t nbytes; in sbdp_passthru_readmem() local
2093 nbytes = ml->ml_size; in sbdp_passthru_readmem()
2095 while (nbytes != 0ull) { in sbdp_passthru_readmem()
2104 nbytes -= (4 * sizeof (uint64_t)); in sbdp_passthru_readmem()
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsgen.c2055 size_t nbytes; in sgen_dump_cdb() local
2070 nbytes = 3 * cdblen + strlen(label) + strlen(" CDB = [") + 2; in sgen_dump_cdb()
2071 buf = kmem_alloc(nbytes, KM_SLEEP); in sgen_dump_cdb()
2083 kmem_free(buf, nbytes); in sgen_dump_cdb()
2091 size_t nbytes; in sgen_dump_sense() local
2105 nbytes = 3 * rqlen + strlen(" SENSE = [") + 2; in sgen_dump_sense()
2106 buf = kmem_alloc(nbytes, KM_SLEEP); in sgen_dump_sense()
2118 kmem_free(buf, nbytes); in sgen_dump_sense()
/illumos-gate/usr/src/cmd/picl/picld/
H A Dpicld.c336 ret->nbytes = (uint32_t)vbufsize; in picld_get_attrval()
346 ret->nbytes = (uint32_t)strlen(ret->ret_buf) + 1; in picld_get_attrval()
356 (size_t)ret->nbytes, NULL, 0); in picld_get_attrval()
401 ret->nbytes = (uint32_t)vbufsize; in picld_get_attrval_by_name()
412 ret->nbytes = (uint32_t)strlen(ret->ret_buf) + 1; in picld_get_attrval_by_name()
420 (size_t)ret->nbytes, NULL, 0); in picld_get_attrval_by_name()
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_util.c79 hexdump_offset(unsigned char *buffer, int nbytes, unsigned long *start) in hexdump_offset() argument
99 for (i = 0; i < nbytes; ++i) { in hexdump_offset()
125 hexdump(unsigned char *buffer, int nbytes) in hexdump() argument
129 hexdump_offset(buffer, nbytes, &start); in hexdump()
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvsetup.c791 buf, tune->nbytes); in copy_persistent_tuneable()
796 buf, tune->nbytes); in copy_persistent_tuneable()
853 read_buf, tuneablep->nbytes); in env_picl_setup_tuneables()
861 PICL_READ|PICL_WRITE, tuneablep->nbytes, in env_picl_setup_tuneables()
/illumos-gate/usr/src/uts/common/ipp/flowacct/
H A Dflowacctddi.c107 (void) ipp_stat_named_op(&fl_stat->nbytes, &flowacct_data->nbytes, rw); in update_flowacct_kstats()
143 IPP_STAT_UINT64, &flacct_stat->nbytes)) != 0) { in global_statinit()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/l4/
H A Dmm_l4if.h151 u32_t nbytes
298 u32_t nbytes

12345678910>>...15