Home
last modified time | relevance | path

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

/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/
Ddfltcc_common.c69 static const int PAGE_ALIGN = 0x1000; variable
78 p = ZALLOC(strm, sizeof(void *) + items * size + PAGE_ALIGN, sizeof(unsigned char)); in dfltcc_alloc_window()
81 w = ALIGN_UP((char *)p + sizeof(void *), PAGE_ALIGN); in dfltcc_alloc_window()
/external/igt-gpu-tools/tests/i915/
Dgem_workarounds.c33 #define PAGE_ALIGN(x) ALIGN(x, PAGE_SIZE) macro
99 result_sz = PAGE_ALIGN(result_sz); in workaround_fail_count()
102 batch_sz = PAGE_ALIGN(batch_sz); in workaround_fail_count()
Dgem_ctx_isolation.c30 #define PAGE_ALIGN(x) ALIGN(x, 4096) macro
235 regs_size = PAGE_ALIGN(regs_size); in tmpl_regs()
278 regs_size = PAGE_ALIGN(regs_size); in read_regs()
281 batch_size = PAGE_ALIGN(batch_size); in read_regs()
346 batch_size = PAGE_ALIGN(batch_size); in write_regs()
407 batch_size = PAGE_ALIGN(batch_size); in restore_regs()
466 regs_size = PAGE_ALIGN(regs_size); in dump_regs()
498 regs_size = PAGE_ALIGN(regs_size); in compare_regs()
Dgem_busy.c34 #define PAGE_ALIGN(x) ALIGN(x, 4096) macro
329 handles = mmap(NULL, PAGE_ALIGN(nhandles*sizeof(*handles)), in close_race()
397 munmap(handles, PAGE_ALIGN(nhandles * sizeof(*handles))); in close_race()
/external/linux-kselftest/tools/testing/selftests/vm/
Dmlock-random-test.c23 #define PAGE_ALIGN(size, ps) (((size) + ((ps) - 1)) & ~((ps) - 1)) macro
190 if (locked_vm_size > PAGE_ALIGN(alloc_size, page_size) + page_size) { in test_mlock_within_limit()
/external/igt-gpu-tools/lib/
Digt_draw.c38 #ifndef PAGE_ALIGN
42 #define PAGE_ALIGN(x) ALIGN(x, PAGE_SIZE) macro
347 ptr = gem_mmap__cpu(fd, buf->handle, 0, PAGE_ALIGN(buf->size), 0); in draw_rect_mmap_cpu()
376 ptr = gem_mmap__gtt(fd, buf->handle, PAGE_ALIGN(buf->size), in draw_rect_mmap_gtt()
398 ptr = gem_mmap__wc(fd, buf->handle, 0, PAGE_ALIGN(buf->size), in draw_rect_mmap_wc()
/external/python/cpython2/Lib/plat-atheos/
DIN.py521 def PAGE_ALIGN(addr): return (((addr)+PAGE_SIZE-1)&PAGE_MASK) function