Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/io/disktest/
Dmain.h62 #define ALIGNSIZE 4096 /* memory alignment size in bytes */ macro
71 #define BUFALIGN(x) (void *) (((unsigned long)x + (OFF_T)(ALIGNSIZE - 1)) & (OFF_T)~(ALIGNSIZE - 1))
75 #define BUFALIGN(x) (void *) (((unsigned long)x + (ALIGNSIZE - 1)) & ~(ALIGNSIZE - 1))
Dchildmain.c647 (char *)ALLOC(((args->htrsiz * BLK_SIZE) + ALIGNSIZE))) == NULL) { in ChildMain()
655 memset(buffer1, SET_CHAR, ((args->htrsiz * BLK_SIZE) + ALIGNSIZE)); in ChildMain()
659 (char *)ALLOC(((args->htrsiz * BLK_SIZE) + ALIGNSIZE))) == NULL) { in ChildMain()
668 memset(buffer2, SET_CHAR, ((args->htrsiz * BLK_SIZE) + ALIGNSIZE)); in ChildMain()
Dmain.c199 (unsigned char *)ALLOC(data_buffer_size + ALIGNSIZE)) == NULL) { in init_data()