Home
last modified time | relevance | path

Searched refs:__align_mask (Results 1 – 2 of 2) sorted by relevance

/external/libdrm/
Dutil_math.h31 #define __align_mask(value, mask) (((value) + (mask)) & ~(mask)) macro
32 #define ALIGN(value, alignment) __align_mask(value, (typeof(value))((alignment) - 1))
/external/ltp/testcases/kernel/controllers/io-throttle/
Diobw.c42 #define align(x,a) __align_mask(x,(typeof(x))(a)-1)
43 #define __align_mask(x,mask) (((x)+(mask))&~(mask)) macro