Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 25 of 2114) sorted by relevance

12345678910>>...85

/linux/drivers/infiniband/core/
H A Duverbs_marshall.c69 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 …]
/linux/drivers/video/fbdev/core/
H A Dcfbfillrect.c178 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 Dsyscopyarea.c44 *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 Dsysfillrect.c40 *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 …]
H A Dcfbcopyarea.c73 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); in bitcpy()
80 dst++; in bitcpy()
132 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); in bitcpy()
157 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); in bitcpy()
159 dst++; in bitcpy()
201 FB_WRITEL(comp(d0, FB_READL(dst), last), dst); in bitcpy()
253 dst--; in bitcpy_rev()
304 FB_WRITEL(comp(d0, FB_READL(dst), last), dst); in bitcpy_rev()
330 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); in bitcpy_rev()
332 dst--; in bitcpy_rev()
[all …]
/linux/net/core/
H A Ddst.c90 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()
126 dst = child; in dst_destroy()
127 if (dst) in dst_destroy()
153 dst->ops->ifdown(dst, dev); in dst_dev_put()
164 if (dst && rcuref_put(&dst->__rcuref)) in dst_release()
171 if (dst && rcuref_put(&dst->__rcuref)) in dst_release_immediate()
[all …]
H A Ddst_cache.c31 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()
48 dst_hold(dst); in dst_cache_per_cpu_get()
52 (dst->obsolete && !dst->ops->check(dst, idst->cookie)))) { in dst_cache_per_cpu_get()
57 return dst; in dst_cache_per_cpu_get()
83 if (!dst) in dst_cache_get_ip4()
132 if (!dst) in dst_cache_get_ip6()
136 return dst; in dst_cache_get_ip6()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_vcap_debugfs.c94 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 …]
/linux/include/net/
H A Ddst.h133 return dst->ops->cow_metrics(dst, p); in dst_metrics_write_ptr()
187 advmss = dst->ops->default_advmss(dst); in dst_metric_advmss()
251 if (dst) in dst_clone()
253 return dst; in dst_clone()
377 if (dst) in dst_tclassid()
413 n = dst->ops->neigh_lookup(dst, skb, NULL); in dst_neigh_lookup_skb()
422 dst->ops->confirm_neigh(dst, daddr); in dst_confirm_neigh()
428 if (dst && dst->ops && dst->ops->link_failure) in dst_link_failure()
542 if (dst && dst->ops->update_pmtu) in skb_dst_update_pmtu()
543 dst->ops->update_pmtu(dst, NULL, skb, mtu, true); in skb_dst_update_pmtu()
[all …]
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vcap_debugfs.c21 out->prf(out->dst, "on"); in lan966x_vcap_is1_port_keys()
23 out->prf(out->dst, "off"); in lan966x_vcap_is1_port_keys()
45 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys()
67 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys()
95 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys()
117 out->prf(out->dst, "-"); in lan966x_vcap_is1_port_keys()
122 out->prf(out->dst, "\n"); in lan966x_vcap_is1_port_keys()
138 out->prf(out->dst, "on"); in lan966x_vcap_is2_port_keys()
192 out->prf(out->dst, "\n"); in lan966x_vcap_is2_port_keys()
208 out->prf(out->dst, "on"); in lan966x_vcap_es0_port_keys()
[all …]
/linux/drivers/media/platform/verisilicon/
H A Dhantro_vp8.c54 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 …]
/linux/drivers/media/platform/allegro-dvt/
H A Dallegro-mail.c57 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 …]
/linux/arch/mips/net/
H A Dbpf_jit_comp32.c228 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 Dbpf_jit_comp64.c206 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 Dbpf_jit_comp.c319 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 …]
/linux/arch/nios2/lib/
H A Dmemmove.c15 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 …]
/linux/net/dsa/
H A Ddsa.c215 dst = kzalloc(sizeof(*dst), GFP_KERNEL); in dsa_tree_alloc()
243 if (dst) in dsa_tree_get()
254 if (dst) in dsa_tree_touch()
294 dst = ds->dst; in dsa_link_touch()
316 struct dsa_switch_tree *dst = ds->dst; in dsa_port_setup_routing_table() local
577 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_setup_tag_protocol() local
1086 struct dsa_switch_tree *dst = ds->dst; in dsa_port_touch() local
1157 struct dsa_switch_tree *dst = ds->dst; in dsa_port_parse_cpu() local
1219 dp->dst = dst; in dsa_port_parse_cpu()
1533 dst = ds->dst; in dsa_switch_probe()
[all …]
/linux/drivers/phy/
H A Dphy-xgene.c110 #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 …]
/linux/mm/
H A Dmaccess.c18 __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 …]
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_misc.c245 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 …]
/linux/drivers/gpu/drm/tests/
H A Ddrm_rect_test.c65 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 1 || in drm_test_rect_clip_scaled_not_clipped()
66 dst.y1 != 0 || dst.y2 != 1, "Destination badly clipped\n"); in drm_test_rect_clip_scaled_not_clipped()
79 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 1 || in drm_test_rect_clip_scaled_not_clipped()
80 dst.y1 != 0 || dst.y2 != 1, "Destination badly clipped\n"); in drm_test_rect_clip_scaled_not_clipped()
93 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 2 || in drm_test_rect_clip_scaled_not_clipped()
113 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 1 || in drm_test_rect_clip_scaled_clipped()
127 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 1 || dst.x2 != 2 || dst.y1 != 1 || in drm_test_rect_clip_scaled_clipped()
141 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 1 || dst.y1 != 0 || in drm_test_rect_clip_scaled_clipped()
155 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 1 || dst.x2 != 2 || dst.y1 != 1 || in drm_test_rect_clip_scaled_clipped()
169 KUNIT_EXPECT_FALSE_MSG(test, dst.x1 != 0 || dst.x2 != 2 || dst.y1 != 0 || in drm_test_rect_clip_scaled_clipped()
[all …]
/linux/arch/arm64/lib/
H A Dmemset.S41 dst .req x8 label
71 neg tmp2, dst
82 add dst, dst, tmp2
108 add dst, dst, count
119 sub dst, dst, #16/* Pre-bias. */
129 add dst, dst, #16
168 neg tmp2, dst
190 add dst, dst, #64
193 add dst, dst, tmp2
197 dc zva, dst
[all …]
/linux/arch/loongarch/net/
H A Dbpf_jit.c509 emit_insn(ctx, addd, dst, dst, src); in build_insn()
555 emit_insn(ctx, muld, dst, dst, t1); in build_insn()
640 emit_insn(ctx, and, dst, dst, src); in build_insn()
651 emit_insn(ctx, and, dst, dst, t1); in build_insn()
659 emit_insn(ctx, or, dst, dst, src); in build_insn()
670 emit_insn(ctx, or, dst, dst, t1); in build_insn()
678 emit_insn(ctx, xor, dst, dst, src); in build_insn()
689 emit_insn(ctx, xor, dst, dst, t1); in build_insn()
775 emit_insn(ctx, revb2h, dst, dst); in build_insn()
780 emit_insn(ctx, revb2w, dst, dst); in build_insn()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sock_fields.c68 dst->family = src->family; in skcpy()
69 dst->type = src->type; in skcpy()
71 dst->mark = src->mark; in skcpy()
73 dst->src_ip4 = src->src_ip4; in skcpy()
79 dst->dst_ip4 = src->dst_ip4; in skcpy()
85 dst->state = src->state; in skcpy()
92 dst->srtt_us = src->srtt_us; in tpcpy()
93 dst->rtt_min = src->rtt_min; in tpcpy()
95 dst->rcv_nxt = src->rcv_nxt; in tpcpy()
96 dst->snd_nxt = src->snd_nxt; in tpcpy()
[all …]
/linux/tools/include/nolibc/
H A Dstring.h42 if (dst < src) { in memmove()
52 return dst; in memmove()
67 return dst; in memcpy()
78 char *p = dst; in memset()
85 return dst; in memset()
114 char *ret = dst; in strcpy()
237 while (*dst) in strncat()
238 dst++; in strncat()
242 dst++; in strncat()
246 *dst = 0; in strncat()
[all …]

12345678910>>...85