Searched refs:handle (Results 1 – 7 of 7) sorted by relevance
/mm/ |
D | zbud.c | 128 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) in zbud_zpool_evict() argument 131 return pool->zpool_ops->evict(pool->zpool, handle); in zbud_zpool_evict() 160 unsigned long *handle) in zbud_zpool_malloc() argument 162 return zbud_alloc(pool, size, gfp, handle); in zbud_zpool_malloc() 164 static void zbud_zpool_free(void *pool, unsigned long handle) in zbud_zpool_free() argument 166 zbud_free(pool, handle); in zbud_zpool_free() 188 static void *zbud_zpool_map(void *pool, unsigned long handle, in zbud_zpool_map() argument 191 return zbud_map(pool, handle); in zbud_zpool_map() 193 static void zbud_zpool_unmap(void *pool, unsigned long handle) in zbud_zpool_unmap() argument 195 zbud_unmap(pool, handle); in zbud_zpool_unmap() [all …]
|
D | zsmalloc.c | 240 unsigned long handle; member 305 static void free_handle(struct zs_pool *pool, unsigned long handle) in free_handle() argument 307 kmem_cache_free(pool->handle_cachep, (void *)handle); in free_handle() 310 static void record_obj(unsigned long handle, unsigned long obj) in record_obj() argument 317 WRITE_ONCE(*(unsigned long *)handle, obj); in record_obj() 337 unsigned long *handle) in zs_zpool_malloc() argument 339 *handle = zs_malloc(pool, size); in zs_zpool_malloc() 340 return *handle ? 0 : -1; in zs_zpool_malloc() 342 static void zs_zpool_free(void *pool, unsigned long handle) in zs_zpool_free() argument 344 zs_free(pool, handle); in zs_zpool_free() [all …]
|
D | zpool.c | 255 unsigned long *handle) in zpool_malloc() argument 257 return zpool->driver->malloc(zpool->pool, size, gfp, handle); in zpool_malloc() 274 void zpool_free(struct zpool *zpool, unsigned long handle) in zpool_free() argument 276 zpool->driver->free(zpool->pool, handle); in zpool_free() 324 void *zpool_map_handle(struct zpool *zpool, unsigned long handle, in zpool_map_handle() argument 327 return zpool->driver->map(zpool->pool, handle, mapmode); in zpool_map_handle() 340 void zpool_unmap_handle(struct zpool *zpool, unsigned long handle) in zpool_unmap_handle() argument 342 zpool->driver->unmap(zpool->pool, handle); in zpool_unmap_handle()
|
D | zswap.c | 156 unsigned long handle; member 196 static int zswap_writeback_entry(struct zpool *pool, unsigned long handle); 318 zpool_free(entry->pool->zpool, entry->handle); in zswap_free_entry() 869 static int zswap_writeback_entry(struct zpool *pool, unsigned long handle) in zswap_writeback_entry() argument 886 zhdr = zpool_map_handle(pool, handle, ZPOOL_MM_RO); in zswap_writeback_entry() 888 zpool_unmap_handle(pool, handle); in zswap_writeback_entry() 918 src = (u8 *)zpool_map_handle(entry->pool->zpool, entry->handle, in zswap_writeback_entry() 926 zpool_unmap_handle(entry->pool->zpool, entry->handle); in zswap_writeback_entry() 1003 unsigned long handle; in zswap_frontswap_store() local 1063 &handle); in zswap_frontswap_store() [all …]
|
D | dmapool.c | 322 dma_addr_t *handle) in dma_pool_alloc() argument 352 *handle = offset + page->dma; in dma_pool_alloc()
|
D | Kconfig | 577 non-standard allocator interface where a handle, not a pointer, is 578 returned by an alloc(). This handle must be mapped in order to
|
D | memcontrol.c | 1735 bool mem_cgroup_oom_synchronize(bool handle) in mem_cgroup_oom_synchronize() argument 1745 if (!handle || oom_killer_disabled) in mem_cgroup_oom_synchronize()
|