/mm/ |
D | util.c | 70 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()
|
D | pgsize_migration.c | 286 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()
|
D | zsmalloc.c | 1073 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()
|
D | percpu-internal.h | 166 memcpy(&pcpu_stats_ai, ai, sizeof(struct pcpu_alloc_info)); in pcpu_stats_save_ai()
|
D | early_ioremap.c | 259 memcpy(dest, p + slop, clen); in copy_from_early_mem()
|
D | zswap.c | 1122 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()
|
D | hugetlb_vmemmap.c | 273 memcpy(start, from, sizeof(*from) * NR_RESET_STRUCT_PAGE); in reset_struct_pages()
|
D | mempool.c | 339 memcpy(new_elements, pool->elements, in mempool_resize()
|
D | z3fold.c | 660 memcpy(q, p, sz); in compact_single_buddy() 1310 memcpy(new_zhdr, zhdr, PAGE_SIZE); in z3fold_page_migrate()
|
D | shmem.c | 3517 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()
|
D | slab.c | 583 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()
|
D | slab_common.c | 1410 memcpy(ret, kasan_reset_tag(p), ks); in __do_krealloc()
|
D | percpu.c | 3130 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()
|
D | madvise.c | 86 memcpy(anon_name->name, name, count); in anon_vma_name_alloc()
|
D | memory_hotplug.c | 1450 memcpy(params.altmap, &mhp_altmap, sizeof(mhp_altmap)); in add_memory_resource()
|
D | memblock.c | 485 memcpy(new_array, type->regions, old_size); in memblock_double_array()
|
D | slub.c | 5027 memcpy(s, static_cache, kmem_cache->object_size); in bootstrap() 5300 memcpy(l, t->loc, sizeof(struct location) * t->count); in alloc_loc_track()
|
D | vmscan.c | 257 memcpy(new->nr_deferred, old->nr_deferred, old_defer_size); in expand_one_shrinker_info() 6435 memcpy(targets, nr, sizeof(nr)); in shrink_lruvec()
|
D | memcontrol.c | 4442 memcpy(new->entries, thresholds->primary->entries, in __mem_cgroup_usage_register_event()
|
/mm/kasan/ |
D | report_generic.c | 173 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()
|
D | report_sw_tags.c | 76 memcpy(buffer, kasan_mem_to_shadow(row), META_BYTES_PER_ROW); in kasan_metadata_fetch_row()
|
D | shadow.c | 71 #undef memcpy 72 void *memcpy(void *dest, const void *src, size_t len) in memcpy() function
|
/mm/kmsan/ |
D | kmsan_test.c | 436 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/ |
D | core.c | 286 memcpy(track->stack_entries, stack_entries, in metadata_update_state()
|