Home
last modified time | relevance | path

Searched refs:num_fd_max (Results 1 - 1 of 1) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/nine/
H A Dnine_memory_helper.c204 int num_fd_max; /* Max number of memfd files */ member
313 DBG("Num memfd files: %d / %d\n", allocator->num_fd, allocator->num_fd_max); in debug_dump_allocator_state()
709 if (allocator->num_fd == allocator->num_fd_max) in nine_memfd_allocator()
1012 allocator->num_fd_max = (memfd_virtualsizelimit >= 0) ? MIN2(128, sysconf(_SC_OPEN_MAX)) : 0; in nine_allocator_create()
1020 DBG("Allocator created (ps: %d; fm: %d)\n", allocator->page_size, allocator->num_fd_max); in nine_allocator_create()
1024 allocator->memfd_pool = CALLOC(allocator->num_fd_max, sizeof(struct nine_memfd_file)); in nine_allocator_create()

Completed in 2 milliseconds