| /xsrc/external/mit/pixman/dist/test/ |
| affine-bench.c | 45 #define PAGE_SIZE (4 * 1024) 141 *bits = aligned_malloc (PAGE_SIZE, stride * height);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/ |
| crocus_bufmgr.c | 103 #define PAGE_SIZE 4096 224 const unsigned pages = (size + PAGE_SIZE - 1) / PAGE_SIZE; 399 unsigned int page_size = getpagesize(); local 406 bucket ? bucket->size : MAX2(ALIGN(size, page_size), page_size); 1498 add_bucket(bufmgr, PAGE_SIZE); 1499 add_bucket(bufmgr, PAGE_SIZE * 2); 1500 add_bucket(bufmgr, PAGE_SIZE * 3); 1503 for (size = 4 * PAGE_SIZE; size <= cache_max_size; size *= 2) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/ |
| anv_allocator.c | 107 /* On FreeBSD PAGE_SIZE is already defined in 111 #ifndef PAGE_SIZE 112 #define PAGE_SIZE 4096 233 PAGE_SIZE); 641 uint32_t back_used = align_u32(pool->back_state.next, PAGE_SIZE); 642 uint32_t front_used = align_u32(pool->state.next, PAGE_SIZE); 705 center_bo_offset &= ~(PAGE_SIZE - 1); 718 assert(center_bo_offset % PAGE_SIZE == 0); 1240 assert(alignment <= PAGE_SIZE); 1249 block_size, PAGE_SIZE); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/ |
| brw_bufmgr.c | 98 /* On FreeBSD PAGE_SIZE is already defined in 102 #ifndef PAGE_SIZE 103 #define PAGE_SIZE 4096 221 return ALIGN(size, PAGE_SIZE); 258 const unsigned pages = (size + PAGE_SIZE - 1) / PAGE_SIZE; 402 if (size > 1024 * PAGE_SIZE) 428 alignment = ALIGN(alignment, PAGE_SIZE); 561 unsigned int page_size = getpagesize(); local 562 bo_size = size == 0 ? page_size : ALIGN(size, page_size) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/ |
| iris_bufmgr.c | 92 #define PAGE_SIZE 4096 199 const unsigned pages = (size + PAGE_SIZE - 1) / PAGE_SIZE; 270 alignment = ALIGN(alignment, PAGE_SIZE); 373 unsigned int page_size = getpagesize(); local 384 bo_size = MAX2(ALIGN(size, page_size), page_size); 396 bo_size = MAX2(ALIGN(size, page_size), page_size); 1391 add_bucket(bufmgr, PAGE_SIZE); [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| anv_allocator.c | 104 #define PAGE_SIZE 4096 241 PAGE_SIZE); 737 uint32_t back_used = align_u32(pool->back_state.next, PAGE_SIZE); 738 uint32_t front_used = align_u32(pool->state.next, PAGE_SIZE); 789 center_bo_offset &= ~(PAGE_SIZE - 1); 802 assert(center_bo_offset % PAGE_SIZE == 0); 1318 assert(alignment <= PAGE_SIZE); 1327 block_size, PAGE_SIZE);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/ |
| brw_bufmgr.c | 90 #define PAGE_SIZE 4096 198 return ALIGN(size, PAGE_SIZE); 235 const unsigned pages = (size + PAGE_SIZE - 1) / PAGE_SIZE; 379 if (size > 1024 * PAGE_SIZE) 405 alignment = ALIGN(alignment, PAGE_SIZE); 526 unsigned int page_size = getpagesize(); local 527 bo_size = size == 0 ? page_size : ALIGN(size, page_size); 1580 add_bucket(bufmgr, PAGE_SIZE); [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/ |
| iris_bufmgr.c | 90 /* On FreeBSD PAGE_SIZE is already defined in 94 #ifndef PAGE_SIZE 95 #define PAGE_SIZE 4096 286 const unsigned pages = (size + PAGE_SIZE - 1) / PAGE_SIZE; 999 unsigned int page_size = getpagesize(); local 1016 bucket ? bucket->size : MAX2(ALIGN(size, page_size), page_size); 2021 add_bucket(bufmgr, PAGE_SIZE, local); 2022 add_bucket(bufmgr, PAGE_SIZE * 2, local) 2160 unsigned int page_size = getpagesize(); local [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| kgem.h | 77 #define PAGE_SIZE 4096 541 return PAGE_SIZE * bo->size.pages.count;
|
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| kgem.h | 76 #define PAGE_SIZE 4096 525 return PAGE_SIZE * bo->size.pages.count;
|