Home
last modified time | relevance | path

Searched refs:bcopy (Results 1 – 25 of 1535) sorted by relevance

12345678910>>...62

/illumos-gate/usr/src/lib/libumem/amd64/
H A Dumem_genasm.c330 bcopy(malinit, bp, sizeof (malinit)); in genasm_malinit()
336 bcopy(&off, bp + PTC_MALINIT_SOFF, sizeof (off)); in genasm_malinit()
346 bcopy(freeinit, bp, sizeof (freeinit)); in genasm_frinit()
351 bcopy(&mcs, bp + PTC_FRINI_MCS, sizeof (mcs)); in genasm_frinit()
353 bcopy(&addr, bp + PTC_FRINI_JOV, sizeof (addr)); in genasm_frinit()
354 bcopy(&off, bp + PTC_FRINI_SOFF, sizeof (off)); in genasm_frinit()
369 bcopy(inicache, bp, sizeof (inicache)); in genasm_firstcache()
387 bcopy(gencache, bp, sizeof (gencache)); in genasm_gencache()
406 bcopy(fincache, bp, sizeof (fincache)); in genasm_lastcache()
422 bcopy(malfini, bp, sizeof (malfini)); in genasm_malfini()
[all …]
/illumos-gate/usr/src/lib/libumem/i386/
H A Dumem_genasm.c322 bcopy(malinit, bp, sizeof (malinit)); in genasm_malinit()
328 bcopy(&off, bp + PTC_MALINIT_SOFF, sizeof (off)); in genasm_malinit()
338 bcopy(freeinit, bp, sizeof (freeinit)); in genasm_frinit()
343 bcopy(&mc, bp + PTC_FRINI_MCS, sizeof (mc)); in genasm_frinit()
345 bcopy(&addr, bp + PTC_FRINI_JOV, sizeof (addr)); in genasm_frinit()
346 bcopy(&off, bp + PTC_FRINI_SOFF, sizeof (off)); in genasm_frinit()
360 bcopy(inicache, bp, sizeof (inicache)); in genasm_firstcache()
378 bcopy(gencache, bp, sizeof (gencache)); in genasm_gencache()
396 bcopy(fincache, bp, sizeof (fincache)); in genasm_lastcache()
412 bcopy(malfini, bp, sizeof (malfini)); in genasm_malfini()
[all …]
/illumos-gate/usr/src/stand/lib/inet/
H A Dethernet.c103 bcopy((caddr_t)mac_state.mac_addr_buf, in ether_comarp()
122 bcopy((caddr_t)out->arp_ea.arp_tpa, in ether_comarp()
158 bcopy((caddr_t)in->arp_ea.arp_spa, in ether_comarp()
166 bcopy((caddr_t)&in->arp_ea.arp_sha, in ether_comarp()
188 bcopy((caddr_t)in->arp_ea.arp_tpa, in ether_comarp()
441 bcopy((caddr_t)ea->arp_sha, in ether_input()
444 bcopy(mac_state.mac_addr_buf, in ether_input()
447 bcopy((caddr_t)ea->arp_sha, in ether_input()
450 bcopy((caddr_t)ea->arp_spa, in ether_input()
453 bcopy(mac_state.mac_addr_buf, in ether_input()
[all …]
H A Dibd.c163 bcopy((caddr_t)out->arp_ea.arp_tpa, in ibd_comarp()
197 bcopy((caddr_t)in->arp_ea.arp_spa, in ibd_comarp()
205 bcopy((caddr_t)&in->arp_ea.arp_sha, in ibd_comarp()
240 bcopy((caddr_t)ip, (caddr_t)out.arp_ea.arp_tpa, in ibd_arp()
402 bcopy((caddr_t)(mac_state.mac_buf + offset), in ibd_input()
439 bcopy((caddr_t)&ea->arp_sha, in ibd_input()
441 bcopy((caddr_t)&ea->arp_sha, in ibd_input()
443 bcopy((caddr_t)ea->arp_spa, in ibd_input()
446 bcopy(mac_state.mac_addr_buf, in ibd_input()
449 bcopy((caddr_t)&ip, (caddr_t)ea->arp_spa, in ibd_input()
[all …]
H A Ddhcpv4.c95 bcopy(mac_get_addr_buf()+2, &xid, 4); in init_msg()
99 bcopy(pkttype, pkt->options, 3); in init_msg()
123 bcopy(prlist, *opt, sizeof (prlist)); in parameter_request_list()
272 bcopy(dhcp_rcv_bufp, pl->pkt, len); in bootp_collect()
422 bcopy(p->value, scratch, len); in prt_server_msg()
634 bcopy(msg, opt, ulen); in dhcp_decline()
668 bcopy(&size, opt, sizeof (size)); in dhcp_selecting()
676 bcopy(&lease, opt, sizeof (lease)); in dhcp_selecting()
771 bcopy(&size, opt, sizeof (size)); in dhcp_requesting()
942 bcopy(doptp->value, &subnet, in dhcp_bound()
[all …]
/illumos-gate/usr/src/common/crypto/skein/
H A Dskein.c236 bcopy(ctx->X, X, sizeof (X)); in Skein_256_Final()
253 bcopy(X, ctx->X, sizeof (X)); in Skein_256_Final()
472 bcopy(ctx->X, X, sizeof (X)); in Skein_512_Final()
489 bcopy(X, ctx->X, sizeof (X)); in Skein_512_Final()
705 bcopy(ctx->X, X, sizeof (X)); in Skein1024_Final()
722 bcopy(X, ctx->X, sizeof (X)); in Skein1024_Final()
813 bcopy(ctx->X, X, sizeof (X)); in Skein_256_Output()
830 bcopy(X, ctx->X, sizeof (X)); in Skein_256_Output()
853 bcopy(ctx->X, X, sizeof (X)); in Skein_512_Output()
870 bcopy(X, ctx->X, sizeof (X)); in Skein_512_Output()
[all …]
/illumos-gate/usr/src/common/crypto/modes/
H A Dccm.c69 bcopy(datap, in ccm_mode_encrypt_contiguous_blocks()
133 bcopy(blockp, ctx->ccm_copy_to, in ccm_mode_encrypt_contiguous_blocks()
148 bcopy(lastp + out_data_1_len, in ccm_mode_encrypt_contiguous_blocks()
296 bcopy(ccm_mac_p, out_data_2, in ccm_encrypt_final()
306 bcopy(ccm_mac_p, in ccm_encrypt_final()
309 bcopy(ccm_mac_p + len_not_used, in ccm_encrypt_final()
388 bcopy(datap, tmp + pm_len, length); in ccm_mode_decrypt_contiguous_blocks()
441 bcopy(datap, in ccm_mode_decrypt_contiguous_blocks()
553 bcopy(pt, macp, mac_remain); in ccm_decrypt_final()
665 bcopy(nonce, &(b0[1]), nonceSize); in ccm_format_initial_blocks()
[all …]
H A Decb.c59 bcopy(datap, in ecb_cipher_contiguous_blocks()
79 bcopy(datap, &((uint8_t *)ctx->ecb_remainder) in ecb_cipher_contiguous_blocks()
94 bcopy(blockp, ctx->ecb_copy_to, in ecb_cipher_contiguous_blocks()
96 bcopy(blockp + ctx->ecb_remainder_len, datap, in ecb_cipher_contiguous_blocks()
105 bcopy(lastp, out_data_1, out_data_1_len); in ecb_cipher_contiguous_blocks()
107 bcopy(lastp + out_data_1_len, out_data_2, in ecb_cipher_contiguous_blocks()
126 bcopy(datap, ctx->ecb_remainder, remainder); in ecb_cipher_contiguous_blocks()
H A Dcbc.c68 bcopy(datap, in cbc_encrypt_contiguous_blocks()
88 bcopy(datap, &((uint8_t *)ctx->cbc_remainder) in cbc_encrypt_contiguous_blocks()
109 bcopy(blockp, ctx->cbc_copy_to, in cbc_encrypt_contiguous_blocks()
111 bcopy(blockp + ctx->cbc_remainder_len, datap, in cbc_encrypt_contiguous_blocks()
134 bcopy(lastp, out_data_1, in cbc_encrypt_contiguous_blocks()
137 bcopy(lastp + out_data_1_len, in cbc_encrypt_contiguous_blocks()
160 bcopy(datap, ctx->cbc_remainder, remainder); in cbc_encrypt_contiguous_blocks()
205 bcopy(datap, in cbc_decrypt_contiguous_blocks()
257 bcopy(blockp, out_data_1, out_data_1_len); in cbc_decrypt_contiguous_blocks()
259 bcopy(blockp + out_data_1_len, out_data_2, in cbc_decrypt_contiguous_blocks()
[all …]
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_arp.c171 bcopy(vaq->vaq_ea->arp_spa, &ip->sin_addr, in libvarpd_proxy_arp_fini()
173 bcopy(vaq->vaq_ea->arp_tpa, vaq->vaq_ea->arp_spa, in libvarpd_proxy_arp_fini()
175 bcopy(&ip->sin_addr, vaq->vaq_ea->arp_tpa, in libvarpd_proxy_arp_fini()
414 bcopy(v6hdr, resp + roff, sizeof (ip6_t)); in libvarpd_proxy_ndp_fini()
417 bcopy(&vaq->vaq_ns->nd_ns_target, &v6hdr->ip6_src, in libvarpd_proxy_ndp_fini()
441 bcopy(vaq->vaq_lookup, resp + roff, ETHERADDRL); in libvarpd_proxy_ndp_fini()
622 bcopy(dstmac, &eh->ether_dhost, ETHERADDRL); in libvarpd_inject_arp()
623 bcopy(srcmac, &eh->ether_shost, ETHERADDRL); in libvarpd_inject_arp()
631 bcopy(dstmac, &eh->ether_dhost, ETHERADDRL); in libvarpd_inject_arp()
632 bcopy(srcmac, &eh->ether_shost, ETHERADDRL); in libvarpd_inject_arp()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Daes_provider.c123 bcopy(nlobp, tmp, BLOCK_SIZE); in krb5int_aes_encrypt()
124 bcopy(lobp, nlobp, BLOCK_SIZE); in krb5int_aes_encrypt()
125 bcopy(tmp, lobp, BLOCK_SIZE); in krb5int_aes_encrypt()
387 bcopy(nlobp, tmp, BLOCK_SIZE); in krb5int_aes_encrypt()
388 bcopy(lobp, nlobp, BLOCK_SIZE); in krb5int_aes_encrypt()
389 bcopy(tmp, lobp, BLOCK_SIZE); in krb5int_aes_encrypt()
567 bcopy(nlibp, tmp, BLOCK_SIZE); in krb5int_aes_decrypt()
569 bcopy(tmp, libp, BLOCK_SIZE); in krb5int_aes_decrypt()
668 bcopy(tmp_output_data, in krb5int_aes_decrypt()
817 bcopy(tmp, libp, BLOCK_SIZE); in krb5int_aes_decrypt()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat_y.y373 bcopy(&$1.a, &nat->in_in[0],
390 bcopy(&$1.a, &nat->in_in[0],
392 bcopy(&$4.a, &nat->in_in[1],
531 bcopy(&$1.a, &nat->in_src[0],
533 bcopy(&$1.m, &nat->in_src[1],
536 bcopy(&$1.a, &nat->in_in[0],
538 bcopy(&$1.m, &nat->in_in[1],
556 bcopy(&$1.a, &nat->in_out[0],
558 bcopy(&$1.m, &nat->in_out[1],
561 bcopy(&$1.a, &nat->in_src[0],
[all …]
H A Dipf_y.y964 bcopy(&$1, &$$.a, sizeof($$.a));
973 bcopy(&$1, &$$.a, sizeof($$.a));
981 bcopy(&$5, &$$.m, sizeof($$.m));
985 bcopy(&$1, &$$.a, sizeof($$.a));
991 bcopy(&$1, &$$.a, sizeof($$.a)); }
1928 bcopy(f2, f, sizeof(*f)); in addrule()
1945 bcopy(f1, f, sizeof(*f)); in addrule()
2123 (void *)bcopy((void *)&a->al_i6addr,
2126 (void *)bcopy((void *)&a->al_i6mask,
2167 (void *)bcopy((void *)&a->al_i6addr,
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzio_crypt.c770 bcopy(salt, &val64, sizeof (uint64_t)); in zio_crypt_encode_params_bp()
773 bcopy(iv, &val64, sizeof (uint64_t)); in zio_crypt_encode_params_bp()
807 bcopy(&val64, iv, sizeof (uint64_t)); in zio_crypt_decode_params_bp()
827 bcopy(mac, &val64, sizeof (uint64_t)); in zio_crypt_encode_mac_bp()
854 bcopy(&val64, mac, sizeof (uint64_t)); in zio_crypt_decode_mac_bp()
1051 bcopy(&bab, *aadp, bab_len); in zio_crypt_bp_do_aad_updates()
1074 bcopy(dnp, tmp_dncore, cd.cd_length); in zio_crypt_do_dnode_hmac_updates()
1457 bcopy(src, dst, sizeof (zil_chain_t)); in zio_crypt_init_uios_zil()
1479 bcopy(slrp, dlrp, sizeof (lr_t)); in zio_crypt_init_uios_zil()
1480 bcopy(slrp, aadp, sizeof (lr_t)); in zio_crypt_init_uios_zil()
[all …]
/illumos-gate/usr/src/cmd/fwflash/plugins/vendor/
H A Dtavor-MELLANOX.c119 bcopy(&firmware[sector_sz / 4], vps, sizeof (struct mlx_xps)); in vendorvrfy()
143 bcopy(vps->vsdpsid+0xd0, &rawpsid, 16); in vendorvrfy()
196 bcopy(&firmware[sector_sz / 2], vps, sizeof (struct mlx_xps)); in vendorvrfy()
216 bcopy(&firmware[vp_fia / 4], vfi, sector_sz); in vendorvrfy()
217 bcopy(&vfi[XFI_IMGINFO_OFFSET], &i, 4); in vendorvrfy()
271 bcopy(&firmware[vs_fia / 4], vfi, sector_sz); in vendorvrfy()
273 bcopy(&vfi[XFI_IMGINFO_OFFSET], &i, 4); in vendorvrfy()
329 bcopy(data, &xfisect, sizeof (xfisect)); in check_guid_ptr()
330 bcopy(&data[MLXSWAPBITS32(xfisect.nguidptr) - 16], &guidsect, in check_guid_ptr()
/illumos-gate/usr/src/boot/libsa/
H A Dbootp.c101 bcopy("PXEClient", &bp_vend[2], 9); in bootp_fill_request()
107 bcopy("illumos", &bp_vend[14], 7); in bootp_fill_request()
158 bcopy(vm_rfc1048, bp->bp_vend, sizeof (vm_rfc1048)); in bootp()
190 bcopy(&rbootp->bp_yiaddr, &bp->bp_vend[9], 4); in bootp()
193 bcopy(&dhcp_serverip.s_addr, &bp->bp_vend[15], 4); in bootp()
197 bcopy(&leasetime, &bp->bp_vend[21], 4); in bootp()
331 bcopy(bp, bootp_response, bootp_response_size); in bootprecv()
377 bcopy(cp, &netmask, sizeof (netmask)); in vend_rfc1048()
428 bcopy(cp, &dhcp_serverip.s_addr, in vend_rfc1048()
704 bcopy(cp, buf, size); /* cannot overflow */ in setenv_()
[all …]
/illumos-gate/usr/src/common/crypto/ecc/
H A Decl_curve.c72 bcopy(params->text, ret->text, strlen(params->text) + 1); in ECCurveParams_dup()
82 bcopy(params->irr, ret->irr, strlen(params->irr) + 1); in ECCurveParams_dup()
90 bcopy(params->curvea, ret->curvea, strlen(params->curvea) + 1); in ECCurveParams_dup()
98 bcopy(params->curveb, ret->curveb, strlen(params->curveb) + 1); in ECCurveParams_dup()
106 bcopy(params->genx, ret->genx, strlen(params->genx) + 1); in ECCurveParams_dup()
114 bcopy(params->geny, ret->geny, strlen(params->geny) + 1); in ECCurveParams_dup()
122 bcopy(params->order, ret->order, strlen(params->order) + 1); in ECCurveParams_dup()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb3_kdf.c107 bcopy(label, &kdfbuf[pos], label_len); in smb3_kdf()
113 bcopy(context, &kdfbuf[pos], context_len); in smb3_kdf()
116 bcopy(L, &kdfbuf[pos], 4); in smb3_kdf()
135 bcopy(digest32, outbuf, SMB3_KEYLEN); in smb3_kdf()
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dgetdents.c100 bcopy((caddr_t)&nfp->fh.fh2, (caddr_t)&rda.dir, NFS_FHSIZE); in nfsgetdents()
101 bcopy((caddr_t)nfp->cookie.cookie2, (caddr_t)rda.cookie, in nfsgetdents()
174 bcopy(ep->cookie, &offset, sizeof (nfscookie)); in nfsgetdents()
179 bcopy(ep->cookie, rda.cookie, sizeof (nfscookie)); in nfsgetdents()
180 bcopy(ep->cookie, nfp->cookie.cookie2, in nfsgetdents()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dget_addrs.c47 #define bcopy(a, b, c) memcpy((b), (a), (c)) macro
79 bcopy(hp->h_addr, (char *)&my_machine_addr, hp->h_length);
85 bcopy((char *)&my_machine_addr, (char *)&rem_machine_addr,
108 bcopy(hp->h_addr, (char *) &rem_machine_addr, hp->h_length);
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dsgfru.c1392 bcopy(hdls, datap, sizeof (hdls)); in sgfru_mbox()
1696 bcopy(tdatap, (caddr_t)&fru->hdl, FRU_HDL_SIZE); in sgfru_fru_pad()
1698 bcopy(tdatap, (caddr_t)&fru->cnt, FRU_CNT_SIZE); in sgfru_fru_pad()
1730 bcopy(tdatap, (caddr_t)&np->class, CLASS_SIZE); in sgfru_node_pad()
1790 bcopy(tdatap, (caddr_t)&sp->name, NAME_SIZE); in sgfru_segment_pad()
1820 bcopy(tdatap, (caddr_t)&pp->tag, TAG_SIZE); in sgfru_packet_pad()
1835 bcopy((caddr_t)&fru->hdl, tdatap, FRU_HDL_SIZE); in sgfru_fru_unpad()
1837 bcopy((caddr_t)&fru->cnt, tdatap, FRU_CNT_SIZE); in sgfru_fru_unpad()
1852 bcopy((caddr_t)&fru->hdl, tdatap, FRU_HDL_SIZE); in sgfru_segment_unpad()
1856 bcopy((caddr_t)&segp->name, tdatap, NAME_SIZE); in sgfru_segment_unpad()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dvtoc.h176 bcopy(extv.v_volume, v.v_volume, LEN_DKL_VVOL); \
188 bcopy(extv.v_asciilabel, v.v_asciilabel, LEN_DKL_ASCII); \
199 bcopy(v.v_volume, extv.v_volume, LEN_DKL_VVOL); \
213 bcopy(v.v_asciilabel, extv.v_asciilabel, LEN_DKL_ASCII); \
246 bcopy(v32.v_volume, v.v_volume, LEN_DKL_VVOL); \
260 bcopy(v32.v_asciilabel, v.v_asciilabel, LEN_DKL_ASCII); \
271 bcopy(v32.v_volume, extv.v_volume, LEN_DKL_VVOL); \
284 bcopy(v32.v_asciilabel, extv.v_asciilabel, LEN_DKL_ASCII); \
296 bcopy(v.v_volume, v32.v_volume, LEN_DKL_VVOL); \
314 bcopy(v.v_asciilabel, v32.v_asciilabel, LEN_DKL_ASCII); \
[all …]
/illumos-gate/usr/src/uts/intel/os/
H A Dhma_fpu.c54 bcopy(&sse_initial, fpu->hf_guest_fpu.fpu_regs.kfpu_u.kfpu_fx, in hma_fpu_init()
66 bcopy(&avx_initial, xs, sizeof (*xs)); in hma_fpu_init()
281 bcopy(fpu->hf_guest_fpu.fpu_regs.kfpu_u.kfpu_generic, buf, in hma_fpu_get_xsave_state()
287 bcopy(&hdr, buf + sizeof (struct fxsave_state), sizeof (hdr)); in hma_fpu_get_xsave_state()
296 bcopy(fpu->hf_guest_fpu.fpu_regs.kfpu_u.kfpu_generic, buf, in hma_fpu_get_xsave_state()
387 bcopy(&sse_initial, in hma_fpu_set_xsave_state()
424 bcopy(guest, fx, sizeof (*fx)); in hma_fpu_get_fxsave_state()
451 bcopy(fx, gfx, sizeof (*fx)); in hma_fpu_set_fxsave_state()
456 bcopy(fx, &gxs->xs_fxsave, sizeof (*fx)); in hma_fpu_set_fxsave_state()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_sd.c225 bcopy(&ace->se_hdr, &m_ace->header, sizeof (mslm_ace_hdr_t)); in srvsvc_ace_set_relative()
230 bcopy(ace->se_sid, m_sid, smb_sid_len(ace->se_sid)); in srvsvc_ace_set_relative()
298 bcopy(sd->sd_owner, &sdbuf[offset], len); in srvsvc_sd_set_relative()
309 bcopy(sd->sd_group, &sdbuf[offset], len); in srvsvc_sd_set_relative()
381 bcopy(&m_ace->header, &ace->se_hdr, sizeof (mslm_ace_hdr_t)); in srvsvc_ace_set_absolute()
387 bcopy(m_sid, ace->se_sid, sid_size); in srvsvc_ace_set_absolute()
406 bcopy(&sdbuf[*offset], &rev, sizeof (uint8_t)); in srvsvc_acl_set_absolute()
408 bcopy(&sdbuf[*offset], &sz, sizeof (uint16_t)); in srvsvc_acl_set_absolute()
410 bcopy(&sdbuf[*offset], &ace_cnt, sizeof (uint16_t)); in srvsvc_acl_set_absolute()
451 bcopy(m_sid, sd->sd_owner, sid_size); in srvsvc_sd_set_absolute()
[all …]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_heartbeat.c100 bcopy((void *)(hbcp + 1), (void *)(cp + 1), len - sizeof (*cp)); in sctp_return_heartbeat()
162 bcopy(&now, t, sizeof (now)); in sctp_send_heartbeat()
172 bcopy(&fp->sf_hb_secret, t, sizeof (uint64_t)); in sctp_send_heartbeat()
183 bcopy(&fp->sf_faddr, a, sizeof (*a)); in sctp_send_heartbeat()
309 bcopy(sentp, &sent, sizeof (sent)); in sctp_process_heartbeat()
312 bcopy(++sentp, &secret, sizeof (secret)); in sctp_process_heartbeat()
315 bcopy(++sentp, &addr, sizeof (addr)); in sctp_process_heartbeat()

12345678910>>...62