/linux-4.4.14/arch/cris/arch-v10/lib/ |
D | memset.c | 72 register char *dst __asm__ ("r13") = pdst; in memset() 78 if ((unsigned long) dst & 1) in memset() 80 *dst = (char) lc; in memset() 82 dst++; in memset() 85 if ((unsigned long) dst & 2) in memset() 87 *(short *) dst = lc; in memset() 89 dst += 2; in memset() 150 : "=r" (dst), "=r" (n) in memset() 153 : "0" (dst), "1" (n), "r" (lc)); in memset() 159 *(long *) dst = lc; dst += 4; in memset() [all …]
|
D | string.c | 53 register unsigned char *dst __asm__ ("r13") = pdst; in memcpy() 60 if (((unsigned long) dst & 3) != 0 in memcpy() 65 if ((unsigned long) dst & 1) in memcpy() 68 *dst = *src; in memcpy() 70 dst++; in memcpy() 73 if ((unsigned long) dst & 2) in memcpy() 76 *(short *) dst = *(short *) src; in memcpy() 78 dst += 2; in memcpy() 128 : "=r" (dst), "=r" (src), "=r" (n) in memcpy() 131 : "0" (dst), "1" (src), "2" (n)); in memcpy() [all …]
|
D | usercopy.c | 43 register char *dst __asm__ ("r13") = pdst; in __copy_user() 52 if (((unsigned long) dst & 3) != 0 in __copy_user() 57 if ((unsigned long) dst & 1) in __copy_user() 59 __asm_copy_to_user_1 (dst, src, retn); in __copy_user() 63 if ((unsigned long) dst & 2) in __copy_user() 65 __asm_copy_to_user_2 (dst, src, retn); in __copy_user() 148 /* Outputs */ : "=r" (dst), "=r" (src), "=r" (n), "=r" (retn) in __copy_user() 149 /* Inputs */ : "0" (dst), "1" (src), "2" (n), "3" (retn)); in __copy_user() 160 __asm_copy_to_user_16 (dst, src, retn); in __copy_user() 168 __asm_copy_to_user_4 (dst, src, retn); in __copy_user() [all …]
|
/linux-4.4.14/arch/cris/arch-v32/lib/ |
D | memset.c | 72 register char *dst __asm__ ("r13") = pdst; in memset() 78 if ((unsigned long) dst & 1) in memset() 80 *dst = (char) lc; in memset() 82 dst++; in memset() 85 if ((unsigned long) dst & 2) in memset() 87 *(short *) dst = lc; in memset() 89 dst += 2; in memset() 150 : "=r" (dst), "=r" (n) in memset() 153 : "0" (dst), "1" (n), "r" (lc)); in memset() 159 *(long *) dst = lc; dst += 4; in memset() [all …]
|
D | string.c | 53 register unsigned char *dst __asm__ ("r13") = pdst; in memcpy() 60 if (((unsigned long) dst & 3) != 0 in memcpy() 65 if ((unsigned long) dst & 1) in memcpy() 68 *dst = *src; in memcpy() 70 dst++; in memcpy() 73 if ((unsigned long) dst & 2) in memcpy() 76 *(short *) dst = *(short *) src; in memcpy() 78 dst += 2; in memcpy() 128 : "=r" (dst), "=r" (src), "=r" (n) in memcpy() 131 : "0" (dst), "1" (src), "2" (n)); in memcpy() [all …]
|
D | usercopy.c | 39 register char *dst __asm__ ("r13") = pdst; in __copy_user() 48 if (((unsigned long) dst & 3) != 0 in __copy_user() 53 if ((unsigned long) dst & 1) in __copy_user() 55 __asm_copy_to_user_1 (dst, src, retn); in __copy_user() 59 if ((unsigned long) dst & 2) in __copy_user() 61 __asm_copy_to_user_2 (dst, src, retn); in __copy_user() 121 /* Outputs */ : "=r" (dst), "=r" (src), "=r" (n), "=r" (retn) in __copy_user() 122 /* Inputs */ : "0" (dst), "1" (src), "2" (n), "3" (retn)); in __copy_user() 128 __asm_copy_to_user_16 (dst, src, retn); in __copy_user() 136 __asm_copy_to_user_4 (dst, src, retn); in __copy_user() [all …]
|
/linux-4.4.14/drivers/infiniband/core/ |
D | uverbs_marshall.c | 36 void ib_copy_ah_attr_to_user(struct ib_uverbs_ah_attr *dst, in ib_copy_ah_attr_to_user() argument 39 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid); in ib_copy_ah_attr_to_user() 40 dst->grh.flow_label = src->grh.flow_label; in ib_copy_ah_attr_to_user() 41 dst->grh.sgid_index = src->grh.sgid_index; in ib_copy_ah_attr_to_user() 42 dst->grh.hop_limit = src->grh.hop_limit; in ib_copy_ah_attr_to_user() 43 dst->grh.traffic_class = src->grh.traffic_class; in ib_copy_ah_attr_to_user() 44 memset(&dst->grh.reserved, 0, sizeof(dst->grh.reserved)); in ib_copy_ah_attr_to_user() 45 dst->dlid = src->dlid; in ib_copy_ah_attr_to_user() 46 dst->sl = src->sl; in ib_copy_ah_attr_to_user() 47 dst->src_path_bits = src->src_path_bits; in ib_copy_ah_attr_to_user() [all …]
|
/linux-4.4.14/net/core/ |
D | dst.c | 55 static void ___dst_free(struct dst_entry *dst); 70 struct dst_entry *dst, *next, head; in dst_gc_task() local 77 while ((dst = next) != NULL) { in dst_gc_task() 78 next = dst->next; in dst_gc_task() 81 if (likely(atomic_read(&dst->__refcnt))) { in dst_gc_task() 82 last->next = dst; in dst_gc_task() 83 last = dst; in dst_gc_task() 89 dst = dst_destroy(dst); in dst_gc_task() 90 if (dst) { in dst_gc_task() 99 if (dst->obsolete > 0) in dst_gc_task() [all …]
|
/linux-4.4.14/include/net/ |
D | dst.h | 113 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old); 122 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only() argument 124 return dst->_metrics & DST_METRICS_READ_ONLY; in dst_metrics_read_only() 127 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old); 129 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic() argument 131 unsigned long val = dst->_metrics; in dst_destroy_metrics_generic() 133 __dst_destroy_metrics_generic(dst, val); in dst_destroy_metrics_generic() 136 static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst) in dst_metrics_write_ptr() argument 138 unsigned long p = dst->_metrics; in dst_metrics_write_ptr() 143 return dst->ops->cow_metrics(dst, p); in dst_metrics_write_ptr() [all …]
|
D | dst_ops.h | 28 void (*update_pmtu)(struct dst_entry *dst, struct sock *sk, 30 void (*redirect)(struct dst_entry *dst, struct sock *sk, 33 struct neighbour * (*neigh_lookup)(const struct dst_entry *dst, 42 static inline int dst_entries_get_fast(struct dst_ops *dst) in dst_entries_get_fast() argument 44 return percpu_counter_read_positive(&dst->pcpuc_entries); in dst_entries_get_fast() 47 static inline int dst_entries_get_slow(struct dst_ops *dst) in dst_entries_get_slow() argument 52 res = percpu_counter_sum_positive(&dst->pcpuc_entries); in dst_entries_get_slow() 57 static inline void dst_entries_add(struct dst_ops *dst, int val) in dst_entries_add() argument 60 percpu_counter_add(&dst->pcpuc_entries, val); in dst_entries_add() 64 static inline int dst_entries_init(struct dst_ops *dst) in dst_entries_init() argument [all …]
|
D | dst_metadata.h | 9 struct dst_entry dst; member 19 if (md_dst && md_dst->dst.flags & DST_METADATA) in skb_metadata_dst() 28 struct dst_entry *dst; in skb_tunnel_info() local 33 dst = skb_dst(skb); in skb_tunnel_info() 34 if (dst && dst->lwtstate) in skb_tunnel_info() 35 return lwt_tun_info(dst->lwtstate); in skb_tunnel_info() 42 struct dst_entry *dst = skb_dst(skb); in skb_valid_dst() local 44 return dst && !(dst->flags & DST_METADATA); in skb_valid_dst() 98 dst_hold(&new_md->dst); in tun_dst_unclone() 99 skb_dst_set(skb, &new_md->dst); in tun_dst_unclone() [all …]
|
D | ip6_fib.h | 97 struct dst_entry dst; member 138 static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst) in ip6_dst_idev() argument 140 return ((struct rt6_info *)dst)->rt6i_idev; in ip6_dst_idev() 146 rt->dst.expires = 0; in rt6_clean_expires() 151 rt->dst.expires = expires; in rt6_set_expires() 160 rt = (struct rt6_info *)rt->dst.from); in rt6_update_expires() 162 rt0->dst.expires = rt->dst.expires; in rt6_update_expires() 164 dst_set_expires(&rt0->dst, timeout); in rt6_update_expires() 171 (unlikely(rt->dst.flags & DST_NOCACHE) && rt->dst.from)) in rt6_get_cookie() 172 rt = (struct rt6_info *)(rt->dst.from); in rt6_get_cookie() [all …]
|
/linux-4.4.14/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 …]
|
D | sysimgblt.c | 56 u32 *dst, *dst2; in color_imageblit() local 66 dst = dst1; in color_imageblit() 73 val = *dst & start_mask; in color_imageblit() 85 *dst++ = val; in color_imageblit() 97 *dst &= end_mask; in color_imageblit() 98 *dst |= val; in color_imageblit() 116 u32 *dst, *dst2; in slow_imageblit() local 131 dst = dst1; in slow_imageblit() 138 val = *dst & start_mask; in slow_imageblit() 149 *dst++ = val; in slow_imageblit() [all …]
|
/linux-4.4.14/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 …]
|
/linux-4.4.14/arch/parisc/kernel/ |
D | binfmt_elf32.c | 15 #define ELF_CORE_COPY_REGS(dst, pt) \ argument 16 memset(dst, 0, sizeof(dst)); /* don't leak any "random" bits */ \ 18 for (i = 0; i < 32; i++) dst[i] = (elf_greg_t) pt->gr[i]; \ 19 for (i = 0; i < 8; i++) dst[32 + i] = (elf_greg_t) pt->sr[i]; \ 21 dst[40] = (elf_greg_t) pt->iaoq[0]; dst[41] = (elf_greg_t) pt->iaoq[1]; \ 22 dst[42] = (elf_greg_t) pt->iasq[0]; dst[43] = (elf_greg_t) pt->iasq[1]; \ 23 dst[44] = (elf_greg_t) pt->sar; dst[45] = (elf_greg_t) pt->iir; \ 24 dst[46] = (elf_greg_t) pt->isr; dst[47] = (elf_greg_t) pt->ior; \ 25 dst[48] = (elf_greg_t) mfctl(22); dst[49] = (elf_greg_t) mfctl(0); \ 26 dst[50] = (elf_greg_t) mfctl(24); dst[51] = (elf_greg_t) mfctl(25); \ [all …]
|
/linux-4.4.14/arch/x86/include/asm/ |
D | uaccess_64.h | 52 int __copy_from_user_nocheck(void *dst, const void __user *src, unsigned size) in __copy_from_user_nocheck() argument 57 return copy_user_generic(dst, (__force void *)src, size); in __copy_from_user_nocheck() 59 case 1:__get_user_asm(*(u8 *)dst, (u8 __user *)src, in __copy_from_user_nocheck() 62 case 2:__get_user_asm(*(u16 *)dst, (u16 __user *)src, in __copy_from_user_nocheck() 65 case 4:__get_user_asm(*(u32 *)dst, (u32 __user *)src, in __copy_from_user_nocheck() 68 case 8:__get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user_nocheck() 72 __get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user_nocheck() 76 __get_user_asm(*(u16 *)(8 + (char *)dst), in __copy_from_user_nocheck() 81 __get_user_asm(*(u64 *)dst, (u64 __user *)src, in __copy_from_user_nocheck() 85 __get_user_asm(*(u64 *)(8 + (char *)dst), in __copy_from_user_nocheck() [all …]
|
D | string_64.h | 35 #define memcpy(dst, src, len) \ argument 40 __ret = __memcpy((dst), (src), __len); \ 42 __ret = __builtin_memcpy((dst), (src), __len); \ 51 #define memcpy(dst, src, len) __inline_memcpy((dst), (src), (len)) argument 76 #define memcpy(dst, src, len) __memcpy(dst, src, len) argument 77 #define memmove(dst, src, len) __memmove(dst, src, len) argument
|
/linux-4.4.14/include/linux/ |
D | bitmap.h | 94 extern void __bitmap_complement(unsigned long *dst, const unsigned long *src, 96 extern void __bitmap_shift_right(unsigned long *dst, const unsigned long *src, 98 extern void __bitmap_shift_left(unsigned long *dst, const unsigned long *src, 100 extern int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, 102 extern void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, 104 extern void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1, 106 extern int __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1, 148 unsigned long *dst, int nbits); 150 unsigned long *dst, int nbits); 154 unsigned long *dst, int nbits); [all …]
|
D | task_io_accounting_ops.h | 48 static inline void task_blk_io_accounting_add(struct task_io_accounting *dst, in task_blk_io_accounting_add() argument 51 dst->read_bytes += src->read_bytes; in task_blk_io_accounting_add() 52 dst->write_bytes += src->write_bytes; in task_blk_io_accounting_add() 53 dst->cancelled_write_bytes += src->cancelled_write_bytes; in task_blk_io_accounting_add() 84 static inline void task_blk_io_accounting_add(struct task_io_accounting *dst, in task_blk_io_accounting_add() argument 92 static inline void task_chr_io_accounting_add(struct task_io_accounting *dst, in task_chr_io_accounting_add() argument 95 dst->rchar += src->rchar; in task_chr_io_accounting_add() 96 dst->wchar += src->wchar; in task_chr_io_accounting_add() 97 dst->syscr += src->syscr; in task_chr_io_accounting_add() 98 dst->syscw += src->syscw; in task_chr_io_accounting_add() [all …]
|
D | rpmsg.h | 60 u32 dst; member 115 u32 dst; member 199 u32 src = rpdev->src, dst = rpdev->dst; in rpmsg_send() local 201 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, true); in rpmsg_send() 223 int rpmsg_sendto(struct rpmsg_channel *rpdev, void *data, int len, u32 dst) in rpmsg_sendto() argument 227 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, true); in rpmsg_sendto() 251 int rpmsg_send_offchannel(struct rpmsg_channel *rpdev, u32 src, u32 dst, in rpmsg_send_offchannel() argument 254 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, true); in rpmsg_send_offchannel() 276 u32 src = rpdev->src, dst = rpdev->dst; in rpmsg_trysend() local 278 return rpmsg_send_offchannel_raw(rpdev, src, dst, data, len, false); in rpmsg_trysend() [all …]
|
D | nodemask.h | 115 #define node_set(node, dst) __node_set((node), &(dst)) argument 121 #define node_clear(node, dst) __node_clear((node), &(dst)) argument 127 #define nodes_setall(dst) __nodes_setall(&(dst), MAX_NUMNODES) argument 133 #define nodes_clear(dst) __nodes_clear(&(dst), MAX_NUMNODES) argument 149 #define nodes_and(dst, src1, src2) \ argument 150 __nodes_and(&(dst), &(src1), &(src2), MAX_NUMNODES) 157 #define nodes_or(dst, src1, src2) \ argument 158 __nodes_or(&(dst), &(src1), &(src2), MAX_NUMNODES) 165 #define nodes_xor(dst, src1, src2) \ argument 166 __nodes_xor(&(dst), &(src1), &(src2), MAX_NUMNODES) [all …]
|
D | string_helpers.h | 23 int string_unescape(char *src, char *dst, size_t size, unsigned int flags); 30 static inline int string_unescape_any(char *src, char *dst, size_t size) in string_unescape_any() argument 32 return string_unescape(src, dst, size, UNESCAPE_ANY); in string_unescape_any() 50 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz, 54 char *dst, size_t osz, const char *only) in string_escape_mem_any_np() argument 56 return string_escape_mem(src, isz, dst, osz, ESCAPE_ANY_NP, only); in string_escape_mem_any_np() 59 static inline int string_escape_str(const char *src, char *dst, size_t sz, in string_escape_str() argument 62 return string_escape_mem(src, strlen(src), dst, sz, flags, only); in string_escape_str() 65 static inline int string_escape_str_any_np(const char *src, char *dst, in string_escape_str_any_np() argument 68 return string_escape_str(src, dst, sz, ESCAPE_ANY_NP, only); in string_escape_str_any_np()
|
D | pmem.h | 39 static inline void arch_memcpy_to_pmem(void __pmem *dst, const void *src, in arch_memcpy_to_pmem() argument 63 static inline void memcpy_from_pmem(void *dst, void __pmem const *src, size_t size) in memcpy_from_pmem() argument 65 memcpy(dst, (void __force const *) src, size); in memcpy_from_pmem() 94 static inline void default_memcpy_to_pmem(void __pmem *dst, const void *src, in default_memcpy_to_pmem() argument 97 memcpy((void __force *) dst, src, size); in default_memcpy_to_pmem() 126 static inline void memcpy_to_pmem(void __pmem *dst, const void *src, size_t n) in memcpy_to_pmem() argument 129 arch_memcpy_to_pmem(dst, src, n); in memcpy_to_pmem() 131 default_memcpy_to_pmem(dst, src, n); in memcpy_to_pmem()
|
D | crypto.h | 171 struct scatterlist *dst; member 184 void (*crfn)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 185 unsigned int (*prfn)(const struct cipher_desc *desc, u8 *dst, 284 struct scatterlist *dst, struct scatterlist *src, 287 struct scatterlist *dst, struct scatterlist *src, 349 void (*cia_encrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 350 void (*cia_decrypt)(struct crypto_tfm *tfm, u8 *dst, const u8 *src); 355 unsigned int slen, u8 *dst, unsigned int *dlen); 357 unsigned int slen, u8 *dst, unsigned int *dlen); 509 int (*encrypt)(struct blkcipher_desc *desc, struct scatterlist *dst, [all …]
|
/linux-4.4.14/drivers/phy/ |
D | phy-xgene.c | 106 #define REGSPEC_CFG_I_TX_WORDMODE0_SET(dst, src) \ argument 107 (((dst) & ~0x00070000) | (((u32) (src) << 16) & 0x00070000)) 108 #define REGSPEC_CFG_I_RX_WORDMODE0_SET(dst, src) \ argument 109 (((dst) & ~0x00e00000) | (((u32) (src) << 21) & 0x00e00000)) 111 #define REGSPEC_CFG_I_CUSTOMER_PIN_MODE0_SET(dst, src) \ argument 112 (((dst) & ~0x00007fff) | (((u32) (src)) & 0x00007fff)) 114 #define CFG_I_SPD_SEL_CDR_OVR1_SET(dst, src) \ argument 115 (((dst) & ~0x0000000f) | (((u32) (src)) & 0x0000000f)) 121 #define CFG_IND_ADDR_SET(dst, src) \ argument 122 (((dst) & ~0x003ffff0) | (((u32) (src) << 4) & 0x003ffff0)) [all …]
|
/linux-4.4.14/arch/x86/crypto/ |
D | blowfish_glue.c | 37 asmlinkage void __blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src, 39 asmlinkage void blowfish_dec_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src); 42 asmlinkage void __blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst, 44 asmlinkage void blowfish_dec_blk_4way(struct bf_ctx *ctx, u8 *dst, 47 static inline void blowfish_enc_blk(struct bf_ctx *ctx, u8 *dst, const u8 *src) in blowfish_enc_blk() argument 49 __blowfish_enc_blk(ctx, dst, src, false); in blowfish_enc_blk() 52 static inline void blowfish_enc_blk_xor(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_xor() argument 55 __blowfish_enc_blk(ctx, dst, src, true); in blowfish_enc_blk_xor() 58 static inline void blowfish_enc_blk_4way(struct bf_ctx *ctx, u8 *dst, in blowfish_enc_blk_4way() argument 61 __blowfish_enc_blk_4way(ctx, dst, src, false); in blowfish_enc_blk_4way() [all …]
|
D | des3_ede_glue.c | 37 asmlinkage void des3_ede_x86_64_crypt_blk(const u32 *expkey, u8 *dst, 41 asmlinkage void des3_ede_x86_64_crypt_blk_3way(const u32 *expkey, u8 *dst, 44 static inline void des3_ede_enc_blk(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_enc_blk() argument 49 des3_ede_x86_64_crypt_blk(enc_ctx, dst, src); in des3_ede_enc_blk() 52 static inline void des3_ede_dec_blk(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_dec_blk() argument 57 des3_ede_x86_64_crypt_blk(dec_ctx, dst, src); in des3_ede_dec_blk() 60 static inline void des3_ede_enc_blk_3way(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_enc_blk_3way() argument 65 des3_ede_x86_64_crypt_blk_3way(enc_ctx, dst, src); in des3_ede_enc_blk_3way() 68 static inline void des3_ede_dec_blk_3way(struct des3_ede_x86_ctx *ctx, u8 *dst, in des3_ede_dec_blk_3way() argument 73 des3_ede_x86_64_crypt_blk_3way(dec_ctx, dst, src); in des3_ede_dec_blk_3way() [all …]
|
D | glue_helper.c | 49 u8 *wdst = walk->dst.virt.addr; in __glue_ecb_crypt_128bit() 82 struct blkcipher_desc *desc, struct scatterlist *dst, in glue_ecb_crypt_128bit() argument 87 blkcipher_walk_init(&walk, dst, src, nbytes); in glue_ecb_crypt_128bit() 100 u128 *dst = (u128 *)walk->dst.virt.addr; in __glue_cbc_encrypt_128bit() local 104 u128_xor(dst, src, iv); in __glue_cbc_encrypt_128bit() 105 fn(ctx, (u8 *)dst, (u8 *)dst); in __glue_cbc_encrypt_128bit() 106 iv = dst; in __glue_cbc_encrypt_128bit() 109 dst += 1; in __glue_cbc_encrypt_128bit() 119 struct scatterlist *dst, in glue_cbc_encrypt_128bit() argument 125 blkcipher_walk_init(&walk, dst, src, nbytes); in glue_cbc_encrypt_128bit() [all …]
|
D | glue_helper-asm-avx.S | 28 #define store_8way(dst, x0, x1, x2, x3, x4, x5, x6, x7) \ argument 29 vmovdqu x0, (0*16)(dst); \ 30 vmovdqu x1, (1*16)(dst); \ 31 vmovdqu x2, (2*16)(dst); \ 32 vmovdqu x3, (3*16)(dst); \ 33 vmovdqu x4, (4*16)(dst); \ 34 vmovdqu x5, (5*16)(dst); \ 35 vmovdqu x6, (6*16)(dst); \ 36 vmovdqu x7, (7*16)(dst); 38 #define store_cbc_8way(src, dst, x0, x1, x2, x3, x4, x5, x6, x7) \ argument [all …]
|
D | cast5_avx_glue.c | 39 asmlinkage void cast5_ecb_enc_16way(struct cast5_ctx *ctx, u8 *dst, 41 asmlinkage void cast5_ecb_dec_16way(struct cast5_ctx *ctx, u8 *dst, 43 asmlinkage void cast5_cbc_dec_16way(struct cast5_ctx *ctx, u8 *dst, 45 asmlinkage void cast5_ctr_16way(struct cast5_ctx *ctx, u8 *dst, const u8 *src, 66 void (*fn)(struct cast5_ctx *ctx, u8 *dst, const u8 *src); in ecb_crypt() 76 u8 *wdst = walk->dst.virt.addr; in ecb_crypt() 113 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() argument 118 blkcipher_walk_init(&walk, dst, src, nbytes); in ecb_encrypt() 122 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() argument 127 blkcipher_walk_init(&walk, dst, src, nbytes); in ecb_decrypt() [all …]
|
D | twofish_glue_3way.c | 39 static inline void twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_3way() argument 42 __twofish_enc_blk_3way(ctx, dst, src, false); in twofish_enc_blk_3way() 45 static inline void twofish_enc_blk_xor_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_xor_3way() argument 48 __twofish_enc_blk_3way(ctx, dst, src, true); in twofish_enc_blk_xor_3way() 51 void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src) in twofish_dec_blk_cbc_3way() argument 58 twofish_dec_blk_3way(ctx, (u8 *)dst, (u8 *)src); in twofish_dec_blk_cbc_3way() 60 u128_xor(&dst[1], &dst[1], &ivs[0]); in twofish_dec_blk_cbc_3way() 61 u128_xor(&dst[2], &dst[2], &ivs[1]); in twofish_dec_blk_cbc_3way() 65 void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_enc_blk_ctr() argument 69 if (dst != src) in twofish_enc_blk_ctr() [all …]
|
D | glue_helper-asm-avx2.S | 23 #define store_16way(dst, x0, x1, x2, x3, x4, x5, x6, x7) \ argument 24 vmovdqu x0, (0*32)(dst); \ 25 vmovdqu x1, (1*32)(dst); \ 26 vmovdqu x2, (2*32)(dst); \ 27 vmovdqu x3, (3*32)(dst); \ 28 vmovdqu x4, (4*32)(dst); \ 29 vmovdqu x5, (5*32)(dst); \ 30 vmovdqu x6, (6*32)(dst); \ 31 vmovdqu x7, (7*32)(dst); 33 #define store_cbc_16way(src, dst, x0, x1, x2, x3, x4, x5, x6, x7, t0) \ argument [all …]
|
D | chacha20_glue.c | 22 asmlinkage void chacha20_block_xor_ssse3(u32 *state, u8 *dst, const u8 *src); 23 asmlinkage void chacha20_4block_xor_ssse3(u32 *state, u8 *dst, const u8 *src); 25 asmlinkage void chacha20_8block_xor_avx2(u32 *state, u8 *dst, const u8 *src); 29 static void chacha20_dosimd(u32 *state, u8 *dst, const u8 *src, in chacha20_dosimd() argument 37 chacha20_8block_xor_avx2(state, dst, src); in chacha20_dosimd() 40 dst += CHACHA20_BLOCK_SIZE * 8; in chacha20_dosimd() 46 chacha20_4block_xor_ssse3(state, dst, src); in chacha20_dosimd() 49 dst += CHACHA20_BLOCK_SIZE * 4; in chacha20_dosimd() 53 chacha20_block_xor_ssse3(state, dst, src); in chacha20_dosimd() 56 dst += CHACHA20_BLOCK_SIZE; in chacha20_dosimd() [all …]
|
D | aesni-intel_glue.c | 334 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt() argument 339 crypto_aes_encrypt_x86(ctx, dst, src); in aes_encrypt() 342 aesni_enc(ctx, dst, src); in aes_encrypt() 347 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt() argument 352 crypto_aes_decrypt_x86(ctx, dst, src); in aes_decrypt() 355 aesni_dec(ctx, dst, src); in aes_decrypt() 360 static void __aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in __aes_encrypt() argument 364 aesni_enc(ctx, dst, src); in __aes_encrypt() 367 static void __aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in __aes_decrypt() argument 371 aesni_dec(ctx, dst, src); in __aes_decrypt() [all …]
|
D | twofish_avx_glue.c | 49 asmlinkage void twofish_ecb_enc_8way(struct twofish_ctx *ctx, u8 *dst, 51 asmlinkage void twofish_ecb_dec_8way(struct twofish_ctx *ctx, u8 *dst, 54 asmlinkage void twofish_cbc_dec_8way(struct twofish_ctx *ctx, u8 *dst, 56 asmlinkage void twofish_ctr_8way(struct twofish_ctx *ctx, u8 *dst, 59 asmlinkage void twofish_xts_enc_8way(struct twofish_ctx *ctx, u8 *dst, 61 asmlinkage void twofish_xts_dec_8way(struct twofish_ctx *ctx, u8 *dst, 64 static inline void twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, in twofish_enc_blk_3way() argument 67 __twofish_enc_blk_3way(ctx, dst, src, false); in twofish_enc_blk_3way() 70 static void twofish_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in twofish_xts_enc() argument 72 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in twofish_xts_enc() [all …]
|
D | cast6_avx_glue.c | 44 asmlinkage void cast6_ecb_enc_8way(struct cast6_ctx *ctx, u8 *dst, 46 asmlinkage void cast6_ecb_dec_8way(struct cast6_ctx *ctx, u8 *dst, 49 asmlinkage void cast6_cbc_dec_8way(struct cast6_ctx *ctx, u8 *dst, 51 asmlinkage void cast6_ctr_8way(struct cast6_ctx *ctx, u8 *dst, const u8 *src, 54 asmlinkage void cast6_xts_enc_8way(struct cast6_ctx *ctx, u8 *dst, 56 asmlinkage void cast6_xts_dec_8way(struct cast6_ctx *ctx, u8 *dst, 59 static void cast6_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_enc() argument 61 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in cast6_xts_enc() 65 static void cast6_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in cast6_xts_dec() argument 67 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in cast6_xts_dec() [all …]
|
D | serpent_avx_glue.c | 44 asmlinkage void serpent_ecb_enc_8way_avx(struct serpent_ctx *ctx, u8 *dst, 48 asmlinkage void serpent_ecb_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst, 52 asmlinkage void serpent_cbc_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst, 56 asmlinkage void serpent_ctr_8way_avx(struct serpent_ctx *ctx, u8 *dst, 60 asmlinkage void serpent_xts_enc_8way_avx(struct serpent_ctx *ctx, u8 *dst, 64 asmlinkage void serpent_xts_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst, 68 void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in __serpent_crypt_ctr() argument 76 u128_xor(dst, src, (u128 *)&ctrblk); in __serpent_crypt_ctr() 80 void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_xts_enc() argument 82 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in serpent_xts_enc() [all …]
|
D | aes_glue.c | 13 void crypto_aes_encrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src) in crypto_aes_encrypt_x86() argument 15 aes_enc_blk(ctx, dst, src); in crypto_aes_encrypt_x86() 19 void crypto_aes_decrypt_x86(struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src) in crypto_aes_decrypt_x86() argument 21 aes_dec_blk(ctx, dst, src); in crypto_aes_decrypt_x86() 25 static void aes_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_encrypt() argument 27 aes_enc_blk(crypto_tfm_ctx(tfm), dst, src); in aes_encrypt() 30 static void aes_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in aes_decrypt() argument 32 aes_dec_blk(crypto_tfm_ctx(tfm), dst, src); in aes_decrypt()
|
D | camellia_aesni_avx_glue.c | 29 asmlinkage void camellia_ecb_enc_16way(struct camellia_ctx *ctx, u8 *dst, 33 asmlinkage void camellia_ecb_dec_16way(struct camellia_ctx *ctx, u8 *dst, 37 asmlinkage void camellia_cbc_dec_16way(struct camellia_ctx *ctx, u8 *dst, 41 asmlinkage void camellia_ctr_16way(struct camellia_ctx *ctx, u8 *dst, 45 asmlinkage void camellia_xts_enc_16way(struct camellia_ctx *ctx, u8 *dst, 49 asmlinkage void camellia_xts_dec_16way(struct camellia_ctx *ctx, u8 *dst, 53 void camellia_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_enc() argument 55 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in camellia_xts_enc() 60 void camellia_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv) in camellia_xts_dec() argument 62 glue_xts_crypt_128bit_one(ctx, dst, src, iv, in camellia_xts_dec() [all …]
|
D | serpent_sse2_glue.c | 48 static void serpent_decrypt_cbc_xway(void *ctx, u128 *dst, const u128 *src) in serpent_decrypt_cbc_xway() argument 56 serpent_dec_blk_xway(ctx, (u8 *)dst, (u8 *)src); in serpent_decrypt_cbc_xway() 59 u128_xor(dst + (j + 1), dst + (j + 1), ivs + j); in serpent_decrypt_cbc_xway() 62 static void serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, le128 *iv) in serpent_crypt_ctr() argument 70 u128_xor(dst, src, (u128 *)&ctrblk); in serpent_crypt_ctr() 73 static void serpent_crypt_ctr_xway(void *ctx, u128 *dst, const u128 *src, in serpent_crypt_ctr_xway() argument 80 if (dst != src) in serpent_crypt_ctr_xway() 81 dst[i] = src[i]; in serpent_crypt_ctr_xway() 87 serpent_enc_blk_xway_xor(ctx, (u8 *)dst, (u8 *)ctrblks); in serpent_crypt_ctr_xway() 142 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() argument [all …]
|
D | serpent_avx2_glue.c | 30 asmlinkage void serpent_ecb_enc_16way(struct serpent_ctx *ctx, u8 *dst, 32 asmlinkage void serpent_ecb_dec_16way(struct serpent_ctx *ctx, u8 *dst, 34 asmlinkage void serpent_cbc_dec_16way(void *ctx, u128 *dst, const u128 *src); 36 asmlinkage void serpent_ctr_16way(void *ctx, u128 *dst, const u128 *src, 38 asmlinkage void serpent_xts_enc_16way(struct serpent_ctx *ctx, u8 *dst, 40 asmlinkage void serpent_xts_dec_16way(struct serpent_ctx *ctx, u8 *dst, 139 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() argument 142 return glue_ecb_crypt_128bit(&serpent_enc, desc, dst, src, nbytes); in ecb_encrypt() 145 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() argument 148 return glue_ecb_crypt_128bit(&serpent_dec, desc, dst, src, nbytes); in ecb_decrypt() [all …]
|
D | camellia_glue.c | 39 asmlinkage void __camellia_enc_blk(struct camellia_ctx *ctx, u8 *dst, 42 asmlinkage void camellia_dec_blk(struct camellia_ctx *ctx, u8 *dst, 47 asmlinkage void __camellia_enc_blk_2way(struct camellia_ctx *ctx, u8 *dst, 50 asmlinkage void camellia_dec_blk_2way(struct camellia_ctx *ctx, u8 *dst, 54 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_encrypt() argument 56 camellia_enc_blk(crypto_tfm_ctx(tfm), dst, src); in camellia_encrypt() 59 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_decrypt() argument 61 camellia_dec_blk(crypto_tfm_ctx(tfm), dst, src); in camellia_decrypt() 1282 void camellia_decrypt_cbc_2way(void *ctx, u128 *dst, const u128 *src) in camellia_decrypt_cbc_2way() argument 1286 camellia_dec_blk_2way(ctx, (u8 *)dst, (u8 *)src); in camellia_decrypt_cbc_2way() [all …]
|
D | camellia_aesni_avx2_glue.c | 30 asmlinkage void camellia_ecb_enc_32way(struct camellia_ctx *ctx, u8 *dst, 32 asmlinkage void camellia_ecb_dec_32way(struct camellia_ctx *ctx, u8 *dst, 35 asmlinkage void camellia_cbc_dec_32way(struct camellia_ctx *ctx, u8 *dst, 37 asmlinkage void camellia_ctr_32way(struct camellia_ctx *ctx, u8 *dst, 40 asmlinkage void camellia_xts_enc_32way(struct camellia_ctx *ctx, u8 *dst, 42 asmlinkage void camellia_xts_dec_32way(struct camellia_ctx *ctx, u8 *dst, 153 static int ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_encrypt() argument 156 return glue_ecb_crypt_128bit(&camellia_enc, desc, dst, src, nbytes); in ecb_encrypt() 159 static int ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in ecb_decrypt() argument 162 return glue_ecb_crypt_128bit(&camellia_dec, desc, dst, src, nbytes); in ecb_decrypt() [all …]
|
D | twofish_glue.c | 47 asmlinkage void twofish_enc_blk(struct twofish_ctx *ctx, u8 *dst, 50 asmlinkage void twofish_dec_blk(struct twofish_ctx *ctx, u8 *dst, 54 static void twofish_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_encrypt() argument 56 twofish_enc_blk(crypto_tfm_ctx(tfm), dst, src); in twofish_encrypt() 59 static void twofish_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in twofish_decrypt() argument 61 twofish_dec_blk(crypto_tfm_ctx(tfm), dst, src); in twofish_decrypt()
|
/linux-4.4.14/arch/arm64/lib/ |
D | memset.S | 53 dst .req x8 label 60 mov dst, dstin /* Preserve return value. */ 70 str A_l, [dst], #8 73 str A_lw, [dst], #4 76 strh A_lw, [dst], #2 79 strb A_lw, [dst] 85 neg tmp2, dst 93 stp A_l, A_l, [dst] /*non-aligned store..*/ 96 add dst, dst, tmp2 110 stp A_l, A_l, [dst], #16 [all …]
|
D | copy_template.S | 43 dst .req x6 label 54 mov dst, dstin 71 strb1 tmp1w, dst, #1 75 strh1 tmp1w, dst, #2 79 str1 tmp1w, dst, #4 83 str1 tmp1, dst, #8 103 stp1 A_l, A_h, dst, #16 106 stp1 A_l, A_h, dst, #16 109 stp1 A_l, A_h, dst, #16 124 str1 tmp1, dst, #8 [all …]
|
D | memmove.S | 49 dst .req x6 label 69 add dst, dstin, count 84 strb tmp1w, [dst, #-1]! 88 strh tmp1w, [dst, #-2]! 92 str tmp1w, [dst, #-4]! 96 str tmp1, [dst, #-8]! 117 stp A_l, A_h, [dst, #-16]! 120 stp A_l, A_h, [dst, #-16]! 123 stp A_l, A_h, [dst, #-16]! 128 str tmp1, [dst, #-8]! [all …]
|
/linux-4.4.14/drivers/media/platform/s5p-tv/ |
D | mixer_grp_layer.c | 153 struct mxr_crop *dst = &geo->dst; in mxr_graph_fix_geometry() local 164 x_center = dst->x_offset + dst->width / 2; in mxr_graph_fix_geometry() 165 y_center = dst->y_offset + dst->height / 2; in mxr_graph_fix_geometry() 168 dst->width = round_down(dst->width, 2); in mxr_graph_fix_geometry() 169 dst->height = round_down(dst->height, 2); in mxr_graph_fix_geometry() 171 dst->width = round_up(dst->width, 2); in mxr_graph_fix_geometry() 172 dst->height = round_up(dst->height, 2); in mxr_graph_fix_geometry() 175 dst->width = min(dst->width, dst->full_width); in mxr_graph_fix_geometry() 176 dst->height = min(dst->height, dst->full_height); in mxr_graph_fix_geometry() 179 dst->width = min(dst->width, 2 * src->full_width); in mxr_graph_fix_geometry() [all …]
|
D | mixer_vp_layer.c | 148 struct mxr_crop *dst = &geo->dst; in mxr_vp_fix_geometry() local 156 x_center = dst->x_offset + dst->width / 2; in mxr_vp_fix_geometry() 157 y_center = dst->y_offset + dst->height / 2; in mxr_vp_fix_geometry() 160 dst->width = clamp(dst->width, 8U, 16 * src->full_width); in mxr_vp_fix_geometry() 161 dst->height = clamp(dst->height, 1U, 16 * src->full_height); in mxr_vp_fix_geometry() 164 dst->x_offset = do_center(x_center, dst->width, in mxr_vp_fix_geometry() 165 dst->full_width, flags); in mxr_vp_fix_geometry() 166 dst->y_offset = do_center(y_center, dst->height, in mxr_vp_fix_geometry() 167 dst->full_height, flags); in mxr_vp_fix_geometry() 176 src->width = clamp(src->width, round_up(dst->width / 16, 4), in mxr_vp_fix_geometry() [all …]
|
/linux-4.4.14/lib/ |
D | string_helpers.c | 128 static bool unescape_space(char **src, char **dst) in unescape_space() argument 130 char *p = *dst, *q = *src; in unescape_space() 151 *dst += 1; in unescape_space() 156 static bool unescape_octal(char **src, char **dst) in unescape_octal() argument 158 char *p = *dst, *q = *src; in unescape_octal() 170 *dst += 1; in unescape_octal() 175 static bool unescape_hex(char **src, char **dst) in unescape_hex() argument 177 char *p = *dst, *q = *src; in unescape_hex() 194 *dst += 1; in unescape_hex() 199 static bool unescape_special(char **src, char **dst) in unescape_special() argument [all …]
|
D | strncpy_from_user.c | 11 #define IS_UNALIGNED(src, dst) 0 argument 13 #define IS_UNALIGNED(src, dst) \ argument 14 (((long) dst | (long) src) & (sizeof(long) - 1)) 23 static inline long do_strncpy_from_user(char *dst, const char __user *src, long count, unsigned lon… in do_strncpy_from_user() argument 35 if (IS_UNALIGNED(src, dst)) in do_strncpy_from_user() 44 *(unsigned long *)(dst+res) = c; in do_strncpy_from_user() 60 dst[res] = c; in do_strncpy_from_user() 99 long strncpy_from_user(char *dst, const char __user *src, long count) in strncpy_from_user() argument 110 return do_strncpy_from_user(dst, src, count, max); in strncpy_from_user()
|
D | iomap.c | 145 static inline void mmio_insb(void __iomem *addr, u8 *dst, int count) in mmio_insb() argument 149 *dst = data; in mmio_insb() 150 dst++; in mmio_insb() 153 static inline void mmio_insw(void __iomem *addr, u16 *dst, int count) in mmio_insw() argument 157 *dst = data; in mmio_insw() 158 dst++; in mmio_insw() 161 static inline void mmio_insl(void __iomem *addr, u32 *dst, int count) in mmio_insl() argument 165 *dst = data; in mmio_insl() 166 dst++; in mmio_insl() 195 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) in ioread8_rep() argument [all …]
|
D | bitmap.c | 61 void __bitmap_complement(unsigned long *dst, const unsigned long *src, unsigned int bits) in __bitmap_complement() argument 65 dst[k] = ~src[k]; in __bitmap_complement() 68 dst[k] = ~src[k]; in __bitmap_complement() 83 void __bitmap_shift_right(unsigned long *dst, const unsigned long *src, in __bitmap_shift_right() argument 108 dst[k] = lower | upper; in __bitmap_shift_right() 111 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right() 128 void __bitmap_shift_left(unsigned long *dst, const unsigned long *src, in __bitmap_shift_left() argument 146 dst[k + off] = lower | upper; in __bitmap_shift_left() 149 memset(dst, 0, off*sizeof(unsigned long)); in __bitmap_shift_left() 153 int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_and() argument [all …]
|
/linux-4.4.14/drivers/video/fbdev/ |
D | atafb_utils.h | 219 static inline void fast_memmove(char *dst, const char *src, size_t size) in fast_memmove() argument 223 if (dst < src) in fast_memmove() 231 : "=a" (src), "=a" (dst), "=d" (size) in fast_memmove() 232 : "0" (src), "1" (dst), "2" (size / 16 - 1) in fast_memmove() 242 : "=a" (src), "=a" (dst), "=d" (size) in fast_memmove() 243 : "0" (src + size), "1" (dst + size), "2" (size / 16 - 1) in fast_memmove() 279 static inline void fill8_col(u8 *dst, u32 m[]) in fill8_col() argument 282 dst[0] = tmp; in fill8_col() 283 dst[2] = (tmp >>= 8); in fill8_col() 285 dst[4] = (tmp >>= 8); in fill8_col() [all …]
|
D | amifb.c | 2600 static void bitcpy(unsigned long *dst, int dst_idx, const unsigned long *src, in bitcpy() argument 2622 *dst = comp(*src, *dst, first); in bitcpy() 2627 *dst = comp(*src, *dst, first); in bitcpy() 2628 dst++; in bitcpy() 2636 *dst++ = *src++; in bitcpy() 2637 *dst++ = *src++; in bitcpy() 2638 *dst++ = *src++; in bitcpy() 2639 *dst++ = *src++; in bitcpy() 2640 *dst++ = *src++; in bitcpy() 2641 *dst++ = *src++; in bitcpy() [all …]
|
D | c2p_planar.c | 48 static inline void store_planar(void *dst, u32 dst_inc, u32 bpp, u32 d[8]) in store_planar() argument 52 for (i = 0; i < bpp; i++, dst += dst_inc) in store_planar() 53 put_unaligned_be32(d[perm_c2p_32x8[i]], dst); in store_planar() 61 static inline void store_planar_masked(void *dst, u32 dst_inc, u32 bpp, in store_planar_masked() argument 66 for (i = 0; i < bpp; i++, dst += dst_inc) in store_planar_masked() 68 get_unaligned_be32(dst), mask), in store_planar_masked() 69 dst); in store_planar_masked() 86 void c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, in c2p_planar() argument 98 dst += dy*dst_nextline+(dx & ~31); in c2p_planar() 104 p = dst; in c2p_planar() [all …]
|
D | c2p_iplan2.c | 48 static inline void store_iplan2(void *dst, u32 bpp, u32 d[4]) in store_iplan2() argument 52 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2() 53 put_unaligned_be32(d[perm_c2p_16x8[i]], dst); in store_iplan2() 61 static inline void store_iplan2_masked(void *dst, u32 bpp, u32 d[4], u32 mask) in store_iplan2_masked() argument 65 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2_masked() 67 get_unaligned_be32(dst), mask), in store_iplan2_masked() 68 dst); in store_iplan2_masked() 85 void c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, in c2p_iplan2() argument 96 dst += dy*dst_nextline+(dx & ~15)*bpp; in c2p_iplan2() 104 p = dst; in c2p_iplan2() [all …]
|
D | atafb_iplan2p2.c | 40 u8 *src, *dst; in atafb_iplan2p2_copyarea() local 52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 54 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p2_copyarea() 56 dst += BPL * 2; in atafb_iplan2p2_copyarea() 62 d = (u32 *)dst; in atafb_iplan2p2_copyarea() 73 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p2_copyarea() 77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 81 dst -= BPL * 2; in atafb_iplan2p2_copyarea() 82 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p2_copyarea() 88 d = (u32 *)dst; in atafb_iplan2p2_copyarea() [all …]
|
D | atafb_iplan2p4.c | 40 u8 *src, *dst; in atafb_iplan2p4_copyarea() local 52 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 54 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p4_copyarea() 56 dst += BPL * 2; in atafb_iplan2p4_copyarea() 62 d = (u32 *)dst; in atafb_iplan2p4_copyarea() 73 memmove32_col(dst + width / (8 / BPL), src + width / (8 / BPL), in atafb_iplan2p4_copyarea() 77 dst = (u8 *)info->screen_base + (dy - 1) * next_line + ((dx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 81 dst -= BPL * 2; in atafb_iplan2p4_copyarea() 82 memmove32_col(dst, src, 0xff00ff00, colsize, -next_line - BPL * 2); in atafb_iplan2p4_copyarea() 88 d = (u32 *)dst; in atafb_iplan2p4_copyarea() [all …]
|
/linux-4.4.14/arch/ia64/kernel/ |
D | ptrace.c | 1498 struct regset_getset *dst = arg; in do_gpregs_get() local 1518 if (dst->count > 0 && dst->pos < ELF_GR_OFFSET(1)) { in do_gpregs_get() 1519 dst->ret = user_regset_copyout_zero(&dst->pos, &dst->count, in do_gpregs_get() 1520 &dst->u.get.kbuf, in do_gpregs_get() 1521 &dst->u.get.ubuf, in do_gpregs_get() 1523 if (dst->ret || dst->count == 0) in do_gpregs_get() 1528 if (dst->count > 0 && dst->pos < ELF_GR_OFFSET(16)) { in do_gpregs_get() 1529 index = (dst->pos - ELF_GR_OFFSET(1)) / sizeof(elf_greg_t); in do_gpregs_get() 1530 min_copy = ELF_GR_OFFSET(16) > (dst->pos + dst->count) ? in do_gpregs_get() 1531 (dst->pos + dst->count) : ELF_GR_OFFSET(16); in do_gpregs_get() [all …]
|
D | process.c | 447 elf_greg_t *dst = arg; in do_copy_task_regs() local 452 memset(dst, 0, sizeof(elf_gregset_t)); /* don't leak any kernel bits to user-level */ in do_copy_task_regs() 481 unw_get_gr(info, i, &dst[i], &nat); in do_copy_task_regs() 486 dst[32] = nat_bits; in do_copy_task_regs() 487 unw_get_pr(info, &dst[33]); in do_copy_task_regs() 490 unw_get_br(info, i, &dst[34 + i]); in do_copy_task_regs() 493 dst[42] = ip + ia64_psr(pt)->ri; in do_copy_task_regs() 494 dst[43] = cfm; in do_copy_task_regs() 495 dst[44] = pt->cr_ipsr & IA64_PSR_UM; in do_copy_task_regs() 497 unw_get_ar(info, UNW_AR_RSC, &dst[45]); in do_copy_task_regs() [all …]
|
/linux-4.4.14/security/selinux/ss/ |
D | context.h | 40 static inline int mls_context_cpy(struct context *dst, struct context *src) in mls_context_cpy() argument 44 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy() 45 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy() 49 dst->range.level[1].sens = src->range.level[1].sens; in mls_context_cpy() 50 rc = ebitmap_cpy(&dst->range.level[1].cat, &src->range.level[1].cat); in mls_context_cpy() 52 ebitmap_destroy(&dst->range.level[0].cat); in mls_context_cpy() 60 static inline int mls_context_cpy_low(struct context *dst, struct context *src) in mls_context_cpy_low() argument 64 dst->range.level[0].sens = src->range.level[0].sens; in mls_context_cpy_low() 65 rc = ebitmap_cpy(&dst->range.level[0].cat, &src->range.level[0].cat); in mls_context_cpy_low() 69 dst->range.level[1].sens = src->range.level[0].sens; in mls_context_cpy_low() [all …]
|
/linux-4.4.14/arch/x86/include/asm/crypto/ |
D | camellia.h | 40 asmlinkage void __camellia_enc_blk(struct camellia_ctx *ctx, u8 *dst, 42 asmlinkage void camellia_dec_blk(struct camellia_ctx *ctx, u8 *dst, 46 asmlinkage void __camellia_enc_blk_2way(struct camellia_ctx *ctx, u8 *dst, 48 asmlinkage void camellia_dec_blk_2way(struct camellia_ctx *ctx, u8 *dst, 52 asmlinkage void camellia_ecb_enc_16way(struct camellia_ctx *ctx, u8 *dst, 54 asmlinkage void camellia_ecb_dec_16way(struct camellia_ctx *ctx, u8 *dst, 57 asmlinkage void camellia_cbc_dec_16way(struct camellia_ctx *ctx, u8 *dst, 59 asmlinkage void camellia_ctr_16way(struct camellia_ctx *ctx, u8 *dst, 62 asmlinkage void camellia_xts_enc_16way(struct camellia_ctx *ctx, u8 *dst, 64 asmlinkage void camellia_xts_dec_16way(struct camellia_ctx *ctx, u8 *dst, [all …]
|
D | serpent-sse2.h | 11 asmlinkage void __serpent_enc_blk_4way(struct serpent_ctx *ctx, u8 *dst, 13 asmlinkage void serpent_dec_blk_4way(struct serpent_ctx *ctx, u8 *dst, 16 static inline void serpent_enc_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway() argument 19 __serpent_enc_blk_4way(ctx, dst, src, false); in serpent_enc_blk_xway() 22 static inline void serpent_enc_blk_xway_xor(struct serpent_ctx *ctx, u8 *dst, in serpent_enc_blk_xway_xor() argument 25 __serpent_enc_blk_4way(ctx, dst, src, true); in serpent_enc_blk_xway_xor() 28 static inline void serpent_dec_blk_xway(struct serpent_ctx *ctx, u8 *dst, in serpent_dec_blk_xway() argument 31 serpent_dec_blk_4way(ctx, dst, src); in serpent_dec_blk_xway() 38 asmlinkage void __serpent_enc_blk_8way(struct serpent_ctx *ctx, u8 *dst, 40 asmlinkage void serpent_dec_blk_8way(struct serpent_ctx *ctx, u8 *dst, [all …]
|
D | glue_helper.h | 13 typedef void (*common_glue_func_t)(void *ctx, u8 *dst, const u8 *src); 14 typedef void (*common_glue_cbc_func_t)(void *ctx, u128 *dst, const u128 *src); 15 typedef void (*common_glue_ctr_func_t)(void *ctx, u128 *dst, const u128 *src, 17 typedef void (*common_glue_xts_func_t)(void *ctx, u128 *dst, const u128 *src, 78 static inline void le128_to_be128(be128 *dst, const le128 *src) in le128_to_be128() argument 80 dst->a = cpu_to_be64(le64_to_cpu(src->a)); in le128_to_be128() 81 dst->b = cpu_to_be64(le64_to_cpu(src->b)); in le128_to_be128() 84 static inline void be128_to_le128(le128 *dst, const be128 *src) in be128_to_le128() argument 86 dst->a = cpu_to_le64(be64_to_cpu(src->a)); in be128_to_le128() 87 dst->b = cpu_to_le64(be64_to_cpu(src->b)); in be128_to_le128() [all …]
|
D | serpent-avx.h | 19 asmlinkage void serpent_ecb_enc_8way_avx(struct serpent_ctx *ctx, u8 *dst, 21 asmlinkage void serpent_ecb_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst, 24 asmlinkage void serpent_cbc_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst, 26 asmlinkage void serpent_ctr_8way_avx(struct serpent_ctx *ctx, u8 *dst, 29 asmlinkage void serpent_xts_enc_8way_avx(struct serpent_ctx *ctx, u8 *dst, 31 asmlinkage void serpent_xts_dec_8way_avx(struct serpent_ctx *ctx, u8 *dst, 34 extern void __serpent_crypt_ctr(void *ctx, u128 *dst, const u128 *src, 37 extern void serpent_xts_enc(void *ctx, u128 *dst, const u128 *src, le128 *iv); 38 extern void serpent_xts_dec(void *ctx, u128 *dst, const u128 *src, le128 *iv);
|
D | twofish.h | 20 asmlinkage void twofish_enc_blk(struct twofish_ctx *ctx, u8 *dst, 22 asmlinkage void twofish_dec_blk(struct twofish_ctx *ctx, u8 *dst, 26 asmlinkage void __twofish_enc_blk_3way(struct twofish_ctx *ctx, u8 *dst, 28 asmlinkage void twofish_dec_blk_3way(struct twofish_ctx *ctx, u8 *dst, 32 extern void twofish_dec_blk_cbc_3way(void *ctx, u128 *dst, const u128 *src); 33 extern void twofish_enc_blk_ctr(void *ctx, u128 *dst, const u128 *src, 35 extern void twofish_enc_blk_ctr_3way(void *ctx, u128 *dst, const u128 *src,
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
D | octeon-memcpy.S | 20 #define dst a0 macro 157 move v0, dst /* return value */ 197 EXC( STORE t0, UNIT(0)(dst), s_exc_p16u) 198 EXC( STORE t1, UNIT(1)(dst), s_exc_p15u) 199 EXC( STORE t2, UNIT(2)(dst), s_exc_p14u) 200 EXC( STORE t3, UNIT(3)(dst), s_exc_p13u) 205 EXC( STORE t0, UNIT(4)(dst), s_exc_p12u) 206 EXC( STORE t1, UNIT(5)(dst), s_exc_p11u) 207 EXC( STORE t2, UNIT(6)(dst), s_exc_p10u) 209 EXC( STORE t3, UNIT(7)(dst), s_exc_p9u) [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/linux/ |
D | linux-obdo.c | 52 void obdo_refresh_inode(struct inode *dst, struct obdo *src, u32 valid) in obdo_refresh_inode() argument 59 src->o_valid, LTIME_S(dst->i_mtime), in obdo_refresh_inode() 60 LTIME_S(dst->i_ctime), src->o_mtime, src->o_ctime); in obdo_refresh_inode() 62 if (valid & OBD_MD_FLATIME && src->o_atime > LTIME_S(dst->i_atime)) in obdo_refresh_inode() 63 LTIME_S(dst->i_atime) = src->o_atime; in obdo_refresh_inode() 64 if (valid & OBD_MD_FLMTIME && src->o_mtime > LTIME_S(dst->i_mtime)) in obdo_refresh_inode() 65 LTIME_S(dst->i_mtime) = src->o_mtime; in obdo_refresh_inode() 66 if (valid & OBD_MD_FLCTIME && src->o_ctime > LTIME_S(dst->i_ctime)) in obdo_refresh_inode() 67 LTIME_S(dst->i_ctime) = src->o_ctime; in obdo_refresh_inode() 69 i_size_write(dst, src->o_size); in obdo_refresh_inode() [all …]
|
/linux-4.4.14/net/sched/ |
D | em_meta.c | 104 struct meta_obj *dst, int *err) 112 get_random_bytes(&dst->value, sizeof(dst->value)); in META_COLLECTOR() 125 dst->value = fixed_loadavg(avenrun[0]); in META_COLLECTOR() 130 dst->value = fixed_loadavg(avenrun[1]); in META_COLLECTOR() 135 dst->value = fixed_loadavg(avenrun[2]); in META_COLLECTOR() 142 static inline int int_dev(struct net_device *dev, struct meta_obj *dst) in int_dev() argument 147 dst->value = dev->ifindex; in int_dev() 151 static inline int var_dev(struct net_device *dev, struct meta_obj *dst) in var_dev() argument 156 dst->value = (unsigned long) dev->name; in var_dev() 157 dst->len = strlen(dev->name); in var_dev() [all …]
|
/linux-4.4.14/tools/perf/util/ |
D | quote.c | 20 static void sq_quote_buf(struct strbuf *dst, const char *src) in sq_quote_buf() argument 24 if (dst->buf == src) in sq_quote_buf() 25 to_free = strbuf_detach(dst, NULL); in sq_quote_buf() 27 strbuf_addch(dst, '\''); in sq_quote_buf() 30 strbuf_add(dst, src, len); in sq_quote_buf() 33 strbuf_addstr(dst, "'\\"); in sq_quote_buf() 34 strbuf_addch(dst, *src++); in sq_quote_buf() 35 strbuf_addch(dst, '\''); in sq_quote_buf() 38 strbuf_addch(dst, '\''); in sq_quote_buf() 42 void sq_quote_argv(struct strbuf *dst, const char** argv, size_t maxlen) in sq_quote_argv() argument [all …]
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | elf.h | 277 #define ELF_CORE_COPY_REGS(dst, pt) \ argument 278 memset(dst, 0, sizeof(dst)); /* don't leak any "random" bits */ \ 279 memcpy(dst + 0, pt->gr, 32 * sizeof(elf_greg_t)); \ 280 memcpy(dst + 32, pt->sr, 8 * sizeof(elf_greg_t)); \ 281 memcpy(dst + 40, pt->iaoq, 2 * sizeof(elf_greg_t)); \ 282 memcpy(dst + 42, pt->iasq, 2 * sizeof(elf_greg_t)); \ 283 dst[44] = pt->sar; dst[45] = pt->iir; \ 284 dst[46] = pt->isr; dst[47] = pt->ior; \ 285 dst[48] = mfctl(22); dst[49] = mfctl(0); \ 286 dst[50] = mfctl(24); dst[51] = mfctl(25); \ [all …]
|
/linux-4.4.14/net/ceph/ |
D | armor.c | 4 int ceph_armor(char *dst, const char *src, const char *end); 5 int ceph_unarmor(char *dst, const char *src, const char *end); 36 int ceph_armor(char *dst, const char *src, const char *end) in ceph_armor() argument 45 *dst++ = encode_bits(a >> 2); in ceph_armor() 48 *dst++ = encode_bits(((a & 3) << 4) | (b >> 4)); in ceph_armor() 51 *dst++ = encode_bits(((b & 15) << 2) | in ceph_armor() 53 *dst++ = encode_bits(c & 63); in ceph_armor() 55 *dst++ = encode_bits((b & 15) << 2); in ceph_armor() 56 *dst++ = '='; in ceph_armor() 59 *dst++ = encode_bits(((a & 3) << 4)); in ceph_armor() [all …]
|
/linux-4.4.14/fs/quota/ |
D | quota.c | 189 static void copy_to_if_dqblk(struct if_dqblk *dst, struct qc_dqblk *src) in copy_to_if_dqblk() argument 191 memset(dst, 0, sizeof(*dst)); in copy_to_if_dqblk() 192 dst->dqb_bhardlimit = stoqb(src->d_spc_hardlimit); in copy_to_if_dqblk() 193 dst->dqb_bsoftlimit = stoqb(src->d_spc_softlimit); in copy_to_if_dqblk() 194 dst->dqb_curspace = src->d_space; in copy_to_if_dqblk() 195 dst->dqb_ihardlimit = src->d_ino_hardlimit; in copy_to_if_dqblk() 196 dst->dqb_isoftlimit = src->d_ino_softlimit; in copy_to_if_dqblk() 197 dst->dqb_curinodes = src->d_ino_count; in copy_to_if_dqblk() 198 dst->dqb_btime = src->d_spc_timer; in copy_to_if_dqblk() 199 dst->dqb_itime = src->d_ino_timer; in copy_to_if_dqblk() [all …]
|
/linux-4.4.14/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf_irq.c | 54 static inline void pdacf_transfer_mono16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono16() argument 57 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_mono16() 62 static inline void pdacf_transfer_mono32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono32() argument 70 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_mono32() 74 static inline void pdacf_transfer_stereo16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo16() argument 77 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_stereo16() 78 *dst++ = inw(rdp_port) ^ xor; in pdacf_transfer_stereo16() 82 static inline void pdacf_transfer_stereo32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo32() argument 90 *dst++ = ((((u32)val2 & 0xff) << 24) | ((u32)val1 << 8)) ^ xor; in pdacf_transfer_stereo32() 91 *dst++ = (((u32)val3 << 16) | (val2 & 0xff00)) ^ xor; in pdacf_transfer_stereo32() [all …]
|
/linux-4.4.14/fs/ntfs/ |
D | runlist.c | 34 static inline void ntfs_rl_mm(runlist_element *base, int dst, int src, in ntfs_rl_mm() argument 37 if (likely((dst != src) && (size > 0))) in ntfs_rl_mm() 38 memmove(base + dst, base + src, size * sizeof(*base)); in ntfs_rl_mm() 47 static inline void ntfs_rl_mc(runlist_element *dstbase, int dst, in ntfs_rl_mc() argument 51 memcpy(dstbase + dst, srcbase + src, size * sizeof(*dstbase)); in ntfs_rl_mc() 155 static inline bool ntfs_are_rl_mergeable(runlist_element *dst, in ntfs_are_rl_mergeable() argument 158 BUG_ON(!dst); in ntfs_are_rl_mergeable() 162 if ((dst->lcn == LCN_RL_NOT_MAPPED) && (src->lcn == LCN_RL_NOT_MAPPED)) in ntfs_are_rl_mergeable() 165 if ((dst->vcn + dst->length) != src->vcn) in ntfs_are_rl_mergeable() 168 if ((dst->lcn >= 0) && (src->lcn >= 0) && in ntfs_are_rl_mergeable() [all …]
|
/linux-4.4.14/arch/arm64/net/ |
D | bpf_jit_comp.c | 250 const u8 dst = bpf2a64[insn->dst_reg]; in build_insn() local 276 emit(A64_MOV(is64, dst, src), ctx); in build_insn() 281 emit(A64_ADD(is64, dst, dst, src), ctx); in build_insn() 285 emit(A64_SUB(is64, dst, dst, src), ctx); in build_insn() 289 emit(A64_AND(is64, dst, dst, src), ctx); in build_insn() 293 emit(A64_ORR(is64, dst, dst, src), ctx); in build_insn() 297 emit(A64_EOR(is64, dst, dst, src), ctx); in build_insn() 301 emit(A64_MUL(is64, dst, dst, src), ctx); in build_insn() 321 emit(A64_UDIV(is64, dst, dst, src), ctx); in build_insn() 325 emit(A64_UDIV(is64, tmp, dst, src), ctx); in build_insn() [all …]
|
/linux-4.4.14/drivers/block/xen-blkback/ |
D | common.h | 407 static inline void blkif_get_x86_32_req(struct blkif_request *dst, in blkif_get_x86_32_req() argument 411 dst->operation = READ_ONCE(src->operation); in blkif_get_x86_32_req() 412 switch (dst->operation) { in blkif_get_x86_32_req() 417 dst->u.rw.nr_segments = src->u.rw.nr_segments; in blkif_get_x86_32_req() 418 dst->u.rw.handle = src->u.rw.handle; in blkif_get_x86_32_req() 419 dst->u.rw.id = src->u.rw.id; in blkif_get_x86_32_req() 420 dst->u.rw.sector_number = src->u.rw.sector_number; in blkif_get_x86_32_req() 422 if (n > dst->u.rw.nr_segments) in blkif_get_x86_32_req() 423 n = dst->u.rw.nr_segments; in blkif_get_x86_32_req() 425 dst->u.rw.seg[i] = src->u.rw.seg[i]; in blkif_get_x86_32_req() [all …]
|
/linux-4.4.14/net/ipv6/ |
D | inet6_connection_sock.c | 76 struct dst_entry *dst; in inet6_csk_route_req() local 91 dst = ip6_dst_lookup_flow(sk, fl6, final_p); in inet6_csk_route_req() 92 if (IS_ERR(dst)) in inet6_csk_route_req() 95 return dst; in inet6_csk_route_req() 125 struct dst_entry *dst; in inet6_csk_route_socket() local 143 dst = __inet6_csk_dst_check(sk, np->dst_cookie); in inet6_csk_route_socket() 144 if (!dst) { in inet6_csk_route_socket() 145 dst = ip6_dst_lookup_flow(sk, fl6, final_p); in inet6_csk_route_socket() 147 if (!IS_ERR(dst)) in inet6_csk_route_socket() 148 ip6_dst_store(sk, dst, NULL, NULL); in inet6_csk_route_socket() [all …]
|
D | route.c | 80 static struct dst_entry *ip6_dst_check(struct dst_entry *dst, u32 cookie); 81 static unsigned int ip6_default_advmss(const struct dst_entry *dst); 82 static unsigned int ip6_mtu(const struct dst_entry *dst); 94 static void ip6_rt_update_pmtu(struct dst_entry *dst, struct sock *sk, 96 static void rt6_do_redirect(struct dst_entry *dst, struct sock *sk, 122 rt->dst.flags |= DST_NOCACHE; in rt6_uncached_list_add() 156 struct net_device *rt_dev = rt->dst.dev; in rt6_uncached_list_flush_dev() 164 rt->dst.dev = loopback_dev; in rt6_uncached_list_flush_dev() 165 dev_hold(rt->dst.dev); in rt6_uncached_list_flush_dev() 175 return dst_metrics_write_ptr(rt->dst.from); in rt6_pcpu_cow_metrics() [all …]
|
D | ip6_output.c | 62 struct dst_entry *dst = skb_dst(skb); in ip6_finish_output2() local 63 struct net_device *dev = dst->dev; in ip6_finish_output2() 108 nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr); in ip6_finish_output2() 109 neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop); in ip6_finish_output2() 111 neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false); in ip6_finish_output2() 113 ret = dst_neigh_output(dst, neigh, skb); in ip6_finish_output2() 119 IP6_INC_STATS(net, ip6_dst_idev(dst), IPSTATS_MIB_OUTNOROUTES); in ip6_finish_output2() 163 struct dst_entry *dst = skb_dst(skb); in ip6_xmit() local 178 head_room += sizeof(struct ipv6hdr) + LL_RESERVED_SPACE(dst->dev); in ip6_xmit() 211 hlimit = ip6_dst_hoplimit(dst); in ip6_xmit() [all …]
|
D | xfrm6_policy.c | 35 struct dst_entry *dst; in xfrm6_dst_lookup() local 45 dst = ip6_route_output(net, NULL, &fl6); in xfrm6_dst_lookup() 47 err = dst->error; in xfrm6_dst_lookup() 48 if (dst->error) { in xfrm6_dst_lookup() 49 dst_release(dst); in xfrm6_dst_lookup() 50 dst = ERR_PTR(err); in xfrm6_dst_lookup() 53 return dst; in xfrm6_dst_lookup() 59 struct dst_entry *dst; in xfrm6_get_saddr() local 62 dst = xfrm6_dst_lookup(net, 0, oif, NULL, daddr); in xfrm6_get_saddr() 63 if (IS_ERR(dst)) in xfrm6_get_saddr() [all …]
|
D | fib6_rules.c | 28 struct rt6key dst; member 47 dst_hold(&net->ipv6.ip6_null_entry->dst); in fib6_rule_lookup() 48 return &net->ipv6.ip6_null_entry->dst; in fib6_rule_lookup() 52 rt->dst.error == -EAGAIN) { in fib6_rule_lookup() 55 dst_hold(&rt->dst); in fib6_rule_lookup() 58 return &rt->dst; in fib6_rule_lookup() 108 ip6_dst_idev(&rt->dst)->dev, in fib6_rule_action() 118 err = rt->dst.error; in fib6_rule_action() 128 dst_hold(&rt->dst); in fib6_rule_action() 166 if (r->dst.plen && in fib6_rule_match() [all …]
|
D | icmp.c | 177 struct dst_entry *dst; in icmpv6_xrlim_allow() local 193 dst = ip6_route_output(net, sk, fl6); in icmpv6_xrlim_allow() 194 if (dst->error) { in icmpv6_xrlim_allow() 195 IP6_INC_STATS(net, ip6_dst_idev(dst), in icmpv6_xrlim_allow() 197 } else if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) { in icmpv6_xrlim_allow() 200 struct rt6_info *rt = (struct rt6_info *)dst; in icmpv6_xrlim_allow() 217 dst_release(dst); in icmpv6_xrlim_allow() 329 struct dst_entry *dst, *dst2; in icmpv6_route_lookup() local 333 err = ip6_dst_lookup(net, sk, &dst, fl6); in icmpv6_route_lookup() 341 if (ipv6_anycast_destination(dst, &fl6->daddr)) { in icmpv6_route_lookup() [all …]
|
D | netfilter.c | 25 struct dst_entry *dst; in ip6_route_me_harder() local 34 dst = ip6_route_output(net, skb->sk, &fl6); in ip6_route_me_harder() 35 err = dst->error; in ip6_route_me_harder() 37 IP6_INC_STATS(net, ip6_dst_idev(dst), IPSTATS_MIB_OUTNOROUTES); in ip6_route_me_harder() 39 dst_release(dst); in ip6_route_me_harder() 46 skb_dst_set(skb, dst); in ip6_route_me_harder() 52 dst = xfrm_lookup(net, dst, flowi6_to_flowi(&fl6), skb->sk, 0); in ip6_route_me_harder() 53 if (IS_ERR(dst)) in ip6_route_me_harder() 54 return PTR_ERR(dst); in ip6_route_me_harder() 55 skb_dst_set(skb, dst); in ip6_route_me_harder() [all …]
|
/linux-4.4.14/net/bridge/ |
D | br_nf_core.c | 28 static void fake_update_pmtu(struct dst_entry *dst, struct sock *sk, in fake_update_pmtu() argument 33 static void fake_redirect(struct dst_entry *dst, struct sock *sk, in fake_redirect() argument 38 static u32 *fake_cow_metrics(struct dst_entry *dst, unsigned long old) in fake_cow_metrics() argument 43 static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst, in fake_neigh_lookup() argument 50 static unsigned int fake_mtu(const struct dst_entry *dst) in fake_mtu() argument 52 return dst->dev->mtu; in fake_mtu() 79 atomic_set(&rt->dst.__refcnt, 1); in br_netfilter_rtable_init() 80 rt->dst.dev = br->dev; in br_netfilter_rtable_init() 81 rt->dst.path = &rt->dst; in br_netfilter_rtable_init() 82 dst_init_metrics(&rt->dst, br_dst_default_metrics, true); in br_netfilter_rtable_init() [all …]
|
/linux-4.4.14/arch/alpha/lib/ |
D | csum_partial_copy.c | 102 csum_partial_cfu_aligned(const unsigned long __user *src, unsigned long *dst, in csum_partial_cfu_aligned() argument 117 *dst = word; in csum_partial_cfu_aligned() 118 dst++; in csum_partial_cfu_aligned() 125 tmp = *dst; in csum_partial_cfu_aligned() 130 *dst = word | tmp; in csum_partial_cfu_aligned() 143 unsigned long *dst, in csum_partial_cfu_dest_aligned() argument 167 *dst = word; in csum_partial_cfu_dest_aligned() 168 dst++; in csum_partial_cfu_dest_aligned() 177 tmp = *dst; in csum_partial_cfu_dest_aligned() 185 *dst = word | tmp; in csum_partial_cfu_dest_aligned() [all …]
|
/linux-4.4.14/fs/hfs/ |
D | trans.c | 38 char *dst; in hfs_mac2asc() local 45 dst = out; in hfs_mac2asc() 65 size = nls_io->uni2char(ch, dst, dstlen); in hfs_mac2asc() 69 *dst = '?'; in hfs_mac2asc() 72 dst += size; in hfs_mac2asc() 79 *dst++ = (ch = *src++) == '/' ? ':' : ch; in hfs_mac2asc() 82 return dst - out; in hfs_mac2asc() 102 char *dst; in hfs_asc2mac() local 107 dst = out->name; in hfs_asc2mac() 123 size = nls_disk->uni2char(ch, dst, dstlen); in hfs_asc2mac() [all …]
|
/linux-4.4.14/arch/metag/lib/ |
D | usercopy.c | 531 register char __user *dst asm ("A0.2") = pdst; in __copy_user() 539 __asm_copy_to_user_1(dst, src, retn); in __copy_user() 542 if ((unsigned long) dst & 1) { in __copy_user() 545 __asm_copy_to_user_1(dst, src, retn); in __copy_user() 550 __asm_copy_to_user_2(dst, src, retn); in __copy_user() 553 if ((unsigned long) dst & 2) { in __copy_user() 556 __asm_copy_to_user_2(dst, src, retn); in __copy_user() 563 if (!(((unsigned long) src | (__force unsigned long) dst) & 7)) { in __copy_user() 566 __asm_copy_to_user_64bit_rapf_loop(dst, src, retn, in __copy_user() 570 __asm_copy_to_user_8x64(dst, src, retn); in __copy_user() [all …]
|
/linux-4.4.14/arch/mips/include/asm/ |
D | ftrace.h | 22 #define safe_load(load, src, dst, error) \ argument 38 : [tmp_dst] "=&r" (dst), [tmp_err] "=r" (error)\ 44 #define safe_store(store, src, dst, error) \ argument 61 : [tmp_dst] "r" (dst), [tmp_src] "r" (src)\ 66 #define safe_load_code(dst, src, error) \ argument 67 safe_load(STR(lw), src, dst, error) 68 #define safe_store_code(src, dst, error) \ argument 69 safe_store(STR(sw), src, dst, error) 71 #define safe_load_stack(dst, src, error) \ argument 72 safe_load(STR(PTR_L), src, dst, error) [all …]
|
D | checksum.h | 37 __wsum __csum_partial_copy_kernel(const void *src, void *dst, 40 __wsum __csum_partial_copy_from_user(const void *src, void *dst, 42 __wsum __csum_partial_copy_to_user(const void *src, void *dst, 49 __wsum csum_partial_copy_from_user(const void __user *src, void *dst, int len, in csum_partial_copy_from_user() argument 54 return __csum_partial_copy_kernel((__force void *)src, dst, in csum_partial_copy_from_user() 57 return __csum_partial_copy_from_user((__force void *)src, dst, in csum_partial_copy_from_user() 63 __wsum csum_and_copy_from_user(const void __user *src, void *dst, in csum_and_copy_from_user() argument 67 return csum_partial_copy_from_user(src, dst, len, sum, in csum_and_copy_from_user() 80 __wsum csum_and_copy_to_user(const void *src, void __user *dst, int len, in csum_and_copy_to_user() argument 84 if (access_ok(VERIFY_WRITE, dst, len)) { in csum_and_copy_to_user() [all …]
|
/linux-4.4.14/arch/sh/kernel/ |
D | traps_32.c | 49 static inline void sign_extend(unsigned int count, unsigned char *dst) in sign_extend() argument 52 if ((count == 1) && dst[0] & 0x80) { in sign_extend() 53 dst[1] = 0xff; in sign_extend() 54 dst[2] = 0xff; in sign_extend() 55 dst[3] = 0xff; in sign_extend() 57 if ((count == 2) && dst[1] & 0x80) { in sign_extend() 58 dst[2] = 0xff; in sign_extend() 59 dst[3] = 0xff; in sign_extend() 62 if ((count == 1) && dst[3] & 0x80) { in sign_extend() 63 dst[2] = 0xff; in sign_extend() [all …]
|
D | iomap.c | 80 static inline void mmio_insb(void __iomem *addr, u8 *dst, int count) in mmio_insb() argument 84 *dst = data; in mmio_insb() 85 dst++; in mmio_insb() 89 static inline void mmio_insw(void __iomem *addr, u16 *dst, int count) in mmio_insw() argument 93 *dst = data; in mmio_insw() 94 dst++; in mmio_insw() 98 static inline void mmio_insl(void __iomem *addr, u32 *dst, int count) in mmio_insl() argument 102 *dst = data; in mmio_insl() 103 dst++; in mmio_insl() 131 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) in ioread8_rep() argument [all …]
|
/linux-4.4.14/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_hw.h | 32 static inline void xgene_set_bits(u32 *dst, u32 val, u32 start, u32 len) in xgene_set_bits() argument 37 *dst &= ~mask; in xgene_set_bits() 38 *dst |= (val << start) & mask; in xgene_set_bits() 128 #define PHY_CONTROL_SET(dst, val) xgene_set_bits(dst, val, 0, 16) argument 146 #define CFG_TXCLK_MUXSEL0_SET(dst, val) xgene_set_bits(dst, val, 29, 3) argument 147 #define CFG_RXCLK_MUXSEL0_SET(dst, val) xgene_set_bits(dst, val, 26, 3) argument 149 #define CFG_CLE_IP_PROTOCOL0_SET(dst, val) xgene_set_bits(dst, val, 16, 2) argument 150 #define CFG_CLE_DSTQID0_SET(dst, val) xgene_set_bits(dst, val, 0, 12) argument 151 #define CFG_CLE_FPSEL0_SET(dst, val) xgene_set_bits(dst, val, 16, 4) argument 152 #define CFG_MACMODE_SET(dst, val) xgene_set_bits(dst, val, 18, 2) argument [all …]
|
/linux-4.4.14/arch/blackfin/mm/ |
D | maccess.c | 19 long probe_kernel_read(void *dst, const void *src, size_t size) in probe_kernel_read() argument 31 memcpy(dst, &mmr, sizeof(mmr)); in probe_kernel_read() 35 memcpy(dst, &mmr, sizeof(mmr)); in probe_kernel_read() 42 return __probe_kernel_read(dst, src, size); in probe_kernel_read() 45 if (dma_memcpy(dst, src, size)) in probe_kernel_read() 49 if (isram_memcpy(dst, src, size)) in probe_kernel_read() 58 long probe_kernel_write(void *dst, const void *src, size_t size) in probe_kernel_write() argument 60 unsigned long ldst = (unsigned long)dst; in probe_kernel_write() 71 bfin_write16(dst, mmr); in probe_kernel_write() 76 bfin_write32(dst, mmr); in probe_kernel_write() [all …]
|
/linux-4.4.14/arch/microblaze/lib/ |
D | memmove.c | 38 char *dst = v_dst; in memmove() local 49 dst += c; in memmove() 53 *--dst = *--src; in memmove() 61 char *dst = v_dst; in memmove() local 80 dst += c; in memmove() 89 switch ((unsigned long)dst & 3) { in memmove() 91 *--dst = *--src; in memmove() 94 *--dst = *--src; in memmove() 97 *--dst = *--src; in memmove() 101 i_dst = (void *)dst; in memmove() [all …]
|
D | memcpy.c | 39 char *dst = v_dst; in memcpy() local 43 *dst++ = *src++; in memcpy() 51 char *dst = v_dst; in memcpy() local 67 switch ((unsigned long)dst & 3) { in memcpy() 69 *dst++ = *src++; in memcpy() 72 *dst++ = *src++; in memcpy() 75 *dst++ = *src++; in memcpy() 79 i_dst = (void *)dst; in memcpy() 171 dst = (void *)i_dst; in memcpy() 178 *dst++ = *src++; in memcpy() [all …]
|
/linux-4.4.14/crypto/ |
D | authencesn.c | 44 struct scatterlist dst[2]; member 112 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv_tail() local 116 scatterwalk_map_and_copy(tmp, dst, 4, 4, 0); in crypto_authenc_esn_genicv_tail() 117 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 0); in crypto_authenc_esn_genicv_tail() 118 scatterwalk_map_and_copy(tmp, dst, 0, 8, 1); in crypto_authenc_esn_genicv_tail() 120 scatterwalk_map_and_copy(hash, dst, assoclen + cryptlen, authsize, 1); in crypto_authenc_esn_genicv_tail() 146 struct scatterlist *dst = req->dst; in crypto_authenc_esn_genicv() local 153 scatterwalk_map_and_copy(tmp, dst, 0, 8, 0); in crypto_authenc_esn_genicv() 154 scatterwalk_map_and_copy(tmp, dst, 4, 4, 1); in crypto_authenc_esn_genicv() 155 scatterwalk_map_and_copy(tmp + 1, dst, assoclen + cryptlen, 4, 1); in crypto_authenc_esn_genicv() [all …]
|
D | xts.c | 86 static inline void xts_round(struct sinfo *s, void *dst, const void *src) in xts_round() argument 88 be128_xor(dst, s->t, src); /* PP <- T xor P */ in xts_round() 89 s->fn(s->tfm, dst, dst); /* CC <- E(Key1,PP) */ in xts_round() 90 be128_xor(dst, dst, s->t); /* C <- T xor CC */ in xts_round() 116 wdst = w->dst.virt.addr; in crypt() 141 wdst = w->dst.virt.addr; in crypt() 147 static int encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in encrypt() argument 153 blkcipher_walk_init(&w, dst, src, nbytes); in encrypt() 158 static int decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in decrypt() argument 164 blkcipher_walk_init(&w, dst, src, nbytes); in decrypt() [all …]
|
D | ghash-generic.c | 68 u8 *dst = dctx->buffer; in ghash_update() local 75 u8 *pos = dst + (GHASH_BLOCK_SIZE - dctx->bytes); in ghash_update() 84 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_update() 88 crypto_xor(dst, src, GHASH_BLOCK_SIZE); in ghash_update() 89 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_update() 97 *dst++ ^= *src++; in ghash_update() 105 u8 *dst = dctx->buffer; in ghash_flush() local 108 u8 *tmp = dst + (GHASH_BLOCK_SIZE - dctx->bytes); in ghash_flush() 113 gf128mul_4k_lle((be128 *)dst, ctx->gf128); in ghash_flush() 119 static int ghash_final(struct shash_desc *desc, u8 *dst) in ghash_final() argument [all …]
|
D | lrw.c | 112 static inline void lrw_round(struct sinfo *s, void *dst, const void *src) in lrw_round() argument 114 be128_xor(dst, &s->t, src); /* PP <- T xor P */ in lrw_round() 115 s->fn(s->tfm, dst, dst); /* CC <- E(Key2,PP) */ in lrw_round() 116 be128_xor(dst, dst, &s->t); /* C <- T xor CC */ in lrw_round() 158 wdst = w->dst.virt.addr; in crypt() 189 wdst = w->dst.virt.addr; in crypt() 195 static int encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in encrypt() argument 201 blkcipher_walk_init(&w, dst, src, nbytes); in encrypt() 206 static int decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, in decrypt() argument 212 blkcipher_walk_init(&w, dst, src, nbytes); in decrypt() [all …]
|
D | cipher.c | 66 u8 *dst, const u8 *src) in cipher_crypt_unaligned() argument 75 memcpy(dst, tmp, size); in cipher_crypt_unaligned() 79 u8 *dst, const u8 *src) in cipher_encrypt_unaligned() argument 84 if (unlikely(((unsigned long)dst | (unsigned long)src) & alignmask)) { in cipher_encrypt_unaligned() 85 cipher_crypt_unaligned(cipher->cia_encrypt, tfm, dst, src); in cipher_encrypt_unaligned() 89 cipher->cia_encrypt(tfm, dst, src); in cipher_encrypt_unaligned() 93 u8 *dst, const u8 *src) in cipher_decrypt_unaligned() argument 98 if (unlikely(((unsigned long)dst | (unsigned long)src) & alignmask)) { in cipher_decrypt_unaligned() 99 cipher_crypt_unaligned(cipher->cia_decrypt, tfm, dst, src); in cipher_decrypt_unaligned() 103 cipher->cia_decrypt(tfm, dst, src); in cipher_decrypt_unaligned()
|
D | pcbc.c | 54 u8 *dst = walk->dst.virt.addr; in crypto_pcbc_encrypt_segment() local 59 fn(crypto_cipher_tfm(tfm), dst, iv); in crypto_pcbc_encrypt_segment() 60 memcpy(iv, dst, bsize); in crypto_pcbc_encrypt_segment() 64 dst += bsize; in crypto_pcbc_encrypt_segment() 98 struct scatterlist *dst, struct scatterlist *src, in crypto_pcbc_encrypt() argument 107 blkcipher_walk_init(&walk, dst, src, nbytes); in crypto_pcbc_encrypt() 111 if (walk.src.virt.addr == walk.dst.virt.addr) in crypto_pcbc_encrypt() 132 u8 *dst = walk->dst.virt.addr; in crypto_pcbc_decrypt_segment() local 136 fn(crypto_cipher_tfm(tfm), dst, src); in crypto_pcbc_decrypt_segment() 137 crypto_xor(dst, iv, bsize); in crypto_pcbc_decrypt_segment() [all …]
|
D | cbc.c | 51 u8 *dst = walk->dst.virt.addr; in crypto_cbc_encrypt_segment() local 56 fn(crypto_cipher_tfm(tfm), dst, iv); in crypto_cbc_encrypt_segment() 57 memcpy(iv, dst, bsize); in crypto_cbc_encrypt_segment() 60 dst += bsize; in crypto_cbc_encrypt_segment() 91 struct scatterlist *dst, struct scatterlist *src, in crypto_cbc_encrypt() argument 100 blkcipher_walk_init(&walk, dst, src, nbytes); in crypto_cbc_encrypt() 104 if (walk.src.virt.addr == walk.dst.virt.addr) in crypto_cbc_encrypt() 123 u8 *dst = walk->dst.virt.addr; in crypto_cbc_decrypt_segment() local 127 fn(crypto_cipher_tfm(tfm), dst, src); in crypto_cbc_decrypt_segment() 128 crypto_xor(dst, iv, bsize); in crypto_cbc_decrypt_segment() [all …]
|
D | ccm.c | 41 struct scatterlist dst[3]; member 52 struct scatterlist dst[3]; member 295 scatterwalk_map_and_copy(odata, req->dst, in crypto_ccm_encrypt_done() 334 if (req->src != req->dst) { in crypto_ccm_init_crypt() 335 sg_init_table(pctx->dst, 3); in crypto_ccm_init_crypt() 336 sg_set_buf(pctx->dst, tag, 16); in crypto_ccm_init_crypt() 337 sg = scatterwalk_ffwd(pctx->dst + 1, req->dst, req->assoclen); in crypto_ccm_init_crypt() 338 if (sg != pctx->dst + 1) in crypto_ccm_init_crypt() 339 sg_chain(pctx->dst, 2, sg); in crypto_ccm_init_crypt() 351 struct scatterlist *dst; in crypto_ccm_encrypt() local [all …]
|
/linux-4.4.14/arch/parisc/lib/ |
D | io.c | 18 void memcpy_toio(volatile void __iomem *dst, const void *src, int count) in memcpy_toio() argument 20 if (((unsigned long)dst & 3) != ((unsigned long)src & 3)) in memcpy_toio() 22 while ((unsigned long)dst & 3) { in memcpy_toio() 23 writeb(*(char *)src, dst++); in memcpy_toio() 28 __raw_writel(*(u32 *)src, dst); in memcpy_toio() 30 dst += 4; in memcpy_toio() 35 writeb(*(char *)src, dst++); in memcpy_toio() 53 void memcpy_fromio(void *dst, const volatile void __iomem *src, int count) in memcpy_fromio() argument 56 if ( (((unsigned long)dst ^ (unsigned long)src) & 1) || (count < 2) ) in memcpy_fromio() 59 if ( (((unsigned long)dst ^ (unsigned long)src) & 2) || (count < 4) ) in memcpy_fromio() [all …]
|
D | iomap.c | 97 static void ioport_read8r(void __iomem *addr, void *dst, unsigned long count) in ioport_read8r() argument 99 insb(ADDR2PORT(addr), dst, count); in ioport_read8r() 102 static void ioport_read16r(void __iomem *addr, void *dst, unsigned long count) in ioport_read16r() argument 104 insw(ADDR2PORT(addr), dst, count); in ioport_read16r() 107 static void ioport_read32r(void __iomem *addr, void *dst, unsigned long count) in ioport_read32r() argument 109 insl(ADDR2PORT(addr), dst, count); in ioport_read32r() 198 static void iomem_read8r(void __iomem *addr, void *dst, unsigned long count) in iomem_read8r() argument 201 *(u8 *)dst = __raw_readb(addr); in iomem_read8r() 202 dst++; in iomem_read8r() 206 static void iomem_read16r(void __iomem *addr, void *dst, unsigned long count) in iomem_read16r() argument [all …]
|
D | memcpy.c | 164 static noinline unsigned long copy_dstaligned(unsigned long dst, in copy_dstaligned() argument 191 dst -= 3 * sizeof(unsigned int); in copy_dstaligned() 200 dst -= 2 * sizeof(unsigned int); in copy_dstaligned() 211 dst -= 1 * sizeof(unsigned int); in copy_dstaligned() 220 dst -= 0 * sizeof(unsigned int); in copy_dstaligned() 234 stw(d_space, MERGE (a2, sh_1, a3, sh_2), 0, dst, cda_stw_exc); in copy_dstaligned() 239 stw(d_space, MERGE (a3, sh_1, a0, sh_2), 4, dst, cda_stw_exc); in copy_dstaligned() 244 stw(d_space, MERGE (a0, sh_1, a1, sh_2), 8, dst, cda_stw_exc); in copy_dstaligned() 249 stw(d_space, MERGE (a1, sh_1, a2, sh_2), 12, dst, cda_stw_exc); in copy_dstaligned() 252 dst += 4 * sizeof(unsigned int); in copy_dstaligned() [all …]
|
/linux-4.4.14/arch/mips/lib/ |
D | memcpy.S | 36 #define dst a0 macro 287 PREFD( 1, 0(dst) ) 289 and t1, dst, ADDRMASK 291 PREFD( 1, 1*32(dst) ) 295 PREFD( 1, 2*32(dst) ) 313 PREFD( 1, 3*32(dst) ) 324 STORE(t0, UNIT(0)(dst), .Ls_exc_p8u\@) 325 STORE(t1, UNIT(1)(dst), .Ls_exc_p7u\@) 329 ADD dst, dst, 8*NBYTES 330 STORE(t2, UNIT(-6)(dst), .Ls_exc_p6u\@) [all …]
|
D | iomap.c | 104 static inline void mmio_insb(void __iomem *addr, u8 *dst, int count) in mmio_insb() argument 108 *dst = data; in mmio_insb() 109 dst++; in mmio_insb() 113 static inline void mmio_insw(void __iomem *addr, u16 *dst, int count) in mmio_insw() argument 117 *dst = data; in mmio_insw() 118 dst++; in mmio_insw() 122 static inline void mmio_insl(void __iomem *addr, u32 *dst, int count) in mmio_insl() argument 126 *dst = data; in mmio_insl() 127 dst++; in mmio_insl() 155 void ioread8_rep(void __iomem *addr, void *dst, unsigned long count) in ioread8_rep() argument [all …]
|
D | memset.S | 57 .macro f_fill64 dst, offset, val, fixup, mode 58 EX(LONG_S, \val, (\offset + 0 * STORSIZE)(\dst), \fixup) 59 EX(LONG_S, \val, (\offset + 1 * STORSIZE)(\dst), \fixup) 60 EX(LONG_S, \val, (\offset + 2 * STORSIZE)(\dst), \fixup) 61 EX(LONG_S, \val, (\offset + 3 * STORSIZE)(\dst), \fixup) 63 EX(LONG_S, \val, (\offset + 4 * STORSIZE)(\dst), \fixup) 64 EX(LONG_S, \val, (\offset + 5 * STORSIZE)(\dst), \fixup) 65 EX(LONG_S, \val, (\offset + 6 * STORSIZE)(\dst), \fixup) 66 EX(LONG_S, \val, (\offset + 7 * STORSIZE)(\dst), \fixup) 69 EX(LONG_S, \val, (\offset + 8 * STORSIZE)(\dst), \fixup) [all …]
|
D | csum_partial.S | 316 #define dst a1 macro 478 and t1, dst, ADDRMASK 481 andi odd, dst, 0x1 /* odd buffer? */ 506 STORE(t0, UNIT(0)(dst), .Ls_exc\@) 508 STORE(t1, UNIT(1)(dst), .Ls_exc\@) 510 STORE(t2, UNIT(2)(dst), .Ls_exc\@) 512 STORE(t3, UNIT(3)(dst), .Ls_exc\@) 514 STORE(t4, UNIT(4)(dst), .Ls_exc\@) 516 STORE(t5, UNIT(5)(dst), .Ls_exc\@) 518 STORE(t6, UNIT(6)(dst), .Ls_exc\@) [all …]
|
/linux-4.4.14/net/dsa/ |
D | dsa.c | 218 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_setup_one() local 235 if (dst->cpu_switch != -1) { in dsa_switch_setup_one() 236 netdev_err(dst->master_netdev, in dsa_switch_setup_one() 241 dst->cpu_switch = index; in dsa_switch_setup_one() 242 dst->cpu_port = i; in dsa_switch_setup_one() 266 if (dst->cpu_switch == index) { in dsa_switch_setup_one() 270 dst->rcv = dsa_netdev_ops.rcv; in dsa_switch_setup_one() 275 dst->rcv = edsa_netdev_ops.rcv; in dsa_switch_setup_one() 280 dst->rcv = trailer_netdev_ops.rcv; in dsa_switch_setup_one() 285 dst->rcv = brcm_netdev_ops.rcv; in dsa_switch_setup_one() [all …]
|
/linux-4.4.14/arch/x86/platform/efi/ |
D | early_printk.c | 67 unsigned long *dst; in early_efi_clear_scanline() local 71 dst = early_efi_map(y*len, len); in early_efi_clear_scanline() 72 if (!dst) in early_efi_clear_scanline() 75 memset(dst, 0, len); in early_efi_clear_scanline() 76 early_efi_unmap(dst, len); in early_efi_clear_scanline() 81 unsigned long *dst, *src; in early_efi_scroll_up() local 89 dst = early_efi_map(i*len, len); in early_efi_scroll_up() 90 if (!dst) in early_efi_scroll_up() 95 early_efi_unmap(dst, len); in early_efi_scroll_up() 99 memmove(dst, src, len); in early_efi_scroll_up() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | obdo.c | 48 void obdo_set_parent_fid(struct obdo *dst, const struct lu_fid *parent) in obdo_set_parent_fid() argument 50 dst->o_parent_oid = fid_oid(parent); in obdo_set_parent_fid() 51 dst->o_parent_seq = fid_seq(parent); in obdo_set_parent_fid() 52 dst->o_parent_ver = fid_ver(parent); in obdo_set_parent_fid() 53 dst->o_valid |= OBD_MD_FLGENER | OBD_MD_FLFID; in obdo_set_parent_fid() 59 void obdo_from_inode(struct obdo *dst, struct inode *src, u32 valid) in obdo_from_inode() argument 69 dst->o_atime = LTIME_S(src->i_atime); in obdo_from_inode() 73 dst->o_mtime = LTIME_S(src->i_mtime); in obdo_from_inode() 77 dst->o_ctime = LTIME_S(src->i_ctime); in obdo_from_inode() 81 dst->o_size = i_size_read(src); in obdo_from_inode() [all …]
|
/linux-4.4.14/arch/x86/lib/ |
D | csum-wrappers_64.c | 23 csum_partial_copy_from_user(const void __user *src, void *dst, in csum_partial_copy_from_user() argument 47 *(__u16 *)dst = val16; in csum_partial_copy_from_user() 51 dst += 2; in csum_partial_copy_from_user() 57 dst, len, isum, errp, NULL); in csum_partial_copy_from_user() 66 memset(dst, 0, len); in csum_partial_copy_from_user() 84 csum_partial_copy_to_user(const void *src, void __user *dst, in csum_partial_copy_to_user() argument 91 if (unlikely(!access_ok(VERIFY_WRITE, dst, len))) { in csum_partial_copy_to_user() 96 if (unlikely((unsigned long)dst & 6)) { in csum_partial_copy_to_user() 97 while (((unsigned long)dst & 6) && len >= 2) { in csum_partial_copy_to_user() 102 *errp = __put_user(val16, (__u16 __user *)dst); in csum_partial_copy_to_user() [all …]
|
/linux-4.4.14/sound/core/oss/ |
D | route.c | 30 int dst = 0; in zero_areas() local 31 for (; dst < ndsts; ++dst) { in zero_areas() 52 int nsrcs, ndsts, dst; in route_transfer() local 68 for (dst = 0; dst < ndsts; ++dst) { in route_transfer() 75 for (dst = 0; dst < ndsts && dst < nsrcs; ++dst) { in route_transfer() 80 if (dst < ndsts) in route_transfer() 81 zero_areas(dvp, ndsts - dst, frames, format); in route_transfer()
|
/linux-4.4.14/net/decnet/ |
D | dn_route.c | 114 static unsigned int dn_dst_default_advmss(const struct dst_entry *dst); 115 static unsigned int dn_dst_mtu(const struct dst_entry *dst); 120 static void dn_dst_update_pmtu(struct dst_entry *dst, struct sock *sk, 122 static void dn_dst_redirect(struct dst_entry *dst, struct sock *sk, 124 static struct neighbour *dn_dst_neigh_lookup(const struct dst_entry *dst, 154 static void dn_dst_destroy(struct dst_entry *dst) in dn_dst_destroy() argument 156 struct dn_route *rt = (struct dn_route *) dst; in dn_dst_destroy() 160 dst_destroy_metrics_generic(dst); in dn_dst_destroy() 163 static void dn_dst_ifdown(struct dst_entry *dst, struct net_device *dev, int how) in dn_dst_ifdown() argument 166 struct dn_route *rt = (struct dn_route *) dst; in dn_dst_ifdown() [all …]
|
/linux-4.4.14/arch/arm/lib/ |
D | csumpartialcopygeneric.S | 22 dst .req r1 label 36 tst dst, #1 42 strb ip, [dst], #1 43 tst dst, #2 44 reteq lr @ dst is now 32bit aligned 49 strb r8, [dst], #1 51 strb ip, [dst], #1 52 ret lr @ dst is now 32bit aligned 62 tst dst, #1 @ dst 16-bit aligned 69 strb ip, [dst], #1 [all …]
|
/linux-4.4.14/arch/mn10300/lib/ |
D | checksum.c | 54 __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy() argument 56 copy_from_user(dst, src, len); in csum_partial_copy() 57 return csum_partial(dst, len, sum); in csum_partial_copy() 61 __wsum csum_partial_copy_nocheck(const void *src, void *dst, in csum_partial_copy_nocheck() argument 65 memcpy(dst, src, len); in csum_partial_copy_nocheck() 70 __wsum csum_partial_copy_from_user(const void *src, void *dst, in csum_partial_copy_from_user() argument 76 missing = copy_from_user(dst, src, len); in csum_partial_copy_from_user() 78 memset(dst + len - missing, 0, missing); in csum_partial_copy_from_user() 82 return csum_partial(dst, len, sum); in csum_partial_copy_from_user() 86 __wsum csum_and_copy_to_user(const void *src, void *dst, in csum_and_copy_to_user() argument [all …]
|
/linux-4.4.14/tools/perf/bench/ |
D | mem-functions.c | 195 static void memcpy_alloc_mem(void **dst, void **src, size_t size) in memcpy_alloc_mem() argument 197 *dst = zalloc(size); in memcpy_alloc_mem() 198 if (!*dst) in memcpy_alloc_mem() 212 void *src = NULL, *dst = NULL; in do_memcpy_cycles() local 216 memcpy_alloc_mem(&dst, &src, size); in do_memcpy_cycles() 222 fn(dst, src, size); in do_memcpy_cycles() 226 fn(dst, src, size); in do_memcpy_cycles() 230 free(dst); in do_memcpy_cycles() 238 void *src = NULL, *dst = NULL; in do_memcpy_gettimeofday() local 241 memcpy_alloc_mem(&dst, &src, size); in do_memcpy_gettimeofday() [all …]
|
/linux-4.4.14/arch/s390/include/asm/ |
D | pci_io.h | 90 static inline int zpci_read_single(u64 req, u64 *dst, u64 offset, u8 len) in zpci_read_single() argument 101 *((u8 *) dst) = (u8) data; in zpci_read_single() 104 *((u16 *) dst) = (u16) data; in zpci_read_single() 107 *((u32 *) dst) = (u32) data; in zpci_read_single() 110 *((u64 *) dst) = (u64) data; in zpci_read_single() 122 static inline u8 zpci_get_max_write_size(u64 src, u64 dst, int len, int max) in zpci_get_max_write_size() argument 126 while (!(src & 0x1) && !(dst & 0x1) && ((size << 1) <= count)) { in zpci_get_max_write_size() 127 dst = dst >> 1; in zpci_get_max_write_size() 134 static inline int zpci_memcpy_fromio(void *dst, in zpci_memcpy_fromio() argument 144 (u64) dst, n, 8); in zpci_memcpy_fromio() [all …]
|
D | string.h | 80 static inline char *strcat(char *dst, const char *src) in strcat() argument 84 char *ret = dst; in strcat() 91 : "=&a" (dummy), "+a" (dst), "+a" (src) in strcat() 96 static inline char *strcpy(char *dst, const char *src) in strcpy() argument 99 char *ret = dst; in strcpy() 104 : "+&a" (dst), "+&a" (src) : "d" (r0) in strcpy() 136 char *strcat(char *dst, const char *src); 137 char *strcpy(char *dst, const char *src);
|
D | io.h | 63 #define memcpy_fromio(dst, src, count) zpci_memcpy_fromio(dst, src, count) argument 64 #define memcpy_toio(dst, src, count) zpci_memcpy_toio(dst, src, count) argument 65 #define memset_io(dst, val, count) zpci_memset_io(dst, val, count) argument
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | kvm_fpu.h | 25 extern void fps_fres(u64 *fpscr, u32 *dst, u32 *src1); 26 extern void fps_frsqrte(u64 *fpscr, u32 *dst, u32 *src1); 27 extern void fps_fsqrts(u64 *fpscr, u32 *dst, u32 *src1); 29 extern void fps_fadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2); 30 extern void fps_fdivs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2); 31 extern void fps_fmuls(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2); 32 extern void fps_fsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2); 34 extern void fps_fmadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2, 36 extern void fps_fmsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2, 38 extern void fps_fnmadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2, [all …]
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 71 } dst; member 85 t, t->dst.protonum, in nf_ct_dump_tuple_ip() 87 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip() 95 t, t->dst.protonum, in nf_ct_dump_tuple_ipv6() 97 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6() 115 ((enum ip_conntrack_dir)(h)->tuple.dst.dir) 134 return (nf_inet_addr_cmp(&t1->dst.u3, &t2->dst.u3) && in __nf_ct_tuple_dst_equal() 135 t1->dst.u.all == t2->dst.u.all && in __nf_ct_tuple_dst_equal() 136 t1->dst.protonum == t2->dst.protonum); in __nf_ct_tuple_dst_equal() 171 t1->dst.protonum != t2->dst.protonum) in nf_ct_tuple_src_mask_cmp()
|
/linux-4.4.14/drivers/media/pci/cx18/ |
D | cx18-io.c | 29 u8 __iomem *dst = addr; in cx18_memset_io() local 34 if ((count > 0) && ((unsigned long)dst & 1)) { in cx18_memset_io() 35 cx18_writeb(cx, (u8) val, dst); in cx18_memset_io() 37 dst++; in cx18_memset_io() 39 if ((count > 1) && ((unsigned long)dst & 2)) { in cx18_memset_io() 40 cx18_writew(cx, val2, dst); in cx18_memset_io() 42 dst += 2; in cx18_memset_io() 45 cx18_writel(cx, val4, dst); in cx18_memset_io() 47 dst += 4; in cx18_memset_io() 50 cx18_writew(cx, val2, dst); in cx18_memset_io() [all …]
|
D | cx18-vbi.c | 60 u8 *dst = &cx->vbi.sliced_mpeg_data[idx][0]; in copy_vbi_data() local 77 dst[sd + 12 + line * 43] = cx18_service2vbi(sdata->id); in copy_vbi_data() 78 memcpy(dst + sd + 12 + line * 43 + 1, sdata->data, 42); in copy_vbi_data() 81 memcpy(dst, mpeg_hdr_data, sizeof(mpeg_hdr_data)); in copy_vbi_data() 86 memcpy(dst + sd, "ITV0", 4); in copy_vbi_data() 87 memmove(dst + sd + 4, dst + sd + 12, line * 43); in copy_vbi_data() 90 memcpy(dst + sd, "itv0", 4); in copy_vbi_data() 93 memcpy(dst + sd + 4, &linemask[0], 8); in copy_vbi_data() 96 dst[4+16] = (size + 10) >> 8; in copy_vbi_data() 97 dst[5+16] = (size + 10) & 0xff; in copy_vbi_data() [all …]
|
/linux-4.4.14/mm/ |
D | maccess.c | 23 long __weak probe_kernel_read(void *dst, const void *src, size_t size) 26 long __probe_kernel_read(void *dst, const void *src, size_t size) in __probe_kernel_read() argument 33 ret = __copy_from_user_inatomic(dst, in __probe_kernel_read() 51 long __weak probe_kernel_write(void *dst, const void *src, size_t size) 54 long __probe_kernel_write(void *dst, const void *src, size_t size) in __probe_kernel_write() argument 61 ret = __copy_to_user_inatomic((__force void __user *)dst, src, size); in __probe_kernel_write() 86 long strncpy_from_unsafe(char *dst, const void *unsafe_addr, long count) in strncpy_from_unsafe() argument 99 ret = __copy_from_user_inatomic(dst++, in strncpy_from_unsafe() 101 } while (dst[-1] && ret == 0 && src - unsafe_addr < count); in strncpy_from_unsafe() 103 dst[-1] = '\0'; in strncpy_from_unsafe()
|
/linux-4.4.14/drivers/video/console/ |
D | fbcon_rotate.c | 27 u8 *dst; in fbcon_rotate_font() local 49 dst = kmalloc(d_cellsize * len, GFP_KERNEL); in fbcon_rotate_font() 51 if (dst == NULL) { in fbcon_rotate_font() 58 ops->fontbuffer = dst; in fbcon_rotate_font() 61 dst = ops->fontbuffer; in fbcon_rotate_font() 62 memset(dst, 0, ops->fd_size); in fbcon_rotate_font() 67 rotate_ud(src, dst, vc->vc_font.width, in fbcon_rotate_font() 71 dst += d_cellsize; in fbcon_rotate_font() 76 rotate_cw(src, dst, vc->vc_font.width, in fbcon_rotate_font() 79 dst += d_cellsize; in fbcon_rotate_font() [all …]
|
/linux-4.4.14/arch/sparc/lib/ |
D | memcpy.S | 17 #define MOVE_BIGCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument 22 st %t0, [%dst + (offset) + 0x00]; \ 23 st %t1, [%dst + (offset) + 0x04]; \ 24 st %t2, [%dst + (offset) + 0x08]; \ 25 st %t3, [%dst + (offset) + 0x0c]; \ 26 st %t4, [%dst + (offset) + 0x10]; \ 27 st %t5, [%dst + (offset) + 0x14]; \ 28 st %t6, [%dst + (offset) + 0x18]; \ 29 st %t7, [%dst + (offset) + 0x1c]; 31 #define MOVE_BIGALIGNCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument [all …]
|
D | PeeCeeI.c | 87 void insb(unsigned long __addr, void *dst, unsigned long count) in insb() argument 93 u8 *pb = dst; in insb() 115 void insw(unsigned long __addr, void *dst, unsigned long count) in insw() argument 120 u16 *ps = dst; in insw() 143 void insl(unsigned long __addr, void *dst, unsigned long count) in insl() argument 148 if ((((unsigned long)dst) & 0x3) == 0) { in insl() 149 u32 *pi = dst; in insl() 157 switch (((unsigned long)dst) & 3) { in insl() 159 ps = dst; in insl() 174 pb = dst; in insl() [all …]
|
/linux-4.4.14/net/ipv4/ |
D | route.c | 137 static struct dst_entry *ipv4_dst_check(struct dst_entry *dst, u32 cookie); 138 static unsigned int ipv4_default_advmss(const struct dst_entry *dst); 139 static unsigned int ipv4_mtu(const struct dst_entry *dst); 140 static struct dst_entry *ipv4_negative_advice(struct dst_entry *dst); 142 static void ip_rt_update_pmtu(struct dst_entry *dst, struct sock *sk, 144 static void ip_do_redirect(struct dst_entry *dst, struct sock *sk, 146 static void ipv4_dst_destroy(struct dst_entry *dst); 148 static u32 *ipv4_cow_metrics(struct dst_entry *dst, unsigned long old) in ipv4_cow_metrics() argument 154 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst, 340 struct ip_rt_acct *dst, *src; in rt_acct_proc_show() local [all …]
|
D | datagram.c | 80 sk_dst_set(sk, &rt->dst); in __ip4_datagram_connect() 107 struct dst_entry *dst; in ip4_datagram_release_cb() local 113 dst = __sk_dst_get(sk); in ip4_datagram_release_cb() 114 if (!dst || !dst->obsolete || dst->ops->check(dst, 0)) { in ip4_datagram_release_cb() 126 dst = !IS_ERR(rt) ? &rt->dst : NULL; in ip4_datagram_release_cb() 127 sk_dst_set(sk, dst); in ip4_datagram_release_cb()
|
D | tcp_metrics.c | 97 const struct dst_entry *dst, in tcpm_suck_dst() argument 106 if (dst_metric_locked(dst, RTAX_RTT)) in tcpm_suck_dst() 108 if (dst_metric_locked(dst, RTAX_RTTVAR)) in tcpm_suck_dst() 110 if (dst_metric_locked(dst, RTAX_SSTHRESH)) in tcpm_suck_dst() 112 if (dst_metric_locked(dst, RTAX_CWND)) in tcpm_suck_dst() 114 if (dst_metric_locked(dst, RTAX_REORDERING)) in tcpm_suck_dst() 118 msval = dst_metric_raw(dst, RTAX_RTT); in tcpm_suck_dst() 121 msval = dst_metric_raw(dst, RTAX_RTTVAR); in tcpm_suck_dst() 123 tm->tcpm_vals[TCP_METRIC_SSTHRESH] = dst_metric_raw(dst, RTAX_SSTHRESH); in tcpm_suck_dst() 124 tm->tcpm_vals[TCP_METRIC_CWND] = dst_metric_raw(dst, RTAX_CWND); in tcpm_suck_dst() [all …]
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nf_nat_h323.c | 119 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_sig_addr() 124 tuple.dst.u3, in set_sig_addr() 126 } else if (addr.ip == ct->tuplehash[dir].tuple.dst.u3.ip && in set_sig_addr() 162 &ct->tuplehash[!dir].tuple.dst.u3.ip, in set_ras_addr() 163 ntohs(ct->tuplehash[!dir].tuple.dst.u.udp.port)); in set_ras_addr() 165 &ct->tuplehash[!dir].tuple.dst.u3, in set_ras_addr() 167 dst.u.udp.port); in set_ras_addr() 189 rtp_exp->saved_proto.udp.port = rtp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp() 192 rtcp_exp->saved_proto.udp.port = rtcp_exp->tuple.dst.u.udp.port; in nat_rtp_rtcp() 203 rtp_exp->tuple.dst.u.udp.port = info->rtp_port[i][dir]; in nat_rtp_rtcp() [all …]
|
D | nf_conntrack_proto_icmp.c | 42 tuple->dst.u.icmp.type = hp->type; in icmp_pkt_to_tuple() 44 tuple->dst.u.icmp.code = hp->code; in icmp_pkt_to_tuple() 64 if (orig->dst.u.icmp.type >= sizeof(invmap) || in icmp_invert_tuple() 65 !invmap[orig->dst.u.icmp.type]) in icmp_invert_tuple() 69 tuple->dst.u.icmp.type = invmap[orig->dst.u.icmp.type] - 1; in icmp_invert_tuple() 70 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; in icmp_invert_tuple() 79 tuple->dst.u.icmp.type, in icmp_print_tuple() 80 tuple->dst.u.icmp.code, in icmp_print_tuple() 117 if (ct->tuplehash[0].tuple.dst.u.icmp.type >= sizeof(valid_new) || in icmp_new() 118 !valid_new[ct->tuplehash[0].tuple.dst.u.icmp.type]) { in icmp_new() [all …]
|
/linux-4.4.14/arch/hexagon/lib/ |
D | io.c | 34 short int *dst = (short int *) data; in __raw_readsw() local 40 *dst++ = *src; in __raw_readsw() 53 volatile short int *dst = (short int *)addr; in __raw_writesw() local 59 *dst = *src++; in __raw_writesw() 68 long *dst = (long *) data; in __raw_readsl() local 74 *dst++ = *src; in __raw_readsl() 82 volatile long *dst = (long *)addr; in __raw_writesl() local 88 *dst = *src++; in __raw_writesl()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | mpic.c | 224 struct irq_dest dst[MAX_CPU]; member 242 static void mpic_irq_raise(struct openpic *opp, struct irq_dest *dst, in mpic_irq_raise() argument 249 if (!dst->vcpu) { in mpic_irq_raise() 251 __func__, (int)(dst - &opp->dst[0])); in mpic_irq_raise() 255 pr_debug("%s: cpu %d output %d\n", __func__, dst->vcpu->arch.irq_cpu_id, in mpic_irq_raise() 261 kvm_vcpu_ioctl_interrupt(dst->vcpu, &irq); in mpic_irq_raise() 264 static void mpic_irq_lower(struct openpic *opp, struct irq_dest *dst, in mpic_irq_lower() argument 267 if (!dst->vcpu) { in mpic_irq_lower() 269 __func__, (int)(dst - &opp->dst[0])); in mpic_irq_lower() 273 pr_debug("%s: cpu %d output %d\n", __func__, dst->vcpu->arch.irq_cpu_id, in mpic_irq_lower() [all …]
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic79xx_inline.h | 58 ahd_mode src, ahd_mode dst); 61 ahd_mode dst); 64 ahd_mode *src, ahd_mode *dst); 67 ahd_mode dst); 76 ahd_known_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) in ahd_known_modes() argument 79 ahd->dst_mode = dst; in ahd_known_modes() 81 ahd->saved_dst_mode = dst; in ahd_known_modes() 85 ahd_build_mode_state(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) in ahd_build_mode_state() argument 87 return ((src << SRC_MODE_SHIFT) | (dst << DST_MODE_SHIFT)); in ahd_build_mode_state() 92 ahd_mode *src, ahd_mode *dst) in ahd_extract_mode_state() argument [all …]
|
/linux-4.4.14/arch/hexagon/mm/ |
D | copy_user_template.S | 34 r3 = or(dst,src) 35 r4 = xor(dst,src) 41 src_dst_sav = combine(src,dst) 53 if (p3) memd(dst++#8) = d_dbuf 58 memd(dst++#8) = d_dbuf 83 if (p3) memw(dst++#4) = w_dbuf 88 memw(dst++#4) = w_dbuf 109 if (p3) memh(dst++#2) = w_dbuf 114 memh(dst++#2) = w_dbuf 125 if (p3) memb(dst++#1) = w_dbuf [all …]
|
/linux-4.4.14/arch/alpha/kernel/ |
D | io.c | 213 void ioread8_rep(void __iomem *port, void *dst, unsigned long count) in ioread8_rep() argument 215 while ((unsigned long)dst & 0x3) { in ioread8_rep() 219 *(unsigned char *)dst = ioread8(port); in ioread8_rep() 220 dst += 1; in ioread8_rep() 230 *(unsigned int *)dst = w; in ioread8_rep() 231 dst += 4; in ioread8_rep() 236 *(unsigned char *)dst = ioread8(port); in ioread8_rep() 237 dst += 1; in ioread8_rep() 241 void insb(unsigned long port, void *dst, unsigned long count) in insb() argument 243 ioread8_rep(ioport_map(port, 1), dst, count); in insb() [all …]
|
/linux-4.4.14/fs/xfs/ |
D | xfs_icache.h | 82 struct xfs_eofblocks *dst) in xfs_fs_eofblocks_from_user() argument 94 dst->eof_flags = src->eof_flags; in xfs_fs_eofblocks_from_user() 95 dst->eof_prid = src->eof_prid; in xfs_fs_eofblocks_from_user() 96 dst->eof_min_file_size = src->eof_min_file_size; in xfs_fs_eofblocks_from_user() 97 dst->eof_scan_owner = NULLFSINO; in xfs_fs_eofblocks_from_user() 99 dst->eof_uid = INVALID_UID; in xfs_fs_eofblocks_from_user() 101 dst->eof_uid = make_kuid(current_user_ns(), src->eof_uid); in xfs_fs_eofblocks_from_user() 102 if (!uid_valid(dst->eof_uid)) in xfs_fs_eofblocks_from_user() 106 dst->eof_gid = INVALID_GID; in xfs_fs_eofblocks_from_user() 108 dst->eof_gid = make_kgid(current_user_ns(), src->eof_gid); in xfs_fs_eofblocks_from_user() [all …]
|
D | xfs_qm_syscalls.c | 640 struct qc_dqblk *dst) in xfs_qm_scall_getquota() argument 663 memset(dst, 0, sizeof(*dst)); in xfs_qm_scall_getquota() 664 dst->d_spc_hardlimit = in xfs_qm_scall_getquota() 666 dst->d_spc_softlimit = in xfs_qm_scall_getquota() 668 dst->d_ino_hardlimit = be64_to_cpu(dqp->q_core.d_ino_hardlimit); in xfs_qm_scall_getquota() 669 dst->d_ino_softlimit = be64_to_cpu(dqp->q_core.d_ino_softlimit); in xfs_qm_scall_getquota() 670 dst->d_space = XFS_FSB_TO_B(mp, dqp->q_res_bcount); in xfs_qm_scall_getquota() 671 dst->d_ino_count = dqp->q_res_icount; in xfs_qm_scall_getquota() 672 dst->d_spc_timer = be32_to_cpu(dqp->q_core.d_btimer); in xfs_qm_scall_getquota() 673 dst->d_ino_timer = be32_to_cpu(dqp->q_core.d_itimer); in xfs_qm_scall_getquota() [all …]
|
/linux-4.4.14/arch/powerpc/crypto/ |
D | sha256-spe-glue.c | 150 __be32 *dst = (__be32 *)out; in ppc_spe_sha256_final() local 170 dst[0] = cpu_to_be32(sctx->state[0]); in ppc_spe_sha256_final() 171 dst[1] = cpu_to_be32(sctx->state[1]); in ppc_spe_sha256_final() 172 dst[2] = cpu_to_be32(sctx->state[2]); in ppc_spe_sha256_final() 173 dst[3] = cpu_to_be32(sctx->state[3]); in ppc_spe_sha256_final() 174 dst[4] = cpu_to_be32(sctx->state[4]); in ppc_spe_sha256_final() 175 dst[5] = cpu_to_be32(sctx->state[5]); in ppc_spe_sha256_final() 176 dst[6] = cpu_to_be32(sctx->state[6]); in ppc_spe_sha256_final() 177 dst[7] = cpu_to_be32(sctx->state[7]); in ppc_spe_sha256_final() 186 __be32 *dst = (__be32 *)out; in ppc_spe_sha224_final() local [all …]
|
/linux-4.4.14/arch/powerpc/lib/ |
D | checksum_wrappers_64.c | 26 __wsum csum_and_copy_from_user(const void __user *src, void *dst, in csum_and_copy_from_user() argument 46 csum = csum_partial_copy_generic((void __force *)src, dst, in csum_and_copy_from_user() 50 int missing = __copy_from_user(dst, src, len); in csum_and_copy_from_user() 53 memset(dst + len - missing, 0, missing); in csum_and_copy_from_user() 59 csum = csum_partial(dst, len, sum); in csum_and_copy_from_user() 67 __wsum csum_and_copy_to_user(const void *src, void __user *dst, int len, in csum_and_copy_to_user() argument 81 if (unlikely((len < 0) || !access_ok(VERIFY_WRITE, dst, len))) { in csum_and_copy_to_user() 87 csum = csum_partial_copy_generic(src, (void __force *)dst, in csum_and_copy_to_user() 93 if (copy_to_user(dst, src, len)) { in csum_and_copy_to_user()
|
/linux-4.4.14/arch/sparc/crypto/ |
D | des_glue.c | 70 static void des_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des_encrypt() argument 75 des_sparc64_crypt(K, (const u64 *) src, (u64 *) dst); in des_encrypt() 78 static void des_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in des_decrypt() argument 83 des_sparc64_crypt(K, (const u64 *) src, (u64 *) dst); in des_decrypt() 94 struct scatterlist *dst, struct scatterlist *src, in __ecb_crypt() argument 101 blkcipher_walk_init(&walk, dst, src, nbytes); in __ecb_crypt() 114 (u64 *) walk.dst.virt.addr, in __ecb_crypt() 125 struct scatterlist *dst, struct scatterlist *src, in ecb_encrypt() argument 128 return __ecb_crypt(desc, dst, src, nbytes, true); in ecb_encrypt() 132 struct scatterlist *dst, struct scatterlist *src, in ecb_decrypt() argument [all …]
|
D | camellia_glue.c | 57 static void camellia_encrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_encrypt() argument 63 (u32 *) dst, ctx->key_len); in camellia_encrypt() 66 static void camellia_decrypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in camellia_decrypt() argument 72 (u32 *) dst, ctx->key_len); in camellia_decrypt() 86 struct scatterlist *dst, struct scatterlist *src, in __ecb_crypt() argument 99 blkcipher_walk_init(&walk, dst, src, nbytes); in __ecb_crypt() 116 dst64 = (u64 *) walk.dst.virt.addr; in __ecb_crypt() 127 struct scatterlist *dst, struct scatterlist *src, in ecb_encrypt() argument 130 return __ecb_crypt(desc, dst, src, nbytes, true); in ecb_encrypt() 134 struct scatterlist *dst, struct scatterlist *src, in ecb_decrypt() argument [all …]
|
/linux-4.4.14/sound/core/ |
D | memory.c | 38 int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count) in copy_to_user_fromio() argument 41 return copy_to_user(dst, (const void __force*)src, count) ? -EFAULT : 0; in copy_to_user_fromio() 49 if (copy_to_user(dst, buf, c)) in copy_to_user_fromio() 52 dst += c; in copy_to_user_fromio() 71 int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count) in copy_from_user_toio() argument 74 return copy_from_user((void __force *)dst, src, count) ? -EFAULT : 0; in copy_from_user_toio() 83 memcpy_toio(dst, buf, c); in copy_from_user_toio() 85 dst += c; in copy_from_user_toio()
|
D | hwdep_compat.c | 36 struct snd_hwdep_dsp_image __user *dst; in snd_hwdep_dsp_load_compat() local 40 dst = compat_alloc_user_space(sizeof(*dst)); in snd_hwdep_dsp_load_compat() 43 if (copy_in_user(dst, src, 4 + 64)) in snd_hwdep_dsp_load_compat() 46 put_user(compat_ptr(ptr), &dst->image)) in snd_hwdep_dsp_load_compat() 49 put_user(val, &dst->length)) in snd_hwdep_dsp_load_compat() 52 put_user(val, &dst->driver_data)) in snd_hwdep_dsp_load_compat() 55 return snd_hwdep_dsp_load(hw, dst); in snd_hwdep_dsp_load_compat()
|
/linux-4.4.14/arch/mips/net/ |
D | bpf_jit.c | 119 static inline void emit_jit_reg_move(ptr dst, ptr src, struct jit_ctx *ctx); 150 static inline void emit_addu(unsigned int dst, unsigned int src1, in emit_addu() argument 153 emit_instr(ctx, addu, dst, src1, src2); in emit_addu() 162 static inline void emit_load_imm(unsigned int dst, u32 imm, struct jit_ctx *ctx) in emit_load_imm() argument 170 uasm_i_ori(&p, dst, r_tmp_imm, imm & 0xffff); in emit_load_imm() 173 uasm_i_addiu(&p, dst, r_zero, imm); in emit_load_imm() 182 static inline void emit_or(unsigned int dst, unsigned int src1, in emit_or() argument 185 emit_instr(ctx, or, dst, src1, src2); in emit_or() 188 static inline void emit_ori(unsigned int dst, unsigned src, u32 imm, in emit_ori() argument 193 emit_or(dst, src, r_tmp, ctx); in emit_ori() [all …]
|
/linux-4.4.14/drivers/base/regmap/ |
D | regcache-lzo.c | 23 void *dst; member 52 lzo_ctx->dst, &compress_size, lzo_ctx->wmem); in regcache_lzo_compress() 66 lzo_ctx->dst, &dst_len); in regcache_lzo_decompress() 78 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL); in regcache_lzo_compress_cache_block() 79 if (!lzo_ctx->dst) { in regcache_lzo_compress_cache_block() 96 lzo_ctx->dst = kmalloc(lzo_ctx->dst_len, GFP_KERNEL); in regcache_lzo_decompress_cache_block() 97 if (!lzo_ctx->dst) { in regcache_lzo_decompress_cache_block() 224 kfree(lzo_blocks[i]->dst); in regcache_lzo_exit() 252 tmp_dst = lzo_block->dst; in regcache_lzo_read() 256 lzo_block->src = lzo_block->dst; in regcache_lzo_read() [all …]
|
/linux-4.4.14/drivers/crypto/ccp/ |
D | ccp-ops.c | 122 struct ccp_mem dst; member 277 cr[4] = ccp_addr_lo(&op->dst.u.dma); in ccp_perform_aes() 279 | ccp_addr_hi(&op->dst.u.dma); in ccp_perform_aes() 307 cr[4] = ccp_addr_lo(&op->dst.u.dma); in ccp_perform_xts_aes() 309 | ccp_addr_hi(&op->dst.u.dma); in ccp_perform_xts_aes() 360 cr[4] = ccp_addr_lo(&op->dst.u.dma); in ccp_perform_rsa() 362 | ccp_addr_hi(&op->dst.u.dma); in ccp_perform_rsa() 379 cr[1] = op->dst.u.dma.length - 1; in ccp_perform_passthru() 393 if (op->dst.type == CCP_MEMTYPE_SYSTEM) { in ccp_perform_passthru() 394 cr[4] = ccp_addr_lo(&op->dst.u.dma); in ccp_perform_passthru() [all …]
|
/linux-4.4.14/drivers/char/hw_random/ |
D | xgene-rng.c | 66 #define MAX_REFILL_CYCLES_SET(dst, src) \ argument 67 ((dst & ~0xffff0000) | (((u32)src << 16) & 0xffff0000)) 68 #define MIN_REFILL_CYCLES_SET(dst, src) \ argument 69 ((dst & ~0x000000ff) | (((u32)src) & 0x000000ff)) 70 #define ALARM_THRESHOLD_SET(dst, src) \ argument 71 ((dst & ~0x000000ff) | (((u32)src) & 0x000000ff)) 72 #define ENABLE_RNG_SET(dst, src) \ argument 73 ((dst & ~BIT(10)) | (((u32)src << 10) & BIT(10))) 74 #define REGSPEC_TEST_MODE_SET(dst, src) \ argument 75 ((dst & ~BIT(8)) | (((u32)src << 8) & BIT(8))) [all …]
|
/linux-4.4.14/net/netfilter/ |
D | xt_hashlimit.c | 66 __be32 dst; member 71 __be32 dst[4]; member 82 struct dsthash_dst dst; member 123 return !memcmp(&ent->dst, b, sizeof(ent->dst)); in dst_cmp() 127 hash_dst(const struct xt_hashlimit_htable *ht, const struct dsthash_dst *dst) in hash_dst() argument 129 u_int32_t hash = jhash2((const u32 *)dst, in hash_dst() 130 sizeof(*dst)/sizeof(u32), in hash_dst() 143 const struct dsthash_dst *dst) in dsthash_find() argument 146 u_int32_t hash = hash_dst(ht, dst); in dsthash_find() 150 if (dst_cmp(ent, dst)) { in dsthash_find() [all …]
|
D | nf_nat_sip.c | 107 newaddr = ct->tuplehash[!dir].tuple.dst.u3; in map_addr() 108 newport = ct->tuplehash[!dir].tuple.dst.u.udp.port; in map_addr() 109 } else if (nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3, addr) && in map_addr() 110 ct->tuplehash[dir].tuple.dst.u.udp.port == port) { in map_addr() 192 &ct->tuplehash[dir].tuple.dst.u3) || in nf_nat_sip() 193 port != ct->tuplehash[dir].tuple.dst.u.udp.port) in nf_nat_sip() 212 !nf_inet_addr_cmp(&addr, &ct->tuplehash[!dir].tuple.dst.u3)) { in nf_nat_sip() 214 &ct->tuplehash[!dir].tuple.dst.u3, in nf_nat_sip() 228 nf_inet_addr_cmp(&addr, &ct->tuplehash[dir].tuple.dst.u3) && in nf_nat_sip() 245 htons(n) == ct->tuplehash[dir].tuple.dst.u.udp.port && in nf_nat_sip() [all …]
|
D | xt_nat.c | 29 static void xt_nat_convert_range(struct nf_nat_range *dst, in xt_nat_convert_range() argument 32 memset(&dst->min_addr, 0, sizeof(dst->min_addr)); in xt_nat_convert_range() 33 memset(&dst->max_addr, 0, sizeof(dst->max_addr)); in xt_nat_convert_range() 35 dst->flags = src->flags; in xt_nat_convert_range() 36 dst->min_addr.ip = src->min_ip; in xt_nat_convert_range() 37 dst->max_addr.ip = src->max_ip; in xt_nat_convert_range() 38 dst->min_proto = src->min; in xt_nat_convert_range() 39 dst->max_proto = src->max; in xt_nat_convert_range()
|
/linux-4.4.14/tools/testing/selftests/powerpc/copyloops/ |
D | validate.c | 16 static void do_one(char *src, char *dst, unsigned long src_off, in do_one() argument 25 dstp = dst + MIN_REDZONE + dst_off; in do_one() 28 memset(dst, POISON, BUFLEN); in do_one() 49 if (memcmp(dst, redzone, dstp - dst)) { in do_one() 55 if (memcmp(dstp+len, redzone, dst+BUFLEN-(dstp+len))) { in do_one() 64 char *src, *dst, *redzone, *fill; in test_copy_loop() local 69 dst = memalign(BUFLEN, BUFLEN); in test_copy_loop() 73 if (!src || !dst || !redzone || !fill) { in test_copy_loop() 87 do_one(src, dst, src_off, dst_off, len, in test_copy_loop()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_rect.c | 68 bool drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, in drm_rect_clip_scaled() argument 74 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled() 79 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled() 84 diff = dst->x2 - clip->x2; in drm_rect_clip_scaled() 89 diff = dst->y2 - clip->y2; in drm_rect_clip_scaled() 95 return drm_rect_intersect(dst, clip); in drm_rect_clip_scaled() 99 static int drm_calc_scale(int src, int dst) in drm_calc_scale() argument 103 if (src < 0 || dst < 0) in drm_calc_scale() 106 if (dst == 0) in drm_calc_scale() 109 scale = src / dst; in drm_calc_scale() [all …]
|
/linux-4.4.14/drivers/media/usb/dvb-usb/ |
D | vp702x-fe.c | 44 struct vp702x_device_state *dst = st->d->priv; in vp702x_fe_refresh_state() local 48 mutex_lock(&dst->buf_mutex); in vp702x_fe_refresh_state() 49 buf = dst->buf; in vp702x_fe_refresh_state() 60 mutex_unlock(&dst->buf_mutex); in vp702x_fe_refresh_state() 143 struct vp702x_device_state *dst = st->d->priv; in vp702x_fe_set_frontend() local 150 mutex_lock(&dst->buf_mutex); in vp702x_fe_set_frontend() 152 cmd = dst->buf; in vp702x_fe_set_frontend() 196 mutex_unlock(&dst->buf_mutex); in vp702x_fe_set_frontend() 220 struct vp702x_device_state *dst = st->d->priv; in vp702x_fe_send_diseqc_msg() local 227 mutex_lock(&dst->buf_mutex); in vp702x_fe_send_diseqc_msg() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.h | 48 static inline void ocrdma_cpu_to_le32(void *dst, u32 len) in ocrdma_cpu_to_le32() argument 52 u32 *src_ptr = dst; in ocrdma_cpu_to_le32() 53 u32 *dst_ptr = dst; in ocrdma_cpu_to_le32() 59 static inline void ocrdma_le32_to_cpu(void *dst, u32 len) in ocrdma_le32_to_cpu() argument 63 u32 *src_ptr = dst; in ocrdma_le32_to_cpu() 64 u32 *dst_ptr = dst; in ocrdma_le32_to_cpu() 70 static inline void ocrdma_copy_cpu_to_le32(void *dst, void *src, u32 len) in ocrdma_copy_cpu_to_le32() argument 75 u32 *dst_ptr = dst; in ocrdma_copy_cpu_to_le32() 79 memcpy(dst, src, len); in ocrdma_copy_cpu_to_le32() 83 static inline void ocrdma_copy_le32_to_cpu(void *dst, void *src, u32 len) in ocrdma_copy_le32_to_cpu() argument [all …]
|
/linux-4.4.14/sound/soc/blackfin/ |
D | bf5xx-ac97.c | 46 void bf5xx_pcm_to_ac97(struct ac97_frame *dst, const __u16 *src, in bf5xx_pcm_to_ac97() argument 50 dst->ac97_tag = TAG_VALID; in bf5xx_pcm_to_ac97() 52 dst->ac97_pcm_r = *src++; in bf5xx_pcm_to_ac97() 53 dst->ac97_tag |= TAG_PCM_RIGHT; in bf5xx_pcm_to_ac97() 56 dst->ac97_pcm_l = *src++; in bf5xx_pcm_to_ac97() 57 dst->ac97_tag |= TAG_PCM_LEFT; in bf5xx_pcm_to_ac97() 62 dst->ac97_sl = *src++; in bf5xx_pcm_to_ac97() 63 dst->ac97_tag |= TAG_PCM_SL; in bf5xx_pcm_to_ac97() 66 dst->ac97_sr = *src++; in bf5xx_pcm_to_ac97() 67 dst->ac97_tag |= TAG_PCM_SR; in bf5xx_pcm_to_ac97() [all …]
|
/linux-4.4.14/lib/lzo/ |
D | lzodefs.h | 15 #define COPY4(dst, src) \ argument 16 put_unaligned(get_unaligned((const u32 *)(src)), (u32 *)(dst)) 18 #define COPY8(dst, src) \ argument 19 put_unaligned(get_unaligned((const u64 *)(src)), (u64 *)(dst)) 21 #define COPY8(dst, src) \ argument 22 COPY4(dst, src); COPY4((dst) + 4, (src) + 4)
|
/linux-4.4.14/arch/arm/kernel/ |
D | sleep.S | 37 .macro compute_mpidr_hash dst, rs0, rs1, rs2, mpidr, mask 39 and \dst, \mpidr, #0xff @ mask=aff0 40 ARM( mov \dst, \dst, lsr \rs0 ) @ dst=aff0>>rs0 41 THUMB( lsr \dst, \dst, \rs0 ) 43 ARM( orr \dst, \dst, \mask, lsr \rs1 ) @ dst|=(aff1>>rs1) 45 THUMB( orr \dst, \dst, \mask ) 47 ARM( orr \dst, \dst, \mask, lsr \rs2 ) @ dst|=(aff2>>rs2) 49 THUMB( orr \dst, \dst, \mask )
|
/linux-4.4.14/arch/arm/crypto/ |
D | aesbs-glue.c | 105 struct scatterlist *dst, in aesbs_cbc_encrypt() argument 112 blkcipher_walk_init(&walk, dst, src, nbytes); in aesbs_cbc_encrypt() 119 if (walk.dst.virt.addr == walk.src.virt.addr) { in aesbs_cbc_encrypt() 130 u8 *dst = walk.dst.virt.addr; in aesbs_cbc_encrypt() local 134 AES_encrypt(walk.iv, dst, &ctx->enc); in aesbs_cbc_encrypt() 135 memcpy(walk.iv, dst, AES_BLOCK_SIZE); in aesbs_cbc_encrypt() 137 dst += AES_BLOCK_SIZE; in aesbs_cbc_encrypt() 146 struct scatterlist *dst, in aesbs_cbc_decrypt() argument 153 blkcipher_walk_init(&walk, dst, src, nbytes); in aesbs_cbc_decrypt() 158 bsaes_cbc_encrypt(walk.src.virt.addr, walk.dst.virt.addr, in aesbs_cbc_decrypt() [all …]
|
/linux-4.4.14/arch/arm64/kernel/ |
D | io.c | 84 void __memset_io(volatile void __iomem *dst, int c, size_t count) in __memset_io() argument 92 while (count && !IS_ALIGNED((unsigned long)dst, 8)) { in __memset_io() 93 __raw_writeb(c, dst); in __memset_io() 94 dst++; in __memset_io() 99 __raw_writeq(qc, dst); in __memset_io() 100 dst += 8; in __memset_io() 105 __raw_writeb(c, dst); in __memset_io() 106 dst++; in __memset_io()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_policy.c | 53 static void xfrm_init_pmtu(struct dst_entry *dst); 54 static int stale_bundle(struct dst_entry *dst); 125 struct dst_entry *dst; in __xfrm_dst_lookup() local 131 dst = afinfo->dst_lookup(net, tos, oif, saddr, daddr); in __xfrm_dst_lookup() 135 return dst; in __xfrm_dst_lookup() 147 struct dst_entry *dst; in xfrm_dst_lookup() local 158 dst = __xfrm_dst_lookup(net, tos, oif, saddr, daddr, family); in xfrm_dst_lookup() 160 if (!IS_ERR(dst)) { in xfrm_dst_lookup() 167 return dst; in xfrm_dst_lookup() 1531 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_get() local [all …]
|
/linux-4.4.14/arch/s390/crypto/ |
D | des_s390.c | 95 u8 *out = walk->dst.virt.addr; in ecb_desall_crypt() 128 u8 *out = walk->dst.virt.addr; in cbc_desall_crypt() 145 struct scatterlist *dst, struct scatterlist *src, in ecb_des_encrypt() argument 151 blkcipher_walk_init(&walk, dst, src, nbytes); in ecb_des_encrypt() 156 struct scatterlist *dst, struct scatterlist *src, in ecb_des_decrypt() argument 162 blkcipher_walk_init(&walk, dst, src, nbytes); in ecb_des_decrypt() 187 struct scatterlist *dst, struct scatterlist *src, in cbc_des_encrypt() argument 192 blkcipher_walk_init(&walk, dst, src, nbytes); in cbc_des_encrypt() 197 struct scatterlist *dst, struct scatterlist *src, in cbc_des_decrypt() argument 202 blkcipher_walk_init(&walk, dst, src, nbytes); in cbc_des_decrypt() [all …]
|
/linux-4.4.14/drivers/media/usb/as102/ |
D | as102_fw.c | 30 static unsigned char atohx(unsigned char *dst, char *src) in atohx() argument 42 *dst = value = ((msb & 0xF) << 4) | (lsb & 0xF); in atohx() 54 unsigned char *src, dst; in parse_hex_line() local 63 atohx(&dst, src); in parse_hex_line() 67 *dataLength = dst; in parse_hex_line() 70 addr[2] = dst; in parse_hex_line() 73 addr[3] = dst; in parse_hex_line() 77 if (dst == 0x04) in parse_hex_line() 85 addr[(count - 4)] = dst; in parse_hex_line() 87 data[(count - 4)] = dst; in parse_hex_line() [all …]
|
/linux-4.4.14/net/netfilter/ipvs/ |
D | ip_vs_nfct.c | 72 &(T)->dst.u3.ip, ntohs((T)->dst.u.all), \ 73 (T)->dst.protonum 117 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack() 118 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack() 121 new_tuple.dst.u3 = cp->vaddr; in ip_vs_update_conntrack() 122 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack() 123 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack() 124 new_tuple.dst.u.tcp.port = cp->vport; in ip_vs_update_conntrack() 164 ip_vs_conn_fill_param(net_ipvs(net), exp->tuple.src.l3num, orig->dst.protonum, in ip_vs_nfct_expect_callback() 166 &orig->dst.u3, orig->dst.u.tcp.port, &p); in ip_vs_nfct_expect_callback() [all …]
|
D | ip_vs_xmit.c | 75 struct dst_entry *dst, u32 dst_cookie) in __ip_vs_dst_set() argument 83 dest_dst->dst_cache = dst; in __ip_vs_dst_set() 96 struct dst_entry *dst; in __ip_vs_dst_check() local 100 dst = dest_dst->dst_cache; in __ip_vs_dst_check() 101 if (dst->obsolete && in __ip_vs_dst_check() 102 dst->ops->check(dst, dest_dst->dst_cookie) == NULL) in __ip_vs_dst_check() 162 return rt->dst.dev && rt->dst.dev->flags & IFF_LOOPBACK; in __ip_vs_is_local_route6() 212 ort->dst.ops->update_pmtu(&ort->dst, sk, NULL, mtu); in maybe_update_pmtu() 290 __ip_vs_dst_set(dest, dest_dst, &rt->dst, 0); in __ip_vs_get_out_rt() 294 atomic_read(&rt->dst.__refcnt)); in __ip_vs_get_out_rt() [all …]
|
/linux-4.4.14/arch/score/lib/ |
D | checksum_copy.c | 30 unsigned int csum_partial_copy(const char *src, char *dst, in csum_partial_copy() argument 34 memcpy(dst, src, len); in csum_partial_copy() 39 unsigned int csum_partial_copy_from_user(const char *src, char *dst, in csum_partial_copy_from_user() argument 45 missing = copy_from_user(dst, src, len); in csum_partial_copy_from_user() 47 memset(dst + len - missing, 0, missing); in csum_partial_copy_from_user() 51 return csum_partial(dst, len, sum); in csum_partial_copy_from_user()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | io_32.h | 15 static inline void _memset_io(volatile void __iomem *dst, in _memset_io() argument 18 volatile void __iomem *d = dst; in _memset_io() 26 static inline void _memcpy_fromio(void *dst, const volatile void __iomem *src, in _memcpy_fromio() argument 29 char *d = dst; in _memcpy_fromio() 38 static inline void _memcpy_toio(volatile void __iomem *dst, const void *src, in _memcpy_toio() argument 42 volatile void __iomem *d = dst; in _memcpy_toio() 96 static inline void sbus_memcpy_fromio(void *dst, in sbus_memcpy_fromio() argument 100 char *d = dst; in sbus_memcpy_fromio() 109 static inline void sbus_memcpy_toio(volatile void __iomem *dst, in sbus_memcpy_toio() argument 114 volatile void __iomem *d = dst; in sbus_memcpy_toio()
|
/linux-4.4.14/drivers/dma/ |
D | coh901318_lli.c | 150 dma_addr_t dst = destination; in coh901318_lli_fill_memcpy() local 153 lli->dst_addr = dst; in coh901318_lli_fill_memcpy() 158 lli->dst_addr = dst; in coh901318_lli_fill_memcpy() 164 dst += MAX_DMA_PACKET_SIZE; in coh901318_lli_fill_memcpy() 169 lli->dst_addr = dst; in coh901318_lli_fill_memcpy() 183 dma_addr_t dst; in coh901318_lli_fill_single() local 188 dst = dev_addr; in coh901318_lli_fill_single() 193 dst = buf; in coh901318_lli_fill_single() 213 lli->dst_addr = dst; in coh901318_lli_fill_single() 220 dst += block_size; in coh901318_lli_fill_single() [all …]
|
/linux-4.4.14/tools/perf/util/include/linux/ |
D | bitmap.h | 11 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, 23 static inline void bitmap_zero(unsigned long *dst, int nbits) in bitmap_zero() argument 26 *dst = 0UL; in bitmap_zero() 29 memset(dst, 0, len); in bitmap_zero() 40 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument 44 *dst = *src1 | *src2; in bitmap_or() 46 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
|
/linux-4.4.14/drivers/crypto/ |
D | geode-aes.c | 47 do_crypt(void *src, void *dst, int len, u32 flags) in do_crypt() argument 53 iowrite32(virt_to_phys(dst), _iobase + AES_DSTA_REG); in do_crypt() 103 ret = do_crypt(op->src, op->dst, op->len, flags); in geode_aes_crypt() 183 struct scatterlist *dst, struct scatterlist *src, in fallback_blk_dec() argument 193 ret = crypto_blkcipher_decrypt_iv(desc, dst, src, nbytes); in fallback_blk_dec() 199 struct scatterlist *dst, struct scatterlist *src, in fallback_blk_enc() argument 209 ret = crypto_blkcipher_encrypt_iv(desc, dst, src, nbytes); in fallback_blk_enc() 226 op->dst = (void *) out; in geode_encrypt() 247 op->dst = (void *) out; in geode_decrypt() 305 struct scatterlist *dst, struct scatterlist *src, in geode_cbc_decrypt() argument [all …]
|
/linux-4.4.14/arch/m32r/lib/ |
D | csum_partial_copy.c | 31 csum_partial_copy_nocheck (const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck() argument 34 memcpy(dst, src, len); in csum_partial_copy_nocheck() 45 csum_partial_copy_from_user (const void __user *src, void *dst, in csum_partial_copy_from_user() argument 50 missing = copy_from_user(dst, src, len); in csum_partial_copy_from_user() 52 memset(dst + len - missing, 0, missing); in csum_partial_copy_from_user() 56 return csum_partial(dst, len-missing, sum); in csum_partial_copy_from_user()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | atom.c | 590 uint32_t dst, src, saved; in atom_op_add() local 593 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_add() 596 dst += src; in atom_op_add() 598 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_add() 604 uint32_t dst, src, saved; in atom_op_and() local 607 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_and() 610 dst &= src; in atom_op_and() 612 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_and() 651 uint32_t dst, src; in atom_op_compare() local 653 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_compare() [all …]
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | assembler.h | 158 .macro adr_l, dst, sym, tmp= 160 adrp \dst, \sym 161 add \dst, \dst, :lo12:\sym 164 add \dst, \tmp, :lo12:\sym 175 .macro ldr_l, dst, sym, tmp= 177 adrp \dst, \sym 178 ldr \dst, [\dst, :lo12:\sym] 181 ldr \dst, [\tmp, :lo12:\sym]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | atom.c | 587 uint32_t dst, src, saved; in atom_op_add() local 590 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_add() 593 dst += src; in atom_op_add() 595 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_add() 601 uint32_t dst, src, saved; in atom_op_and() local 604 dst = atom_get_dst(ctx, arg, attr, ptr, &saved, 1); in atom_op_and() 607 dst &= src; in atom_op_and() 609 atom_put_dst(ctx, arg, attr, &dptr, dst, saved); in atom_op_and() 648 uint32_t dst, src; in atom_op_compare() local 650 dst = atom_get_dst(ctx, arg, attr, ptr, NULL, 1); in atom_op_compare() [all …]
|
/linux-4.4.14/fs/hfsplus/ |
D | bnode.c | 126 void hfs_bnode_copy(struct hfs_bnode *dst_node, int dst, in hfs_bnode_copy() argument 133 hfs_dbg(BNODE_MOD, "copybytes: %u,%u,%u\n", dst, src, len); in hfs_bnode_copy() 138 dst += dst_node->page_offset; in hfs_bnode_copy() 141 dst_page = dst_node->page + (dst >> PAGE_CACHE_SHIFT); in hfs_bnode_copy() 142 dst &= ~PAGE_CACHE_MASK; in hfs_bnode_copy() 144 if (src == dst) { in hfs_bnode_copy() 163 dst_ptr = kmap(*dst_page) + dst; in hfs_bnode_copy() 164 if (PAGE_CACHE_SIZE - src < PAGE_CACHE_SIZE - dst) { in hfs_bnode_copy() 167 dst += l; in hfs_bnode_copy() 169 l = PAGE_CACHE_SIZE - dst; in hfs_bnode_copy() [all …]
|
/linux-4.4.14/arch/arm/include/asm/ |
D | xor.h | 17 #define GET_BLOCK_2(dst) \ argument 19 : "=r" (dst), "=r" (a1), "=r" (a2) \ 20 : "0" (dst)) 22 #define GET_BLOCK_4(dst) \ argument 24 : "=r" (dst), "=r" (a1), "=r" (a2), "=r" (a3), "=r" (a4) \ 25 : "0" (dst)) 39 #define PUT_BLOCK_2(dst) \ argument 41 : "=r" (dst) \ 42 : "0" (dst), "r" (a1), "r" (a2)) 44 #define PUT_BLOCK_4(dst) \ argument [all …]
|
/linux-4.4.14/drivers/video/fbdev/omap2/dss/ |
D | output.c | 38 if (out->dst) { in omapdss_output_set_device() 40 out->dst->name); in omapdss_output_set_device() 51 out->dst = dssdev; in omapdss_output_set_device() 70 if (!out->dst) { in omapdss_output_unset_device() 76 if (out->dst->state != OMAP_DSS_DISPLAY_DISABLED) { in omapdss_output_unset_device() 78 out->dst->name); in omapdss_output_unset_device() 83 out->dst->src = NULL; in omapdss_output_unset_device() 84 out->dst = NULL; in omapdss_output_unset_device() 210 struct omap_dss_device *dst) in dss_mgr_connect() argument 212 return dss_mgr_ops->connect(mgr, dst); in dss_mgr_connect() [all …]
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 141 struct dst_entry *dst = NULL; in nf_send_reset6() local 161 dst = ip6_route_output(net, NULL, &fl6); in nf_send_reset6() 162 if (dst == NULL || dst->error) { in nf_send_reset6() 163 dst_release(dst); in nf_send_reset6() 166 dst = xfrm_lookup(net, dst, flowi6_to_flowi(&fl6), NULL, 0); in nf_send_reset6() 167 if (IS_ERR(dst)) in nf_send_reset6() 170 hh_len = (dst->dev->hard_header_len + 15)&~15; in nf_send_reset6() 171 nskb = alloc_skb(hh_len + 15 + dst->header_len + sizeof(struct ipv6hdr) in nf_send_reset6() 172 + sizeof(struct tcphdr) + dst->trailer_len, in nf_send_reset6() 177 dst_release(dst); in nf_send_reset6() [all …]
|
D | nf_conntrack_proto_icmpv6.c | 48 tuple->dst.u.icmp.type = hp->icmp6_type; in icmpv6_pkt_to_tuple() 50 tuple->dst.u.icmp.code = hp->icmp6_code; in icmpv6_pkt_to_tuple() 77 int type = orig->dst.u.icmp.type - 128; in icmpv6_invert_tuple() 82 tuple->dst.u.icmp.type = invmap[type] - 1; in icmpv6_invert_tuple() 83 tuple->dst.u.icmp.code = orig->dst.u.icmp.code; in icmpv6_invert_tuple() 92 tuple->dst.u.icmp.type, in icmpv6_print_tuple() 93 tuple->dst.u.icmp.code, in icmpv6_print_tuple() 127 int type = ct->tuplehash[0].tuple.dst.u.icmp.type - 128; in icmpv6_new() 169 inproto = __nf_ct_l4proto_find(PF_INET6, origtuple.dst.protonum); in icmpv6_error_message() 246 nla_put_u8(skb, CTA_PROTO_ICMPV6_TYPE, t->dst.u.icmp.type) || in icmpv6_tuple_to_nlattr() [all …]
|
/linux-4.4.14/drivers/net/ |
D | vrf.c | 74 static struct dst_entry *vrf_ip_check(struct dst_entry *dst, u32 cookie) in vrf_ip_check() argument 76 return dst; in vrf_ip_check() 84 static unsigned int vrf_v4_mtu(const struct dst_entry *dst) in vrf_v4_mtu() argument 87 return dst->dev->mtu; in vrf_v4_mtu() 90 static void vrf_dst_destroy(struct dst_entry *dst) in vrf_dst_destroy() argument 95 static unsigned int vrf_default_advmss(const struct dst_entry *dst) in vrf_default_advmss() argument 239 struct dst_entry *dst; in vrf_process_v6_outbound() local 240 struct dst_entry *dst_null = &net->ipv6.ip6_null_entry->dst; in vrf_process_v6_outbound() 242 dst = ip6_route_output(net, NULL, &fl6); in vrf_process_v6_outbound() 243 if (dst == dst_null) in vrf_process_v6_outbound() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | lustre_fid.h | 638 static inline void range_cpu_to_le(struct lu_seq_range *dst, const struct lu_seq_range *src) in range_cpu_to_le() argument 640 dst->lsr_start = cpu_to_le64(src->lsr_start); in range_cpu_to_le() 641 dst->lsr_end = cpu_to_le64(src->lsr_end); in range_cpu_to_le() 642 dst->lsr_index = cpu_to_le32(src->lsr_index); in range_cpu_to_le() 643 dst->lsr_flags = cpu_to_le32(src->lsr_flags); in range_cpu_to_le() 646 static inline void range_le_to_cpu(struct lu_seq_range *dst, const struct lu_seq_range *src) in range_le_to_cpu() argument 648 dst->lsr_start = le64_to_cpu(src->lsr_start); in range_le_to_cpu() 649 dst->lsr_end = le64_to_cpu(src->lsr_end); in range_le_to_cpu() 650 dst->lsr_index = le32_to_cpu(src->lsr_index); in range_le_to_cpu() 651 dst->lsr_flags = le32_to_cpu(src->lsr_flags); in range_le_to_cpu() [all …]
|
/linux-4.4.14/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.h | 231 static inline uint16_t scl_cal_scale(int src, int dst, int shift) in scl_cal_scale() argument 233 return ((src * 2 - 3) << (shift - 1)) / (dst - 1); in scl_cal_scale() 236 #define GET_SCL_FT_BILI_DN(src, dst) scl_cal_scale(src, dst, 12) argument 237 #define GET_SCL_FT_BILI_UP(src, dst) scl_cal_scale(src, dst, 16) argument 238 #define GET_SCL_FT_BIC(src, dst) scl_cal_scale(src, dst, 16) argument 250 static inline enum scale_mode scl_get_scl_mode(int src, int dst) in scl_get_scl_mode() argument 252 if (src < dst) in scl_get_scl_mode() 254 else if (src > dst) in scl_get_scl_mode()
|
/linux-4.4.14/drivers/staging/rtl8192e/ |
D | rtllib_rx.c | 67 unsigned int frag, u8 tid, u8 *src, u8 *dst) in rtllib_frag_cache_find() argument 86 memcmp(entry->dst_addr, dst, ETH_ALEN) == 0) in rtllib_frag_cache_find() 509 memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); in rtllib_indicate_packets() 516 memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); in rtllib_indicate_packets() 773 struct rtllib_rxb *rxb, u8 *src, u8 *dst) in parse_subframe() argument 827 memcpy(rxb->dst, dst, ETH_ALEN); in parse_subframe() 834 memcpy(rxb->dst, dst, ETH_ALEN); in parse_subframe() 968 struct rtllib_hdr_4addr *hdr, u8 *dst, in rtllib_rx_extract_addr() argument 975 ether_addr_copy(dst, hdr->addr1); in rtllib_rx_extract_addr() 980 ether_addr_copy(dst, hdr->addr3); in rtllib_rx_extract_addr() [all …]
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-842.c | 176 u8 *src = p->in, *dst = p->out; in compress() local 203 dst += hdrsize; in compress() 206 if ((u64)dst % c->alignment) { in compress() 207 dskip = (int)(PTR_ALIGN(dst, c->alignment) - dst); in compress() 208 dst += dskip; in compress() 215 dst = ctx->dbounce; in compress() 228 ret = ctx->driver->compress(src, slen, dst, &dlen, ctx->wmem); in compress() 232 if (ret == -ENOSPC && dst != ctx->dbounce) in compress() 240 if (dst == ctx->dbounce) in compress() 241 memcpy(p->out + dskip, dst, dlen); in compress() [all …]
|
/linux-4.4.14/arch/m68k/lib/ |
D | checksum.c | 136 csum_partial_copy_from_user(const void __user *src, void *dst, in csum_partial_copy_from_user() argument 313 : "=d" (sum), "=d" (len), "=a" (src), "=a" (dst), in csum_partial_copy_from_user() 315 : "0" (sum), "1" (len), "2" (src), "3" (dst) in csum_partial_copy_from_user() 331 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum) in csum_partial_copy_nocheck() argument 419 : "=d" (sum), "=d" (len), "=a" (src), "=a" (dst), in csum_partial_copy_nocheck() 421 : "0" (sum), "1" (len), "2" (src), "3" (dst) in csum_partial_copy_nocheck()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | checksum_32.h | 36 asmlinkage __wsum csum_partial_copy_generic(const void *src, void *dst, 48 __wsum csum_partial_copy_nocheck(const void *src, void *dst, in csum_partial_copy_nocheck() argument 51 return csum_partial_copy_generic(src, dst, len, sum, NULL, NULL); in csum_partial_copy_nocheck() 55 __wsum csum_partial_copy_from_user(const void __user *src, void *dst, in csum_partial_copy_from_user() argument 58 return csum_partial_copy_generic((__force const void *)src, dst, in csum_partial_copy_from_user() 202 void __user *dst, in csum_and_copy_to_user() argument 206 if (access_ok(VERIFY_WRITE, dst, len)) in csum_and_copy_to_user() 208 dst, len, sum, NULL, err_ptr); in csum_and_copy_to_user()
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_rx.c | 67 unsigned int frag, u8 tid, u8 *src, u8 *dst) in ieee80211_frag_cache_find() argument 87 memcmp(entry->dst_addr, dst, ETH_ALEN) == 0) in ieee80211_frag_cache_find() 562 memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); in ieee80211_indicate_packets() 569 memcpy(skb_push(sub_skb, ETH_ALEN), prxb->dst, ETH_ALEN); in ieee80211_indicate_packets() 762 struct ieee80211_rxb *rxb, u8 *src, u8 *dst) in parse_subframe() argument 808 memcpy(rxb->dst,dst,ETH_ALEN); in parse_subframe() 814 memcpy(rxb->dst,dst,ETH_ALEN); in parse_subframe() 906 u8 dst[ETH_ALEN]; in ieee80211_rx() local 1057 memcpy(dst, hdr->addr1, ETH_ALEN); in ieee80211_rx() 1062 memcpy(dst, hdr->addr3, ETH_ALEN); in ieee80211_rx() [all …]
|
/linux-4.4.14/arch/c6x/include/asm/ |
D | cacheflush.h | 56 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument 58 memcpy(dst, src, len); \ 59 flush_icache_range((unsigned) (dst), (unsigned) (dst) + (len)); \ 62 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument 63 memcpy(dst, src, len)
|
/linux-4.4.14/arch/mips/jz4740/ |
D | prom.c | 30 char *dst = &(arcs_cmdline[0]); in jz4740_init_cmdline() local 36 *dst++ = *src++; in jz4740_init_cmdline() 39 *dst++ = ' '; in jz4740_init_cmdline() 42 --dst; in jz4740_init_cmdline() 44 *dst = 0; in jz4740_init_cmdline()
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | uaccess.h | 88 #define __strncpy_from_user(dst, src, n) hexagon_strncpy_from_user(dst, src, n) argument 95 static inline long hexagon_strncpy_from_user(char *dst, const char __user *src, 101 static inline long hexagon_strncpy_from_user(char *dst, const char __user *src, in hexagon_strncpy_from_user() argument 109 copy_from_user(dst, src, n); in hexagon_strncpy_from_user() 112 copy_from_user(dst, src, res); in hexagon_strncpy_from_user()
|