Home
last modified time | relevance | path

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

12345678910>>...53

/NextBSD/contrib/gdb/gdb/
HDremote-vxmips.c106 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 …]
HDremote-vx68.c88 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()
/NextBSD/sys/powerpc/aim/
HDaim_machdep.c266 bcopy(&testppc64, (void *)EXC_PGM, (size_t)&testppc64size); in aim_cpu_init()
287 bcopy(&rfid_patch,&rfi_patch1,4); in aim_cpu_init()
290 bcopy(&rfid_patch,&rfi_patch2,4); in aim_cpu_init()
304 bcopy(&trapcode, (void *)trap, trapsize); in aim_cpu_init()
314 bcopy(&restorebridge, (void *)EXC_RST, trap_offset); in aim_cpu_init()
315 bcopy(&restorebridge, (void *)EXC_DSI, trap_offset); in aim_cpu_init()
316 bcopy(&restorebridge, (void *)EXC_ALI, trap_offset); in aim_cpu_init()
317 bcopy(&restorebridge, (void *)EXC_PGM, trap_offset); in aim_cpu_init()
318 bcopy(&restorebridge, (void *)EXC_MCHK, trap_offset); in aim_cpu_init()
319 bcopy(&restorebridge, (void *)EXC_TRC, trap_offset); in aim_cpu_init()
[all …]
/NextBSD/contrib/ipfilter/ipsend/
HDip.c67 bcopy((char *)buf, s + sizeof(*eh), len);
70 bcopy(last_arp, (char *)A_A eh->ether_dhost, 6);
115 bcopy(last_arp, (char *)A_A eh->ether_dhost, 6);
122 bcopy((char *)A_A eh->ether_dhost, last_arp, sizeof(last_arp));
125 bcopy((char *)ip, (char *)&ipsv, sizeof(*ip));
140 bcopy(local_arp, (char *)A_A eh->ether_shost,sizeof(last_arp));
143 bcopy(local_arp, (char *)A_A eh->ether_shost, 6);
150 bcopy((char *)ip, ipbuf + sizeof(*eh), iplen);
186 bcopy(s, optcpy + i, olen);
202 bcopy((char *)eh, (char *)&eth, sizeof(eth));
[all …]
HDarp.c55 bcopy((char *)hp->h_addr, (char *)address, 4);
58 bcopy((char*)&add, address, 4);
83 bcopy(ethersave, ether, 6);
90 bcopy(ip, (char *)&sin->sin_addr.s_addr, 4);
115 bcopy(ip, &san.sin_addr.s_addr, 4);
136 bcopy(ar.arp_ha.sa_data, ether, 6);
138 bcopy(ether, ethersave, 6);
139 bcopy(ip, ipsave, 4);
HDlarp.c46 bcopy((char *)hp->h_addr, (char *)address, 4);
49 bcopy((char*)&add, address, 4);
74 bcopy(ip, (char *)&sin->sin_addr.s_addr, 4);
91 bcopy(ar.arp_ha.sa_data, ether, 6);
/NextBSD/sys/dev/gpio/
HDgpioc.c130 bcopy(&max_pin, arg, sizeof(max_pin)); in gpioc_ioctl()
133 bcopy(arg, &pin, sizeof(pin)); in gpioc_ioctl()
142 bcopy(&pin, arg, sizeof(pin)); in gpioc_ioctl()
145 bcopy(arg, &pin, sizeof(pin)); in gpioc_ioctl()
155 bcopy(arg, &req, sizeof(req)); in gpioc_ioctl()
160 bcopy(&req, arg, sizeof(req)); in gpioc_ioctl()
163 bcopy(arg, &req, sizeof(req)); in gpioc_ioctl()
170 bcopy(arg, &req, sizeof(req)); in gpioc_ioctl()
176 bcopy(arg, &pin, sizeof(pin)); in gpioc_ioctl()
/NextBSD/sys/geom/vinum/
HDgeom_vinum_drive.c150 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 …]
/NextBSD/sys/geom/concat/
HDg_concat.h105 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()
/NextBSD/sys/geom/multipath/
HDg_multipath.h78 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()
/NextBSD/sys/geom/stripe/
HDg_stripe.h99 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()
/NextBSD/sys/geom/shsec/
HDg_shsec.h95 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()
/NextBSD/sys/geom/raid3/
HDg_raid3.h292 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 …]
/NextBSD/sys/geom/mirror/
HDg_mirror.h265 bcopy(md->md_magic, data, 16); in mirror_metadata_encode()
267 bcopy(md->md_name, data + 20, 16); in mirror_metadata_encode()
281 bcopy(md->md_provider, data + 95, 16); in mirror_metadata_encode()
286 bcopy(md->md_hash, data + 119, 16); in mirror_metadata_encode()
293 bcopy(data + 20, md->md_name, 16); in mirror_metadata_decode_v0v1()
306 bcopy(data + 91, md->md_provider, 16); in mirror_metadata_decode_v0v1()
307 bcopy(data + 107, md->md_hash, 16); in mirror_metadata_decode_v0v1()
325 bcopy(data + 20, md->md_name, 16); in mirror_metadata_decode_v2()
339 bcopy(data + 95, md->md_provider, 16); in mirror_metadata_decode_v2()
340 bcopy(data + 111, md->md_hash, 16); in mirror_metadata_decode_v2()
[all …]
/NextBSD/sys/geom/eli/
HDg_eli_hmac.c58 bcopy(hkey, key, hkeylen); in g_eli_crypto_hmac_init()
103 bcopy(digest, md, mdsize); in g_eli_crypto_hmac_final()
128 bcopy(&offset, off, sizeof(off)); in g_eli_crypto_ivgen()
134 bcopy(off, iv, sizeof(off)); in g_eli_crypto_ivgen()
143 bcopy(&sc->sc_ivctx, &ctx, sizeof(ctx)); in g_eli_crypto_ivgen()
146 bcopy(hash, iv, MIN(sizeof(hash), size)); in g_eli_crypto_ivgen()
/NextBSD/contrib/ipfilter/
HDip_msnrpc_pxy.c218 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));
HDarc4random.c229 bcopy(md5ctx.buf, pottail, numbytes); in ipf_rand_push()
232 bcopy(md5ctx.buf + sizeof(md5ctx.buf) - left, in ipf_rand_push()
236 bcopy(md5ctx.buf, pottail, sizeof(md5ctx.buf)); in ipf_rand_push()
260 bcopy(pothead, dest, numbytes); in ipf_read_random()
263 bcopy(pothead, dest + length - left, left); in ipf_read_random()
266 bcopy(pothead, dest, length); in ipf_read_random()
/NextBSD/lib/libstand/
HDnfs.c253 bcopy(path, args->path, len); in nfs_getrootfh()
266 bcopy(repl->fh, fhp, sizeof(repl->fh)); in nfs_getrootfh()
307 bcopy(d->fh, args->fh, sizeof(args->fh)); in nfs_lookupfh()
311 bcopy(name, args->name, len); in nfs_lookupfh()
328 bcopy( repl->fh, &newfd->fh, sizeof(newfd->fh)); in nfs_lookupfh()
329 bcopy(&repl->fa, &newfd->fa, sizeof(newfd->fa)); in nfs_lookupfh()
355 bcopy(d->fh, sdata.fh, NFS_FHSIZE); in nfs_readlink()
372 bcopy(rdata.d.path, buf, rdata.d.len); in nfs_readlink()
402 bcopy(d->fh, args->fh, NFS_FHSIZE); in nfs_readdata()
432 bcopy(repl->data, addr, x); in nfs_readdata()
[all …]
HDbootp.c135 bcopy(vm_rfc1048, bp->bp_vend, sizeof(vm_rfc1048));
149 bcopy("PXEClient", &bp->bp_vend[9], 9);
181 bcopy(&rbuf.rbootp.bp_yiaddr, &bp->bp_vend[9], 4);
184 bcopy(&dhcp_serverip.s_addr, &bp->bp_vend[15], 4);
188 bcopy(&leasetime, &bp->bp_vend[21], 4);
192 bcopy("PXEClient", &bp->bp_vend[27], 9);
212 bcopy(rbuf.rbootp.bp_file, bootfile, sizeof(bootfile));
377 bcopy(cp, &smask, sizeof(smask));
380 bcopy(cp, &gateip.s_addr, sizeof(gateip.s_addr));
384 bcopy(cp, &rootip.s_addr, sizeof(rootip.s_addr));
[all …]
/NextBSD/sys/dev/mpr/
HDmpr_config.c111 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_ioc_pg8()
169 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_ioc_pg8()
181 bcopy(page, config_page, MIN(cm->cm_length, (sizeof(Mpi2IOCPage8_t)))); in mpr_config_get_ioc_pg8()
241 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_iounit_pg8()
299 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_iounit_pg8()
311 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_iounit_pg8()
409 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_dpm_pg0()
469 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_dpm_pg0()
481 bcopy(page, config_page, MIN(cm->cm_length, sz)); in mpr_config_get_dpm_pg0()
545 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_set_dpm_pg0()
[all …]
/NextBSD/usr.bin/hexdump/
HDdisplay.c141 bcopy(bp, &f4, sizeof(f4)); in print()
145 bcopy(bp, &f8, sizeof(f8)); in print()
150 bcopy(bp, &ldbl, sizeof(ldbl)); in print()
162 bcopy(bp, &s2, sizeof(s2)); in print()
166 bcopy(bp, &s4, sizeof(s4)); in print()
170 bcopy(bp, &s8, sizeof(s8)); in print()
193 bcopy(bp, &u2, sizeof(u2)); in print()
197 bcopy(bp, &u4, sizeof(u4)); in print()
201 bcopy(bp, &u8, sizeof(u8)); in print()
/NextBSD/sys/dev/nand/
HDnandsim_log.c127 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()
/NextBSD/lib/libvgl/
HDbitmap.c104 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 …]
/NextBSD/sys/vm/
HDredzone.c76 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()
/NextBSD/sys/netinet/
HDin_rss.c75 bcopy(&src, &data[datalen], sizeof(src)); in rss_hash_ip4_2tuple()
77 bcopy(&dst, &data[datalen], sizeof(dst)); in rss_hash_ip4_2tuple()
94 bcopy(&src, &data[datalen], sizeof(src)); in rss_hash_ip4_4tuple()
96 bcopy(&dst, &data[datalen], sizeof(dst)); in rss_hash_ip4_4tuple()
98 bcopy(&srcport, &data[datalen], sizeof(srcport)); in rss_hash_ip4_4tuple()
100 bcopy(&dstport, &data[datalen], sizeof(dstport)); in rss_hash_ip4_4tuple()

12345678910>>...53