| /freebsd-11-stable/contrib/gdb/gdb/ |
| HD | remote-vxmips.c | 106 bcopy (&mips_greg_packet[MIPS_R_GP0], &deprecated_registers[0], in vx_read_register() 111 bcopy (&mips_greg_packet[MIPS_R_SR], in vx_read_register() 113 bcopy (&mips_greg_packet[MIPS_R_LO], in vx_read_register() 115 bcopy (&mips_greg_packet[MIPS_R_HI], in vx_read_register() 117 bcopy (&mips_greg_packet[MIPS_R_PC], in vx_read_register() 132 bcopy (&mips_fpreg_packet[MIPS_R_FP0], in vx_read_register() 138 bcopy (&mips_fpreg_packet[MIPS_R_FPCSR], in vx_read_register() 166 bcopy (&deprecated_registers[0], &mips_greg_packet[MIPS_R_GP0], in vx_write_register() 171 bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (PS_REGNUM)], in vx_write_register() 173 bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (mips_regnum (current_gdbarch)->lo)], in vx_write_register() [all …]
|
| HD | remote-vx68.c | 88 bcopy (&mc68k_greg_packet[MC68K_R_D0], deprecated_registers, in vx_read_register() 90 bcopy (&mc68k_greg_packet[MC68K_R_SR], in vx_read_register() 93 bcopy (&mc68k_greg_packet[MC68K_R_PC], in vx_read_register() 105 bcopy (&mc68k_fpreg_packet[MC68K_R_FP0], in vx_read_register() 108 bcopy (&mc68k_fpreg_packet[MC68K_R_FPCR], in vx_read_register() 137 bcopy (deprecated_registers, &mc68k_greg_packet[MC68K_R_D0], in vx_write_register() 139 bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (PS_REGNUM)], in vx_write_register() 141 bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (PC_REGNUM)], in vx_write_register() 150 bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FP0_REGNUM)], in vx_write_register() 153 bcopy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (FPC_REGNUM)], in vx_write_register()
|
| /freebsd-11-stable/sys/powerpc/aim/ |
| HD | aim_machdep.c | 255 bcopy(&testppc64, (void *)EXC_PGM, (size_t)&testppc64size); in aim_cpu_init() 276 bcopy(&rfid_patch,&rfi_patch1,4); in aim_cpu_init() 279 bcopy(&rfid_patch,&rfi_patch2,4); in aim_cpu_init() 293 bcopy(&trapcode, (void *)trap, trapsize); in aim_cpu_init() 303 bcopy(&restorebridge, (void *)EXC_RST, trap_offset); in aim_cpu_init() 304 bcopy(&restorebridge, (void *)EXC_DSI, trap_offset); in aim_cpu_init() 305 bcopy(&restorebridge, (void *)EXC_ALI, trap_offset); in aim_cpu_init() 306 bcopy(&restorebridge, (void *)EXC_PGM, trap_offset); in aim_cpu_init() 307 bcopy(&restorebridge, (void *)EXC_MCHK, trap_offset); in aim_cpu_init() 308 bcopy(&restorebridge, (void *)EXC_TRC, trap_offset); in aim_cpu_init() [all …]
|
| /freebsd-11-stable/contrib/ipfilter/ipsend/ |
| HD | ip.c | 65 bcopy((char *)buf, s + sizeof(*eh), len); 68 bcopy(last_arp, (char *) &eh->ether_dhost, 6); 113 bcopy(last_arp, (char *) &eh->ether_dhost, 6); 120 bcopy((char *) &eh->ether_dhost, last_arp, sizeof(last_arp)); 123 bcopy((char *)ip, (char *)&ipsv, sizeof(*ip)); 138 bcopy(local_arp, (char *) &eh->ether_shost,sizeof(last_arp)); 141 bcopy(local_arp, (char *) &eh->ether_shost, 6); 148 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen); 184 bcopy(s, optcpy + i, olen); 200 bcopy((char *)eh, (char *)ð, sizeof(eth)); [all …]
|
| HD | arp.c | 51 bcopy((char *)hp->h_addr, (char *)address, 4); 54 bcopy((char*)&add, address, 4); 79 bcopy(ethersave, ether, 6); 86 bcopy(ip, (char *)&sin->sin_addr.s_addr, 4); 109 bcopy(ip, &san.sin_addr.s_addr, 4); 130 bcopy(ar.arp_ha.sa_data, ether, 6); 132 bcopy(ether, ethersave, 6); 133 bcopy(ip, ipsave, 4);
|
| /freebsd-11-stable/sys/geom/vinum/ |
| HD | geom_vinum_drive.c | 150 bcopy(d_hdr + off, m_hdr->label.sysname, GV_HOSTNAME_LEN); in gv_read_header() 152 bcopy(d_hdr + off, m_hdr->label.name, GV_MAXDRIVENAME); in gv_read_header() 169 bcopy(d_hdr + 16, m_hdr->label.sysname, GV_HOSTNAME_LEN); in gv_read_header() 171 bcopy(d_hdr + 48, m_hdr->label.name, GV_MAXDRIVENAME); in gv_read_header() 183 bcopy(d_hdr + off, m_hdr->label.sysname, GV_HOSTNAME_LEN); in gv_read_header() 185 bcopy(d_hdr + off, m_hdr->label.name, GV_MAXDRIVENAME); in gv_read_header() 197 bcopy(d_hdr + off, m_hdr->label.sysname, GV_HOSTNAME_LEN); in gv_read_header() 199 bcopy(d_hdr + off, m_hdr->label.name, GV_MAXDRIVENAME); in gv_read_header() 211 bcopy(d_hdr + 16, m_hdr->label.sysname, GV_HOSTNAME_LEN); in gv_read_header() 213 bcopy(d_hdr + 48, m_hdr->label.name, GV_MAXDRIVENAME); in gv_read_header() [all …]
|
| /freebsd-11-stable/sys/cam/ |
| HD | cam_compat.c | 163 bcopy(&cts17->proto_specific, &cts->proto_specific, in cam_compat_handle_0x17() 165 bcopy(&cts17->xport_specific, &cts->xport_specific, in cam_compat_handle_0x17() 168 bcopy(ccbb17, ccbb, CAM_0X17_DATA_LEN); in cam_compat_handle_0x17() 202 bcopy(&cpi->vuhba_flags[0], &cpi17->vuhba_flags[0], VUHBALEN); in cam_compat_handle_0x17() 208 bcopy(&cpi->sim_vid[0], &cpi17->sim_vid[0], SIM_IDLEN); in cam_compat_handle_0x17() 209 bcopy(&cpi->hba_vid[0], &cpi17->hba_vid[0], HBA_IDLEN); in cam_compat_handle_0x17() 210 bcopy(&cpi->dev_name[0], &cpi17->dev_name[0], DEV_IDLEN); in cam_compat_handle_0x17() 218 bcopy(&cpi->xport_specific, &cpi17->xport_specific, in cam_compat_handle_0x17() 236 bcopy(&cts->proto_specific, &cts17->proto_specific, in cam_compat_handle_0x17() 238 bcopy(&cts->xport_specific, &cts17->xport_specific, in cam_compat_handle_0x17() [all …]
|
| /freebsd-11-stable/sys/dev/gpio/ |
| HD | gpioc.c | 139 bcopy(&max_pin, arg, sizeof(max_pin)); in gpioc_ioctl() 142 bcopy(arg, &pin, sizeof(pin)); in gpioc_ioctl() 151 bcopy(&pin, arg, sizeof(pin)); in gpioc_ioctl() 154 bcopy(arg, &pin, sizeof(pin)); in gpioc_ioctl() 164 bcopy(arg, &req, sizeof(req)); in gpioc_ioctl() 169 bcopy(&req, arg, sizeof(req)); in gpioc_ioctl() 172 bcopy(arg, &req, sizeof(req)); in gpioc_ioctl() 179 bcopy(arg, &req, sizeof(req)); in gpioc_ioctl() 185 bcopy(arg, &pin, sizeof(pin)); in gpioc_ioctl()
|
| /freebsd-11-stable/sys/geom/raid3/ |
| HD | g_raid3.h | 292 bcopy(md->md_magic, data, 16); in raid3_metadata_encode() 294 bcopy(md->md_name, data + 20, 16); in raid3_metadata_encode() 305 bcopy(md->md_provider, data + 88, 16); in raid3_metadata_encode() 310 bcopy(md->md_hash, data + 112, 16); in raid3_metadata_encode() 317 bcopy(data + 20, md->md_name, 16); in raid3_metadata_decode_v0v1v2() 327 bcopy(data + 84, md->md_provider, 16); in raid3_metadata_decode_v0v1v2() 328 bcopy(data + 100, md->md_hash, 16); in raid3_metadata_decode_v0v1v2() 346 bcopy(data + 20, md->md_name, 16); in raid3_metadata_decode_v3() 357 bcopy(data + 88, md->md_provider, 16); in raid3_metadata_decode_v3() 358 bcopy(data + 104, md->md_hash, 16); in raid3_metadata_decode_v3() [all …]
|
| /freebsd-11-stable/sys/geom/stripe/ |
| HD | g_stripe.h | 99 bcopy(md->md_magic, data, sizeof(md->md_magic)); in stripe_metadata_encode() 101 bcopy(md->md_name, data + 20, sizeof(md->md_name)); in stripe_metadata_encode() 106 bcopy(md->md_provider, data + 48, sizeof(md->md_provider)); in stripe_metadata_encode() 113 bcopy(data, md->md_magic, sizeof(md->md_magic)); in stripe_metadata_decode() 115 bcopy(data + 20, md->md_name, sizeof(md->md_name)); in stripe_metadata_decode() 120 bcopy(data + 48, md->md_provider, sizeof(md->md_provider)); in stripe_metadata_decode()
|
| /freebsd-11-stable/sys/geom/shsec/ |
| HD | g_shsec.h | 95 bcopy(md->md_magic, data, sizeof(md->md_magic)); in shsec_metadata_encode() 97 bcopy(md->md_name, data + 20, sizeof(md->md_name)); in shsec_metadata_encode() 101 bcopy(md->md_provider, data + 44, sizeof(md->md_provider)); in shsec_metadata_encode() 108 bcopy(data, md->md_magic, sizeof(md->md_magic)); in shsec_metadata_decode() 110 bcopy(data + 20, md->md_name, sizeof(md->md_name)); in shsec_metadata_decode() 114 bcopy(data + 44, md->md_provider, sizeof(md->md_provider)); in shsec_metadata_decode()
|
| /freebsd-11-stable/sys/geom/multipath/ |
| HD | g_multipath.h | 78 bcopy(md->md_magic, data, sizeof(md->md_magic)); in multipath_metadata_encode() 80 bcopy(md->md_uuid, data, sizeof(md->md_uuid)); in multipath_metadata_encode() 82 bcopy(md->md_name, data, sizeof(md->md_name)); in multipath_metadata_encode() 96 bcopy(data, md->md_magic, sizeof(md->md_magic)); in multipath_metadata_decode() 98 bcopy(data, md->md_uuid, sizeof(md->md_uuid)); in multipath_metadata_decode() 100 bcopy(data, md->md_name, sizeof(md->md_name)); in multipath_metadata_decode()
|
| /freebsd-11-stable/sys/geom/concat/ |
| HD | g_concat.h | 105 bcopy(md->md_magic, data, sizeof(md->md_magic)); in concat_metadata_encode() 107 bcopy(md->md_name, data + 20, sizeof(md->md_name)); in concat_metadata_encode() 111 bcopy(md->md_provider, data + 44, sizeof(md->md_provider)); in concat_metadata_encode() 118 bcopy(data, md->md_magic, sizeof(md->md_magic)); in concat_metadata_decode() 120 bcopy(data + 20, md->md_name, sizeof(md->md_name)); in concat_metadata_decode() 124 bcopy(data + 44, md->md_provider, sizeof(md->md_provider)); in concat_metadata_decode()
|
| /freebsd-11-stable/sys/geom/mirror/ |
| HD | g_mirror.h | 279 bcopy(md->md_magic, data, 16); in mirror_metadata_encode() 281 bcopy(md->md_name, data + 20, 16); in mirror_metadata_encode() 295 bcopy(md->md_provider, data + 95, 16); in mirror_metadata_encode() 300 bcopy(md->md_hash, data + 119, 16); in mirror_metadata_encode() 307 bcopy(data + 20, md->md_name, 16); in mirror_metadata_decode_v0v1() 320 bcopy(data + 91, md->md_provider, 16); in mirror_metadata_decode_v0v1() 321 bcopy(data + 107, md->md_hash, 16); in mirror_metadata_decode_v0v1() 339 bcopy(data + 20, md->md_name, 16); in mirror_metadata_decode_v2() 353 bcopy(data + 95, md->md_provider, 16); in mirror_metadata_decode_v2() 354 bcopy(data + 111, md->md_hash, 16); in mirror_metadata_decode_v2() [all …]
|
| /freebsd-11-stable/stand/libsa/ |
| HD | bootp.c | 106 bcopy("PXEClient", &bp_vend[2], 9); in bootp_fill_request() 112 bcopy("FreeBSD", &bp_vend[14], 7); in bootp_fill_request() 163 bcopy(vm_rfc1048, bp->bp_vend, sizeof(vm_rfc1048)); in bootp() 197 bcopy(&rbootp->bp_yiaddr, &bp->bp_vend[9], 4); in bootp() 200 bcopy(&dhcp_serverip.s_addr, &bp->bp_vend[15], 4); in bootp() 204 bcopy(&leasetime, &bp->bp_vend[21], 4); in bootp() 223 bcopy(rbootp->bp_file, bootfile, sizeof(bootfile)); in bootp() 339 bcopy(bp, bootp_response, bootp_response_size); in bootprecv() 385 bcopy(cp, &netmask, sizeof(netmask)); in vend_rfc1048() 388 bcopy(cp, &gateip.s_addr, sizeof(gateip.s_addr)); in vend_rfc1048() [all …]
|
| HD | nfs.c | 218 bcopy(path, args->path, len); in nfs_getrootfh() 237 bcopy(repl->fh, fhp, *fhlenp); in nfs_getrootfh() 280 bcopy(d->fh, args->fhplusname, d->fhsize); in nfs_lookupfh() 286 bcopy(name, &args->fhplusname[pos], len); in nfs_lookupfh() 306 bcopy(repl->fhplusattr, &newfd->fh, newfd->fhsize); in nfs_lookupfh() 312 bcopy(&repl->fhplusattr[pos], &newfd->fa, sizeof(newfd->fa)); in nfs_lookupfh() 352 bcopy(d->fh, args->fh, d->fhsize); in nfs_readlink() 380 bcopy(repl->path, buf, repl->len); in nfs_readlink() 421 bcopy(d->fh, args->fhoffcnt, d->fhsize); in nfs_readdata() 455 bcopy(repl->data, addr, x); in nfs_readdata() [all …]
|
| /freebsd-11-stable/contrib/ipfilter/ |
| HD | ip_msnrpc_pxy.c | 218 bcopy(s, (char *)&len, sizeof(len)); 231 bcopy(s, (char *)&sz, sizeof(sz)); 233 bcopy(s, (char *)&sz2, sizeof(sz2)); 250 bcopy(s, (char *)&len, sizeof(len)); 263 bcopy(s, (char *)&len, sizeof(len)); 274 bcopy(s, (char *)&mri->mri_rport, 2); 280 bcopy(s, (char *)&mri->mri_raddr, 4); 295 bcopy((char *)fin, (char *)&fi, sizeof(fi)); 300 bcopy((char *)fin, (char *)&fi, sizeof(fi));
|
| HD | arc4random.c | 219 bcopy(md5ctx.buf, pottail, numbytes); in ipf_rand_push() 222 bcopy(md5ctx.buf + sizeof(md5ctx.buf) - left, in ipf_rand_push() 226 bcopy(md5ctx.buf, pottail, sizeof(md5ctx.buf)); in ipf_rand_push() 250 bcopy(pothead, dest, numbytes); in ipf_read_random() 253 bcopy(pothead, dest + length - left, left); in ipf_read_random() 256 bcopy(pothead, dest, length); in ipf_read_random()
|
| /freebsd-11-stable/sys/geom/eli/ |
| HD | g_eli_hmac.c | 60 bcopy(hkey, key, hkeylen); in g_eli_crypto_hmac_init() 108 bcopy(digest, md, mdsize); in g_eli_crypto_hmac_final() 133 bcopy(&offset, off, sizeof(off)); in g_eli_crypto_ivgen() 139 bcopy(off, iv, sizeof(off)); in g_eli_crypto_ivgen() 148 bcopy(&sc->sc_ivctx, &ctx, sizeof(ctx)); in g_eli_crypto_ivgen() 151 bcopy(hash, iv, MIN(sizeof(hash), size)); in g_eli_crypto_ivgen()
|
| /freebsd-11-stable/sys/dev/mpr/ |
| HD | mpr_config.c | 113 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_ioc_pg8() 172 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_ioc_pg8() 184 bcopy(page, config_page, MIN(cm->cm_length, (sizeof(Mpi2IOCPage8_t)))); in mpr_config_get_ioc_pg8() 245 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_iounit_pg8() 304 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_iounit_pg8() 316 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_iounit_pg8() 415 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_dpm_pg0() 476 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_dpm_pg0() 488 bcopy(page, config_page, MIN(cm->cm_length, sz)); in mpr_config_get_dpm_pg0() 553 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_set_dpm_pg0() [all …]
|
| /freebsd-11-stable/sys/netinet6/ |
| HD | in6_jail.c | 112 bcopy(ppr->pr_ip6, newip6, in prison_restrict_ip6() 122 bcopy(ppr->pr_ip6, pr->pr_ip6, in prison_restrict_ip6() 137 bcopy(pr->pr_ip6 + 1, pr->pr_ip6, in prison_restrict_ip6() 150 bcopy(pr->pr_ip6 + ii + 1, pr->pr_ip6 + ii, in prison_restrict_ip6() 199 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_get_ip6() 235 bcopy(&lia6, ia6, sizeof(struct in6_addr)); in prison_saddrsel_ip6() 302 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_local_ip6() 309 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_local_ip6() 345 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); in prison_remote_ip6()
|
| /freebsd-11-stable/usr.bin/hexdump/ |
| HD | display.c | 144 bcopy(bp, &f4, sizeof(f4)); in print() 148 bcopy(bp, &f8, sizeof(f8)); in print() 153 bcopy(bp, &ldbl, sizeof(ldbl)); in print() 165 bcopy(bp, &s2, sizeof(s2)); in print() 169 bcopy(bp, &s4, sizeof(s4)); in print() 173 bcopy(bp, &s8, sizeof(s8)); in print() 196 bcopy(bp, &u2, sizeof(u2)); in print() 200 bcopy(bp, &u4, sizeof(u4)); in print() 204 bcopy(bp, &u8, sizeof(u8)); in print()
|
| /freebsd-11-stable/sys/dev/nand/ |
| HD | nandsim_log.c | 127 bcopy(hdr, &sc->log_buff[sc->log_idx], in nandsim_log() 132 bcopy(hdr, &sc->log_buff[sc->log_idx], rest); in nandsim_log() 133 bcopy(&hdr[rest], sc->log_buff, in nandsim_log() 141 bcopy(tmp, &sc->log_buff[sc->log_idx], len); in nandsim_log() 145 bcopy(tmp, &sc->log_buff[sc->log_idx], rest); in nandsim_log() 146 bcopy(&tmp[rest], sc->log_buff, len - rest); in nandsim_log()
|
| /freebsd-11-stable/lib/libvgl/ |
| HD | bitmap.c | 104 bcopy(&VGLPlane[i][0], dst->Bitmap + pos, width); in WriteVerticalLine() 115 bcopy(&VGLPlane[i][width - last], dst->Bitmap + offset, len); in WriteVerticalLine() 141 bcopy(line, dst->Bitmap + offset, i); in WriteVerticalLine() 155 bcopy(line, dst->Bitmap + offset, i); in WriteVerticalLine() 164 bcopy(line, address, width); in WriteVerticalLine() 170 bcopy(line, address, width * dst->PixelBytes); in WriteVerticalLine() 203 bcopy(src->Bitmap + offset, &VGLPlane[i][count - width2], len); in ReadVerticalLine() 223 bcopy(address, &VGLPlane[i][0], count); in ReadVerticalLine() 256 bcopy(src->Bitmap + offset, line, i); in ReadVerticalLine() 270 bcopy(src->Bitmap + offset, line, i); in ReadVerticalLine() [all …]
|
| /freebsd-11-stable/sys/vm/ |
| HD | redzone.c | 76 bcopy(naddr - REDZONE_CHSIZE - sizeof(u_long), &nsize, sizeof(nsize)); in redzone_get_size() 110 bcopy(&st, haddr, sizeof(st)); in redzone_setup() 112 bcopy(&nsize, haddr, sizeof(nsize)); in redzone_setup() 137 bcopy(haddr, &ast, sizeof(ast)); in redzone_check() 139 bcopy(haddr, &nsize, sizeof(nsize)); in redzone_check()
|