Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 1518) sorted by relevance

12345678910>>...61

/linux-2.4.37.9/net/rose/
Drose_subr.c141 memcpy(dptr, &rose_callsign, AX25_ADDR_LEN); in rose_write_internal()
146 memcpy(dptr, &sk->protinfo.rose->source_addr, ROSE_ADDR_LEN); in rose_write_internal()
171 memcpy(dptr, &sk->protinfo.rose->dest_addr, ROSE_ADDR_LEN); in rose_write_internal()
173 memcpy(dptr, &sk->protinfo.rose->source_addr, ROSE_ADDR_LEN); in rose_write_internal()
175 memcpy(dptr, buffer, faclen); in rose_write_internal()
194 memcpy(dptr, buffer, faclen); in rose_write_internal()
300 memcpy(&facilities->source_digis[0], p + 2, AX25_ADDR_LEN); in rose_parse_national()
306 memcpy(&facilities->dest_digis[0], p + 2, AX25_ADDR_LEN); in rose_parse_national()
311 memcpy(&facilities->fail_call, p + 2, AX25_ADDR_LEN); in rose_parse_national()
314 memcpy(&facilities->fail_addr, p + 3, ROSE_ADDR_LEN); in rose_parse_national()
[all …]
/linux-2.4.37.9/net/ethernet/
Deth.c95 memcpy(eth->h_source,saddr,dev->addr_len); in eth_header()
97 memcpy(eth->h_source,dev->dev_addr,dev->addr_len); in eth_header()
101 memcpy(eth->h_dest,daddr,dev->addr_len); in eth_header()
144 memcpy(eth->h_source, dev->dev_addr, dev->addr_len); in eth_rebuild_header()
212 memcpy(haddr, eth->h_source, ETH_ALEN); in eth_header_parse()
229 memcpy(eth->h_source, dev->dev_addr, dev->addr_len); in eth_header_cache()
230 memcpy(eth->h_dest, neigh->ha, dev->addr_len); in eth_header_cache()
241 memcpy(((u8*)hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)), in eth_header_cache_update()
/linux-2.4.37.9/arch/parisc/kernel/
Dfirmware.c168 memcpy(&pdc_result, chassis_info, sizeof(*chassis_info)); in pdc_chassis_info()
169 memcpy(&pdc_result2, led_info, len); in pdc_chassis_info()
172 memcpy(chassis_info, pdc_result, sizeof(*chassis_info)); in pdc_chassis_info()
173 memcpy(led_info, pdc_result2, len); in pdc_chassis_info()
262 memcpy(iodc_data, pdc_result2, iodc_data_size); in pdc_iodc_read()
286 memcpy(pdc_mod_info, pdc_result, sizeof(*pdc_mod_info)); in pdc_system_map_find_mods()
287 memcpy(mod_path, pdc_result2, sizeof(*mod_path)); in pdc_system_map_find_mods()
312 memcpy(pdc_addr_info, pdc_result, sizeof(*pdc_addr_info)); in pdc_system_map_find_addrs()
332 memcpy(model, pdc_result, sizeof(*model)); in pdc_model_info()
441 memcpy(cache_info, pdc_result, sizeof(*cache_info)); in pdc_cache_info()
[all …]
/linux-2.4.37.9/drivers/char/
Damikeyb.c307 memcpy(key_maps[0], amiplain_map, sizeof(plain_map)); in amiga_keyb_init()
308 memcpy(key_maps[1], amishift_map, sizeof(plain_map)); in amiga_keyb_init()
309 memcpy(key_maps[2], amialtgr_map, sizeof(plain_map)); in amiga_keyb_init()
310 memcpy(key_maps[4], amictrl_map, sizeof(plain_map)); in amiga_keyb_init()
311 memcpy(key_maps[5], amishift_ctrl_map, sizeof(plain_map)); in amiga_keyb_init()
312 memcpy(key_maps[8], amialt_map, sizeof(plain_map)); in amiga_keyb_init()
313 memcpy(key_maps[12], amictrl_alt_map, sizeof(plain_map)); in amiga_keyb_init()
Ddn_keyb.c445 memcpy(key_maps[0], dnplain_map, sizeof(plain_map)); in dn_keyb_init()
446 memcpy(key_maps[1], dnshift_map, sizeof(plain_map)); in dn_keyb_init()
447 memcpy(key_maps[2], dnaltgr_map, sizeof(plain_map)); in dn_keyb_init()
448 memcpy(key_maps[4], dnctrl_map, sizeof(plain_map)); in dn_keyb_init()
449 memcpy(key_maps[5], dnshift_ctrl_map, sizeof(plain_map)); in dn_keyb_init()
450 memcpy(key_maps[8], dnalt_map, sizeof(plain_map)); in dn_keyb_init()
451 memcpy(key_maps[12], dnctrl_alt_map, sizeof(plain_map)); in dn_keyb_init()
/linux-2.4.37.9/fs/hpfs/
Dbuffer.c181 memcpy(data, bh->b_data, 512); in hpfs_map_4sectors()
186 memcpy(data + 512, bh->b_data, 512); in hpfs_map_4sectors()
191 memcpy(data + 2 * 512, bh->b_data, 512); in hpfs_map_4sectors()
196 memcpy(data + 3 * 512, bh->b_data, 512); in hpfs_map_4sectors()
234 memcpy(qbh->data, qbh->bh[0]->b_data, 512); in hpfs_get_4sectors()
235 memcpy(qbh->data + 512, qbh->bh[1]->b_data, 512); in hpfs_get_4sectors()
236 memcpy(qbh->data + 2*512, qbh->bh[2]->b_data, 512); in hpfs_get_4sectors()
237 memcpy(qbh->data + 3*512, qbh->bh[3]->b_data, 512); in hpfs_get_4sectors()
260 memcpy(qbh->bh[0]->b_data, qbh->data, 512); in hpfs_mark_4buffers_dirty()
261 memcpy(qbh->bh[1]->b_data, qbh->data + 512, 512); in hpfs_mark_4buffers_dirty()
[all …]
/linux-2.4.37.9/net/ipv4/
Dip_options.c41 memcpy(&(IPCB(skb)->opt), opt, sizeof(struct ip_options)); in ip_options_build()
42 memcpy(iph+sizeof(struct iphdr), opt->__data, opt->optlen); in ip_options_build()
47 memcpy(iph+opt->srr+iph[opt->srr+1]-4, &daddr, 4); in ip_options_build()
59 memcpy(iph+opt->ts+iph[opt->ts+2]-5, &midtime, 4); in ip_options_build()
115 memcpy(dptr, sptr+sopt->rr, optlen); in ip_options_echo()
129 memcpy(dptr, sptr+sopt->ts, optlen); in ip_options_echo()
149 memcpy(&addr, sptr+soffset-1, 4); in ip_options_echo()
173 memcpy(&faddr, &start[soffset-1], 4); in ip_options_echo()
175 memcpy(&dptr[doffset-1], &start[soffset-1], 4); in ip_options_echo()
183 memcpy(&start[doffset-1], &daddr, 4); in ip_options_echo()
[all …]
/linux-2.4.37.9/drivers/isdn/hysdn/
Dhycapi.c174 memcpy(skb_put(skb,sizeof(__u16)), &len, sizeof(__u16)); in hycapi_register_internal()
175 memcpy(skb_put(skb,sizeof(__u16)), &appl, sizeof(__u16)); in hycapi_register_internal()
176 memcpy(skb_put(skb,sizeof(__u8)), &_command, sizeof(_command)); in hycapi_register_internal()
177 memcpy(skb_put(skb,sizeof(__u8)), &_subcommand, sizeof(_subcommand)); in hycapi_register_internal()
178 memcpy(skb_put(skb,sizeof(__u16)), &MessageNumber, sizeof(__u16)); in hycapi_register_internal()
179 memcpy(skb_put(skb,sizeof(__u16)), &MessageBufferSize, sizeof(__u16)); in hycapi_register_internal()
180 memcpy(skb_put(skb,sizeof(__u16)), &(rp->level3cnt), sizeof(__u16)); in hycapi_register_internal()
181 memcpy(skb_put(skb,sizeof(__u16)), &(rp->datablkcnt), sizeof(__u16)); in hycapi_register_internal()
182 memcpy(skb_put(skb,sizeof(__u16)), &(rp->datablklen), sizeof(__u16)); in hycapi_register_internal()
183 memcpy(skb_put(skb,slen), ExtFeatureDefaults, slen); in hycapi_register_internal()
[all …]
/linux-2.4.37.9/drivers/net/sk98lin/h/
Dskdrv1st.h50 #define SK_PNMI_STORE_U16(p,v) memcpy((char*)(p),(char*)&(v),2)
51 #define SK_PNMI_STORE_U32(p,v) memcpy((char*)(p),(char*)&(v),4)
52 #define SK_PNMI_STORE_U64(p,v) memcpy((char*)(p),(char*)&(v),8)
53 #define SK_PNMI_READ_U16(p,v) memcpy((char*)&(v),(char*)(p),2)
54 #define SK_PNMI_READ_U32(p,v) memcpy((char*)&(v),(char*)(p),4)
55 #define SK_PNMI_READ_U64(p,v) memcpy((char*)&(v),(char*)(p),8)
124 #define SK_MEMCPY(dest,src,size) memcpy(dest,src,size)
/linux-2.4.37.9/drivers/net/
Dslhc.c441 memcpy(&cs->cs_ip,ip,20); in slhc_compress()
442 memcpy(&cs->cs_tcp,th,20); in slhc_compress()
463 memcpy(cp,new_seq,deltaS); /* Write list of deltas */ in slhc_compress()
464 memcpy(cp+deltaS,icp+hlen,isize-hlen); in slhc_compress()
474 memcpy(&cs->cs_ip,ip,20); in slhc_compress()
475 memcpy(&cs->cs_tcp,th,20); in slhc_compress()
477 memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); in slhc_compress()
479 memcpy(cs->cs_tcpopt, th+1, ((th->doff) - 5) * 4); in slhc_compress()
482 memcpy(ocp, icp, isize); in slhc_compress()
613 memcpy(cp, ip, 20); in slhc_uncompress()
[all …]
/linux-2.4.37.9/drivers/usb/storage/
Djumpshot.c344 memcpy(sg[sg_idx].address + current_sg_offset, in jumpshot_read_data()
353 memcpy(sg[sg_idx].address + current_sg_offset, in jumpshot_read_data()
425 memcpy(ptr + transferred, in jumpshot_write_data()
434 memcpy(ptr + transferred, in jumpshot_write_data()
595 memcpy(ptr, mode_param_header, sizeof(mode_param_header)); in jumpshot_handle_mode_sense()
597 memcpy(ptr + i, rw_err_page, sizeof(rw_err_page)); in jumpshot_handle_mode_sense()
606 memcpy(ptr, mode_param_header, sizeof(mode_param_header)); in jumpshot_handle_mode_sense()
608 memcpy(ptr + i, cache_page, sizeof(cache_page)); in jumpshot_handle_mode_sense()
617 memcpy(ptr, mode_param_header, sizeof(mode_param_header)); in jumpshot_handle_mode_sense()
619 memcpy(ptr + i, rbac_page, sizeof(rbac_page)); in jumpshot_handle_mode_sense()
[all …]
Ddatafab.c268 memcpy(sg[sg_idx].address + current_sg_offset, in datafab_read_data()
277 memcpy(sg[sg_idx].address + current_sg_offset, in datafab_read_data()
358 memcpy(ptr + transferred, in datafab_write_data()
367 memcpy(ptr + transferred, in datafab_write_data()
597 memcpy(ptr, mode_param_header, sizeof(mode_param_header)); in datafab_handle_mode_sense()
599 memcpy(ptr + i, rw_err_page, sizeof(rw_err_page)); in datafab_handle_mode_sense()
608 memcpy(ptr, mode_param_header, sizeof(mode_param_header)); in datafab_handle_mode_sense()
610 memcpy(ptr + i, cache_page, sizeof(cache_page)); in datafab_handle_mode_sense()
619 memcpy(ptr, mode_param_header, sizeof(mode_param_header)); in datafab_handle_mode_sense()
621 memcpy(ptr + i, rbac_page, sizeof(rbac_page)); in datafab_handle_mode_sense()
[all …]
/linux-2.4.37.9/arch/mips/dec/
Dsetup.c228 memcpy(&dec_interrupt, &kn01_interrupt, in dec_init_kn01()
232 memcpy(&cpu_mask_nr_tbl, &kn01_cpu_mask_nr_tbl, in dec_init_kn01()
303 memcpy(&dec_interrupt, &kn230_interrupt, in dec_init_kn230()
307 memcpy(&cpu_mask_nr_tbl, &kn230_cpu_mask_nr_tbl, in dec_init_kn230()
393 memcpy(&dec_interrupt, &kn02_interrupt, in dec_init_kn02()
397 memcpy(&cpu_mask_nr_tbl, &kn02_cpu_mask_nr_tbl, in dec_init_kn02()
401 memcpy(&asic_mask_nr_tbl, &kn02_asic_mask_nr_tbl, in dec_init_kn02()
494 memcpy(&dec_interrupt, &kn02ba_interrupt, in dec_init_kn02ba()
498 memcpy(&cpu_mask_nr_tbl, &kn02ba_cpu_mask_nr_tbl, in dec_init_kn02ba()
502 memcpy(&asic_mask_nr_tbl, &kn02ba_asic_mask_nr_tbl, in dec_init_kn02ba()
[all …]
/linux-2.4.37.9/net/bluetooth/bnep/
Dnetdev.c102 memcpy(__skb_put(skb, ETH_ALEN), start, ETH_ALEN); in bnep_net_set_mc_list()
103 memcpy(__skb_put(skb, ETH_ALEN), dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list()
110 memcpy(__skb_put(skb, ETH_ALEN), dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list()
111 memcpy(__skb_put(skb, ETH_ALEN), dev->broadcast, ETH_ALEN); in bnep_net_set_mc_list()
117 memcpy(__skb_put(skb, ETH_ALEN), dmi->dmi_addr, ETH_ALEN); in bnep_net_set_mc_list()
118 memcpy(__skb_put(skb, ETH_ALEN), dmi->dmi_addr, ETH_ALEN); in bnep_net_set_mc_list()
237 memcpy(dev->dev_addr, s->eh.h_dest, ETH_ALEN); in bnep_net_init()
/linux-2.4.37.9/include/net/
Diw_handler.h460 memcpy(stream, (char *) iwe, event_len); in iwe_stream_add_event()
481 memcpy(stream, (char *) iwe, IW_EV_POINT_LEN); in iwe_stream_add_point()
482 memcpy(stream + IW_EV_POINT_LEN, extra, iwe->u.data.length); in iwe_stream_add_point()
507 memcpy(value, (char *) iwe + IW_EV_LCP_LEN, event_len); in iwe_stream_add_value()
511 memcpy(event, (char *) iwe, IW_EV_LCP_LEN); in iwe_stream_add_value()
/linux-2.4.37.9/include/asm-parisc/
Delf.h77 memcpy(dst + 0, pt->gr, 32 * sizeof(elf_greg_t)); \
78 memcpy(dst + 32, pt->sr, 8 * sizeof(elf_greg_t)); \
79 memcpy(dst + 40, pt->iaoq, 2 * sizeof(elf_greg_t)); \
80 memcpy(dst + 42, pt->iasq, 2 * sizeof(elf_greg_t)); \
/linux-2.4.37.9/arch/parisc/math-emu/
Ddriver.c97 memcpy(frcopy, regs->fr, sizeof regs->fr); in handle_fpe()
100 memcpy(&orig_sw, frcopy, sizeof(orig_sw)); in handle_fpe()
111 memcpy(&sw, frcopy, sizeof(sw)); in handle_fpe()
119 memcpy(regs->fr, frcopy, sizeof regs->fr); in handle_fpe()
/linux-2.4.37.9/fs/adfs/
Ddir_f.c201 memcpy(&dir->dirhead, bufoff(dir->bh, 0), sizeof(dir->dirhead)); in adfs_dir_read()
202 memcpy(&dir->dirtail, bufoff(dir->bh, 2007), sizeof(dir->dirtail)); in adfs_dir_read()
279 memcpy(&de, dir->bh[buffer]->b_data + offset, thissize); in __adfs_dir_get()
281 memcpy(((char *)&de) + thissize, dir->bh[buffer + 1]->b_data, in __adfs_dir_get()
312 memcpy(&de, dir->bh[buffer]->b_data + offset, thissize); in __adfs_dir_put()
314 memcpy(((char *)&de) + thissize, dir->bh[buffer + 1]->b_data, in __adfs_dir_put()
325 memcpy(dir->bh[buffer]->b_data + offset, &de, thissize); in __adfs_dir_put()
327 memcpy(dir->bh[buffer + 1]->b_data, ((char *)&de) + thissize, in __adfs_dir_put()
428 memcpy(&dir->dirhead, bufoff(dir->bh, 0), sizeof(dir->dirhead)); in adfs_f_update()
429 memcpy(&dir->dirtail, bufoff(dir->bh, 2007), sizeof(dir->dirtail)); in adfs_f_update()
/linux-2.4.37.9/net/ax25/
Dax25_addr.c180 memcpy(dest, buf + 0, AX25_ADDR_LEN); in ax25_addr_parse()
182 memcpy(src, buf + 7, AX25_ADDR_LEN); in ax25_addr_parse()
194 memcpy(&digi->calls[d], buf, AX25_ADDR_LEN); in ax25_addr_parse()
220 memcpy(buf, dest, AX25_ADDR_LEN); in ax25_addr_build()
229 memcpy(buf, src, AX25_ADDR_LEN); in ax25_addr_build()
252 memcpy(buf, &d->calls[ct], AX25_ADDR_LEN); in ax25_addr_build()
/linux-2.4.37.9/drivers/macintosh/
Dmac_hid.c301 memcpy(pc_key_maps_save, key_maps, sizeof(key_maps)); in mac_hid_sysctl_keycodes()
302 memcpy(key_maps, mac_key_maps_save, sizeof(key_maps)); in mac_hid_sysctl_keycodes()
308 memcpy(mac_key_maps_save, key_maps, sizeof(key_maps)); in mac_hid_sysctl_keycodes()
309 memcpy(key_maps, pc_key_maps_save, sizeof(key_maps)); in mac_hid_sysctl_keycodes()
480 memcpy(pc_key_maps_save, key_maps, sizeof(key_maps)); in mac_hid_init_hw()
487 memcpy(key_maps, mac_key_maps_save, sizeof(key_maps)); in mac_hid_init_hw()
/linux-2.4.37.9/net/ipv4/netfilter/
Darpt_mangle.c36 memcpy(arpptr, mangle->src_devaddr, hln); in target()
43 memcpy(arpptr, &mangle->u_s.src_ip, pln); in target()
50 memcpy(arpptr, mangle->tgt_devaddr, hln); in target()
57 memcpy(arpptr, &mangle->u_t.tgt_ip, pln); in target()
/linux-2.4.37.9/arch/ppc/boot/simple/
Dmisc-embedded.c110 memcpy(hold_residual,bp,sizeof(bd_t)); in load_kernel()
180 memcpy (cmd_line, compiled_string, sizeof(compiled_string)); in load_kernel()
183 memcpy (cmd_line, ramroot_string, sizeof(ramroot_string)); in load_kernel()
185 memcpy (cmd_line, netroot_string, sizeof(netroot_string)); in load_kernel()
256 memcpy( (char *)rec->data, cmd_line, strlen(cmd_line)+1); in load_kernel()
/linux-2.4.37.9/drivers/scsi/
Dscsi_debug.c244 memcpy(buff, sbuff, (bufflen < SDEBUG_SENSE_LEN) ? in scsi_debug_queuecommand()
414 memcpy(&arr[4], vendor_id, 8); in inquiry_evpd_83()
415 memcpy(&arr[12], product_id, 16); in inquiry_evpd_83()
416 memcpy(&arr[28], dev_id_str, dev_id_str_len); in inquiry_evpd_83()
470 memcpy(&arr[4], dev_id_str, len); in resp_inquiry()
480 memcpy(buff, arr, min_len); in resp_inquiry()
488 memcpy(&arr[8], vendor_id, 8); in resp_inquiry()
489 memcpy(&arr[16], product_id, 16); in resp_inquiry()
490 memcpy(&arr[32], product_rev, 4); in resp_inquiry()
491 memcpy(buff, arr, min_len); in resp_inquiry()
[all …]
/linux-2.4.37.9/arch/ppc/boot/prep/
Dmisc.c111 memcpy ( vidmem, vidmem + cols * 2, ( lines - 1 ) * cols * 2 ); in scroll()
135 memcpy(cmd_buf, buf, size); in get_of_args()
236 memcpy(hold_residual,residual,sizeof(RESIDUAL)); in decompress_kernel()
313 memcpy (cmd_line, cmd_preset, sizeof(cmd_preset)); in decompress_kernel()
409 memcpy( (void *)rec->data, "prepboot", 9); in decompress_kernel()
421 memcpy( (char *)rec->data, cmd_line, strlen(cmd_line)+1); in decompress_kernel()
/linux-2.4.37.9/arch/cris/kernel/
Dcrisksyms.c91 #undef memcpy
94 extern void * memcpy(void *, const void *, __kernel_size_t);
95 EXPORT_SYMBOL_NOVERS(memcpy);

12345678910>>...61