Home
last modified time | relevance | path

Searched refs:memfd_pool (Results 1 – 1 of 1) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_memory_helper.c215 struct nine_memfd_file *memfd_pool; /* Table (of size num_fd) of memfd files */ member
435 memfd_file = (void*)allocator->memfd_pool + memfd_index*sizeof(struct nine_memfd_file); in insert_new_allocation()
582 …struct nine_memfd_file *memfd_file = (void*)allocator->memfd_pool + memfd_index*sizeof(struct nine… in nine_memfd_try_unmap_file()
713 … memfd_file = (void*)allocator->memfd_pool + (allocator->num_fd-1)*sizeof(struct nine_memfd_file); in nine_memfd_allocator()
1024 allocator->memfd_pool = CALLOC(allocator->num_fd_max, sizeof(struct nine_memfd_file)); in nine_allocator_create()
1045 debug_dump_memfd_state(&allocator->memfd_pool[i], true); in nine_allocator_destroy()
1046 assert(list_is_empty(&allocator->memfd_pool[i].locked_mapped_allocated_regions)); in nine_allocator_destroy()
1047 assert(list_is_empty(&allocator->memfd_pool[i].weak_unlocked_mapped_allocated_regions)); in nine_allocator_destroy()
1048 assert(list_is_empty(&allocator->memfd_pool[i].unlocked_mapped_allocated_regions)); in nine_allocator_destroy()
1049 assert(list_is_singular(&allocator->memfd_pool[i].free_regions)); in nine_allocator_destroy()
[all …]