/openbmc/linux/drivers/infiniband/core/ |
H A D | uverbs_marshall.c | 69 memset(&dst->grh, 0, sizeof(dst->grh)); in ib_copy_ah_attr_to_user() 82 if (dst->is_global) { in ib_copy_ah_attr_to_user() 92 dst->reserved = 0; in ib_copy_ah_attr_to_user() 132 memset(dst->reserved, 0, sizeof(dst->reserved)); in ib_copy_qp_attr_to_user() 151 dst->sl = src->sl; in __ib_copy_path_rec_to_user() 153 dst->mtu = src->mtu; in __ib_copy_path_rec_to_user() 180 memset(dst, 0, sizeof(*dst)); in ib_copy_path_rec_from_user() 191 memcpy(dst->dgid.raw, src->dgid, sizeof dst->dgid); in ib_copy_path_rec_from_user() 192 memcpy(dst->sgid.raw, src->sgid, sizeof dst->sgid); in ib_copy_path_rec_from_user() 203 dst->sl = src->sl; in ib_copy_path_rec_from_user() [all …]
|
/openbmc/u-boot/test/lib/ |
H A D | hexdump.c | 39 u8 dst[4]; in lib_test_hex2bin() local 41 hex2bin(dst, "649421de", 4); in lib_test_hex2bin() 43 hex2bin(dst, "aa2e7545", 4); in lib_test_hex2bin() 45 hex2bin(dst, "75453bc5", 4); in lib_test_hex2bin() 47 hex2bin(dst, "a16884c3", 4); in lib_test_hex2bin() 49 hex2bin(dst, "156b2e5e", 4); in lib_test_hex2bin() 51 hex2bin(dst, "2e035fff", 4); in lib_test_hex2bin() 53 hex2bin(dst, "0ffce99f", 4); in lib_test_hex2bin() 55 hex2bin(dst, "d3999443", 4); in lib_test_hex2bin() 57 hex2bin(dst, "91dd87bc", 4); in lib_test_hex2bin() [all …]
|
/openbmc/linux/net/core/ |
H A D | dst.c | 90 if (!dst) in dst_alloc() 95 return dst; in dst_alloc() 116 dst->ops->destroy(dst); in dst_destroy() 117 netdev_put(dst->dev, &dst->dev_tracker); in dst_destroy() 124 kmem_cache_free(dst->ops->kmem_cachep, dst); in dst_destroy() 127 if (dst) in dst_destroy() 137 dst = dst_destroy(dst); in dst_destroy_rcu() 155 dst->ops->ifdown(dst, dev); in dst_dev_put() 166 if (dst && rcuref_put(&dst->__rcuref)) in dst_release() 173 if (dst && rcuref_put(&dst->__rcuref)) in dst_release_immediate() [all …]
|
H A D | dst_cache.c | 31 if (dst) in dst_cache_per_cpu_dst_set() 35 dst_cache->dst = dst; in dst_cache_per_cpu_dst_set() 43 dst = idst->dst; in dst_cache_per_cpu_get() 44 if (!dst) in dst_cache_per_cpu_get() 51 (dst->obsolete && !dst->ops->check(dst, idst->cookie)))) { in dst_cache_per_cpu_get() 56 return dst; in dst_cache_per_cpu_get() 82 if (!dst) in dst_cache_get_ip4() 86 return container_of(dst, struct rtable, dst); in dst_cache_get_ip4() 131 if (!dst) in dst_cache_get_ip6() 135 return dst; in dst_cache_get_ip6() [all …]
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | cfbfillrect.c | 178 FB_WRITEL(FB_READL(dst) ^ val, dst); in bitfill_aligned_rev() 180 FB_WRITEL(FB_READL(dst) ^ val, dst); in bitfill_aligned_rev() 182 FB_WRITEL(FB_READL(dst) ^ val, dst); in bitfill_aligned_rev() 184 FB_WRITEL(FB_READL(dst) ^ val, dst); in bitfill_aligned_rev() 186 FB_WRITEL(FB_READL(dst) ^ val, dst); in bitfill_aligned_rev() 188 FB_WRITEL(FB_READL(dst) ^ val, dst); in bitfill_aligned_rev() 190 FB_WRITEL(FB_READL(dst) ^ val, dst); in bitfill_aligned_rev() 192 FB_WRITEL(FB_READL(dst) ^ val, dst); in bitfill_aligned_rev() 197 FB_WRITEL(FB_READL(dst) ^ val, dst); in bitfill_aligned_rev() 250 FB_WRITEL(FB_READL(dst) ^ pat, dst); in bitfill_unaligned_rev() [all …]
|
H A D | syscopyarea.c | 44 *dst = comp(*src, *dst, first); in bitcpy() 49 *dst = comp(*src, *dst, first); in bitcpy() 73 *dst = comp(*src, *dst, last); in bitcpy() 89 *dst = comp(*src << left, *dst, first); in bitcpy() 112 *dst = comp(d0 << left, *dst, first); in bitcpy() 159 *dst = comp(d0, *dst, last); in bitcpy() 193 *dst = comp(*src, *dst, last); in bitcpy_rev() 199 *dst = comp(*src, *dst, first); in bitcpy_rev() 222 *dst = comp(*src, *dst, last); in bitcpy_rev() 270 *dst = comp(d0, *dst, first); in bitcpy_rev() [all …]
|
H A D | sysfillrect.c | 40 *dst = comp(pat, *dst, first); in bitfill_aligned() 46 *dst = comp(pat, *dst, first); in bitfill_aligned() 58 *dst = comp(pat, *dst, last); in bitfill_aligned() 86 *dst = comp(pat, *dst, first); in bitfill_unaligned() 117 *dst = comp(pat, *dst, last); in bitfill_unaligned() 141 *dst = comp(*dst ^ val, *dst, first); in bitfill_aligned_rev() 146 *dst = comp(*dst ^ val, *dst, first); in bitfill_aligned_rev() 168 *dst = comp(*dst ^ val, *dst, last); in bitfill_aligned_rev() 197 *dst = comp(*dst ^ pat, *dst, first); in bitfill_unaligned_rev() 203 *dst = comp(*dst ^ pat, *dst, first); in bitfill_unaligned_rev() [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | cc_helper.c | 83 return (src1 & ~CC_C) | (dst * CC_C); in compute_all_adcx() 110 return dst ? 0 : CC_Z; in helper_cc_compute_all() 276 return dst; in helper_cc_compute_c() 279 return compute_c_addb(dst, src1); in helper_cc_compute_c() 281 return compute_c_addw(dst, src1); in helper_cc_compute_c() 283 return compute_c_addl(dst, src1); in helper_cc_compute_c() 293 return compute_c_subb(dst, src1); in helper_cc_compute_c() 295 return compute_c_subw(dst, src1); in helper_cc_compute_c() 297 return compute_c_subl(dst, src1); in helper_cc_compute_c() 307 return compute_c_shlb(dst, src1); in helper_cc_compute_c() [all …]
|
H A D | cc_helper_template.h.inc | 47 cf = dst < src1; 50 zf = (dst == 0) * CC_Z; 58 return dst < src1; 67 cf = (src3 ? dst <= src1 : dst < src1); 70 zf = (dst == 0) << 6; 79 return src3 ? dst <= src1 : dst < src1; 90 zf = (dst == 0) * CC_Z; 112 zf = (dst == 0) << 6; 133 zf = (dst == 0) * CC_Z; 145 src1 = dst - 1; [all …]
|
/openbmc/linux/include/net/ |
H A D | dst.h | 133 return dst->ops->cow_metrics(dst, p); in dst_metrics_write_ptr() 187 advmss = dst->ops->default_advmss(dst); in dst_metric_advmss() 258 if (dst) in dst_clone() 260 return dst; in dst_clone() 384 if (dst) in dst_tclassid() 421 n = dst->ops->neigh_lookup(dst, skb, NULL); in dst_neigh_lookup_skb() 430 dst->ops->confirm_neigh(dst, daddr); in dst_confirm_neigh() 436 if (dst && dst->ops && dst->ops->link_failure) in dst_link_failure() 550 if (dst && dst->ops->update_pmtu) in skb_dst_update_pmtu() 551 dst->ops->update_pmtu(dst, NULL, skb, mtu, true); in skb_dst_update_pmtu() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_debugfs.c | 94 out->prf(out->dst, "on"); in sparx5_vcap_is0_port_keys() 96 out->prf(out->dst, "off"); in sparx5_vcap_is0_port_keys() 116 out->prf(out->dst, "\n"); in sparx5_vcap_is0_port_keys() 136 out->prf(out->dst, "on"); in sparx5_vcap_is2_port_keys() 138 out->prf(out->dst, "off"); in sparx5_vcap_is2_port_keys() 229 out->prf(out->dst, "\n"); in sparx5_vcap_is2_port_keys() 284 out->prf(out->dst, "\n"); in sparx5_vcap_is2_port_stickies() 302 out->prf(out->dst, "on"); in sparx5_vcap_es0_port_keys() 322 out->prf(out->dst, "\n"); in sparx5_vcap_es0_port_keys() 402 out->prf(out->dst, "\n"); in sparx5_vcap_es2_port_keys() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_vcap_debugfs.c | 21 out->prf(out->dst, "on"); in lan966x_vcap_is1_port_keys() 23 out->prf(out->dst, "off"); in lan966x_vcap_is1_port_keys() 43 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys() 65 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys() 93 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys() 115 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys() 120 out->prf(out->dst, "\n"); in lan966x_vcap_is1_port_keys() 136 out->prf(out->dst, "on"); in lan966x_vcap_is2_port_keys() 190 out->prf(out->dst, "\n"); in lan966x_vcap_is2_port_keys() 206 out->prf(out->dst, "on"); in lan966x_vcap_es0_port_keys() [all …]
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_vp8.c | 54 u8 *dst; in hantro_vp8_prob_update() local 66 dst[7] = 0; in hantro_vp8_prob_update() 68 dst += 8; in hantro_vp8_prob_update() 79 dst += 8; in hantro_vp8_prob_update() 88 dst += 8; in hantro_vp8_prob_update() 95 dst += 4; in hantro_vp8_prob_update() 107 dst += 8; in hantro_vp8_prob_update() 112 dst += (8 * 7); in hantro_vp8_prob_update() 120 dst += 4; in hantro_vp8_prob_update() 127 dst += (8 * 55); in hantro_vp8_prob_update() [all …]
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | cc_helper.c | 38 if (src == dst) { in cc_calc_ltgt_32() 40 } else if (src < dst) { in cc_calc_ltgt_32() 54 if (src == dst) { in cc_calc_ltgt_64() 70 if (src == dst) { in cc_calc_ltugtu_32() 81 if (src == dst) { in cc_calc_ltugtu_64() 123 return !!dst; in cc_calc_nz() 171 } else if (dst) { in cc_calc_abs_64() 180 return !!dst; in cc_calc_nabs_64() 231 } else if (dst) { in cc_calc_abs_32() 240 return !!dst; in cc_calc_nabs_32() [all …]
|
/openbmc/linux/drivers/media/platform/allegro-dvt/ |
H A D | allegro-mail.c | 57 dst[i++] = 0; in allegro_enc_init() 121 dst[i++] = val; in allegro_encode_config_blob() 127 dst[i++] = val; in allegro_encode_config_blob() 133 dst[i++] = val; in allegro_encode_config_blob() 139 dst[i++] = val; in allegro_encode_config_blob() 186 dst[i++] = 0; in allegro_encode_config_blob() 199 dst[i++] = 0; in allegro_encode_config_blob() 331 dst[i++] = 0; in allegro_enc_encode_frame() 332 dst[i++] = 0; in allegro_enc_encode_frame() 333 dst[i++] = 0; in allegro_enc_encode_frame() [all …]
|
/openbmc/linux/arch/nios2/lib/ |
H A D | memmove.c | 15 unsigned long dst, src; in memmove() local 27 if (dst & 1) { in memmove() 31 if (dst & 2) { in memmove() 34 dst += 2; in memmove() 40 dst += 4; in memmove() 53 if (dst & 1) { in memmove() 55 dst--; in memmove() 59 if (dst & 2) { in memmove() 61 dst -= 2; in memmove() 67 dst -= 4; in memmove() [all …]
|
/openbmc/linux/net/dsa/ |
H A D | dsa.c | 216 dst = kzalloc(sizeof(*dst), GFP_KERNEL); in dsa_tree_alloc() 244 if (dst) in dsa_tree_get() 255 if (dst) in dsa_tree_touch() 295 dst = ds->dst; in dsa_link_touch() 317 struct dsa_switch_tree *dst = ds->dst; in dsa_port_setup_routing_table() local 578 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_setup_tag_protocol() local 1091 struct dsa_switch_tree *dst = ds->dst; in dsa_port_touch() local 1162 struct dsa_switch_tree *dst = ds->dst; in dsa_port_parse_cpu() local 1224 dp->dst = dst; in dsa_port_parse_cpu() 1528 dst = ds->dst; in dsa_switch_probe() [all …]
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp32.c | 228 emit(ctx, addu, lo(dst), lo(dst), src); in emit_alu_i64() 237 emit(ctx, subu, lo(dst), lo(dst), src); in emit_alu_i64() 240 emit(ctx, addiu, hi(dst), hi(dst), 1); in emit_alu_i64() 244 emit(ctx, or, lo(dst), lo(dst), src); in emit_alu_i64() 250 emit(ctx, and, lo(dst), lo(dst), src); in emit_alu_i64() 256 emit(ctx, xor, lo(dst), lo(dst), src); in emit_alu_i64() 275 emit(ctx, addu, lo(dst), lo(dst), lo(dst)); in emit_alu_r64() 358 emit(ctx, sra, hi(dst), hi(dst), 31); in emit_shift_i64() 453 emit(ctx, subu, hi(dst), hi(dst), lo(dst)); in emit_mul_i64() 565 exclude = BIT(lo(dst)) | BIT(hi(dst)); in emit_divmod_r64() [all …]
|
H A D | bpf_jit_comp64.c | 206 emit(ctx, dsllv, dst, dst, src); in emit_alu_r64() 210 emit(ctx, dsrlv, dst, dst, src); in emit_alu_r64() 214 emit(ctx, dsrav, dst, dst, src); in emit_alu_r64() 218 emit(ctx, daddu, dst, dst, src); in emit_alu_r64() 280 emit(ctx, dsbh, dst, dst); in emit_bswap_r64() 281 emit(ctx, dshd, dst, dst); in emit_bswap_r64() 306 emit_sext(ctx, dst, dst); in emit_bswap_r64() 665 emit_sext(ctx, dst, dst); in build_insn() 700 emit_sext(ctx, dst, dst); in build_insn() 704 emit_sext(ctx, dst, dst); in build_insn() [all …]
|
H A D | bpf_jit_comp.c | 319 emit(ctx, sll, dst, dst, imm); in emit_alu_i() 323 emit(ctx, srl, dst, dst, imm); in emit_alu_i() 327 emit(ctx, sra, dst, dst, imm); in emit_alu_i() 347 emit(ctx, and, dst, dst, src); in emit_alu_r() 351 emit(ctx, or, dst, dst, src); in emit_alu_r() 355 emit(ctx, xor, dst, dst, src); in emit_alu_r() 359 emit(ctx, sllv, dst, dst, src); in emit_alu_r() 363 emit(ctx, srlv, dst, dst, src); in emit_alu_r() 367 emit(ctx, srav, dst, dst, src); in emit_alu_r() 467 emit(ctx, wsbh, dst, dst); in emit_bswap_r() [all …]
|
/openbmc/linux/mm/ |
H A D | maccess.c | 18 __get_kernel_nofault(dst, src, type, err_label); \ 19 dst += sizeof(type); \ 29 align = (unsigned long)dst | (unsigned long)src; in copy_from_kernel_nofault() 53 dst += sizeof(type); \ 91 __get_kernel_nofault(dst, src, u8, Efault); in strncpy_from_kernel_nofault() 92 dst++; in strncpy_from_kernel_nofault() 94 } while (dst[-1] && src - unsafe_addr < count); in strncpy_from_kernel_nofault() 97 dst[-1] = '\0'; in strncpy_from_kernel_nofault() 101 dst[0] = '\0'; in strncpy_from_kernel_nofault() 147 if (access_ok(dst, size)) { in copy_to_user_nofault() [all …]
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_shift.S | 37 .macro slli_ver dst, v, imm 38 mov a2, \dst 54 mov a2, \dst 76 mov a2, \dst 91 sll \dst, \src 98 sll \dst, \src 119 srl \dst, \src 126 srl \dst, \src 149 sra \dst, \src 156 sra \dst, \src [all …]
|
/openbmc/linux/drivers/phy/ |
H A D | phy-xgene.c | 110 #define CFG_IND_ADDR_SET(dst, src) \ argument 115 #define I_RESET_B_SET(dst, src) \ argument 117 #define I_PLL_FBDIV_SET(dst, src) \ argument 119 #define I_CUSTOMEROV_SET(dst, src) \ argument 133 #define CMU_REG1_PLL_CP_SET(dst, src) \ argument 145 #define CMU_REG2_PLL_LFRES_SET(dst, src) \ argument 147 #define CMU_REG2_PLL_FBDIV_SET(dst, src) \ argument 150 #define CMU_REG3_VCOVARSEL_SET(dst, src) \ argument 299 #define RXTX_REG5_TX_CN1_SET(dst, src) \ argument 301 #define RXTX_REG5_TX_CP1_SET(dst, src) \ argument [all …]
|
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_misc.c | 245 memcpy(dst, src, sizeof(*src)); in pvrdma_gid_to_ib() 251 memcpy(dst, src, sizeof(*src)); in ib_gid_to_pvrdma() 258 dst->flow_label = src->flow_label; in pvrdma_global_route_to_ib() 259 dst->sgid_index = src->sgid_index; in pvrdma_global_route_to_ib() 260 dst->hop_limit = src->hop_limit; in pvrdma_global_route_to_ib() 268 dst->flow_label = src->flow_label; in ib_global_route_to_pvrdma() 270 dst->hop_limit = src->hop_limit; in ib_global_route_to_pvrdma() 279 rdma_ah_set_dlid(dst, src->dlid); in pvrdma_ah_attr_to_rdma() 280 rdma_ah_set_sl(dst, src->sl); in pvrdma_ah_attr_to_rdma() 293 dst->sl = rdma_ah_get_sl(src); in rdma_ah_attr_to_pvrdma() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-clone-visitor.c | 17 UserDefOne *src, *dst; in test_clone_struct() local 26 g_assert(dst); in test_clone_struct() 36 qapi_free_UserDefOne(dst); in test_clone_struct() 90 Empty2 *src, *dst; in test_clone_empty() local 94 g_assert(dst); in test_clone_empty() 96 qapi_free_Empty2(dst); in test_clone_empty() 110 g_assert(dst); in test_clone_complex1() 139 g_assert(dst); in test_clone_complex2() 140 g_assert(dst->alt); in test_clone_complex2() 176 g_assert(dst); in test_clone_complex3() [all …]
|