/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_marshall.c | 63 struct ib_uverbs_ah_attr *dst, in ib_copy_ah_attr_to_user() argument 69 memset(&dst->grh, 0, sizeof(dst->grh)); in ib_copy_ah_attr_to_user() 76 dst->dlid = rdma_ah_get_dlid(src); in ib_copy_ah_attr_to_user() 77 dst->sl = rdma_ah_get_sl(src); in ib_copy_ah_attr_to_user() 78 dst->src_path_bits = rdma_ah_get_path_bits(src); in ib_copy_ah_attr_to_user() 79 dst->static_rate = rdma_ah_get_static_rate(src); in ib_copy_ah_attr_to_user() 80 dst->is_global = rdma_ah_get_ah_flags(src) & in ib_copy_ah_attr_to_user() 82 if (dst->is_global) { in ib_copy_ah_attr_to_user() 85 memcpy(dst->grh.dgid, grh->dgid.raw, sizeof(grh->dgid)); in ib_copy_ah_attr_to_user() 86 dst->grh.flow_label = grh->flow_label; in ib_copy_ah_attr_to_user() [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | dst.h | 87 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old); 96 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only() argument 98 return dst->_metrics & DST_METRICS_READ_ONLY; in dst_metrics_read_only() 101 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old); 103 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic() argument 105 unsigned long val = dst->_metrics; in dst_destroy_metrics_generic() 107 __dst_destroy_metrics_generic(dst, val); in dst_destroy_metrics_generic() 110 static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst) in dst_metrics_write_ptr() argument 112 unsigned long p = dst->_metrics; in dst_metrics_write_ptr() 117 return dst->ops->cow_metrics(dst, p); in dst_metrics_write_ptr() [all …]
|
/kernel/linux/linux-5.10/net/core/ |
D | dst.c | 47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init() argument 51 dst->dev = dev; in dst_init() 54 dst->ops = ops; in dst_init() 55 dst_init_metrics(dst, dst_default_metrics.metrics, true); in dst_init() 56 dst->expires = 0UL; in dst_init() 58 dst->xfrm = NULL; in dst_init() 60 dst->input = dst_discard; in dst_init() 61 dst->output = dst_discard_out; in dst_init() 62 dst->error = 0; in dst_init() 63 dst->obsolete = initial_obsolete; in dst_init() [all …]
|
D | dst_cache.c | 19 struct dst_entry *dst; member 28 struct dst_entry *dst, u32 cookie) in dst_cache_per_cpu_dst_set() argument 30 dst_release(dst_cache->dst); in dst_cache_per_cpu_dst_set() 31 if (dst) in dst_cache_per_cpu_dst_set() 32 dst_hold(dst); in dst_cache_per_cpu_dst_set() 35 dst_cache->dst = dst; in dst_cache_per_cpu_dst_set() 41 struct dst_entry *dst; in dst_cache_per_cpu_get() local 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() [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/core/ |
D | cfbfillrect.c | 35 bitfill_aligned(struct fb_info *p, unsigned long __iomem *dst, int dst_idx, in bitfill_aligned() argument 50 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() 56 FB_WRITEL(comp(pat, FB_READL(dst), first), dst); in bitfill_aligned() 57 dst++; in bitfill_aligned() 64 FB_WRITEL(pat, dst++); in bitfill_aligned() 65 FB_WRITEL(pat, dst++); in bitfill_aligned() 66 FB_WRITEL(pat, dst++); in bitfill_aligned() 67 FB_WRITEL(pat, dst++); in bitfill_aligned() 68 FB_WRITEL(pat, dst++); in bitfill_aligned() 69 FB_WRITEL(pat, dst++); in bitfill_aligned() [all …]
|
D | sysfillrect.c | 25 bitfill_aligned(struct fb_info *p, unsigned long *dst, int dst_idx, in bitfill_aligned() argument 40 *dst = comp(pat, *dst, first); in bitfill_aligned() 46 *dst = comp(pat, *dst, first); in bitfill_aligned() 47 dst++; in bitfill_aligned() 54 *dst++ = pat; in bitfill_aligned() 55 *dst++ = pat; in bitfill_aligned() 56 *dst++ = pat; in bitfill_aligned() 57 *dst++ = pat; in bitfill_aligned() 58 *dst++ = pat; in bitfill_aligned() 59 *dst++ = pat; in bitfill_aligned() [all …]
|
D | syscopyarea.c | 28 bitcpy(struct fb_info *p, unsigned long *dst, unsigned dst_idx, in bitcpy() argument 44 *dst = comp(*src, *dst, first); in bitcpy() 49 *dst = comp(*src, *dst, first); in bitcpy() 50 dst++; in bitcpy() 58 *dst++ = *src++; in bitcpy() 59 *dst++ = *src++; in bitcpy() 60 *dst++ = *src++; in bitcpy() 61 *dst++ = *src++; in bitcpy() 62 *dst++ = *src++; in bitcpy() 63 *dst++ = *src++; in bitcpy() [all …]
|
D | cfbcopyarea.c | 46 bitcpy(struct fb_info *p, unsigned long __iomem *dst, unsigned dst_idx, in bitcpy() argument 58 memmove((char *)dst + ((dst_idx & (bits - 1))) / 8, in bitcpy() 73 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); in bitcpy() 79 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst); in bitcpy() 80 dst++; in bitcpy() 88 FB_WRITEL(FB_READL(src++), dst++); in bitcpy() 89 FB_WRITEL(FB_READL(src++), dst++); in bitcpy() 90 FB_WRITEL(FB_READL(src++), dst++); in bitcpy() 91 FB_WRITEL(FB_READL(src++), dst++); in bitcpy() 92 FB_WRITEL(FB_READL(src++), dst++); in bitcpy() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
D | test-drm_rect.c | 16 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_div_by_zero() local 24 drm_rect_init(&dst, 0, 0, 0, 0); in igt_drm_rect_clip_scaled_div_by_zero() 26 visible = drm_rect_clip_scaled(&src, &dst, &clip); in igt_drm_rect_clip_scaled_div_by_zero() 31 drm_rect_init(&dst, 3, 3, 0, 0); in igt_drm_rect_clip_scaled_div_by_zero() 33 visible = drm_rect_clip_scaled(&src, &dst, &clip); in igt_drm_rect_clip_scaled_div_by_zero() 42 struct drm_rect src, dst, clip; in igt_drm_rect_clip_scaled_not_clipped() local 47 drm_rect_init(&dst, 0, 0, 1, 1); in igt_drm_rect_clip_scaled_not_clipped() 50 visible = drm_rect_clip_scaled(&src, &dst, &clip); in igt_drm_rect_clip_scaled_not_clipped() 55 FAIL(dst.x1 != 0 || dst.x2 != 1 || in igt_drm_rect_clip_scaled_not_clipped() 56 dst.y1 != 0 || dst.y2 != 1, in igt_drm_rect_clip_scaled_not_clipped() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
D | hantro_vp8.c | 54 u8 *dst; in hantro_vp8_prob_update() local 57 dst = ctx->vp8_dec.prob_tbl.cpu; in hantro_vp8_prob_update() 59 dst[0] = hdr->prob_skip_false; in hantro_vp8_prob_update() 60 dst[1] = hdr->prob_intra; in hantro_vp8_prob_update() 61 dst[2] = hdr->prob_last; in hantro_vp8_prob_update() 62 dst[3] = hdr->prob_gf; in hantro_vp8_prob_update() 63 dst[4] = hdr->segment_header.segment_probs[0]; in hantro_vp8_prob_update() 64 dst[5] = hdr->segment_header.segment_probs[1]; in hantro_vp8_prob_update() 65 dst[6] = hdr->segment_header.segment_probs[2]; in hantro_vp8_prob_update() 66 dst[7] = 0; in hantro_vp8_prob_update() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/ |
D | allegro-mail.c | 44 allegro_enc_init(u32 *dst, struct mcu_msg_init_request *msg) in allegro_enc_init() argument 49 dst[i++] = msg->reserved0; in allegro_enc_init() 50 dst[i++] = msg->suballoc_dma; in allegro_enc_init() 51 dst[i++] = msg->suballoc_size; in allegro_enc_init() 52 dst[i++] = msg->l2_cache[0]; in allegro_enc_init() 53 dst[i++] = msg->l2_cache[1]; in allegro_enc_init() 54 dst[i++] = msg->l2_cache[2]; in allegro_enc_init() 56 dst[i++] = -1; in allegro_enc_init() 57 dst[i++] = 0; in allegro_enc_init() 60 return i * sizeof(*dst); in allegro_enc_init() [all …]
|
/kernel/linux/linux-5.10/arch/nios2/lib/ |
D | memmove.c | 15 unsigned long dst, src; in memmove() local 21 dst = (unsigned long) d; in memmove() 24 if ((count < 8) || ((dst ^ src) & 3)) in memmove() 27 if (dst & 1) { in memmove() 28 *(char *)dst++ = *(char *)src++; in memmove() 31 if (dst & 2) { in memmove() 32 *(short *)dst = *(short *)src; in memmove() 34 dst += 2; in memmove() 38 *(long *)dst = *(long *)src; in memmove() 40 dst += 4; in memmove() [all …]
|
/kernel/linux/linux-5.10/net/dsa/ |
D | dsa2.c | 26 struct dsa_switch_tree *dst; in dsa_switch_find() local 29 list_for_each_entry(dst, &dsa_tree_list, list) { in dsa_switch_find() 30 if (dst->index != tree_index) in dsa_switch_find() 33 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find() 47 struct dsa_switch_tree *dst; in dsa_tree_find() local 49 list_for_each_entry(dst, &dsa_tree_list, list) in dsa_tree_find() 50 if (dst->index == index) in dsa_tree_find() 51 return dst; in dsa_tree_find() 58 struct dsa_switch_tree *dst; in dsa_tree_alloc() local 60 dst = kzalloc(sizeof(*dst), GFP_KERNEL); in dsa_tree_alloc() [all …]
|
/kernel/linux/linux-5.10/arch/mips/net/ |
D | ebpf_jit.c | 426 int dst = ebpf_to_mips_reg(ctx, insn, dst_reg); in gen_imm_insn() local 428 if (dst < 0) in gen_imm_insn() 429 return dst; in gen_imm_insn() 465 emit_instr(ctx, dinsu, dst, MIPS_R_ZERO, 32, 32); in gen_imm_insn() 471 emit_instr(ctx, sll, dst, dst, 0); in gen_imm_insn() 477 emit_instr(ctx, daddiu, dst, MIPS_R_ZERO, insn->imm); in gen_imm_insn() 481 emit_instr(ctx, andi, dst, dst, insn->imm); in gen_imm_insn() 485 emit_instr(ctx, ori, dst, dst, insn->imm); in gen_imm_insn() 489 emit_instr(ctx, xori, dst, dst, insn->imm); in gen_imm_insn() 492 emit_instr(ctx, daddiu, dst, dst, insn->imm); in gen_imm_insn() [all …]
|
/kernel/linux/linux-5.10/drivers/phy/ |
D | phy-xgene.c | 94 #define REGSPEC_CFG_I_TX_WORDMODE0_SET(dst, src) \ argument 95 (((dst) & ~0x00070000) | (((u32) (src) << 16) & 0x00070000)) 96 #define REGSPEC_CFG_I_RX_WORDMODE0_SET(dst, src) \ argument 97 (((dst) & ~0x00e00000) | (((u32) (src) << 21) & 0x00e00000)) 99 #define REGSPEC_CFG_I_CUSTOMER_PIN_MODE0_SET(dst, src) \ argument 100 (((dst) & ~0x00007fff) | (((u32) (src)) & 0x00007fff)) 102 #define CFG_I_SPD_SEL_CDR_OVR1_SET(dst, src) \ argument 103 (((dst) & ~0x0000000f) | (((u32) (src)) & 0x0000000f)) 109 #define CFG_IND_ADDR_SET(dst, src) \ argument 110 (((dst) & ~0x003ffff0) | (((u32) (src) << 4) & 0x003ffff0)) [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | maccess.c | 17 #define copy_from_kernel_nofault_loop(dst, src, len, type, err_label) \ argument 19 __get_kernel_nofault(dst, src, type, err_label); \ 20 dst += sizeof(type); \ 25 long copy_from_kernel_nofault(void *dst, const void *src, size_t size) in copy_from_kernel_nofault() argument 31 copy_from_kernel_nofault_loop(dst, src, size, u64, Efault); in copy_from_kernel_nofault() 32 copy_from_kernel_nofault_loop(dst, src, size, u32, Efault); in copy_from_kernel_nofault() 33 copy_from_kernel_nofault_loop(dst, src, size, u16, Efault); in copy_from_kernel_nofault() 34 copy_from_kernel_nofault_loop(dst, src, size, u8, Efault); in copy_from_kernel_nofault() 43 #define copy_to_kernel_nofault_loop(dst, src, len, type, err_label) \ argument 45 __put_kernel_nofault(dst, src, type, err_label); \ [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_misc.c | 224 void pvrdma_qp_cap_to_ib(struct ib_qp_cap *dst, const struct pvrdma_qp_cap *src) in pvrdma_qp_cap_to_ib() argument 226 dst->max_send_wr = src->max_send_wr; in pvrdma_qp_cap_to_ib() 227 dst->max_recv_wr = src->max_recv_wr; in pvrdma_qp_cap_to_ib() 228 dst->max_send_sge = src->max_send_sge; in pvrdma_qp_cap_to_ib() 229 dst->max_recv_sge = src->max_recv_sge; in pvrdma_qp_cap_to_ib() 230 dst->max_inline_data = src->max_inline_data; in pvrdma_qp_cap_to_ib() 233 void ib_qp_cap_to_pvrdma(struct pvrdma_qp_cap *dst, const struct ib_qp_cap *src) in ib_qp_cap_to_pvrdma() argument 235 dst->max_send_wr = src->max_send_wr; in ib_qp_cap_to_pvrdma() 236 dst->max_recv_wr = src->max_recv_wr; in ib_qp_cap_to_pvrdma() 237 dst->max_send_sge = src->max_send_sge; in ib_qp_cap_to_pvrdma() [all …]
|
/kernel/linux/linux-5.10/arch/arm64/lib/ |
D | memset.S | 41 dst .req x8 label 47 mov dst, dstin /* Preserve return value. */ 57 str A_l, [dst], #8 60 str A_lw, [dst], #4 63 strh A_lw, [dst], #2 66 strb A_lw, [dst] 72 neg tmp2, dst 80 stp A_l, A_l, [dst] /*non-aligned store..*/ 83 add dst, dst, tmp2 97 stp A_l, A_l, [dst], #16 [all …]
|
/kernel/linux/linux-5.10/lib/ |
D | string_helpers.c | 133 static bool unescape_space(char **src, char **dst) in unescape_space() argument 135 char *p = *dst, *q = *src; in unescape_space() 156 *dst += 1; in unescape_space() 161 static bool unescape_octal(char **src, char **dst) in unescape_octal() argument 163 char *p = *dst, *q = *src; in unescape_octal() 175 *dst += 1; in unescape_octal() 180 static bool unescape_hex(char **src, char **dst) in unescape_hex() argument 182 char *p = *dst, *q = *src; in unescape_hex() 199 *dst += 1; in unescape_hex() 204 static bool unescape_special(char **src, char **dst) in unescape_special() argument [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_sock_fields.c | 61 static void skcpy(struct bpf_sock *dst, in skcpy() argument 64 dst->bound_dev_if = src->bound_dev_if; in skcpy() 65 dst->family = src->family; in skcpy() 66 dst->type = src->type; in skcpy() 67 dst->protocol = src->protocol; in skcpy() 68 dst->mark = src->mark; in skcpy() 69 dst->priority = src->priority; in skcpy() 70 dst->src_ip4 = src->src_ip4; in skcpy() 71 dst->src_ip6[0] = src->src_ip6[0]; in skcpy() 72 dst->src_ip6[1] = src->src_ip6[1]; in skcpy() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | bitmap.h | 145 extern void __bitmap_complement(unsigned long *dst, const unsigned long *src, 147 extern void __bitmap_shift_right(unsigned long *dst, const unsigned long *src, 149 extern void __bitmap_shift_left(unsigned long *dst, const unsigned long *src, 151 extern void bitmap_cut(unsigned long *dst, const unsigned long *src, 154 extern int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, 156 extern void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, 158 extern void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1, 160 extern int __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1, 162 extern void __bitmap_replace(unsigned long *dst, 204 unsigned long *dst, int nbits); [all …]
|
/kernel/linux/linux-5.10/arch/x86/include/asm/crypto/ |
D | camellia.h | 35 asmlinkage void __camellia_enc_blk(const void *ctx, u8 *dst, const u8 *src, 37 asmlinkage void camellia_dec_blk(const void *ctx, u8 *dst, const u8 *src); 40 asmlinkage void __camellia_enc_blk_2way(const void *ctx, u8 *dst, const u8 *src, 42 asmlinkage void camellia_dec_blk_2way(const void *ctx, u8 *dst, const u8 *src); 45 asmlinkage void camellia_ecb_enc_16way(const void *ctx, u8 *dst, const u8 *src); 46 asmlinkage void camellia_ecb_dec_16way(const void *ctx, u8 *dst, const u8 *src); 48 asmlinkage void camellia_cbc_dec_16way(const void *ctx, u8 *dst, const u8 *src); 49 asmlinkage void camellia_ctr_16way(const void *ctx, u8 *dst, const u8 *src, 52 asmlinkage void camellia_xts_enc_16way(const void *ctx, u8 *dst, const u8 *src, 54 asmlinkage void camellia_xts_dec_16way(const void *ctx, u8 *dst, const u8 *src, [all …]
|
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | atafb_utils.h | 220 static inline void fast_memmove(char *dst, const char *src, size_t size) in fast_memmove() argument 224 if (dst < src) in fast_memmove() 232 : "=a" (src), "=a" (dst), "=d" (size) in fast_memmove() 233 : "0" (src), "1" (dst), "2" (size / 16 - 1) in fast_memmove() 243 : "=a" (src), "=a" (dst), "=d" (size) in fast_memmove() 244 : "0" (src + size), "1" (dst + size), "2" (size / 16 - 1) in fast_memmove() 280 static inline void fill8_col(u8 *dst, u32 m[]) in fill8_col() argument 283 dst[0] = tmp; in fill8_col() 284 dst[2] = (tmp >>= 8); in fill8_col() 286 dst[4] = (tmp >>= 8); in fill8_col() [all …]
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
D | blowfish_glue.c | 22 asmlinkage void __blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src, 24 asmlinkage void blowfish_dec_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src); 27 asmlinkage void __blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst, 29 asmlinkage void blowfish_dec_blk_4way(struct bf_ctx *ctx, u8 *dst, 32 static inline void blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src) in blowfish_enc_blk() argument 34 __blowfish_enc_blk(ctx, dst, src, false); in blowfish_enc_blk() 37 static inline void blowfish_enc_blk_xor(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_xor() argument 40 __blowfish_enc_blk(ctx, dst, src, true); in blowfish_enc_blk_xor() 43 static inline void blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_4way() argument 46 __blowfish_enc_blk_4way(ctx, dst, src, false); in blowfish_enc_blk_4way() [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | em_meta.c | 101 struct meta_obj *dst, int *err) 109 get_random_bytes(&dst->value, sizeof(dst->value)); in META_COLLECTOR() 122 dst->value = fixed_loadavg(avenrun[0]); in META_COLLECTOR() 127 dst->value = fixed_loadavg(avenrun[1]); in META_COLLECTOR() 132 dst->value = fixed_loadavg(avenrun[2]); in META_COLLECTOR() 139 static inline int int_dev(struct net_device *dev, struct meta_obj *dst) in int_dev() argument 144 dst->value = dev->ifindex; in int_dev() 148 static inline int var_dev(struct net_device *dev, struct meta_obj *dst) in var_dev() argument 153 dst->value = (unsigned long) dev->name; in var_dev() 154 dst->len = strlen(dev->name); in var_dev() [all …]
|