Searched refs:free (Results 1 – 11 of 11) sorted by relevance
/mm/ |
D | mempool.c | 43 pool->free(element, pool->pool_data); in mempool_destroy() 91 pool->free = free_fn; in mempool_create_node() 139 pool->free(element, pool->pool_data); in mempool_resize() 175 pool->free(element, pool->pool_data); /* Raced */ in mempool_resize() 325 pool->free(element, pool->pool_data); in mempool_free()
|
D | vmalloc.c | 757 struct list_head free; member 763 unsigned long free, dirty; member 827 vb->free = VMAP_BBMAP_BITS; in new_vmap_block() 841 list_add_rcu(&vb->free_list, &vbq->free); in new_vmap_block() 871 list_for_each_entry_rcu(vb, &vbq->free, free_list) { in purge_fragmented_blocks() 873 if (!(vb->free + vb->dirty == VMAP_BBMAP_BITS && vb->dirty != VMAP_BBMAP_BITS)) in purge_fragmented_blocks() 877 if (vb->free + vb->dirty == VMAP_BBMAP_BITS && vb->dirty != VMAP_BBMAP_BITS) { in purge_fragmented_blocks() 878 vb->free = 0; /* prevent further allocs after releasing lock */ in purge_fragmented_blocks() 927 list_for_each_entry_rcu(vb, &vbq->free, free_list) { in vb_alloc() 931 if (vb->free < 1UL << order) in vb_alloc() [all …]
|
D | nommu.c | 1908 long free, allowed, reserve; in __vm_enough_memory() local 1919 free = global_page_state(NR_FREE_PAGES); in __vm_enough_memory() 1920 free += global_page_state(NR_FILE_PAGES); in __vm_enough_memory() 1928 free -= global_page_state(NR_SHMEM); in __vm_enough_memory() 1930 free += get_nr_swap_pages(); in __vm_enough_memory() 1938 free += global_page_state(NR_SLAB_RECLAIMABLE); in __vm_enough_memory() 1943 if (free <= totalreserve_pages) in __vm_enough_memory() 1946 free -= totalreserve_pages; in __vm_enough_memory() 1952 free -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory() 1954 if (free > pages) in __vm_enough_memory()
|
D | mmap.c | 167 long free, allowed, reserve; in __vm_enough_memory() local 182 free = global_page_state(NR_FREE_PAGES); in __vm_enough_memory() 183 free += global_page_state(NR_FILE_PAGES); in __vm_enough_memory() 191 free -= global_page_state(NR_SHMEM); in __vm_enough_memory() 193 free += get_nr_swap_pages(); in __vm_enough_memory() 201 free += global_page_state(NR_SLAB_RECLAIMABLE); in __vm_enough_memory() 206 if (free <= totalreserve_pages) in __vm_enough_memory() 209 free -= totalreserve_pages; in __vm_enough_memory() 215 free -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory() 217 if (free > pages) in __vm_enough_memory()
|
D | Kconfig.debug | 18 a resume because free pages are not saved to the suspend image.
|
D | zpool.c | 268 zpool->driver->free(zpool->pool, handle); in zpool_free()
|
D | zbud.c | 194 .free = zbud_zpool_free,
|
D | hugetlb.c | 66 bool free = (spool->count == 0) && (spool->used_hpages == 0); in unlock_or_release_subpool() local 72 if (free) in unlock_or_release_subpool() 1275 goto free; in gather_surplus_pages() 1301 free: in gather_surplus_pages()
|
D | huge_memory.c | 2108 int free = 0; in __khugepaged_exit() local 2115 free = 1; in __khugepaged_exit() 2119 if (free) { in __khugepaged_exit()
|
D | swapfile.c | 1093 unsigned int count_swap_pages(int type, int free) in count_swap_pages() argument 1104 if (free) in count_swap_pages()
|
D | zsmalloc.c | 379 .free = zs_zpool_free,
|