Home
last modified time | relevance | path

Searched refs:bcopy (Results 151 – 175 of 1779) sorted by relevance

12345678910>>...72

/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_ipsec_pxy.c172 bcopy(nat->nat_ptr->in_ifnames[0], ipn->in_ifnames[0],
176 bcopy((char *)fin, (char *)&fi, sizeof(fi));
187 bcopy(ptr, (char *)ipsec->ipsc_icookie, sizeof(ipsec_cookie_t));
189 bcopy(ptr, (char *)ipsec->ipsc_rcookie, sizeof(ipsec_cookie_t));
244 bcopy((char *)fin, (char *)&fi, sizeof(fi));
/illumos-gate/usr/src/uts/common/io/overlay/
H A Doverlay_target.c336 bcopy(&ott->ott_u.ott_point.otp_ip, &v6->sin6_addr, in overlay_target_lookup()
363 bcopy(mhi.mhi_daddr, entry->ote_addr, ETHERADDRL); in overlay_target_lookup()
382 bcopy(&entry->ote_dest.otp_ip, &v6->sin6_addr, in overlay_target_lookup()
499 bcopy(&ota->ota_point, &ott->ott_u.ott_point, in overlay_target_associate()
640 bcopy(mhi.mhi_daddr, otl->otl_dstaddr, ETHERADDRL); in overlay_target_lookup_request()
676 bcopy(&otr->otr_answer, &entry->ote_dest, in overlay_target_lookup_respond()
1105 bcopy(&ote->ote_dest, in overlay_target_cache_get()
1177 bcopy(&otc->otc_entry.otce_dest, &ote->ote_dest, in overlay_target_cache_set()
1369 bcopy(&ott->ott_u.ott_point, &out->otce_dest, in overlay_target_cache_iter()
1401 bcopy(ent->ote_addr, out->otce_mac, ETHERADDRL); in overlay_target_cache_iter()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_hub.c177 bcopy(&stand, mp->b_wptr, sizeof (stand)); in xhci_root_hub_get_device_status()
187 bcopy(&psm, mp->b_wptr, sizeof (psm)); in xhci_root_hub_get_device_status()
214 bcopy(&status, mp->b_wptr, sizeof (status)); in xhci_root_hub_get_status()
239 bcopy(&xhcip->xhci_usba.xa_hub_descr, ucrp->ctrl_data->b_wptr, len); in xhci_root_hub_get_descriptor()
533 bcopy(&ps, mp->b_wptr, sizeof (uint16_t)); in xhci_root_hub_handle_port_get_status()
535 bcopy(&cs, mp->b_wptr, sizeof (uint16_t)); in xhci_root_hub_handle_port_get_status()
672 bcopy(&mask, mp->b_wptr, sizeof (mask)); in xhci_root_hub_psc_callback()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dswrand.c242 bcopy(swrand_XKEY, previous_bytes, HASHSIZE); in _init()
328 bcopy(leftover, ptr, bytes); in swrand_get_entropy()
411 bcopy(tempout, previous_bytes, HASHSIZE); in swrand_get_entropy()
413 bcopy(tempout, ptr, size); in swrand_get_entropy()
416 bcopy((uint8_t *)tempout + bytes, leftover, in swrand_get_entropy()
624 bcopy(srndpool, ptr, RNDPOOLSIZE); in physmem_ent_init()
631 bcopy(srndpool, ptr, i); in physmem_ent_init()
H A Drsa.c636 bcopy(ptptr, &plain_data[modulus_len - plen], plen); in rsa_encrypt_common()
1000 bcopy(MD5_DER_PREFIX, der_data, MD5_DER_PREFIX_Len); in rsa_digest_svrfy_common()
1006 bcopy(SHA1_DER_PREFIX, der_data, SHA1_DER_PREFIX_Len); in rsa_digest_svrfy_common()
1007 bcopy(digest, der_data + SHA1_DER_PREFIX_Len, in rsa_digest_svrfy_common()
1013 bcopy(SHA256_DER_PREFIX, der_data, SHA2_DER_PREFIX_Len); in rsa_digest_svrfy_common()
1014 bcopy(digest, der_data + SHA2_DER_PREFIX_Len, in rsa_digest_svrfy_common()
1020 bcopy(SHA384_DER_PREFIX, der_data, SHA2_DER_PREFIX_Len); in rsa_digest_svrfy_common()
1021 bcopy(digest, der_data + SHA2_DER_PREFIX_Len, in rsa_digest_svrfy_common()
1027 bcopy(SHA512_DER_PREFIX, der_data, SHA2_DER_PREFIX_Len); in rsa_digest_svrfy_common()
1028 bcopy(digest, der_data + SHA2_DER_PREFIX_Len, in rsa_digest_svrfy_common()
[all …]
H A Dsha2_mod.c75 bcopy((m)->cm_param, &tmp_ulong, sizeof (ulong_t)); \
399 bcopy(digest_scratch, (uchar_t *)digest-> in sha2_digest_final_uio()
426 bcopy(digest_tmp + scratch_offset, in sha2_digest_final_uio()
541 bcopy(digest_scratch, mp->b_rptr + offset, digest_len); in sha2_digest_final_mblk()
561 bcopy(digest_tmp + scratch_offset, in sha2_digest_final_mblk()
913 (void) bcopy(keyval, ipad, length_in_bytes); in sha2_mac_init_ctx()
914 (void) bcopy(keyval, opad, length_in_bytes); in sha2_mac_init_ctx()
988 bcopy(ctx_template, PROV_SHA2_HMAC_CTX(ctx), in sha2_mac_init()
1135 bcopy(digest, (unsigned char *)mac->cd_raw.iov_base + in sha2_mac_final()
1228 bcopy(ctx_template, &sha2_hmac_ctx, sizeof (sha2_hmac_ctx_t)); in sha2_mac_atomic()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_alloc.c125 bcopy(ptr, p, size); in smb_mem_strdup()
208 bcopy(s, p, size); in smb_srm_strdup()
307 bcopy(ptr, new_ptr, smh->smh_size); in smb_realloc()
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv6.c148 bcopy(tmpl_ip6hp, ip6hp, hdr_len); in mac_ipv6_header()
168 bcopy(saddr, &(ip6hp->ip6_src), sizeof (in6_addr_t)); in mac_ipv6_header()
169 bcopy(daddr, &(ip6hp->ip6_dst), sizeof (in6_addr_t)); in mac_ipv6_header()
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_debug.c189 bcopy((caddr_t)rds_print_buf, in rds_vlog()
191 bcopy((caddr_t)rds_print_buf + left, in rds_vlog()
195 bcopy((caddr_t)rds_print_buf, rds_buf_sptr, len); in rds_vlog()
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dipft_pc.c208 bcopy(bufp, buf, n);
244 bcopy(s, ty, l->lc_tl);
248 bcopy(s, buf, n);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dedonr_zfs.c56 bcopy(ctx_template, &ctx, sizeof (ctx)); in abd_checksum_edonr_native()
59 bcopy(digest, zcp->zc_word, sizeof (zcp->zc_word)); in abd_checksum_edonr_native()
/illumos-gate/usr/src/lib/libuuid/common/
H A Detheraddr.c83 bcopy(&ar.arp_ha.sa_data, node, 6); in arp_get()
111 bcopy(state.wa_etheraddr, node, state.wa_etheraddrlen); in get_ethernet_address()
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_enclosure_ctl.c105 bcopy(data + offset, &uip->sucpi_ucode_data[0], in enc_do_ucode()
182 bcopy(data, spip->ssopi_data, datalen); in enc_ctl_string()
192 bcopy(data, pip->ssopi_data, datalen); in enc_ctl_string()
227 bcopy(nick, pip->sspci_subenclosure_nickname, len); in enc_ctl_nick()
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_prop.c90 bcopy(buf, infop->vprop_default, len); in libvarpd_prop_set_default()
297 bcopy(infop->vprop_name, vcfap->vcfa_name, LIBVARPD_PROP_NAMELEN); in libvarpd_prop_door_convert()
298 bcopy(infop->vprop_default, vcfap->vcfa_default, LIBVARPD_PROP_SIZEMAX); in libvarpd_prop_door_convert()
299 bcopy(infop->vprop_poss, vcfap->vcfa_poss, LIBVARPD_PROP_SIZEMAX); in libvarpd_prop_door_convert()
/illumos-gate/usr/src/lib/varpd/direct/common/
H A Dlibvarpd_direct.c138 bcopy(&vdp->vad_ip, &otp->otp_ip, sizeof (struct in6_addr)); in varpd_direct_default()
208 bcopy(&vdp->vad_ip, buf, sizeof (struct in6_addr)); in varpd_direct_getprop()
226 bcopy(&val, buf, sizeof (uint64_t)); in varpd_direct_getprop()
256 bcopy(buf, &vdp->vad_ip, sizeof (struct in6_addr)); in varpd_direct_setprop()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c293 bcopy(u->ut_name, name, NMAX); in doall()
295 bcopy(u->ut_line, p->tty, LMAX); in doall()
297 bcopy(u->ut_host, p->host, HMAX); in doall()
416 bcopy(u->ut_line, p->tty, LMAX); in donames()
418 bcopy(u->ut_host, p->host, HMAX); in donames()
426 bcopy(u->ut_line, new->tty, LMAX); in donames()
428 bcopy(u->ut_host, new->host, HMAX); in donames()
758 bcopy(ll.ll_line, pers->tty, l_max); in findwhen()
760 bcopy(ll.ll_host, pers->host, h_max); in findwhen()
1231 bcopy(hp->h_addr_list[0], (char *)&sin6.sin6_addr, hp->h_length); in netfinger()
[all …]
/illumos-gate/usr/src/common/ctf/
H A Dctf_open.c590 bcopy(ctfsect->cts_data, &hp, sizeof (hp)); in ctf_bufopen()
648 bcopy(ctfsect->cts_data, base, hdrsz); in ctf_bufopen()
687 bcopy(ctfsect, &fp->ctf_data, sizeof (ctf_sect_t)); in ctf_bufopen()
690 bcopy(symsect, &fp->ctf_symtab, sizeof (ctf_sect_t)); in ctf_bufopen()
691 bcopy(strsect, &fp->ctf_strtab, sizeof (ctf_sect_t)); in ctf_bufopen()
816 bcopy(&ofp->ctf_data, &ctfsect, sizeof (ctf_sect_t)); in ctf_dup()
823 bcopy(ctfsect.cts_data, cbuf, ctfsect.cts_size); in ctf_dup()
830 bcopy(&ofp->ctf_symtab, &symsect, sizeof (ctf_sect_t)); in ctf_dup()
836 bcopy(symsect.cts_data, symbuf, symsect.cts_size); in ctf_dup()
846 bcopy(&ofp->ctf_strtab, &strsect, sizeof (ctf_sect_t)); in ctf_dup()
[all …]
/illumos-gate/usr/src/lib/krb5/dyn/
H A Ddyn_insert.c51 bcopy(obj->array + obj->el_size*idx,
63 bcopy(els, obj->array + obj->el_size*idx, obj->el_size*num);
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_asconf.c163 bcopy(&cid, wph + 1, sizeof (uint32_t)); in sctp_asconf_prepend_errwrap()
546 bcopy(&addr, aptr, in sctp_input_asconf()
553 bcopy(&addr, dptr, in sctp_input_asconf()
723 bcopy(&addr, aptr, in sctp_input_asconf_ack()
728 bcopy(&addr, dptr, in sctp_input_asconf_ack()
780 bcopy(&addr, aptr, in sctp_input_asconf_ack()
785 bcopy(&addr, dptr, in sctp_input_asconf_ack()
979 bcopy(&addr4, ph + 1, IP_ADDR_LEN); in sctp_wput_asconf()
1069 bcopy(errph, mp->b_wptr, elen); in sctp_asconf_adderr()
1129 bcopy(ph + 1, &addr, sizeof (addr)); in sctp_check_addip_addr()
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Doptcom.c303 bcopy(optd->opdes_defbuf, in svr4_optcom_req()
435 bcopy(&opt[1], &opt1[1], opt->len); in svr4_optcom_req()
920 bcopy(opt, optr, opt->len); in do_options_second_pass()
944 bcopy(opt, optr, opt->len); in do_options_second_pass()
1100 bcopy(optd->opdes_defbuf, in do_opt_default()
1215 bcopy(optd->opdes_defbuf, in do_opt_default()
1312 bcopy(reqopt, *resptrp, reqopt->len); in do_opt_current()
1464 bcopy(reqopt, *resptrp, reqopt->len); in do_opt_check_or_negotiate()
1721 bcopy(opt, optr, opt->len); in tpi_optcom_buf()
1914 bcopy(invalp, optp, inlen); in optcom_pkt_set()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dmd.c111 bcopy(md_image.start + ofs, buf, size); in md_strategy()
114 bcopy(buf, md_image.start + ofs, size); in md_strategy()
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlvnic.c125 bcopy(attr->va_mac_addr, ioc.vc_mac_addr, MAXMACADDRLEN); in i_dladm_vnic_create_sys()
126 bcopy(&attr->va_resource_props, &ioc.vc_resource_props, in i_dladm_vnic_create_sys()
148 bcopy(ioc.vc_mac_addr, attr->va_mac_addr, MAXMACADDRLEN); in i_dladm_vnic_create_sys()
182 bcopy(vnic->vn_mac_addr, attrp->va_mac_addr, MAXMACADDRLEN); in i_dladm_vnic_info_active()
480 bcopy(dladm_vnic_def_prefix, mac_addr, mac_prefix_len); in dladm_vnic_create()
543 bcopy(mac_addr, attr.va_mac_addr, mac_len); in dladm_vnic_create()
545 bcopy(mac_addr, attr.va_mac_addr, mac_prefix_len); in dladm_vnic_create()
687 bcopy(b, buf, len); in dladm_vnic_str2macaddr()
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_q.c383 bcopy(gwi->gw_system_name, new_gwi->gw_system_name, in eibnx_add_gw_to_gwlist()
385 bcopy(gwi->gw_port_name, new_gwi->gw_port_name, in eibnx_add_gw_to_gwlist()
387 bcopy(gwi->gw_vendor_id, new_gwi->gw_vendor_id, in eibnx_add_gw_to_gwlist()
539 bcopy(new_gwi->gw_system_name, orig_gwi->gw_system_name, in eibnx_replace_gw_in_gwlist()
548 bcopy(new_gwi->gw_port_name, orig_gwi->gw_port_name, in eibnx_replace_gw_in_gwlist()
557 bcopy(new_gwi->gw_vendor_id, orig_gwi->gw_vendor_id, in eibnx_replace_gw_in_gwlist()
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnxrcv.c321 bcopy(dataptr, mp->b_rptr, 12); in bnx_recv_ring_recv()
324 bcopy(&tpid, mp->b_rptr + 12, 2); in bnx_recv_ring_recv()
325 bcopy(&vlan_tag, mp->b_rptr + 14, 2); in bnx_recv_ring_recv()
330 bcopy(dataptr, mp->b_rptr + 16, in bnx_recv_ring_recv()
356 bcopy(dataptr, mp->b_rptr, pktlen); in bnx_recv_ring_recv()
/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_svc.c207 bcopy(uu, &id.data2, sizeof (uuid_t)); in ndr_hdalloc()
214 bcopy(&id, &hd->nh_id, sizeof (ndr_hdid_t)); in ndr_hdalloc()
461 bcopy(buf, iov->iov_base, nbytes); in ndr_uiomove()
463 bcopy(iov->iov_base, buf, nbytes); in ndr_uiomove()

12345678910>>...72