Home
last modified time | relevance | path

Searched refs:memset (Results 1 – 25 of 32) sorted by relevance

12

/mm/
Ddmapool.c232 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()
Dmincore.c133 memset(vec, 1, nr); in mincore_pte_range()
219 memset(vec, 1, pages); in do_mincore()
Dmempool.c55 memset(obj, POISON_INUSE, size); in __check_element()
78 memset(obj, POISON_FREE, size - 1); in __poison_element()
Dmmzone.c79 memset(lruvec, 0, sizeof(struct lruvec)); in lruvec_init()
Dpage_poison.c46 memset(addr, PAGE_POISON, PAGE_SIZE); in poison_page()
Dslab_common.c1463 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()
Ddebug.c242 memset(page, PAGE_POISON_PATTERN, size); in page_init_poison()
Dslub.c588 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 …]
Dsparse-vmemmap.c163 memset(p, 0, size); in vmemmap_alloc_block_zero()
Dhugetlb_cgroup.c391 memset(cft, 0, sizeof(*cft)); in __hugetlb_cgroup_file_init()
Dvmalloc.c2777 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()
Dslab.c1445 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()
Dpercpu.c1734 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()
Dpage_alloc.c5804 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()
Dnommu.c1073 memset(base + ret, 0, len - ret); in do_mmap_private()
1271 memset((void *)region->vm_start, 0, in do_mmap()
Dmemblock.c451 memset(new_array + type->max, 0, old_size); in memblock_double_array()
1526 memset(ptr, 0, size); in memblock_alloc_try_nid()
Dslob.c375 memset(b, 0, size); in slob_alloc()
Dkhugepaged.c1153 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()
Dswapfile.c462 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()
Dhmm.c851 memset(&range->hmm, POISON_INUSE, sizeof(range->hmm)); in hmm_range_unregister()
Dbacking-dev.c289 memset(wb, 0, sizeof(*wb)); in wb_init()
Dvmscan.c1138 memset(stat, 0, sizeof(*stat)); in shrink_page_list()
2784 memset(&sc->nr, 0, sizeof(sc->nr)); in shrink_node()
Dmemory_hotplug.c920 memset(p, 0, sizeof(*p)); in hotadd_new_pgdat()
Dz3fold.c205 memset(slots->slot, 0, sizeof(slots->slot)); in alloc_slots()
/mm/kasan/
Dcommon.c102 #undef memset
103 void *memset(void *addr, int c, size_t len) in memset() function

12