/illumos-gate/usr/src/stand/lib/sock/ |
H A D | socket.c | 797 ssize_t datalen, bytes = 0; in recvfrom() local 921 bytes += len; in recvfrom() 927 bytes += datalen; in recvfrom() 952 bytes = len; in recvfrom() 954 bytes = datalen; in recvfrom() 955 bcopy(mp->b_rptr, buf, bytes); in recvfrom() 962 bytes = len; in recvfrom() 964 bytes = datalen; in recvfrom() 974 return (bytes); in recvfrom() 996 ssize_t bytes; in sendto() local [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | rdma.c | 76 if ((vec->addr + vec->bytes <= vec->addr) || in rdsv3_pages_in_vec() 77 (vec->bytes > (uint64_t)UINT_MAX)) { in rdsv3_pages_in_vec() 81 return (((vec->addr + vec->bytes + PAGESIZE - 1) >> in rdsv3_pages_in_vec() 535 rs->rs_user_bytes = vec.bytes; in rdsv3_rdma_prepare() 538 umem_len = ptob(btopr(vec.bytes + in rdsv3_rdma_prepare() 552 nr_bytes += vec.bytes; in rdsv3_rdma_prepare() 556 nr_bytes, nr, vec.bytes, vec.addr); in rdsv3_rdma_prepare() 560 if (nr_bytes > args->remote_vec.bytes) { in rdsv3_rdma_prepare() 563 nr_bytes, (unsigned int) args->remote_vec.bytes); in rdsv3_rdma_prepare()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_nvme.c | 228 size_t bytes; member 1139 size_t bytes; in nvme_prp_memcpy() local 1147 bytes = MIN(bytes, len); in nvme_prp_memcpy() 1159 b += bytes; in nvme_prp_memcpy() 1161 len -= bytes; in nvme_prp_memcpy() 2459 bytes -= size; in nvme_write_read_blockif() 2461 if (bytes == 0) { in nvme_write_read_blockif() 2464 size = bytes; in nvme_write_read_blockif() 2475 while (bytes) { in nvme_write_read_blockif() 2498 bytes -= size; in nvme_write_read_blockif() [all …]
|
H A D | post.c | 40 int port __unused, int bytes, uint32_t *eax, void *arg __unused) in post_data_handler() argument 44 if (bytes != 1) in post_data_handler()
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | wsncmp.S | 54 jne .notequal_0 / Are the bytes equal? 62 jne .notequal_1 / Are the bytes equal? 70 jne .notequal_2 / Are the bytes equal? 78 jne .notequal_3 / Are the bytes equal?
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | param.h | 204 #define btodb(bytes) /* calculates (bytes / DEV_BSIZE) */ \ argument 205 (sizeof (bytes) > sizeof(long) \ 206 ? (daddr_t)((unsigned long long)(bytes) >> DEV_BSHIFT) \ 207 : (daddr_t)((unsigned long)(bytes) >> DEV_BSHIFT))
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptraverse.c | 484 lf_blksout(daddr32_t *blkp, u_offset_t bytes) in lf_blksout() argument 508 if ((loffset + bytes) <= bytepos) { in lf_blksout() 512 d_howmany(bytes, (u_offset_t)tp_bsize); in lf_blksout() 539 loffset += bytes; in lf_blksout() 541 while (bytes > 0) { in lf_blksout() 542 if (bytes < TP_NINDIR*tp_bsize) in lf_blksout() 544 count = d_howmany(bytes, (u_offset_t)tp_bsize); in lf_blksout() 549 bytes -= (tpblkskip * (u_offset_t)tp_bsize); in lf_blksout() 553 bytes -= (offset_t)TP_NINDIR*tp_bsize; in lf_blksout() 570 bytecnt = MIN(bytes, bytecnt ? in lf_blksout() [all …]
|
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_utf8.c | 242 size_t bytes; in smb_wcequiv_strlen() local 246 bytes = smb_mbtowc(&wide_char, mbs, MTS_MB_CHAR_MAX); in smb_wcequiv_strlen() 247 if (bytes == ((size_t)-1)) in smb_wcequiv_strlen() 249 mbs += bytes; in smb_wcequiv_strlen() 252 if (bytes > 3) { in smb_wcequiv_strlen()
|
/illumos-gate/usr/src/common/tsol/ |
H A D | stol.c | 110 int bytes; in htol() local 136 bytes = strlen(h)/2; in htol() 137 if ((bytes > len) || in htol() 138 (bytes*2 != strlen(h)) || in htol() 139 !unhex(&h, lp, bytes)) { in htol()
|
/illumos-gate/usr/src/cmd/devinfo/ |
H A D | devinfo.c | 169 unsigned int nopartitions, sectorcyl, bytes; in devinfo() local 178 bytes = 0; in devinfo() 183 bytes = vtdata.v_sectorsz; in devinfo() 199 device, 0, 0, sectorcyl, bytes, nopartitions); in devinfo()
|
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | machdep.c | 114 int bytes, wlen, s; in cb_interpret() local 131 bytes = mdlen; in cb_interpret() 132 while (bytes) { in cb_interpret() 143 bytes -= wlen; in cb_interpret()
|
/illumos-gate/usr/src/cmd/mkfile/ |
H A D | mkfile.c | 210 size_t bytes = (size_t)MIN(bufsz, size-written); in main() local 212 if ((result = write(fd, buf, bytes)) != in main() 213 (ssize_t)bytes) { in main() 226 written += bytes; in main()
|
/illumos-gate/usr/src/cmd/dumpcs/ |
H A D | dumpcs.c | 133 csprint(cs, bytes, columns) in csprint() argument 134 int cs, bytes, columns; in csprint() 141 col = SCRWID - bytes * 2 - 1; 145 bytelen = bytes;
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_buffer_too_small_for_struct.c | 30 int bytes; in match_assign() local 48 bytes = get_array_size_bytes(expr->right); in match_assign() 49 if (bytes >= type_bytes(left_type)) in match_assign()
|
H A D | smatch_address.c | 287 sval_t bytes; in get_address_rl() local 294 bytes.type = ssize_t_ctype; in get_address_rl() 295 bytes.uvalue = type_bytes(type); in get_address_rl() 296 bytes_rl = alloc_rl(bytes, bytes); in get_address_rl()
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | fru_access_impl.h | 197 unsigned char compute_crc8(unsigned char *bytes, int length); 198 long compute_crc32(unsigned char *bytes, int length); 199 long compute_checksum32(unsigned char *bytes, int length);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access_impl.h | 201 unsigned char compute_crc8(unsigned char *bytes, int length); 202 long compute_crc32(unsigned char *bytes, int length); 203 long compute_checksum32(unsigned char *bytes, int length);
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_utils.c | 99 if (__ovfl_get(t, rl->bytes, 114 memmove(t->bt_rdata.data, rl->bytes, rl->dsize); 119 data->data = rl->bytes;
|
/illumos-gate/usr/src/cmd/dtrace/demo/udp/ |
H A D | udpbytes.d | 28 @bytes[args[2]->ip_saddr, args[4]->udp_dport] = 34 @bytes[args[2]->ip_daddr, args[4]->udp_sport] =
|
/illumos-gate/usr/src/cmd/dtrace/demo/tcp/ |
H A D | tcpbytes.d | 28 @bytes[args[2]->ip_saddr, args[4]->tcp_dport] = 34 @bytes[args[2]->ip_daddr, args[4]->tcp_sport] =
|
/illumos-gate/usr/src/uts/intel/io/vmm/io/ |
H A D | vatpit.h | 43 int vatpit_handler(void *arg, bool in, uint16_t port, uint8_t bytes, 45 int vatpit_nmisc_handler(void *arg, bool in, uint16_t port, uint8_t bytes,
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | gb18030.c | 89 if (gs->count < 0 || gs->count > sizeof (gs->bytes)) { in _GB18030_mbrtowc() 100 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof (gs->bytes) - gs->count); in _GB18030_mbrtowc() 101 (void) memcpy(gs->bytes + gs->count, s, ncopy); in _GB18030_mbrtowc() 104 s = (char *)gs->bytes; in _GB18030_mbrtowc()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/write_dirs/ |
H A D | write_dirs_001_pos.ksh | 63 typeset -i bytes=8192 68 fill_fs "" $dirnum $filenum $bytes $num_writes
|
H A D | write_dirs_002_pos.ksh | 64 typeset -i bytes=8192 69 fill_fs "" $dirnum $filenum $bytes $num_writes
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_random.c | 468 size_t bytes; in rnd_get_bytes() local 529 bytes = min(len, rnbyte_cnt); in rnd_get_bytes() 530 rndc_getbytes(ptr, bytes); in rnd_get_bytes() 532 len -= bytes; in rnd_get_bytes() 533 ptr += bytes; in rnd_get_bytes() 624 size_t bytes = len, size; in rnd_generate_pseudo_bytes() local 694 if (bytes >= HASHSIZE) { in rnd_generate_pseudo_bytes() 697 size = min(bytes, HASHSIZE); in rnd_generate_pseudo_bytes() 724 bytes -= size; in rnd_generate_pseudo_bytes() 727 } while (bytes > 0); in rnd_generate_pseudo_bytes()
|