/mm/ |
D | dmapool.c | 232 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_alloc_page() 254 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_free_page() 377 memset(retval, POOL_POISON_ALLOCATED, pool->size); in dma_pool_alloc() 382 memset(retval, 0, pool->size); in dma_pool_alloc() 432 memset(vaddr, 0, pool->size); in dma_pool_free() 462 memset(vaddr, POOL_POISON_FREED, pool->size); in dma_pool_free()
|
D | mincore.c | 133 memset(vec, 1, nr); in mincore_pte_range() 219 memset(vec, 1, pages); in do_mincore()
|
D | mempool.c | 55 memset(obj, POISON_INUSE, size); in __check_element() 78 memset(obj, POISON_FREE, size - 1); in __poison_element()
|
D | mmzone.c | 79 memset(lruvec, 0, sizeof(struct lruvec)); in lruvec_init()
|
D | page_poison.c | 46 memset(addr, PAGE_POISON, PAGE_SIZE); in poison_page()
|
D | slab_common.c | 1463 memset(&sinfo, 0, sizeof(sinfo)); in memcg_accumulate_slabinfo() 1478 memset(&sinfo, 0, sizeof(sinfo)); in cache_show() 1633 memset(&sinfo, 0, sizeof(sinfo)); in memcg_slabinfo_show() 1649 memset(&sinfo, 0, sizeof(sinfo)); in memcg_slabinfo_show()
|
D | debug.c | 242 memset(page, PAGE_POISON_PATTERN, size); in page_init_poison()
|
D | slub.c | 588 memset(p, 0, sizeof(struct track)); in set_track() 744 memset(p - s->red_left_pad, val, s->red_left_pad); in init_object() 747 memset(p, POISON_FREE, s->object_size - 1); in init_object() 752 memset(p + s->object_size, val, s->inuse - s->object_size); in init_object() 759 memset(from, data, to - from); in restore_bytes() 1109 memset(addr, POISON_INUSE, page_size(page)); in setup_page_debug() 1480 memset(object, 0, s->object_size); in slab_free_freelist_hook() 1483 memset((char *)object + s->inuse, 0, in slab_free_freelist_hook() 2714 memset((void *)((char *)obj + s->offset), 0, sizeof(void *)); in maybe_wipe_obj_freeptr() 2809 memset(object, 0, s->object_size); in slab_alloc_node() [all …]
|
D | sparse-vmemmap.c | 163 memset(p, 0, size); in vmemmap_alloc_block_zero()
|
D | hugetlb_cgroup.c | 391 memset(cft, 0, sizeof(*cft)); in __hugetlb_cgroup_file_init()
|
D | vmalloc.c | 2777 memset(buf, 0, length); in aligned_vread() 2886 memset(buf, 0, n); in vread() 2898 memset(buf, 0, buflen - (buf - buf_start)); in vread() 3465 memset(counters, 0, nr_node_ids * sizeof(unsigned int)); in show_numa_info()
|
D | slab.c | 1445 memset(addr, val, size); in poison_obj() 3260 memset(ptr, 0, cachep->object_size); in slab_alloc_node() 3317 memset(objp, 0, cachep->object_size); in slab_alloc() 3438 memset(objp, 0, cachep->object_size); in ___cache_free() 3528 memset(p[i], 0, s->object_size); in kmem_cache_alloc_bulk()
|
D | percpu.c | 1734 memset((void *)pcpu_chunk_addr(chunk, cpu, 0) + off, 0, size); in pcpu_alloc() 2546 memset(group_map, 0, sizeof(group_map)); in pcpu_build_alloc_info() 2547 memset(group_cnt, 0, sizeof(group_cnt)); in pcpu_build_alloc_info()
|
D | page_alloc.c | 5804 memset(node_order, 0, sizeof(node_order)); in build_zonelists() 5927 memset(node_load, 0, sizeof(node_load)); in __build_all_zonelists() 6298 memset(p, 0, sizeof(*p)); in pageset_init() 7532 memset(arch_zone_lowest_possible_pfn, 0, in free_area_init_nodes() 7534 memset(arch_zone_highest_possible_pfn, 0, in free_area_init_nodes() 7551 memset(zone_movable_pfn, 0, sizeof(zone_movable_pfn)); in free_area_init_nodes() 7697 memset(direct_map_addr, poison, PAGE_SIZE); in free_reserved_area()
|
D | nommu.c | 1073 memset(base + ret, 0, len - ret); in do_mmap_private() 1271 memset((void *)region->vm_start, 0, in do_mmap()
|
D | memblock.c | 451 memset(new_array + type->max, 0, old_size); in memblock_double_array() 1526 memset(ptr, 0, size); in memblock_alloc_try_nid()
|
D | slob.c | 375 memset(b, 0, size); in slob_alloc()
|
D | khugepaged.c | 1153 memset(khugepaged_node_load, 0, sizeof(khugepaged_node_load)); in khugepaged_scan_pmd() 1875 memset(khugepaged_node_load, 0, sizeof(khugepaged_node_load)); in khugepaged_scan_file()
|
D | swapfile.c | 462 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_cluster_schedule_discard() 499 memset(si->swap_map + idx * SWAPFILE_CLUSTER, in swap_do_scheduled_discard() 984 memset(si->swap_map + offset, 0, SWAPFILE_CLUSTER); in swap_free_cluster()
|
D | hmm.c | 851 memset(&range->hmm, POISON_INUSE, sizeof(range->hmm)); in hmm_range_unregister()
|
D | backing-dev.c | 289 memset(wb, 0, sizeof(*wb)); in wb_init()
|
D | vmscan.c | 1138 memset(stat, 0, sizeof(*stat)); in shrink_page_list() 2784 memset(&sc->nr, 0, sizeof(sc->nr)); in shrink_node()
|
D | memory_hotplug.c | 920 memset(p, 0, sizeof(*p)); in hotadd_new_pgdat()
|
D | z3fold.c | 205 memset(slots->slot, 0, sizeof(slots->slot)); in alloc_slots()
|
/mm/kasan/ |
D | common.c | 102 #undef memset 103 void *memset(void *addr, int c, size_t len) in memset() function
|