Home
last modified time | relevance | path

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

/third_party/ltp/include/
Dtst_common.h23 #define LTP_ALIGN(x, a) __LTP_ALIGN_MASK(x, (typeof(x))(a) - 1) macro
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages03.c65 max_node = LTP_ALIGN(get_max_node(), sizeof(unsigned long) * 8); in setup()
Dmigrate_pages01.c228 sane_max_node = LTP_ALIGN(get_max_node(), sizeof(unsigned long)*8); in setup()
Dmigrate_pages02.c77 max_node = LTP_ALIGN(get_max_node(), sizeof(unsigned long)*8); in migrate_to_node()
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Dcommon.h134 size = LTP_ALIGN(size, pg); in dirty_freeblocks()
/third_party/ltp/testcases/kernel/syscalls/splice/
Dsplice02.c89 blocks = LTP_ALIGN(st.st_size, page_size) / page_size; in do_child()
/third_party/ltp/testcases/kernel/syscalls/mmap/
Dmmap18.c203 size_t pthread_stack = LTP_ALIGN(PTHREAD_STACK_MIN, getpagesize()); in run_test()
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise02.c158 tmp_addr = (void*)LTP_ALIGN((long)ptr_addr, pagesize); in setup()
/third_party/ltp/testcases/kernel/lib/
Dnuma_helper.c169 max_node = LTP_ALIGN(get_max_node(), sizeof(unsigned long)*8); in get_allowed_nodes_arr()
/third_party/ltp/doc/
Dc-test-api.txt810 LTP_ALIGN(x, a)