/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | doscan.c | 1249 int i, nbytes, cur_max; local 1277 if ((nbytes = mbtowc(&intcode, buff, i)) == -1) { 1294 while (i-- > nbytes) {
|
/illumos-gate/usr/src/cmd/sendmail/db/txn/ |
H A D | txn.c | 927 size_t nbytes; local 942 nbytes = sizeof(DB_TXN_STAT) + sizeof(DB_TXN_ACTIVE) * (nactive + 200); 943 if ((ret = __os_malloc(nbytes, db_malloc, &stats)) != 0)
|
/illumos-gate/usr/src/cmd/sgs/m4/common/ |
H A D | m4.c | 1147 nb = ibuffer[idx].nbytes; 1172 ibuffer[idx].nbytes = nb; 1189 return (ibuffer[idx].nbytes == 0 && feof(ifile[idx]));
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_ldc.c | 3519 size_t nbytes = 0; local 3540 * nbytes is actual data length, i.e. minus that 3543 datalen = ibnd_desc->nbytes; 3555 nbytes = datalen; 3556 if (nbytes & 0x7) { 3557 off = 8 - (nbytes & 0x7); 3558 nbytes += off; 3574 0, &nbytes, ibnd_desc->memcookie, (uint64_t)ncookies, 3586 __func__, ldcp->ldc_id, nbytes, ncookies); 3949 uint32_t nbytes; local [all...] |
H A D | ds_common.c | 452 size_t nbytes; local 465 nbytes = bytes_left; 469 rv = ldc_read(port->ldc.hdl, msgp, &nbytes); 483 if (nbytes != 0) { 486 PORTID(port), nbytes, retry_count); 488 *sizep += nbytes; 489 msgp += nbytes; 490 bytes_left -= nbytes;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunddi.c | 2332 size_t nbytes; local 2365 nbytes = (cnt + 1) * sizeof (char *); 2382 nbytes += size; 2388 strs = ddi_prop_decode_alloc(nbytes, ddi_prop_free_strings); 2580 int nbytes; local 2592 nbytes = DDI_PROP_BYTES(ph, DDI_PROP_CMD_GET_DSIZE, 2594 if (nbytes < DDI_PROP_RESULT_OK) { 2595 switch (nbytes) { 2607 tmp = ddi_prop_decode_alloc(nbytes, ddi_prop_free_bytes); 2612 i = DDI_PROP_BYTES(ph, DDI_PROP_CMD_DECODE, tmp, nbytes); 5367 swab(void *src, void *dst, size_t nbytes) argument 7761 ddi_devid_init( dev_info_t *dip, ushort_t devid_type, ushort_t nbytes, void *id, ddi_devid_t *ret_devid) argument [all...] |
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | filters.c | 163 if ((rc = ipp_stat_named_init(ipgpc_global_stats, "nbytes", 164 IPP_STAT_UINT64, &gblsnames->nbytes)) != 0) { 1300 if ((rc = ipp_stat_named_init(ipp_cl_stats, "nbytes", 1301 IPP_STAT_UINT64, &clsnames->nbytes)) != 0) { 2664 (void) ipp_stat_named_op(&gbl_stats->nbytes, &ipgpc_nbytes, rw); 2680 (void) ipp_stat_named_op(&cl_stats->nbytes, &stats->nbytes, rw);
|
/illumos-gate/usr/src/uts/common/io/mwl/ |
H A D | mwl.c | 931 uint32_t blocksize, nbytes; local 1044 nbytes = ntries = 0; /* NB: silence compiler */ 1056 fp += nbytes; 1074 nbytes = blocksize; 1075 if (!mwlSendBlock2(sc, fp, nbytes)) { 1082 nbytes = _PTRDIFF(ep, fp); 1083 if (nbytes > FW_DOWNLOAD_BLOCK_SIZE) 1084 nbytes = FW_DOWNLOAD_BLOCK_SIZE; 1086 nbytes)) { 1090 fp += nbytes; [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 3240 long s_err, nbytes; local 3282 if ((nbytes = write(fd, sbptr, BLKSIZE)) != BLKSIZE) { 3286 printf(" : nbytes = %lx\n", nbytes); 3323 long s_err, nbytes; local 3345 if ((nbytes = read(fd, bp->blkaddr, BLKSIZE)) != BLKSIZE) { 3349 printf(" : nbytes = %lx\n", nbytes); 3450 long maxchars, s_err, nbytes, temp; local 3520 if ((nbytes [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_cmds.c | 1060 print_xdata(void *ignored, const char *name, const char *desc, size_t nbytes) argument 1062 mdb_printf("%-24s - %s (%lu bytes)\n", name, desc, (ulong_t)nbytes); 2154 mdb_partial_xread(void *buf, size_t nbytes, uintptr_t addr, void *arg) argument 2159 return (fp(mdb.m_target, buf, nbytes, addr)); 2164 mdb_partial_pread(void *buf, size_t nbytes, physaddr_t addr, void *arg) argument 2166 return (mdb_tgt_pread(mdb.m_target, buf, nbytes, addr));
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_svm_util.c | 712 uint64_t nbytes = 0; local 717 if (((error = slice_get_size(slice, &nbytes)) != 0) || 721 (error = devconfig_set_size(spare, nbytes)) ||
|
H A D | layout_discovery.c | 167 uint64_t nbytes); 1600 * uint64_t nblks, uint64_t nbytes) 1605 * nbytes - size of slice in bytes 1619 uint64_t nbytes) 1633 sname, index, stblk, nblks, nbytes, NULL); 1615 update_slice_attributes( dm_descriptor_t slice, uint64_t stblk, uint64_t nblks, uint64_t nbytes) argument
|
/illumos-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash.c | 669 u_int32_t nbytes; local 715 nbytes = (ISBIG(hcp, key->size) ? HOFFPAGE_PSIZE : 720 key, nbytes, DB_LOCK_WRITE)) == DB_NOTFOUND) {
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 184 xread(int fd, char *p, size_t nbytes) argument 190 while (bytesread < nbytes) { 191 i = read(fd, p, nbytes - bytesread);
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | dfs.c | 1233 size_t nbytes; local 1242 nbytes = write(xfd, buf, buflen); 1245 return ((nbytes == buflen) ? ERROR_SUCCESS : ERROR_INTERNAL_ERROR);
|
H A D | lsar_clnt.c | 963 int nbytes; local 989 nbytes = n_entries * sizeof (struct mslsa_AccountInfo); 991 if ((info = malloc(nbytes)) == NULL) {
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvd.c | 486 parse_lpm_ranges(uint32_t *bufp, size_t nbytes) argument 499 if ((nbytes < (2 * sizeof (point_t))) || 500 (nbytes & (sizeof (point_t) - 1))) { 508 nentries = nbytes/sizeof (point_t);
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vdsk_common.h | 199 uint64_t nbytes; /* LP64 size_t */ member in struct:vd_dring_payload
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | drmach.c | 251 uint64_t nbytes; member in struct:drmach_mem 425 void drmach_iocage_mem_scrub(uint64_t nbytes); 3627 uint64_t nbytes; local 3631 nbytes = ml->ml_size; 3633 while (nbytes != 0ull) { 3642 nbytes -= (4 * sizeof (uint64_t)); 6233 mp->nbytes = sz; 6670 ASSERT(mp->nbytes != 0); 6671 *bytes = mp->nbytes; 6919 uint64_t nbytes; local 7324 drmach_iocage_mem_scrub(uint64_t nbytes) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | mem.c | 287 size_t nbytes = MIN((size_t)(PAGESIZE - pageoff), local 319 error = uiomove(va + pageoff, nbytes, rw, uio);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/ |
H A D | mDNSUNP.c | 822 recvfrom_flags(int fd, void *ptr, size_t nbytes, int *flagsp, argument 849 iov[0].iov_len = nbytes;
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | machdep.c | 1199 size_t nbytes = MIN((size_t)(PAGESIZE - pageoff), local 1205 return (uiomove(va, nbytes, rw, uio));
|
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | smb_kproto.h | 784 struct mbuf *smb_mbuf_get(uchar_t *buf, int nbytes); 786 void smb_mbuf_trim(struct mbuf *mhead, int nbytes);
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_vn.c | 2026 size_t nbytes; local 2031 nbytes = vpgtob(npages); 2032 svd->vpage = kmem_alloc(nbytes, KM_SLEEP); 2033 bcopy(&ovpage[dpages], svd->vpage, nbytes); 2132 size_t nbytes; local 2137 nbytes = vpgtob(npages); 2138 svd->vpage = kmem_alloc(nbytes, KM_SLEEP); 2139 bcopy(ovpage, svd->vpage, nbytes); 2269 size_t nbytes; local 2275 nbytes 6633 size_t nbytes = vpgtob(seg_pages(nseg)); local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_main.c | 1452 int nbytes; local 1463 nbytes = read((type == AF_INET) ? rtsock_v4 : 1465 if (nbytes <= 0) {
|