Searched refs:mali_mem_os_allocator (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_memory_os_alloc.c | 47 struct mali_mem_os_allocator mali_mem_os_allocator = { variable 49 .pool_pages = LIST_HEAD_INIT(mali_mem_os_allocator.pool_pages), 63 ….timed_shrinker = __DELAYED_WORK_INITIALIZER(mali_mem_os_allocator.timed_shrinker, mali_mem_os_tri… 65 ….timed_shrinker = __DEFERRED_WORK_INITIALIZER(mali_mem_os_allocator.timed_shrinker, mali_mem_os_tr… 67 ….timed_shrinker = __DELAYED_WORK_INITIALIZER(mali_mem_os_allocator.timed_shrinker, mali_mem_os_tri… 83 atomic_sub(1, &mali_mem_os_allocator.allocated_pages); in mali_mem_os_free() 95 atomic_sub(pages_count, &mali_mem_os_allocator.allocated_pages); in mali_mem_os_free() 100 spin_lock(&mali_mem_os_allocator.pool_lock); in mali_mem_os_free() 101 list_splice(&pages, &mali_mem_os_allocator.pool_pages); in mali_mem_os_free() 102 mali_mem_os_allocator.pool_count += free_pages_nr; in mali_mem_os_free() [all …]
|
| H A D | mali_memory_swap_alloc.c | 50 extern struct mali_mem_os_allocator mali_mem_os_allocator; 363 atomic_add(1, &mali_mem_os_allocator.allocated_pages); in mali_mem_swap_alloc_swap_item() 384 atomic_sub(1, &mali_mem_os_allocator.allocated_pages); in mali_mem_swap_free_swap_item() 534 …if (atomic_read(&mali_mem_os_allocator.allocated_pages) * _MALI_OSK_MALI_PAGE_SIZE + size > mali_m… in mali_mem_swap_alloc_pages() 537 atomic_read(&mali_mem_os_allocator.allocated_pages) * _MALI_OSK_MALI_PAGE_SIZE, in mali_mem_swap_alloc_pages() 538 mali_mem_os_allocator.allocation_limit)); in mali_mem_swap_alloc_pages()
|
| H A D | mali_memory_types.h | 148 struct mali_mem_os_allocator { struct
|