/illumos-gate/usr/src/uts/i86xpv/io/ |
H A D | domcaps.c | 108 size_t nbytes; local 112 nbytes = MIN(uio->uio_resid, sizeof (data) - uio->uio_loffset); 114 return (uiomove(data + uio->uio_loffset, nbytes,
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/ |
H A D | lm_l4rx.c | 40 u32_t nbytes 112 u32_t nbytes = 0; local 146 nbytes = isle->isle_nbytes; 174 return nbytes; 203 db_data->bds_prod += rx_con->db_more_bds; /* nbds should be written before nbytes (FW assumption) */ 207 "_lm_tcp_rx_write_db: cid=%d, (nbytes+=%d, nbds+=%d)\n", 233 u32_t nbytes, 243 /*DbgMessage(pdev, FATAL, "lm_tcp_rx_post_sws() INC: OLD drv_rcv_win_right_edge=%d, nbytes=%d, NEW drv_rcv_win_right_edge=%d FW right_edge=%d \n", rx_con->u.rx.sws_info.drv_rcv_win_right_edge, nbytes, rx_con->u.rx.sws_info.drv_rcv_win_right_edge + nbytes, db_dat 229 lm_tcp_rx_post_sws( lm_device_t * pdev, lm_tcp_state_t * tcp, lm_tcp_con_t * rx_con, u32_t nbytes, u8_t op ) argument 792 lm_tcp_rx_gen_peninsula_process(lm_device_t * pdev, lm_tcp_state_t * tcp, u32_t nbytes, lm_tcp_gen_buf_t * gen_buf) argument 886 lm_tcp_rx_gen_isle_right_process(lm_device_t * pdev, lm_tcp_state_t * tcp, u32_t nbytes, lm_tcp_gen_buf_t * gen_buf, u8_t sb_idx, u8_t isle_num) argument 936 lm_tcp_rx_gen_isle_left_process(lm_device_t * pdev, lm_tcp_state_t * tcp, u32_t nbytes, lm_tcp_gen_buf_t * gen_buf, u8_t sb_idx, u8_t isle_num) argument 1187 u32_t nbytes; local 2301 u32_t nbytes; local [all...] |
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | ScalarRecord.java | 322 int nbytes = bytes.length; 324 for (i = 0; i < nbytes; i += 16) { 329 for (j = i; (j < (i + 16)) && (j < nbytes); ++j) { 339 for (j = i; (j < (i + 16)) && (j < nbytes); ++j) {
|
/illumos-gate/usr/src/cmd/pgrep/ |
H A D | psexp.c | 77 size_t nbytes; local 97 nbytes = regerror(err, &psexp->ps_reg, NULL, 0); 98 buf = alloca(nbytes + 1); 99 (void) regerror(err, &psexp->ps_reg, buf, nbytes);
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_validate.c | 141 uint64_t nbytes); 310 uint64_t nbytes; local 311 if ((error = slice_get_size(slice, &nbytes)) == 0) { 312 if (raw_space >= nbytes) { 313 raw_space -= nbytes; 331 uint64_t nbytes = 0; local 340 if ((error = devconfig_get_size(req, &nbytes)) == 0) { 346 apply_layout_overhead_factor(nbytes), 348 total_rqst_space += nbytes; 352 bad_rqst_space = nbytes; 513 uint64_t nbytes; local 1078 uint64_t nbytes = 0; local 1119 validate_minimum_size( uint64_t nbytes) argument [all...] |
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioTypeChannel.cc | 76 size_t nbytes; local 129 nbytes = (size_t)inhdr.FrameLength(); 182 for (k = 0; k < nbytes; k++) 185 cin += nbytes;
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_tunables.c | 109 size_t nbytes = 0; local 112 nbytes = snprintf(pval, pr_size, "%d", MOD_PROP_PERM_RW); 115 nbytes = snprintf(pval, pr_size, "%d", pinfo->prop_def_bval); 124 nbytes = snprintf(pval, pr_size, "%d", pinfo->prop_cur_bval); 148 nbytes = snprintf(pval, pr_size, "%d", value); 150 if (nbytes >= pr_size) 189 size_t nbytes; local 193 nbytes = snprintf(pval, psize, "%u", MOD_PROP_PERM_RW); 195 nbytes = snprintf(pval, psize, "%u-%u", 198 nbytes 278 size_t nbytes = 0; local [all...] |
/illumos-gate/usr/src/cmd/logadm/ |
H A D | err.c | 256 err_malloc(int nbytes, const char *fname, int line) argument 258 void *retval = malloc(nbytes); 272 err_realloc(void *ptr, int nbytes, const char *fname, int line) argument 274 void *retval = realloc(ptr, nbytes);
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | read_fifo.c | 303 int n, nbytes, count = 0; local 351 nbytes = MSGMAX - (fbp->psave_end - fbp->save); 353 while ((n = read(fifo, fbp->psave_end, nbytes)) == 0 && count < 60) 363 fbp->full = (nbytes == n);
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | utf8.c | 353 size_t nbytes; local 364 nbytes = 0; 376 return (nbytes + nb - 1); 378 nbytes += nb; 380 return (nbytes); 409 return (nbytes + nb - 1); 414 nbytes += nb; 417 return (nbytes);
|
/illumos-gate/usr/src/cmd/mdb/common/libstandctf/ |
H A D | ctf_subr.c | 155 ctf_vsnprintf(char *buf, size_t nbytes, const char *format, va_list alist) argument 157 return ((int)mdb_iob_vsnprintf(buf, nbytes, format, alist));
|
/illumos-gate/usr/src/cmd/mdb/intel/amd64/kmdb/ |
H A D | kmdb_asmutil.s | 120 kmt_in(void *buf, size_t nbytes, uintptr_t addr) 126 kmt_out(void *buf, size_t nbytes, uintptr_t addr)
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_prop.c | 547 size_t nbytes; local 552 nbytes = snprintf(buf, *bufsize, "%d", MOD_PROP_PERM_RW); 555 nbytes = snprintf(buf, *bufsize, "weak"); 564 nbytes = snprintf(buf, *bufsize, "%s", 568 nbytes = snprintf(buf, *bufsize, "strong,src-priority,weak"); 573 if (nbytes >= *bufsize) { 575 *bufsize = nbytes + 1; 763 uint_t i, nbytes = 0; local 769 nbytes += snprintf(buf + nbytes, 861 size_t nbytes; local 900 size_t nbytes; local 942 size_t nbytes; local 986 size_t nbytes; local 1634 size_t nbytes; local [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_client.c | 313 int nbytes = 0; local 318 if ((nbytes += (*clnt->xa_read)(clnt, mxa)) <= 0) 320 available += nbytes; 327 if ((nbytes = (*clnt->xa_read)(clnt, mxa)) <= 0) 329 available += nbytes; 332 return (nbytes);
|
/illumos-gate/usr/src/common/fs/ |
H A D | decompress.c | 73 unsigned int nbytes; local 77 nbytes = roundup(items * size, sizeof (long)); 78 if (nbytes > (DECOMP_BUFSIZE - filep->fi_dcscrused)) { 79 ptr = bkmem_alloc(nbytes); 82 filep->fi_dcscrused += nbytes; 84 bzero(ptr, nbytes);
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_tunables.c | 52 size_t nbytes = 0, tbytes = 0; local 66 nbytes = snprintf(pval, size, "%d:%d", sl->sl_port, 69 nbytes = snprintf(pval, size, ",%d:%d", sl->sl_port, 71 size -= nbytes; 72 pval += nbytes; 73 tbytes += nbytes;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_string.c | 160 strntoul(const char *s, size_t nbytes, int base) argument 165 for (n = 0; nbytes != 0 && (c = *s) != '\0'; s++, nbytes--) 552 strnpbrk(const char *s1, const char *s2, size_t nbytes) argument 556 if (nbytes == 0) 566 } while (--nbytes != 0 && *s1++ != '\0'); 575 * this one, where nbytes = sizeof (buf): 577 * if (mdb_snprintf(buf, nbytes, "%s %d %c", ...) >= nbytes) 578 * (void) strabbr(buf, nbytes); 583 strabbr(char *s, size_t nbytes) argument [all...] |
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | machdep.c | 595 kdi_pread(caddr_t buf, size_t nbytes, uint64_t addr, size_t *ncopiedp) argument 608 for (i = slop; i < 4 && nbytes > 0; i++, nbytes--, nread++) 613 while (nbytes > 0) { 615 for (i = 0; i < 4 && nbytes > 0; i++, nbytes--, nread++, addr++) 626 kdi_pwrite(caddr_t buf, size_t nbytes, uint64_t addr, size_t *ncopiedp) argument 638 for (i = slop; i < 4 && nbytes > 0; i++, nbytes--, nwritten++) 644 while (nbytes > [all...] |
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SrvLocHeader.java | 124 int nbytes = 0; // number of bytes processed field in class:SrvLocHeader 320 nbytes += SHORT_SIZE; 348 nbytes += SHORT_SIZE; 375 nbytes += 3; 386 nbytes += 3; 397 nbytes += ret.length + SHORT_SIZE; 440 nbytes += bytes.length + SHORT_SIZE; 655 // Reinitialize some stuff. Subclasses must reimplement nbytes
|
H A D | SLPServerHeaderV2.java | 190 if (nbytes > length) { 196 new Integer(nbytes), new Integer(length)}); 283 hdr.nbytes = 0;
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | oid_ops.c | 333 OM_uint32 nbytes; local 362 nbytes = 0; 383 nbytes++; 389 nbytes++; 406 if (((*oid)->elements = (void *) malloc(nbytes))) { 407 (*oid)->length = nbytes; 426 nbytes = 0; 430 nbytes++; 434 op += nbytes;
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | mlsvc_client.c | 513 int err, more, nbytes; local 515 nbytes = recv_nds->pdu_max_size; 518 &nbytes, (char *)recv_nds->pdu_base_offset, &more); 524 recv_nds->pdu_size = nbytes; 543 int nbytes; local 548 nbytes = smb_fh_read(clnt->xa_fd, 0, len, 551 if (nbytes < 0) 554 nds->pdu_size += nbytes; 561 return (nbytes);
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | t_rcvv.c | 60 unsigned int nbytes; local 171 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); 173 if (nbytes != 0 && ((dataptr = malloc(nbytes)) == NULL)) { 185 databuf.maxlen = (int)nbytes;
|
H A D | t_rcvvudata.c | 69 unsigned int nbytes; local 116 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); 118 if (nbytes != 0 && ((dataptr = malloc(nbytes)) == NULL)) { 123 databuf.maxlen = nbytes;
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_put.c | 203 u_int32_t nbytes; local 260 nbytes = NRLEAFDBT(data->size); 261 if (h->upper - h->lower < nbytes + sizeof(indx_t)) { 262 status = __bt_split(t, h, NULL, data, dflags, nbytes, idx); 273 h->linp[idx] = h->upper -= nbytes;
|