Home
last modified time | relevance | path

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

12345678910>>...30

/dragonfly/stand/lib/
H A Dbootp.c119 bcopy(vm_rfc1048, bp->bp_vend, sizeof(vm_rfc1048)); in bootp()
133 bcopy("PXEClient", &bp->bp_vend[9], 9); in bootp()
165 bcopy(&rbuf.rbootp.bp_yiaddr, &bp->bp_vend[9], 4); in bootp()
168 bcopy(&dhcp_serverip.s_addr, &bp->bp_vend[15], 4); in bootp()
172 bcopy(&leasetime, &bp->bp_vend[21], 4); in bootp()
176 bcopy("PXEClient", &bp->bp_vend[27], 9); in bootp()
196 bcopy(rbuf.rbootp.bp_file, bootfile, sizeof(bootfile)); in bootp()
349 bcopy(cp, &smask, sizeof(smask)); in vend_rfc1048()
352 bcopy(cp, &gateip.s_addr, sizeof(gateip.s_addr)); in vend_rfc1048()
356 bcopy(cp, &rootip.s_addr, sizeof(swapip.s_addr)); in vend_rfc1048()
[all …]
H A Dnfs.c191 bcopy(path, args->path, len); in nfs_getrootfh()
204 bcopy(repl->fh, fhp, sizeof(repl->fh)); in nfs_getrootfh()
256 bcopy(d->fh, args->fh, sizeof(args->fh)); in nfs_lookupfh()
260 bcopy(name, args->name, len); in nfs_lookupfh()
304 bcopy(d->fh, sdata.fh, NFS_FHSIZE); in nfs_readlink()
321 bcopy(rdata.d.path, buf, rdata.d.len); in nfs_readlink()
351 bcopy(d->fh, args->fh, NFS_FHSIZE); in nfs_readdata()
381 bcopy(repl->data, addr, x); in nfs_readdata()
511 bcopy(linkbuf, namebuf, link_len); in nfs_open()
719 bcopy(fp->fh, args->fh, NFS_FHSIZE); in nfs_readdir()
[all …]
H A Darp.c114 bcopy(&d->myip, ah->arp_spa, sizeof(ah->arp_spa)); in arpwhohas()
116 bcopy(&addr, ah->arp_tpa, sizeof(ah->arp_tpa)); in arpwhohas()
287 bcopy(arp->arp_sha, arp->arp_tha, sizeof(arp->arp_tha)); in arp_reply()
288 bcopy(arp->arp_spa, arp->arp_tpa, sizeof(arp->arp_tpa)); in arp_reply()
290 bcopy(d->myea, arp->arp_sha, sizeof(arp->arp_sha)); in arp_reply()
291 bcopy(&d->myip, arp->arp_spa, sizeof(arp->arp_spa)); in arp_reply()
H A Drarp.c99 bcopy(d->myea, ap->arp_sha, 6); in rarp_getipaddress()
100 bcopy(d->myea, ap->arp_tha, 6); in rarp_getipaddress()
111 bcopy(ap->arp_tpa, (char *)&myip, sizeof(myip)); in rarp_getipaddress()
114 bcopy(ap->arp_spa, (char *)&rootip, sizeof(rootip)); in rarp_getipaddress()
/dragonfly/sys/dev/raid/vinum/
H A Dvinumioctl.c147 bcopy(&SD[index], data, sizeof(struct sd)); in vinumioctl()
267 bcopy(&DRIVE[index].freelist[fe], data, in vinumioctl()
631 bcopy(&plex->sdnos[sdno + 1], in detachobject()
639 bcopy(sd->name, in detachobject()
642 bcopy("ex-", sd->name, 3); in detachobject()
680 bcopy(&vol->plex[plexno + 1], in detachobject()
698 bcopy(sd->name, in detachobject()
701 bcopy("ex-", sd->name, 3); in detachobject()
706 bcopy(plex->name, in detachobject()
709 bcopy("ex-", plex->name, 3); in detachobject()
[all …]
H A Dvinummemory.c75 bcopy((char *) *table, (char *) temp, oldsize); /* copy it to the old table */ in expand_table()
128 bcopy(f, malloced[i].file, min(strlen(f), MCFILENAMELEN - 1)); in MMalloc()
163 bcopy(f, freeinfo[lastfree].file, min(strlen(f), MCFILENAMELEN - 1)); in FFree()
169 bcopy(&malloced[i + 1], &malloced[i], (malloccount - i) * sizeof(struct mc)); in FFree()
206 bcopy(malloced[ent].file, m->file, MCFILENAMELEN); in vinum_mallocinfo()
226 bcopy(&rqinfo[ent], rq, sizeof(struct rqinfo)); in vinum_rqinfo()
/dragonfly/usr.bin/hexdump/
H A Ddisplay.c80 bcopy(bp, &f4, sizeof(f4)); in print()
84 bcopy(bp, &f8, sizeof(f8)); in print()
89 bcopy(bp, &ldbl, sizeof(ldbl)); in print()
101 bcopy(bp, &s2, sizeof(s2)); in print()
105 bcopy(bp, &s4, sizeof(s4)); in print()
109 bcopy(bp, &s8, sizeof(s8)); in print()
132 bcopy(bp, &u2, sizeof(u2)); in print()
136 bcopy(bp, &u4, sizeof(u4)); in print()
140 bcopy(bp, &u8, sizeof(u8)); in print()
/dragonfly/sys/dev/raid/mpr/
H A Dmpr_config.c109 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_ioc_pg8()
168 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mpr_config_get_ioc_pg8()
312 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_iounit_pg8()
484 bcopy(page, config_page, MIN(cm->cm_length, sz)); in mpr_config_get_dpm_pg0()
594 bcopy(config_page, page, MIN(cm->cm_length, in mpr_config_set_dpm_pg0()
759 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_sas_device_pg0()
896 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_pcie_device_pg0()
1033 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_pcie_device_pg2()
1295 bcopy(page, config_page, cm->cm_length); in mpr_config_get_raid_volume_pg0()
1429 bcopy(page, config_page, MIN(cm->cm_length, in mpr_config_get_raid_volume_pg1()
[all …]
/dragonfly/sys/dev/misc/backlight/
H A Dbacklight.c71 bcopy(ap->a_data, &props, sizeof(struct backlight_props)); in backlight_ioctl()
74 bcopy(&props, ap->a_data, sizeof(struct backlight_props)); in backlight_ioctl()
79 bcopy(ap->a_data, &props, sizeof(struct backlight_props)); in backlight_ioctl()
84 bcopy(&props, ap->a_data, sizeof(struct backlight_props)); in backlight_ioctl()
92 bcopy(&info, ap->a_data, sizeof(struct backlight_info)); in backlight_ioctl()
/dragonfly/sys/dev/raid/mps/
H A Dmps_config.c103 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mps_config_get_ioc_pg8()
154 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mps_config_get_ioc_pg8()
221 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mps_config_get_man_pg10()
272 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mps_config_get_man_pg10()
571 bcopy(reply, mpi_reply, sizeof(MPI2_CONFIG_REPLY)); in mps_config_get_dpm_pg0()
634 bcopy(page, config_page, MIN(cm->cm_length, sz)); in mps_config_get_dpm_pg0()
736 bcopy(config_page, page, MIN(cm->cm_length, in mps_config_set_dpm_pg0()
880 bcopy(page, config_page, MIN(cm->cm_length, in mps_config_get_sas_device_pg0()
1117 bcopy(page, config_page, cm->cm_length); in mps_config_get_raid_volume_pg0()
1237 bcopy(page, config_page, MIN(cm->cm_length, in mps_config_get_raid_volume_pg1()
[all …]
/dragonfly/libexec/bootpd/
H A Ddovend.c21 # define bcopy(a,b,c) memcpy(b,a,c) macro
101 bcopy(hp->root_path->string, vp, len); in dovend_rfc1497()
114 bcopy(hp->dump_file->string, vp, len); in dovend_rfc1497()
136 bcopy(hp->domain_name->string, vp, len); in dovend_rfc1497()
158 bcopy(hp->nis_domain->string, vp, len); in dovend_rfc1497()
226 bcopy(hp->hostname->string, vp, len); in dovend_rfc1497()
346 bcopy(srcptr, *buff, numbytes); in insert_generic()
/dragonfly/lib/libc/rpc/
H A Dcrypt_client.c78 bcopy(dparms->des_ivec, des_crypt_1_arg.des_ivec, 8); in _des_crypt_call()
79 bcopy(dparms->des_key, des_crypt_1_arg.des_key, 8); in _des_crypt_call()
91 bcopy(result_1->desbuf.desbuf_val, buf, len); in _des_crypt_call()
92 bcopy(result_1->des_ivec, dparms->des_ivec, 8); in _des_crypt_call()
/dragonfly/sys/dev/misc/syscons/logo/
H A Dlogo_saver.c62 bcopy(logo_img + d, vid + p, logo_w); in logo_blit()
66 bcopy(logo_img + d, vid + p, l); in logo_blit()
68 bcopy(logo_img + d + l, vid, logo_w - l); in logo_blit()
73 bcopy(logo_img + d, vid + p, logo_w); in logo_blit()
/dragonfly/lib/libvgl/
H A Dbitmap.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()
150 bcopy(line, address, width); in WriteVerticalLine()
184 bcopy(src->Bitmap + offset, &VGLPlane[i][count - width2], len); in ReadVerticalLine()
204 bcopy(address, &VGLPlane[i][0], count); in ReadVerticalLine()
237 bcopy(src->Bitmap + offset, line, i); in ReadVerticalLine()
246 bcopy(address, line, width); in ReadVerticalLine()
/dragonfly/lib/libthread_xu/thread/
H A Dthr_sig.c313 bcopy(prefix, LogBuf + i, plen); in _thr_log()
315 bcopy(prefix, LogBuf + i, LOGBUF_SIZE - i); in _thr_log()
317 bcopy(prefix, LogBuf, plen); in _thr_log()
323 bcopy(buf, LogBuf + i, bytes); in _thr_log()
325 bcopy(buf, LogBuf + i, LOGBUF_SIZE - i); in _thr_log()
327 bcopy(buf, LogBuf, bytes); in _thr_log()
/dragonfly/stand/boot/pc32/libi386/
H A Di386_copy.c50 bcopy(src, PTOV(dest), len); in i386_copyin()
62 bcopy(PTOV(src), dest, len); in i386_copyout()
87 bcopy(buf, PTOV(dest), (size_t)got); in i386_readin()
/dragonfly/sys/netgraph/netgraph/
H A Dng_parse.c344 bcopy(&val8, buf, sizeof(int8_t)); in ng_int8_parse()
388 bcopy(&val, buf, sizeof(int8_t)); in ng_int8_getDefault()
438 bcopy(&val16, buf, sizeof(int16_t)); in ng_int16_parse()
482 bcopy(&val, buf, sizeof(int16_t)); in ng_int16_getDefault()
532 bcopy(&val32, buf, sizeof(int32_t)); in ng_int32_parse()
576 bcopy(&val, buf, sizeof(int32_t)); in ng_int32_getDefault()
669 bcopy(&val, buf, sizeof(int64_t)); in ng_int64_getDefault()
716 bcopy(sval, buf, len); in ng_string_parse()
778 bcopy(sval, buf, len); in ng_fixedstring_parse()
905 bcopy(&ip, buf, sizeof(ip)); in ng_ipaddr_getDefault()
[all …]
/dragonfly/sys/netgraph7/netgraph/
H A Dng_parse.c346 bcopy(&val8, buf, sizeof(int8_t)); in ng_int8_parse()
395 bcopy(&val, buf, sizeof(int8_t)); in ng_int8_getDefault()
445 bcopy(&val16, buf, sizeof(int16_t)); in ng_int16_parse()
494 bcopy(&val, buf, sizeof(int16_t)); in ng_int16_getDefault()
596 bcopy(&val, buf, sizeof(int32_t)); in ng_int32_getDefault()
694 bcopy(&val, buf, sizeof(int64_t)); in ng_int64_getDefault()
741 bcopy(sval, buf, slen + 1); in ng_string_parse()
809 bcopy(sval, buf, slen); in ng_fixedstring_parse()
913 bcopy(sval, buf + 2, slen); in ng_sizedstring_parse()
1007 bcopy(&ip, buf, sizeof(ip)); in ng_ipaddr_getDefault()
[all …]
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_buf.c149 bcopy(cp, iov->iov_base, cnt); in uiomove()
151 bcopy(iov->iov_base, cp, cnt); in uiomove()
155 bcopy(cp, iov->iov_base, cnt); in uiomove()
157 bcopy(iov->iov_base, cp, cnt); in uiomove()
/dragonfly/sys/opencrypto/
H A Dcriov.c71 bcopy(((caddr_t)iov->iov_base) + off, cp, count); in cuio_copydata()
91 bcopy(cp, ((caddr_t)iov->iov_base) + off, count); in cuio_copyback()
169 bcopy(in, buf + off, size); in crypto_copyback()
181 bcopy(buf + off, out, size); in crypto_copydata()
H A Dgmac.c94 bcopy(ctx->S, ctx->Z, GMAC_BLOCK_LEN); in ghash_update()
114 bcopy(key + klen - AESCTR_NONCESIZE, ctx->J, AESCTR_NONCESIZE); in AES_GMAC_Setkey()
124 bcopy(iv, ctx->J + AESCTR_NONCESIZE, ivlen); in AES_GMAC_Reinit()
138 bcopy(data + (len - plen), (uint8_t *)blk, plen); in AES_GMAC_Update()
/dragonfly/sys/ddb/
H A Ddb_input.c224 bcopy(db_lhistory + db_lhistcur * db_lhistlsize, in db_inputchar()
234 bcopy(db_lhistory + db_lhistcur * db_lhistlsize, in db_inputchar()
323 bcopy(db_lhistory + db_lhistlsize, db_lhistory, in db_readline()
327 bcopy(lstart, db_lhistory + db_lhistidx * db_lhistlsize, in db_readline()
/dragonfly/usr.sbin/rarpd/
H A Drarpd.c270 bcopy(LLADDR(ll), ii->ii_eaddr, 6); in init_one()
681 bcopy(ep, LLADDR(ll), 6); in update_arptab()
691 bcopy(ar, ar2, sizeof(*ar)); in update_arptab()
734 bcopy(ar, ar2, sizeof(*ar)); in update_arptab()
737 bcopy(ll, ll2, sizeof(*ll)); in update_arptab()
808 bcopy((char *)&ap->arp_sha, (char *)&ep->ether_dhost, 6); in rarp_reply()
809 bcopy((char *)ii->ii_eaddr, (char *)&ep->ether_shost, 6); in rarp_reply()
810 bcopy((char *)ii->ii_eaddr, (char *)&ap->arp_sha, 6); in rarp_reply()
812 bcopy((char *)&ipaddr, (char *)ap->arp_tpa, 4); in rarp_reply()
814 bcopy((char *)&ii->ii_ipaddr, (char *)ap->arp_spa, 4); in rarp_reply()
/dragonfly/sys/netinet6/
H A Din6_ifattach.c118 bcopy(digest, &in6->s6_addr[8], 8); in get_rand_ifid()
146 bcopy(&val32, seed + sizeof(val32) * i, sizeof(val32)); in generate_tmp_ifid()
149 bcopy(seed0, seed, 8); in generate_tmp_ifid()
154 bcopy(seed1, &seed[8], 8); in generate_tmp_ifid()
176 bcopy(digest, ret, 8); in generate_tmp_ifid()
199 bcopy(&digest[8], seed0, 8); in generate_tmp_ifid()
278 bcopy(addr, &in6->s6_addr[8], 8); in get_hw_ifid()
625 bcopy(digest, &in6->s6_addr32[3], sizeof(in6->s6_addr32[3])); in in6_nigroup()
880 bcopy(baseid, ndi->randomseed1, sizeof(ndi->randomseed1)); in in6_get_tmpifid()
886 bcopy(ndi->randomid, retbuf, 8); in in6_get_tmpifid()
/dragonfly/libexec/bootpd/tools/bootptest/
H A Dbootptest.c178 bcopy(vm_rfc1048, (char*)&vend_magic, 4); in main()
262 bcopy(hep->h_addr, &server_addr, sizeof(server_addr)); in main()
330 bcopy(eaddr, bp->bp_chaddr, bp->bp_hlen); in main()
338 bcopy(hep->h_addr, &bp->bp_ciaddr, hep->h_length); in main()
344 bcopy((char*)&vend_magic, bp->bp_vend, 4); in main()

12345678910>>...30