Home
last modified time | relevance | path

Searched full:memcpy (Results 1 – 25 of 4809) sorted by relevance

12345678910>>...193

/openbmc/openbmc/poky/meta/recipes-support/lzo/lzo/
H A D0001-Use-memcpy-instead-of-reinventing-it.patch3 Subject: Use memcpy() instead of reinventing it
5 gcc inlines memcpy() with results as fast as handwritten code (at
15 https://sources.debian.org/patches/lzo2/2.10-2/0001-Conditionally-replace-reinvention-of-memcpy-wit…
37 +/* Debian-specific change: we know that our compiler inlines memcpy() with
45 +#define LZO_MEMOPS_COPY1(dd,ss) memcpy(dd, ss, 1)
46 +#define LZO_MEMOPS_COPY2(dd,ss) memcpy(dd, ss, 2)
47 +#define LZO_MEMOPS_COPY4(dd,ss) memcpy(dd, ss, 4)
48 +#define LZO_MEMOPS_COPY8(dd,ss) memcpy(dd, ss, 8)
49 +#define LZO_MEMOPS_COPYN(dd,ss,nn) memcpy(dd, ss, nn)
62 +/* Debian-specific change: we know that our compiler inlines memcpy() with
[all …]
/openbmc/linux/Documentation/devicetree/bindings/dma/
H A Dstericsson,dma40.yaml73 51: memcpy TX (to be used by the DMA driver for memcpy operations)
78 56: memcpy (to be used by the DMA driver for memcpy operations)
79 57: memcpy (to be used by the DMA driver for memcpy operations)
80 58: memcpy (to be used by the DMA driver for memcpy operations)
81 59: memcpy (to be used by the DMA driver for memcpy operations)
82 60: memcpy (to be used by the DMA driver for memcpy operations)
148 memcpy-channels:
151 engine are eligible for memcpy transfers
160 - memcpy-channels
176 memcpy-channels = <56 57 58 59 60>;
H A Darm-pl08x.yaml71 memcpy-burst-size:
82 description: the size of the bursts for memcpy
84 memcpy-bus-width:
91 description: bus width used for memcpy in bits. FTDMAC020 also accept 64 bits
117 memcpy-burst-size = <256>;
118 memcpy-bus-width = <32>;
137 memcpy-burst-size = <256>;
138 memcpy-bus-width = <32>;
/openbmc/linux/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema_iface.c169 memcpy(info->rsvd0, src->rsvd0, ARRAY_SIZE(src->rsvd0)); in opa_vnic_get_vesw_info()
171 memcpy(info->rsvd1, src->rsvd1, ARRAY_SIZE(src->rsvd1)); in opa_vnic_get_vesw_info()
174 memcpy(info->rsvd2, src->rsvd2, ARRAY_SIZE(src->rsvd2)); in opa_vnic_get_vesw_info()
181 memcpy(info->rsvd3, src->rsvd3, ARRAY_SIZE(src->rsvd3)); in opa_vnic_get_vesw_info()
183 memcpy(info->rsvd4, src->rsvd4, ARRAY_SIZE(src->rsvd4)); in opa_vnic_get_vesw_info()
203 memcpy(dst->rsvd0, info->rsvd0, ARRAY_SIZE(info->rsvd0)); in opa_vnic_set_vesw_info()
205 memcpy(dst->rsvd1, info->rsvd1, ARRAY_SIZE(info->rsvd1)); in opa_vnic_set_vesw_info()
208 memcpy(dst->rsvd2, info->rsvd2, ARRAY_SIZE(info->rsvd2)); in opa_vnic_set_vesw_info()
215 memcpy(dst->rsvd3, info->rsvd3, ARRAY_SIZE(info->rsvd3)); in opa_vnic_set_vesw_info()
217 memcpy(dst->rsvd4, info->rsvd4, ARRAY_SIZE(info->rsvd4)); in opa_vnic_set_vesw_info()
[all …]
/openbmc/linux/drivers/net/wireless/silabs/wfx/
H A Dkey.c38 memcpy(msg->key_data, key->key, key->keylen); in fill_wep_pair()
49 memcpy(msg->key_data, key->key, key->keylen); in fill_wep_group()
60 memcpy(msg->tkip_key_data, keybuf, sizeof(msg->tkip_key_data)); in fill_tkip_pair()
62 memcpy(msg->tx_mic_key, keybuf, sizeof(msg->tx_mic_key)); in fill_tkip_pair()
64 memcpy(msg->rx_mic_key, keybuf, sizeof(msg->rx_mic_key)); in fill_tkip_pair()
77 memcpy(msg->rx_sequence_counter, &seq->tkip.iv16, sizeof(seq->tkip.iv16)); in fill_tkip_group()
78 memcpy(msg->rx_sequence_counter + sizeof(u16), &seq->tkip.iv32, sizeof(seq->tkip.iv32)); in fill_tkip_group()
79 memcpy(msg->tkip_key_data, keybuf, sizeof(msg->tkip_key_data)); in fill_tkip_group()
83 memcpy(msg->rx_mic_key, keybuf + 0, sizeof(msg->rx_mic_key)); in fill_tkip_group()
86 memcpy(msg->rx_mic_key, keybuf + 8, sizeof(msg->rx_mic_key)); in fill_tkip_group()
[all …]
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/trusted-services/corstone1000/ts-newlib/
H A D0001-newlib-memcpy-remove-optimized-version.patch4 Subject: [PATCH] newlib: memcpy: remove optimized version
18 newlib/libc/machine/aarch64/memcpy-stub.c | 2 +-
19 newlib/libc/machine/aarch64/memcpy.S | 166 ----------------------
22 diff --git a/newlib/libc/machine/aarch64/memcpy-stub.c b/newlib/libc/machine/aarch64/memcpy-stub.c
24 --- a/newlib/libc/machine/aarch64/memcpy-stub.c
25 +++ b/newlib/libc/machine/aarch64/memcpy-stub.c
28 # include "../../string/memcpy.c"
30 -/* See memcpy.S */
31 +# include "../../string/memcpy.c"
33 diff --git a/newlib/libc/machine/aarch64/memcpy.S b/newlib/libc/machine/aarch64/memcpy.S
[all …]
/openbmc/linux/net/ieee802154/
H A Dheader_ops.c24 memcpy(buf + pos, &addr->pan_id, 2); in ieee802154_hdr_push_addr()
30 memcpy(buf + pos, &addr->short_addr, 2); in ieee802154_hdr_push_addr()
35 memcpy(buf + pos, &addr->extended_addr, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_addr()
51 memcpy(buf, hdr, 1); in ieee802154_hdr_push_sechdr()
52 memcpy(buf + 1, &hdr->frame_counter, 4); in ieee802154_hdr_push_sechdr()
62 memcpy(buf + pos, &hdr->short_src, 4); in ieee802154_hdr_push_sechdr()
67 memcpy(buf + pos, &hdr->extended_src, IEEE802154_ADDR_LEN); in ieee802154_hdr_push_sechdr()
115 memcpy(buf, fc, 2); in ieee802154_hdr_push()
117 memcpy(skb_push(skb, pos), buf, pos); in ieee802154_hdr_push()
182 memcpy(&addr->pan_id, buf + pos, 2); in ieee802154_hdr_get_addr()
[all …]
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_tc_u32_parse.h88 memcpy(&f->val.fip[0], &val, sizeof(u32)); in cxgb4_fill_ipv4_src_ip()
89 memcpy(&f->mask.fip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv4_src_ip()
97 memcpy(&f->val.lip[0], &val, sizeof(u32)); in cxgb4_fill_ipv4_dst_ip()
98 memcpy(&f->mask.lip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv4_dst_ip()
134 memcpy(&f->val.fip[0], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip0()
135 memcpy(&f->mask.fip[0], &mask, sizeof(u32)); in cxgb4_fill_ipv6_src_ip0()
143 memcpy(&f->val.fip[4], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip1()
144 memcpy(&f->mask.fip[4], &mask, sizeof(u32)); in cxgb4_fill_ipv6_src_ip1()
152 memcpy(&f->val.fip[8], &val, sizeof(u32)); in cxgb4_fill_ipv6_src_ip2()
153 memcpy(&f->mask.fip[8], &mask, sizeof(u32)); in cxgb4_fill_ipv6_src_ip2()
[all …]
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_nameval.c38 memcpy(&size, xb, sizeof(int)); in nval_find()
48 memcpy(&size, xb + pos, sizeof(int)); in nval_find()
62 memcpy(&size, xb + pos, sizeof(int)); in nval_used()
66 memcpy(&size, xb + pos, sizeof(int)); in nval_used()
83 memcpy(&size, xb + pos, sizeof(int)); in nval_del()
84 memcpy(xb + pos, xb + pos + size, xb_size - (pos + size)); in nval_del()
121 memcpy(xb + pos, &reclen, sizeof(int)); in nval_set()
125 memcpy(xb + pos, buf, bsize); in nval_set()
137 memcpy(&size, xb + pos, sizeof(int)); in nval_get()
157 memcpy(buf, xb + pos, size); in nval_get()
[all …]
/openbmc/linux/tools/testing/selftests/sgx/
H A Dtest_encl.c52 static void *memcpy(void *dest, const void *src, size_t n) in memcpy() function
79 memcpy(tcs + 16, &op->ssa, 8); /* OSSA */ in do_encl_init_tcs_page()
82 memcpy(tcs + 28, &val_32, 4); /* NSSA */ in do_encl_init_tcs_page()
83 memcpy(tcs + 32, &op->entry, 8); /* OENTRY */ in do_encl_init_tcs_page()
86 memcpy(tcs + 64, &val_32, 4); /* FSLIMIT */ in do_encl_init_tcs_page()
87 memcpy(tcs + 68, &val_32, 4); /* GSLIMIT */ in do_encl_init_tcs_page()
95 memcpy(&encl_buffer[0], &op2->value, 8); in do_encl_op_put_to_buf()
102 memcpy(&op2->value, &encl_buffer[0], 8); in do_encl_op_get_from_buf()
109 memcpy((void *)op->addr, &op->value, 8); in do_encl_op_put_to_addr()
116 memcpy(&op->value, (void *)op->addr, 8); in do_encl_op_get_from_addr()
/openbmc/linux/include/trace/events/
H A Drv.h26 memcpy(__entry->state, state, MAX_DA_NAME_LEN);
27 memcpy(__entry->event, event, MAX_DA_NAME_LEN);
28 memcpy(__entry->next_state, next_state, MAX_DA_NAME_LEN);
51 memcpy(__entry->state, state, MAX_DA_NAME_LEN);
52 memcpy(__entry->event, event, MAX_DA_NAME_LEN);
87 memcpy(__entry->state, state, MAX_DA_NAME_LEN);
88 memcpy(__entry->event, event, MAX_DA_NAME_LEN);
89 memcpy(__entry->next_state, next_state, MAX_DA_NAME_LEN);
115 memcpy(__entry->state, state, MAX_DA_NAME_LEN);
116 memcpy(__entry->event, event, MAX_DA_NAME_LEN);
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dbmi.c144 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_read()
146 memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); in ath6kl_bmi_read()
148 memcpy(&(ar->bmi.cmd_buf[offset]), &rx_len, sizeof(rx_len)); in ath6kl_bmi_read()
163 memcpy(&buf[len - len_remain], ar->bmi.cmd_buf, rx_len); in ath6kl_bmi_read()
207 memcpy(aligned_buf, src, len_remain); in ath6kl_bmi_write()
216 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_write()
218 memcpy(&(ar->bmi.cmd_buf[offset]), &addr, sizeof(addr)); in ath6kl_bmi_write()
220 memcpy(&(ar->bmi.cmd_buf[offset]), &tx_len, sizeof(tx_len)); in ath6kl_bmi_write()
222 memcpy(&(ar->bmi.cmd_buf[offset]), src, tx_len); in ath6kl_bmi_write()
260 memcpy(&(ar->bmi.cmd_buf[offset]), &cid, sizeof(cid)); in ath6kl_bmi_execute()
[all …]
/openbmc/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_desc.c37 memcpy(rep_desc, accel3_report_descriptor, in get_report_descriptor()
42 memcpy(rep_desc, gyro3_report_descriptor, in get_report_descriptor()
47 memcpy(rep_desc, comp3_report_descriptor, in get_report_descriptor()
53 memcpy(rep_desc, als_report_descriptor, in get_report_descriptor()
58 memcpy(rep_desc, hpd_report_descriptor, in get_report_descriptor()
156 memcpy(feature_report, &acc_feature, sizeof(acc_feature)); in get_feature_report()
164 memcpy(feature_report, &gyro_feature, sizeof(gyro_feature)); in get_feature_report()
175 memcpy(feature_report, &magno_feature, sizeof(magno_feature)); in get_feature_report()
184 memcpy(feature_report, &als_feature, sizeof(als_feature)); in get_feature_report()
189 memcpy(feature_report, &hpd_feature, sizeof(hpd_feature)); in get_feature_report()
[all …]
/openbmc/linux/drivers/md/
H A Ddm-ima.c229 memcpy(ima_buf + l, DM_IMA_VERSION_STR, table->md->ima.dm_version_str_len); in dm_ima_measure_on_table_load()
233 memcpy(ima_buf + l, device_data_buf, device_data_buf_len); in dm_ima_measure_on_table_load()
286 memcpy(ima_buf + l, DM_IMA_VERSION_STR, table->md->ima.dm_version_str_len); in dm_ima_measure_on_table_load()
289 memcpy(ima_buf + l, device_data_buf, device_data_buf_len); in dm_ima_measure_on_table_load()
305 memcpy(ima_buf + l, target_metadata_buf, target_metadata_buf_len); in dm_ima_measure_on_table_load()
308 memcpy(ima_buf + l, target_data_buf, target_data_buf_len); in dm_ima_measure_on_table_load()
387 memcpy(device_table_data + l, DM_IMA_VERSION_STR, md->ima.dm_version_str_len); in dm_ima_measure_on_device_resume()
425 memcpy(device_table_data + l, md->ima.active_table.device_metadata, in dm_ima_measure_on_device_resume()
433 memcpy(device_table_data + l, active, active_len); in dm_ima_measure_on_device_resume()
436 memcpy(device_table_data + l, md->ima.active_table.hash, in dm_ima_measure_on_device_resume()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
H A Dia_css_sdis2.host.c32 memcpy(private, public, width * sizeof(short)); in fill_row()
143 memcpy(hor_coefs_odd_real, params->dvs2_coefs.hor_coefs.odd_real, in ia_css_get_isp_dvs2_coefficients()
145 memcpy(hor_coefs_odd_imag, params->dvs2_coefs.hor_coefs.odd_imag, in ia_css_get_isp_dvs2_coefficients()
147 memcpy(hor_coefs_even_real, params->dvs2_coefs.hor_coefs.even_real, in ia_css_get_isp_dvs2_coefficients()
149 memcpy(hor_coefs_even_imag, params->dvs2_coefs.hor_coefs.even_imag, in ia_css_get_isp_dvs2_coefficients()
151 memcpy(ver_coefs_odd_real, params->dvs2_coefs.ver_coefs.odd_real, in ia_css_get_isp_dvs2_coefficients()
153 memcpy(ver_coefs_odd_imag, params->dvs2_coefs.ver_coefs.odd_imag, in ia_css_get_isp_dvs2_coefficients()
155 memcpy(ver_coefs_even_real, params->dvs2_coefs.ver_coefs.even_real, in ia_css_get_isp_dvs2_coefficients()
157 memcpy(ver_coefs_even_imag, params->dvs2_coefs.ver_coefs.even_imag, in ia_css_get_isp_dvs2_coefficients()
246 memcpy(host_stats->hor_prod.odd_real + dst_offset, in ia_css_translate_dvs2_statistics()
[all …]
/openbmc/linux/tools/net/ynl/generated/
H A Ddevlink-user.h97 memcpy(req->bus_name, bus_name, req->_present.bus_name_len); in devlink_get_req_set_bus_name()
106 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_get_req_set_dev_name()
171 memcpy(req->bus_name, bus_name, req->_present.bus_name_len); in devlink_port_get_req_set_bus_name()
181 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_port_get_req_set_dev_name()
237 memcpy(req->bus_name, bus_name, req->_present.bus_name_len); in devlink_port_get_req_dump_set_bus_name()
247 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_port_get_req_dump_set_dev_name()
301 memcpy(req->bus_name, bus_name, req->_present.bus_name_len); in devlink_sb_get_req_set_bus_name()
311 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_sb_get_req_set_dev_name()
366 memcpy(req->bus_name, bus_name, req->_present.bus_name_len); in devlink_sb_get_req_dump_set_bus_name()
376 memcpy(req->dev_name, dev_name, req->_present.dev_name_len); in devlink_sb_get_req_dump_set_dev_name()
[all …]
/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c34 memcpy(rep_desc, accel3_report_descriptor, in get_report_desc()
39 memcpy(rep_desc, gyro3_report_descriptor, in get_report_desc()
44 memcpy(rep_desc, comp3_report_descriptor, in get_report_desc()
49 memcpy(rep_desc, als_report_descriptor, in get_report_desc()
54 memcpy(rep_desc, hpd_report_descriptor, in get_report_desc()
89 memcpy(feature_report, &acc_feature, sizeof(acc_feature)); in get_feature_rep()
97 memcpy(feature_report, &gyro_feature, sizeof(gyro_feature)); in get_feature_rep()
108 memcpy(feature_report, &magno_feature, sizeof(magno_feature)); in get_feature_rep()
116 memcpy(feature_report, &als_feature, sizeof(als_feature)); in get_feature_rep()
121 memcpy(feature_report, &hpd_feature, sizeof(hpd_feature)); in get_feature_rep()
[all …]
/openbmc/u-boot/net/
H A Dfastboot.c70 memcpy(packet, &response_header, sizeof(response_header)); in fastboot_udp_send_info()
74 memcpy(packet, response, strlen(response)); in fastboot_udp_send_info()
81 memcpy(last_packet, packet_base, last_packet_len); in fastboot_udp_send_info()
142 memcpy(packet, last_packet, last_packet_len); in fastboot_send()
150 memcpy(packet, &response_header, sizeof(response_header)); in fastboot_send()
156 memcpy(packet, &tmp, sizeof(tmp)); in fastboot_send()
161 memcpy(packet, &tmp, sizeof(tmp)); in fastboot_send()
164 memcpy(packet, &tmp, sizeof(tmp)); in fastboot_send()
168 memcpy(packet, error_msg, strlen(error_msg)); in fastboot_send()
195 memcpy(packet_base, &response_header, in fastboot_send()
[all …]
/openbmc/qemu/target/i386/
H A Dxsave_helper.c39 memcpy(&legacy->fpregs, env->fpregs, in x86_cpu_xsave_all_areas()
78 memcpy(&bndreg->bnd_regs, env->bnd_regs, in x86_cpu_xsave_all_areas()
98 memcpy(&opmask->opmask_regs, env->opmask_regs, in x86_cpu_xsave_all_areas()
117 memcpy(&hi16_zmm->hi16_zmm, &env->xmm_regs[16], in x86_cpu_xsave_all_areas()
127 memcpy(pkru, &env->pkru, sizeof(env->pkru)); in x86_cpu_xsave_all_areas()
134 memcpy(tilecfg, &env->xtilecfg, sizeof(env->xtilecfg)); in x86_cpu_xsave_all_areas()
141 memcpy(tiledata, &env->xtiledata, sizeof(env->xtiledata)); in x86_cpu_xsave_all_areas()
174 memcpy(env->fpregs, &legacy->fpregs, in x86_cpu_xrstor_all_areas()
211 memcpy(env->bnd_regs, &bndreg->bnd_regs, in x86_cpu_xrstor_all_areas()
238 memcpy(env->opmask_regs, &opmask->opmask_regs, in x86_cpu_xrstor_all_areas()
[all …]
/openbmc/qemu/tests/tcg/s390x/
H A Dfma.c69 memcpy(&p, a, sizeof(p)); in interpret_tables()
72 memcpy(&p, b, sizeof(p)); in interpret_tables()
94 memcpy(r, default_nans[fmt], sizeof(*r)); in interpret_tables()
98 memcpy(r, a, sizeof(*r)); in interpret_tables()
103 memcpy(r, b, sizeof(*r)); in interpret_tables()
114 memcpy(r, signed_floats[fmt][CLASS_MINUS_INF].v[0], sizeof(*r)); in interpret_tables()
116 memcpy(r, signed_floats[fmt][CLASS_PLUS_INF].v[0], sizeof(*r)); in interpret_tables()
118 memcpy(r, signed_floats[fmt][CLASS_MINUS_ZERO].v[0], sizeof(*r)); in interpret_tables()
120 memcpy(r, signed_floats[fmt][CLASS_PLUS_ZERO].v[0], sizeof(*r)); in interpret_tables()
122 memcpy(r, c, sizeof(*r)); in interpret_tables()
[all …]
/openbmc/linux/tools/crypto/ccp/
H A Ddbc.c30 memcpy(tmp.signature, signature, sizeof(tmp.signature)); in get_nonce()
34 memcpy(nonce_out, tmp.nonce, sizeof(tmp.nonce)); in get_nonce()
46 memcpy(tmp.uid, uid, sizeof(tmp.uid)); in set_uid()
47 memcpy(tmp.signature, signature, sizeof(tmp.signature)); in set_uid()
65 memcpy(tmp.signature, signature, sizeof(tmp.signature)); in process_param()
71 memcpy(signature, tmp.signature, sizeof(tmp.signature)); in process_param()
/openbmc/linux/drivers/crypto/nx/
H A Dnx-aes-gcm.c54 memcpy(csbcpb->cpb.aes_gcm.key, in_key, key_len); in gcm_aes_nx_set_key()
57 memcpy(csbcpb_aead->cpb.aes_gca.key, in_key, key_len); in gcm_aes_nx_set_key()
79 memcpy(nonce, in_key + key_len, 4); in gcm4106_aes_nx_set_key()
153 memcpy(csbcpb_aead->cpb.aes_gca.in_pat, in nx_gca()
164 memcpy(out, csbcpb_aead->cpb.aes_gca.out_pat, AES_BLOCK_SIZE); in nx_gca()
192 memcpy(csbcpb->cpb.aes_gcm.iv_or_cnt, iv, AES_BLOCK_SIZE); in gmac()
223 memcpy(csbcpb->cpb.aes_gcm.in_pat_or_aad, in gmac()
225 memcpy(csbcpb->cpb.aes_gcm.in_s0, in gmac()
259 memcpy(csbcpb->cpb.aes_ecb.key, csbcpb->cpb.aes_gcm.key, in gcm_empty()
292 memcpy(csbcpb->cpb.aes_gcm.out_pat_or_mac, out, in gcm_empty()
[all …]
/openbmc/linux/drivers/infiniband/core/
H A Dcma_trace.h38 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
40 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
83 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
85 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
115 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
117 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
208 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
210 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
243 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
245 memcpy(__entry->dstaddr, &id_priv->id.route.addr.dst_addr,
[all …]
/openbmc/linux/net/rose/
H A Drose_subr.c144 memcpy(dptr, &rose->dest_addr, ROSE_ADDR_LEN); in rose_write_internal()
146 memcpy(dptr, &rose->source_addr, ROSE_ADDR_LEN); in rose_write_internal()
283 memcpy(&facilities->source_digis[0], p + 2, AX25_ADDR_LEN); in rose_parse_national()
291 memcpy(&facilities->dest_digis[0], p + 2, AX25_ADDR_LEN); in rose_parse_national()
298 memcpy(&facilities->fail_call, p + 2, AX25_ADDR_LEN); in rose_parse_national()
303 memcpy(&facilities->fail_addr, p + 3, ROSE_ADDR_LEN); in rose_parse_national()
315 memcpy(&facilities->dest_digis[facilities->dest_ndigis++], pt, AX25_ADDR_LEN); in rose_parse_national()
319 memcpy(&facilities->source_digis[facilities->source_ndigis++], pt, AX25_ADDR_LEN); in rose_parse_national()
374 memcpy(&facilities->source_addr, p + 7, ROSE_ADDR_LEN); in rose_parse_ccitt()
375 memcpy(callsign, p + 12, l - 10); in rose_parse_ccitt()
[all …]
/openbmc/linux/arch/s390/crypto/
H A Dpaes_s390.c81 memcpy(kb->keybuf + sizeof(*h), key, keylen); in _key_to_kb()
94 memcpy(kb->key, key, keylen); in _key_to_kb()
155 memcpy(&ctx->pk, &pkey, sizeof(pkey)); in __paes_convert_key()
228 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt()
242 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in ecb_paes_crypt()
343 memcpy(param.iv, walk.iv, AES_BLOCK_SIZE); in cbc_paes_crypt()
345 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in cbc_paes_crypt()
354 memcpy(walk.iv, param.iv, AES_BLOCK_SIZE); in cbc_paes_crypt()
361 memcpy(param.key, ctx->pk.protkey, MAXPROTKEYSIZE); in cbc_paes_crypt()
427 memcpy(&ctx->pk[0], &pkey0, sizeof(pkey0)); in __xts_paes_convert_key()
[all …]

12345678910>>...193