/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_kmod.c | 401 uint_t nbytes; in smb_kmod_enum() local 425 rc = smb_netuserinfo_decode(user, data, len, &nbytes); in smb_kmod_enum() 430 &nbytes); in smb_kmod_enum() 434 rc = smb_netfileinfo_decode(ofile, data, len, &nbytes); in smb_kmod_enum() 447 data += nbytes; in smb_kmod_enum() 448 len -= nbytes; in smb_kmod_enum()
|
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_addr.c | 177 size_t nbytes; in i_ipadm_pd2permstr() local 189 if (nbytes >= *bufsize) { in i_ipadm_pd2permstr() 191 *bufsize = nbytes + 1; in i_ipadm_pd2permstr() 1180 size_t nbytes = 0; in i_ipadm_get_broadcast() local 1276 *bufsize = nbytes + 1; in i_ipadm_get_broadcast() 1297 size_t nbytes; in i_ipadm_get_prefixlen() local 1368 *bufsize = nbytes + 1; in i_ipadm_get_prefixlen() 1389 size_t nbytes; in i_ipadm_get_addr_flag() local 1447 size_t nbytes = 0; in i_ipadm_get_zone() local 1508 size_t nbytes; in i_ipadm_get_primary() local [all …]
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | SLPServerHeaderV2.java | 190 if (nbytes > length) { in parseMsg() 196 new Integer(nbytes), new Integer(length)}); in parseMsg() 283 hdr.nbytes = 0; in makeReplyHeader()
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | classifier-objects.h | 149 uint64_t nbytes; /* number of matching bytes */ member 266 ipp_named_t nbytes; member 273 ipp_named_t nbytes; member
|
/illumos-gate/usr/src/lib/libjedec/common/ |
H A D | libjedec_spd.c | 380 uint32_t nbytes = 0; in spd_parse_string() local 386 nbytes = i; in spd_parse_string() 400 if (nbytes == 0) { in spd_parse_string() 406 (void) memcpy(buf, &si->si_data[off], nbytes); in spd_parse_string() 407 buf[nbytes] = '\0'; in spd_parse_string() 607 libjedec_spd(const uint8_t *buf, size_t nbytes, spd_error_t *err) in libjedec_spd() argument 619 si.si_nbytes = nbytes; in libjedec_spd()
|
/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) in g_dump() argument 200 while (nbytes > 0) { in g_dump() 203 n = min(nbytes, BYTES_PER_LINE); in g_dump() 218 nbytes -= n; in g_dump() 896 string_dump(char *hdr, uchar_t *src, int nbytes, int format, char msg_string[]) in string_dump() argument 911 while (nbytes > 0) { in string_dump() 915 n = min(nbytes, BYTES_PER_LINE); in string_dump() 935 nbytes -= n; in string_dump()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop.c | 174 int nbytes; in main() local 187 nbytes = (MAXSUM + 3) * (MAXLINE + REDZONE); in main() 188 output_area = protmalloc(nbytes); in main() 1140 protmalloc(size_t nbytes) in protmalloc() argument 1145 nbytes = P2ROUNDUP(nbytes, psz); in protmalloc() 1146 start = mmap(NULL, nbytes + psz * 2, PROT_READ|PROT_WRITE, in protmalloc() 1157 if (mprotect(start + nbytes, 1, PROT_NONE) == -1) in protmalloc()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | actions.c | 1033 int nbytes; in showbuffer() local 1038 nbytes = (count < sizeof (buffer))? count : sizeof (buffer); in showbuffer() 1039 if ((nbytes = Pread(Proc, buffer, nbytes, offset)) <= 0) in showbuffer() 1041 count -= nbytes; in showbuffer() 1042 offset += nbytes; in showbuffer() 1044 while (nbytes > 0 && !interrupt) { in showbuffer() 1047 n = (nbytes < 32)? nbytes : 32; in showbuffer() 1054 nbytes -= n; in showbuffer()
|
/illumos-gate/usr/src/cmd/mdb/common/libstandctf/ |
H A D | ctf_subr.c | 160 ctf_vsnprintf(char *buf, size_t nbytes, const char *format, va_list alist) in ctf_vsnprintf() argument 162 return ((int)mdb_iob_vsnprintf(buf, nbytes, format, alist)); in ctf_vsnprintf()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vnet_txdring.c | 684 txdp->nbytes = size; in vgen_dringsend() 978 size_t nbytes; in vgen_process_dringdata() local 1053 if ((rxd.nbytes < ETHERMIN) || in vgen_process_dringdata() 1054 (rxd.nbytes > lp->mtu) || in vgen_process_dringdata() 1064 nbytes = (VNET_IPALIGN + rxd.nbytes + 7) & ~7; in vgen_process_dringdata() 1080 rxd.nbytes + 8, BPRI_MED); in vgen_process_dringdata() 1132 nread = nbytes; in vgen_process_dringdata() 1178 if (nread != nbytes) { in vgen_process_dringdata() 1181 nread, nbytes); in vgen_process_dringdata() 1188 mp->b_wptr = mp->b_rptr + rxd.nbytes; in vgen_process_dringdata() [all …]
|
H A D | vnet_rxdring.c | 704 txdp->nbytes = size; in vgen_dringsend_shm() 1057 uint32_t nbytes = 0; in vgen_receive_packet() local 1080 nbytes = rxdp->nbytes; in vgen_receive_packet() 1082 if ((nbytes < ETHERMIN) || in vgen_receive_packet() 1083 (nbytes > lp->mtu) || in vgen_receive_packet() 1117 dmp = allocb(nbytes + VNET_IPALIGN, BPRI_MED); in vgen_receive_packet() 1123 dmp->b_rptr + VNET_IPALIGN, nbytes); in vgen_receive_packet() 1135 mp->b_wptr = mp->b_rptr + nbytes; in vgen_receive_packet() 1149 statsp->rbytes += rxdp->nbytes; in vgen_receive_packet() 1163 *size = nbytes; in vgen_receive_packet()
|
H A D | vsw_rxdring.c | 723 uint_t nbytes = 0; in vsw_receive_packet() local 746 if ((rxdp->nbytes < ETHERMIN) || in vsw_receive_packet() 747 (rxdp->nbytes > ldcp->lane_in.mtu) || in vsw_receive_packet() 769 nbytes = rxdp->nbytes; in vsw_receive_packet() 782 dmp = allocb(nbytes + VNET_IPALIGN, BPRI_MED); in vsw_receive_packet() 784 dmp->b_rptr + VNET_IPALIGN, nbytes); in vsw_receive_packet() 796 mp->b_wptr = mp->b_rptr + nbytes; in vsw_receive_packet() 810 statsp->rbytes += rxdp->nbytes; in vsw_receive_packet() 983 txdp->nbytes = size; in vsw_dringsend_shm()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | ramdisk.c | 1054 rd_rw(rd_devstate_t *rsp, struct buf *bp, offset_t offset, size_t nbytes) in rd_rw() argument 1062 while (nbytes > 0) { in rd_rw() 1074 copy_bytes = MIN(nbytes, rem_in_window); in rd_rw() 1085 nbytes -= copy_bytes; in rd_rw() 1118 size_t nbytes; local 1126 nbytes = min(bp->b_bcount, rsp->rd_size - offset); 1128 rd_rw(rsp, bp, offset, nbytes); 1130 bp->b_resid = bp->b_bcount - nbytes; 1138 kioptr->nread += nbytes; 1141 kioptr->nwritten += nbytes;
|
/illumos-gate/usr/src/cmd/sort/ |
H A D | utility.c | 492 cxwrite(int fd, char *ptr, size_t nbytes) in cxwrite() argument 511 while (nbytes != 0) { in cxwrite() 512 if (offset + nbytes > XBUFFER_SIZE) in cxwrite() 515 mbytes = nbytes; in cxwrite() 518 nbytes -= mbytes; in cxwrite() 522 if (nbytes) { in cxwrite()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/krtld/ |
H A D | krtld.c | 231 size_t nbytes; in modhdrs() local 246 nbytes = sizeof (Shdr) * mod.hdr.e_shnum; in modhdrs() 247 shdrs = mdb_alloc(nbytes, UM_SLEEP | UM_GC); in modhdrs() 248 mdb_vread(shdrs, nbytes, (uintptr_t)mod.shdrs); in modhdrs()
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_module.c | 88 size_t nbytes, GElf_Sym *symp, mdb_syminfo_t *sip) in kmdb_module_lookup_by_addr() argument 104 buf, nbytes, symp, &sip->sym_id) != 0 || in kmdb_module_lookup_by_addr() 139 (void) mdb_snprintf(buf, nbytes, "DMOD`%s`%s", in kmdb_module_lookup_by_addr()
|
/illumos-gate/usr/src/cmd/mdb/intel/amd64/kmdb/ |
H A D | kmdb_asmutil.S | 118 kmt_in(void *buf, size_t nbytes, uintptr_t addr) 124 kmt_out(void *buf, size_t nbytes, uintptr_t addr)
|
/illumos-gate/usr/src/lib/liblgrp/common/ |
H A D | lgrp.c | 313 lgrp_mem_size_t nbytes; in prune_tree() local 373 nbytes = lgrp_mem_size((lgrp_cookie_t)snap, i, in prune_tree() 375 if (ncpus == 0 && nbytes == 0) { in prune_tree() 1132 lgrp_mem_size_t nbytes; in lgrp_latency_cookie() local 1170 nbytes = lgrp_mem_size(cookie, to, LGRP_MEM_SZ_INSTALLED, in lgrp_latency_cookie() 1172 if (nbytes <= 0) { in lgrp_latency_cookie() 1173 if (nbytes == 0) in lgrp_latency_cookie()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_delete.c | 482 u_int32_t nbytes; local 502 nbytes = NBLEAF(bl); 504 memmove(from + nbytes, from, (char *)to - from); 505 h->upper += nbytes; 511 ip[0] += nbytes; 513 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
|
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | proc_x86util.c | 47 fpcw2str(uint32_t cw, char *buf, size_t nbytes) in fpcw2str() argument 49 char *end = buf + nbytes; in fpcw2str() 171 fpsw2str(uint32_t cw, char *buf, size_t nbytes) in fpsw2str() argument 173 char *end = buf + nbytes; in fpsw2str() 215 fpmxcsr2str(uint32_t mxcsr, char *buf, size_t nbytes) in fpmxcsr2str() argument 217 char *end = buf + nbytes; in fpmxcsr2str()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/sppp/ |
H A D | sppp.c | 270 sppp_qinfo(const queue_t *q, char *buf, size_t nbytes) in sppp_qinfo() argument 280 (void) mdb_snprintf(buf, nbytes, "minor %d", in sppp_qinfo() 283 (void) mdb_snprintf(buf, nbytes, "sppp%d", in sppp_qinfo() 610 sppptun_qinfo(const queue_t *q, char *buf, size_t nbytes) in sppptun_qinfo() argument 618 mdb_snprintf(buf, nbytes, "sppp%d client %04X", in sppptun_qinfo() 621 mdb_snprintf(buf, nbytes, "%s", ts.tll.tll_name); in sppptun_qinfo()
|
/illumos-gate/usr/src/lib/libsmedia/library/inc/ |
H A D | smedia.h | 148 size_t nbytes); 151 size_t nbytes);
|
/illumos-gate/usr/src/lib/libc/inc/ |
H A D | stdiom.h | 273 extern ssize_t _xread(FILE *iop, void *buf, size_t nbytes); 274 extern ssize_t _xwrite(FILE *iop, const void *buf, size_t nbytes); 293 extern int memstream_newsize(size_t pos, size_t alloc, size_t nbytes,
|
/illumos-gate/usr/src/uts/sun4u/os/ |
H A D | ppage.c | 419 size_t nbytes; in ppcopy_kernel__relocatable() local 424 nbytes = MMU_PAGESIZE; in ppcopy_kernel__relocatable() 426 for (; nbytes > 0; fm_pa += 32, to_pa += 32, nbytes -= 32) in ppcopy_kernel__relocatable()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | pro_macinfo.c | 155 int nbytes; in libdwarf_compose_add_line() local 164 res = _dwarf_pro_encode_leb128_nm(line, &nbytes, in libdwarf_compose_add_line() 172 dbg->de_compose_avail -= nbytes; in libdwarf_compose_add_line() 173 dbg->de_compose_used_len += nbytes; in libdwarf_compose_add_line()
|