Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 39) sorted by relevance

12

/lib/
Dnlattr.c259 memcpy(dst, src, len); in nla_strlcpy()
281 memcpy(dest, nla_data(src), minlen); in nla_memcpy()
434 memcpy(nla_data(nla), data, attrlen); in __nla_put()
452 memcpy(start, data, attrlen); in __nla_put_nohdr()
509 memcpy(skb_put(skb, attrlen), data, attrlen); in nla_append()
Dtest-string_helpers.c80 memcpy(&in[p], s, len); in test_string_unescape()
88 memcpy(&out_test[q_test], s, len); in test_string_unescape()
95 memcpy(out_real, in, p); in test_string_unescape()
307 memcpy(&in[p], s2->in, len); in test_string_escape()
312 memcpy(&out_test[q_test], out, len); in test_string_escape()
Dparser.c139 memcpy(buf, s->from, len); in match_number()
266 memcpy(dest, src->from, len); in match_strlcpy()
Ddecompress_unlzo.c178 memcpy(in_buf_save, in_buf, in_len); in unlzo()
247 memcpy(out_buf, in_buf, src_len); in unlzo()
Dseq_buf.c150 memcpy(s->buffer + s->len, str, len); in seq_buf_puts()
197 memcpy(s->buffer + s->len, mem, len); in seq_buf_putmem()
Dstring.c145 memcpy(dest, src, len); in strlcpy()
364 memcpy(dest, src, len); in strlcat()
807 void *memcpy(void *dest, const void *src, size_t count) in memcpy() function
816 EXPORT_SYMBOL(memcpy);
Dtest_firmware.c60 memcpy(name, buf, count); in trigger_request_store()
Dkfifo.c118 memcpy(fifo->data + off, src, l); in kfifo_copy_in()
119 memcpy(fifo->data, src + l, len - l); in kfifo_copy_in()
157 memcpy(dst, fifo->data + off, l); in kfifo_copy_out()
158 memcpy(dst + l, fifo->data, len - l); in kfifo_copy_out()
Dpercpu_ida.c47 memcpy(dst + *dst_nr, src + *src_nr, sizeof(unsigned) * nr); in move_tags()
87 memcpy(tags->freelist, in steal_tags()
Diov_iter.c348 memcpy(to, from + offset, len); in memcpy_from_page()
355 memcpy(to + offset, from, len); in memcpy_to_page()
380 memcpy(v.iov_base, (from += v.iov_len) - v.iov_len, v.iov_len) in copy_to_iter()
401 memcpy((to += v.iov_len) - v.iov_len, v.iov_base, v.iov_len) in copy_from_iter()
422 memcpy((to += v.iov_len) - v.iov_len, v.iov_base, v.iov_len) in copy_from_iter_nocache()
482 memcpy((p += v.iov_len) - v.iov_len, v.iov_base, v.iov_len) in iov_iter_copy_from_user_atomic()
Dswiotlb.c409 memcpy(vaddr, buffer + offset, sz); in swiotlb_bounce()
411 memcpy(buffer + offset, vaddr, sz); in swiotlb_bounce()
421 memcpy(vaddr, phys_to_virt(orig_addr), size); in swiotlb_bounce()
423 memcpy(phys_to_virt(orig_addr), vaddr, size); in swiotlb_bounce()
Dchecksum.c178 memcpy(dst, src, len); in csum_partial_copy()
Dts_kmp.c117 memcpy(kmp->pattern, pattern, len); in kmp_init()
Dtest-hexdump.c84 memcpy(p, q, amount); in test_hexdump()
Dbch.c144 memcpy(pad, src, BCH_ECC_BYTES(bch)-4*nwords); in load_ecc8()
167 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8()
218 memcpy(r, bch->ecc_buf, sizeof(r)); in encode_bch()
244 memcpy(bch->ecc_buf, r, sizeof(r)); in encode_bch()
373 memcpy(dst, src, GF_POLY_SZ(src->deg)); in gf_poly_copy()
756 memcpy(q->c, &a->c[b->deg], (1+q->deg)*sizeof(unsigned int)); in gf_poly_div()
Dts_bm.c166 memcpy(bm->pattern, pattern, len); in bm_init()
Dscatterlist.c676 memcpy(buf + offset, miter.addr, len); in sg_copy_buffer()
678 memcpy(miter.addr, buf + offset, len); in sg_copy_buffer()
Dstackdepot.c143 memcpy(stack->entries, entries, size * sizeof(unsigned long)); in depot_alloc_stack()
/lib/mpi/
Dmpiutil.c97 memcpy(p, a->d, a->alloced * sizeof(mpi_limb_t)); in mpi_resize()
/lib/lz4/
Dlz4_decompress.c91 memcpy(op, ip, length); in lz4_uncompress()
217 memcpy(op, ip, length); in lz4_uncompress_unknownoutputsize()
Dlz4_compress.c231 memcpy(op, anchor, iend - anchor); in lz4_compressctx()
412 memcpy(op, anchor, iend - anchor); in lz4_compress64kctx()
/lib/xz/
Dxz_dec_bcj.c404 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush()
451 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run()
471 memcpy(s->temp.buf, b->out + b->out_pos, s->temp.size); in xz_dec_bcj_run()
/lib/reed_solomon/
Ddecode_rs.c177 memcpy(lambda, t, (nroots + 1) * sizeof(t[0]));
189 memcpy(&reg[1], &lambda[1], nroots * sizeof(reg[0]));
/lib/zlib_inflate/
Dinflate.c111 memcpy(state->window, strm->next_out - state->wsize, state->wsize); in zlib_updatewindow()
118 memcpy(state->window + state->write, strm->next_out - copy, dist); in zlib_updatewindow()
121 memcpy(state->window, strm->next_out - copy, copy); in zlib_updatewindow()
437 memcpy(put, next, copy); in zlib_inflate()
/lib/842/
D842_decompress.c210 memcpy(p->out, &p->ostart[offset], size); in __do_index()
324 memcpy(p.out, p.out - 8, 8); in sw842_decompress()

12