Home
last modified time | relevance | path

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

/mm/
Dutil.c70 memcpy(buf, s, len); in kstrdup()
116 memcpy(buf, s, len); in kstrndup()
139 memcpy(p, src, len); in kmemdup()
160 memcpy(p, src, len); in kvmemdup()
183 memcpy(buf, s, len); in kmemdup_nul()
707 memcpy(newp, p, oldsize); in kvrealloc()
Dpgsize_migration.c286 memcpy(pad, vma, sizeof(struct vm_area_struct)); in get_pad_vma()
322 memcpy(data, vma, sizeof(struct vm_area_struct)); in get_data_vma()
Dzsmalloc.c1073 memcpy(buf, addr + off, sizes[0]); in __zs_map_object()
1076 memcpy(buf + sizes[0], addr, sizes[1]); in __zs_map_object()
1103 memcpy(addr + off, buf, sizes[0]); in __zs_unmap_object()
1106 memcpy(addr, buf + sizes[0], sizes[1]); in __zs_unmap_object()
1508 memcpy(d_addr + d_off, s_addr + s_off, size); in zs_object_copy()
1843 memcpy(d_addr, s_addr, PAGE_SIZE); in zs_page_migrate()
2082 memcpy(stats, &pool->stats, sizeof(struct zs_pool_stats)); in zs_pool_stats()
Dpercpu-internal.h166 memcpy(&pcpu_stats_ai, ai, sizeof(struct pcpu_alloc_info)); in pcpu_stats_save_ai()
Dearly_ioremap.c259 memcpy(dest, p + slop, clen); in copy_from_early_mem()
Dzswap.c1122 memcpy(tmp, src, entry->length); in zswap_writeback_entry()
1341 memcpy(buf, dst, dlen); in zswap_store()
1453 memcpy(tmp, src, entry->length); in zswap_load()
Dhugetlb_vmemmap.c273 memcpy(start, from, sizeof(*from) * NR_RESET_STRUCT_PAGE); in reset_struct_pages()
Dmempool.c339 memcpy(new_elements, pool->elements, in mempool_resize()
Dz3fold.c660 memcpy(q, p, sz); in compact_single_buddy()
1310 memcpy(new_zhdr, zhdr, PAGE_SIZE); in z3fold_page_migrate()
Dshmem.c3517 memcpy(folio_address(folio), symname, len); in shmem_symlink()
3658 memcpy(new_xattr->name, XATTR_SECURITY_PREFIX, in shmem_initxattrs()
3660 memcpy(new_xattr->name + XATTR_SECURITY_PREFIX_LEN, in shmem_initxattrs()
4379 memcpy(&sbinfo->qlimits, &ctx->qlimits, in shmem_fill_super()
4709 memcpy(tmp, buf, count); in shmem_enabled_store()
Dslab.c583 memcpy(to->entry + to->avail, from->entry + from->avail - nr, in transfer_objects()
1157 memcpy(ptr, list, sizeof(struct kmem_cache_node)); in init_list()
3316 memcpy(&(shared_array->entry[shared_array->avail]), in cache_flusharray()
Dslab_common.c1410 memcpy(ret, kasan_reset_tag(p), ks); in __do_krealloc()
Dpercpu.c3130 memcpy(ptr, __per_cpu_load, ai->static_size); in pcpu_embed_first_chunk()
3313 memcpy((void *)unit_addr, __per_cpu_load, ai->static_size); in pcpu_page_first_chunk()
Dmadvise.c86 memcpy(anon_name->name, name, count); in anon_vma_name_alloc()
Dmemory_hotplug.c1450 memcpy(params.altmap, &mhp_altmap, sizeof(mhp_altmap)); in add_memory_resource()
Dmemblock.c485 memcpy(new_array, type->regions, old_size); in memblock_double_array()
Dslub.c5027 memcpy(s, static_cache, kmem_cache->object_size); in bootstrap()
5300 memcpy(l, t->loc, sizeof(struct location) * t->count); in alloc_loc_track()
Dvmscan.c257 memcpy(new->nr_deferred, old->nr_deferred, old_defer_size); in expand_one_shrinker_info()
6435 memcpy(targets, nr, sizeof(nr)); in shrink_lruvec()
Dmemcontrol.c4442 memcpy(new->entries, thresholds->primary->entries, in __mem_cgroup_usage_register_event()
/mm/kasan/
Dreport_generic.c173 memcpy(&info->alloc_track, &alloc_meta->alloc_track, in kasan_complete_mode_report_info()
179 memcpy(&info->free_track, &free_meta->free_track, in kasan_complete_mode_report_info()
186 memcpy(buffer, kasan_mem_to_shadow(row), META_BYTES_PER_ROW); in kasan_metadata_fetch_row()
Dreport_sw_tags.c76 memcpy(buffer, kasan_mem_to_shadow(row), META_BYTES_PER_ROW); in kasan_metadata_fetch_row()
Dshadow.c71 #undef memcpy
72 void *memcpy(void *dest, const void *src, size_t len) in memcpy() function
/mm/kmsan/
Dkmsan_test.c436 memcpy((void *)&dst, (void *)&src, sizeof(src)); in test_init_memcpy()
455 memcpy((void *)&dst, (void *)&uninit_src, sizeof(uninit_src)); in test_memcpy_aligned_to_aligned()
478 memcpy((void *)&dst[1], (void *)&uninit_src, sizeof(uninit_src)); in test_memcpy_aligned_to_unaligned()
502 memcpy((void *)&dst[1], (void *)&uninit_src, sizeof(uninit_src)); in test_memcpy_aligned_to_unaligned2()
/mm/kfence/
Dcore.c286 memcpy(track->stack_entries, stack_entries, in metadata_update_state()