Home
last modified time | relevance | path

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

12345678910>>...109

/linux-6.15/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()
104 dst->qkey = src->qkey; in ib_copy_qp_attr_to_user()
105 dst->rq_psn = src->rq_psn; in ib_copy_qp_attr_to_user()
106 dst->sq_psn = src->sq_psn; in ib_copy_qp_attr_to_user()
132 memset(dst->reserved, 0, sizeof(dst->reserved)); in ib_copy_qp_attr_to_user()
150 dst->pkey = src->pkey; in __ib_copy_path_rec_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()
[all …]
/linux-6.15/net/core/
H A Ddst.c90 if (!dst) in dst_alloc()
95 return dst; in dst_alloc()
113 dst->ops->destroy(dst); in dst_destroy()
114 netdev_put(dst->dev, &dst->dev_tracker); in dst_destroy()
121 kmem_cache_free(dst->ops->kmem_cachep, dst); in dst_destroy()
123 dst = child; in dst_destroy()
124 if (dst) in dst_destroy()
150 dst->ops->ifdown(dst, dev); in dst_dev_put()
167 if (dst && rcuref_put(&dst->__rcuref)) { in dst_release()
184 if (dst && rcuref_put(&dst->__rcuref)) { in dst_release_immediate()
[all …]
H A Ddst_cache.c32 if (dst) in dst_cache_per_cpu_dst_set()
33 dst_hold(dst); in dst_cache_per_cpu_dst_set()
36 dst_cache->dst = dst; in dst_cache_per_cpu_dst_set()
45 dst = idst->dst; in dst_cache_per_cpu_get()
46 if (!dst) in dst_cache_per_cpu_get()
54 (dst->obsolete && !dst->ops->check(dst, idst->cookie)))) { in dst_cache_per_cpu_get()
59 return dst; in dst_cache_per_cpu_get()
85 if (!dst) in dst_cache_get_ip4()
134 if (!dst) in dst_cache_get_ip6()
138 return dst; in dst_cache_get_ip6()
[all …]
/linux-6.15/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-6.15/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()
551 if (dst && dst->ops->update_pmtu) in skb_dst_update_pmtu()
552 dst->ops->update_pmtu(dst, NULL, skb, mtu, true); in skb_dst_update_pmtu()
[all …]
/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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
1093 struct dsa_switch_tree *dst = ds->dst; in dsa_port_touch() local
1164 struct dsa_switch_tree *dst = ds->dst; in dsa_port_parse_cpu() local
1226 dp->dst = dst; in dsa_port_parse_cpu()
1562 dst = ds->dst; in dsa_switch_probe()
[all …]
/linux-6.15/drivers/video/fbdev/core/
H A Dfb_copyarea.h36 const struct fb_address *dst, in fb_copy_offset_masked() argument
66 fb_copy_offset(0, dst, src); in fb_copy_aligned_fwd()
110 fb_copy_offset(0, dst, src); in fb_copy_aligned_rev()
146 fb_copy_aligned_rev(dst, src, width + dst->bits, reverse); in fb_copy_aligned()
152 fb_copy_aligned_fwd(dst, src, width + dst->bits, reverse); in fb_copy_aligned()
166 int end = dst->bits + width; in fb_copy_fwd()
172 shift = dst->bits - src->bits; in fb_copy_fwd()
305 last, end, dst); in fb_copy_rev()
359 fb_copy_rev(dst, src, width + dst->bits, reorder, reverse); in fb_copy()
386 struct fb_address src = dst; in fb_copyarea()
[all …]
H A Dfb_fillrect.h31 fb_write_offset(fb_read_offset(offset, dst) ^ pat, offset, dst); in fb_invert_offset()
114 end += dst->bits; in bitfill()
122 fb_write_offset(first, 0, dst); in bitfill()
124 fb_modify_offset(first, last, 0, dst); in bitfill()
163 end += dst->bits; in bitinvert()
176 fb_invert_offset(first, 0, dst); in bitinvert()
199 fb_invert_offset(last, offset, dst); in bitinvert()
216 fb_address_forward(dst, bits_per_line); in fb_fillrect_static()
221 fb_address_forward(dst, bits_per_line); in fb_fillrect_static()
234 int bpp, struct fb_address *dst, in fb_fillrect_rotating() argument
[all …]
/linux-6.15/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-6.15/mm/
H A Dmaccess.c22 __get_kernel_nofault(dst, src, type, err_label); \
24 dst += sizeof(type); \
34 align = (unsigned long)dst | (unsigned long)src; in copy_from_kernel_nofault()
58 instrument_write(dst, sizeof(type)); \
59 dst += sizeof(type); \
98 __get_kernel_nofault(dst, src, u8, Efault); in strncpy_from_kernel_nofault()
99 dst++; in strncpy_from_kernel_nofault()
104 dst[-1] = '\0'; in strncpy_from_kernel_nofault()
108 dst[0] = '\0'; in strncpy_from_kernel_nofault()
154 if (access_ok(dst, size)) { in copy_to_user_nofault()
[all …]
/linux-6.15/arch/arm64/lib/
H A Dmemset.S42 dst .req x8 label
72 neg tmp2, dst
83 add dst, dst, tmp2
109 add dst, dst, count
120 sub dst, dst, #16/* Pre-bias. */
130 add dst, dst, #16
169 neg tmp2, dst
191 add dst, dst, #64
194 add dst, dst, tmp2
198 dc zva, dst
[all …]
/linux-6.15/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-6.15/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-6.15/arch/loongarch/net/
H A Dbpf_jit.c511 emit_insn(ctx, addd, dst, dst, src); in build_insn()
557 emit_insn(ctx, muld, dst, dst, t1); in build_insn()
642 emit_insn(ctx, and, dst, dst, src); in build_insn()
653 emit_insn(ctx, and, dst, dst, t1); in build_insn()
661 emit_insn(ctx, or, dst, dst, src); in build_insn()
672 emit_insn(ctx, or, dst, dst, t1); in build_insn()
680 emit_insn(ctx, xor, dst, dst, src); in build_insn()
691 emit_insn(ctx, xor, dst, dst, t1); in build_insn()
777 emit_insn(ctx, revb2h, dst, dst); in build_insn()
782 emit_insn(ctx, revb2w, dst, dst); in build_insn()
[all …]
/linux-6.15/tools/include/nolibc/
H A Dstring.h44 if (dst < src) { in memmove()
54 return dst; in memmove()
70 return dst; in memcpy()
82 char *p = dst; in memset()
89 return dst; in memset()
118 char *ret = dst; in strcpy()
242 while (*dst) in strncat()
243 dst++; in strncat()
247 dst++; in strncat()
251 *dst = 0; in strncat()
[all …]
/linux-6.15/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-6.15/drivers/video/fbdev/
H A Datafb_utils.h224 if (dst < src) in fast_memmove()
283 dst[0] = tmp; in fill8_col()
291 dst[8] = tmp; in fill8_col()
312 dst[0] = tmp; in fill8_2col()
320 dst[8] = tmp; in fill8_2col()
362 *dst++ = m[0]; in fill16_col()
364 *dst++ = m[1]; in fill16_col()
367 *dst++ = m[2]; in fill16_col()
368 *dst++ = m[3]; in fill16_col()
372 return dst; in fill16_col()
[all …]
/linux-6.15/net/sched/
H A Dem_meta.c109 get_random_bytes(&dst->value, sizeof(dst->value)); in META_COLLECTOR()
179 dst->value = tag; in META_COLLECTOR()
208 dst->value = skb->len; in META_COLLECTOR()
256 dst->value = 0; in META_COLLECTOR()
324 dst->len = 3; in META_COLLECTOR()
700 if (dst->val == 0UL) in meta_var_change()
702 dst->len = len; in meta_var_change()
717 dst->len -= shift; in meta_var_apply_extras()
831 dst->value = v->val; in meta_get()
832 dst->len = v->len; in meta_get()
[all …]

12345678910>>...109