/lib/ |
H A D | iomap_copy.c | 35 u32 __iomem *dst = to; local 40 __raw_writel(*src++, dst++); 59 u64 __iomem *dst = to; local 64 __raw_writeq(*src++, dst++);
|
H A D | strncpy_from_user.c | 10 #define IS_UNALIGNED(src, dst) 0 12 #define IS_UNALIGNED(src, dst) \ 13 (((long) dst | (long) src) & (sizeof(long) - 1)) 22 static inline long do_strncpy_from_user(char *dst, const char __user *src, long count, unsigned long max) argument 34 if (IS_UNALIGNED(src, dst)) 43 *(unsigned long *)(dst+res) = c; 59 dst[res] = c; 82 * @dst: Destination address, in kernel space. This buffer must be at 98 long strncpy_from_user(char *dst, const char __user *src, long count) argument 109 return do_strncpy_from_user(dst, sr [all...] |
H A D | checksum.c | 156 csum_partial_copy_from_user(const void __user *src, void *dst, int len, argument 161 missing = __copy_from_user(dst, src, len); 163 memset(dst + len - missing, 0, missing); 168 return csum_partial(dst, len, sum); 176 csum_partial_copy(const void *src, void *dst, int len, __wsum sum) argument 178 memcpy(dst, src, len); 179 return csum_partial(dst, len, sum);
|
H A D | textsearch.c | 202 static unsigned int get_linear_data(unsigned int consumed, const u8 **dst, argument 209 *dst = st->data + consumed;
|
H A D | flex_array.c | 203 void *dst; local 217 dst = &part->elements[index_inside_part(fa, element_nr, part_nr)]; 218 memcpy(dst, src, fa->element_size); 234 void *dst; local 248 dst = &part->elements[index_inside_part(fa, element_nr, part_nr)]; 249 memset(dst, FLEX_ARRAY_FREE, fa->element_size);
|
H A D | hexdump.c | 40 * @dst: binary result 46 int hex2bin(u8 *dst, const char *src, size_t count) argument 55 *dst++ = (hi << 4) | lo; 63 * @dst: ascii hexadecimal result 67 char *bin2hex(char *dst, const void *src, size_t count) argument 72 dst = hex_byte_pack(dst, *_src++); 73 return dst;
|
H A D | percpu_ida.c | 45 static inline void move_tags(unsigned *dst, unsigned *dst_nr, argument 50 memcpy(dst + *dst_nr, src + *src_nr, sizeof(unsigned) * nr);
|
H A D | iomap.c | 145 static inline void mmio_insb(void __iomem *addr, u8 *dst, int count) argument 149 *dst = data; 150 dst++; 153 static inline void mmio_insw(void __iomem *addr, u16 *dst, int count) argument 157 *dst = data; 158 dst++; 161 static inline void mmio_insl(void __iomem *addr, u32 *dst, int count) argument 165 *dst = data; 166 dst++; 195 void ioread8_rep(void __iomem *addr, void *dst, unsigne argument 199 ioread16_rep(void __iomem *addr, void *dst, unsigned long count) argument 203 ioread32_rep(void __iomem *addr, void *dst, unsigned long count) argument [all...] |
H A D | kfifo.c | 141 static void kfifo_copy_out(struct __kfifo *fifo, void *dst, argument 156 memcpy(dst, fifo->data + off, l); 157 memcpy(dst + l, fifo->data, len - l);
|
H A D | nlattr.c | 238 * @dst: where to copy the string to 248 size_t nla_strlcpy(char *dst, const struct nlattr *nla, size_t dstsize) argument 259 memset(dst, 0, dstsize); 260 memcpy(dst, src, len);
|
H A D | string_helpers.c | 77 static bool unescape_space(char **src, char **dst) argument 79 char *p = *dst, *q = *src; 100 *dst += 1; 105 static bool unescape_octal(char **src, char **dst) argument 107 char *p = *dst, *q = *src; 119 *dst += 1; 124 static bool unescape_hex(char **src, char **dst) argument 126 char *p = *dst, *q = *src; 143 *dst += 1; 148 static bool unescape_special(char **src, char **dst) argument 211 string_unescape(char *src, char *dst, size_t size, unsigned int flags) argument 246 escape_passthrough(unsigned char c, char **dst, size_t *osz) argument 261 escape_space(unsigned char c, char **dst, size_t *osz) argument 298 escape_special(unsigned char c, char **dst, size_t *osz) argument 329 escape_null(unsigned char c, char **dst, size_t *osz) argument 348 escape_octal(unsigned char c, char **dst, size_t *osz) argument 366 escape_hex(unsigned char c, char **dst, size_t *osz) argument 440 string_escape_mem(const char *src, size_t isz, char **dst, size_t osz, unsigned int flags, const char *esc) argument [all...] |
H A D | bch.c | 135 static void load_ecc8(struct bch_control *bch, uint32_t *dst, argument 142 dst[i] = (src[0] << 24)|(src[1] << 16)|(src[2] << 8)|src[3]; 145 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; 151 static void store_ecc8(struct bch_control *bch, uint8_t *dst, argument 158 *dst++ = (src[i] >> 24); 159 *dst++ = (src[i] >> 16) & 0xff; 160 *dst++ = (src[i] >> 8) & 0xff; 161 *dst++ = (src[i] >> 0) & 0xff; 167 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); 371 static void gf_poly_copy(struct gf_poly *dst, struc argument [all...] |
H A D | bitmap.c | 89 void __bitmap_complement(unsigned long *dst, const unsigned long *src, unsigned int bits) argument 93 dst[k] = ~src[k]; 96 dst[k] = ~src[k]; 102 * @dst : destination bitmap 111 void __bitmap_shift_right(unsigned long *dst, argument 134 dst[k] = lower >> rem; 136 dst[k] |= upper << (BITS_PER_LONG - rem); 138 dst[k] &= mask; 141 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); 148 * @dst 158 __bitmap_shift_left(unsigned long *dst, const unsigned long *src, int shift, int bits) argument 188 __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, const unsigned long *bitmap2, unsigned int bits) argument 204 __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, const unsigned long *bitmap2, unsigned int bits) argument 215 __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1, const unsigned long *bitmap2, unsigned int bits) argument 226 __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1, const unsigned long *bitmap2, unsigned int bits) argument 817 bitmap_remap(unsigned long *dst, const unsigned long *src, const unsigned long *old, const unsigned long *new, int bits) argument 977 bitmap_onto(unsigned long *dst, const unsigned long *orig, const unsigned long *relmap, int bits) argument 1017 bitmap_fold(unsigned long *dst, const unsigned long *orig, int sz, int bits) argument 1179 bitmap_copy_le(void *dst, const unsigned long *src, int nbits) argument [all...] |
/lib/lz4/ |
H A D | lz4_compress.c | 419 unsigned char *dst, size_t *dst_len, void *wrkmem) 425 out_len = lz4_compress64kctx(wrkmem, src, dst, src_len, 428 out_len = lz4_compressctx(wrkmem, src, dst, src_len, 418 lz4_compress(const unsigned char *src, size_t src_len, unsigned char *dst, size_t *dst_len, void *wrkmem) argument
|
H A D | lz4hc_compress.c | 517 unsigned char *dst, size_t *dst_len, void *wrkmem) 525 (char *)dst, (int)src_len); 516 lz4hc_compress(const unsigned char *src, size_t src_len, unsigned char *dst, size_t *dst_len, void *wrkmem) argument
|