Go to the documentation of this file. 35 #ifndef UTILS_SRC_MEM_UTILS_H_ 36 #define UTILS_SRC_MEM_UTILS_H_ 38 #include <sys/types.h> 47 #define CTX_S_BASE_ALIGN sizeof(uint64_t) 52 #define EXTEND_SIZE_TO_MULTIPLE(SIZE, MULTIPLE) \ 54 (SIZE)% MULTIPLE? (SIZE)+ (MULTIPLE- ((SIZE)% MULTIPLE)): (SIZE)\ 60 #define SIZE_IS_MULTIPLE(SIZE, MULTIPLE) (((SIZE)% MULTIPLE)== 0) 62 #if _FILE_OFFSET_BITS==64 63 #define WORD_T uint64_t 65 #define DPATHW_SHIFTb 6 66 #define DPATHW_SHIFTB 3 69 #define WORD_T uint32_t 71 #define DPATHW_SHIFTb 5 72 #define DPATHW_SHIFTB 2