Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

#define KPRF_SETMIN_ALIGN ( n,
min,
align   ) 

Value:

do { \
        if ((n) < (min)) \
            (n) = (min); \
        else { \
            const KU32 u32 = ((n) + ( (align) - 1)) & ~((align) - 1); \
            if (u32 >= (n)) \
                (n) = u32; \
        } \
    } while (0)
Ensures a minimum and aligned value.

For internal use only.

Definition at line 56 of file prfcorepre.cpp.h.


Generated by  Doxygen 1.6.0   Back to index