/mm/ |
D | page_owner.c | 26 depot_stack_handle_t handle; member 119 depot_stack_handle_t handle; in save_stack() local 135 handle = stack_depot_save(entries, nr_entries, flags); in save_stack() 136 if (!handle) in save_stack() 137 handle = failure_handle; in save_stack() 139 return handle; in save_stack() 146 depot_stack_handle_t handle = 0; in __reset_page_owner() local 149 handle = save_stack(GFP_NOWAIT | __GFP_NOWARN); in __reset_page_owner() 157 page_owner->free_handle = handle; in __reset_page_owner() 163 struct page_ext *page_ext, depot_stack_handle_t handle, in __set_page_owner_handle() argument [all …]
|
D | zbud.c | 129 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) in zbud_zpool_evict() argument 132 return pool->zpool_ops->evict(pool->zpool, handle); in zbud_zpool_evict() 161 unsigned long *handle) in zbud_zpool_malloc() argument 163 return zbud_alloc(pool, size, gfp, handle); in zbud_zpool_malloc() 165 static void zbud_zpool_free(void *pool, unsigned long handle) in zbud_zpool_free() argument 167 zbud_free(pool, handle); in zbud_zpool_free() 189 static void *zbud_zpool_map(void *pool, unsigned long handle, in zbud_zpool_map() argument 192 return zbud_map(pool, handle); in zbud_zpool_map() 194 static void zbud_zpool_unmap(void *pool, unsigned long handle) in zbud_zpool_unmap() argument 196 zbud_unmap(pool, handle); in zbud_zpool_unmap() [all …]
|
D | zsmalloc.c | 248 unsigned long handle; member 353 static void cache_free_handle(struct zs_pool *pool, unsigned long handle) in cache_free_handle() argument 355 kmem_cache_free(pool->handle_cachep, (void *)handle); in cache_free_handle() 369 static void record_obj(unsigned long handle, unsigned long obj) in record_obj() argument 376 WRITE_ONCE(*(unsigned long *)handle, obj); in record_obj() 401 unsigned long *handle) in zs_zpool_malloc() argument 403 *handle = zs_malloc(pool, size, gfp); in zs_zpool_malloc() 404 return *handle ? 0 : -1; in zs_zpool_malloc() 406 static void zs_zpool_free(void *pool, unsigned long handle) in zs_zpool_free() argument 408 zs_free(pool, handle); in zs_zpool_free() [all …]
|
D | z3fold.c | 75 int (*evict)(struct z3fold_pool *pool, unsigned long handle); 217 static inline struct z3fold_buddy_slots *handle_to_slots(unsigned long handle) in handle_to_slots() argument 219 return (struct z3fold_buddy_slots *)(handle & ~(SLOTS_ALIGN - 1)); in handle_to_slots() 222 static inline void free_handle(unsigned long handle) in free_handle() argument 228 if (handle & (1 << PAGE_HEADLESS)) in free_handle() 231 WARN_ON(*(unsigned long *)handle == 0); in free_handle() 232 *(unsigned long *)handle = 0; in free_handle() 233 slots = handle_to_slots(handle); in free_handle() 413 static unsigned short handle_to_chunks(unsigned long handle) in handle_to_chunks() argument 415 unsigned long addr = *(unsigned long *)handle; in handle_to_chunks() [all …]
|
D | zpool.c | 274 unsigned long *handle) in zpool_malloc() argument 276 return zpool->driver->malloc(zpool->pool, size, gfp, handle); in zpool_malloc() 293 void zpool_free(struct zpool *zpool, unsigned long handle) in zpool_free() argument 295 zpool->driver->free(zpool->pool, handle); in zpool_free() 344 void *zpool_map_handle(struct zpool *zpool, unsigned long handle, in zpool_map_handle() argument 347 return zpool->driver->map(zpool->pool, handle, mapmode); in zpool_map_handle() 360 void zpool_unmap_handle(struct zpool *zpool, unsigned long handle) in zpool_unmap_handle() argument 362 zpool->driver->unmap(zpool->pool, handle); in zpool_unmap_handle()
|
D | zswap.c | 158 unsigned long handle; member 203 static int zswap_writeback_entry(struct zpool *pool, unsigned long handle); 328 zpool_free(entry->pool->zpool, entry->handle); in zswap_free_entry() 840 static int zswap_writeback_entry(struct zpool *pool, unsigned long handle) in zswap_writeback_entry() argument 857 zhdr = zpool_map_handle(pool, handle, ZPOOL_MM_RO); in zswap_writeback_entry() 868 zpool_unmap_handle(pool, handle); in zswap_writeback_entry() 941 zpool_unmap_handle(pool, handle); in zswap_writeback_entry() 995 unsigned long handle, value; in zswap_frontswap_store() local 1076 ret = zpool_malloc(entry->pool->zpool, hlen + dlen, gfp, &handle); in zswap_frontswap_store() 1085 buf = zpool_map_handle(entry->pool->zpool, handle, ZPOOL_MM_RW); in zswap_frontswap_store() [all …]
|
D | dmapool.c | 320 dma_addr_t *handle) in dma_pool_alloc() argument 350 *handle = offset + page->dma; in dma_pool_alloc()
|
D | Kconfig | 575 non-standard allocator interface where a handle, not a pointer, is 576 returned by an alloc(). This handle must be mapped in order to
|
D | memcontrol.c | 1971 bool mem_cgroup_oom_synchronize(bool handle) in mem_cgroup_oom_synchronize() argument 1981 if (!handle) in mem_cgroup_oom_synchronize()
|