Searched defs:PTR_DIFF (Results 1 – 4 of 4) sorted by relevance
34 #define PTR_DIFF(p1, p2) ((u8 *)(p1) - (u8 *)(p2)) macro
144 #define PTR_DIFF(a,b) ((lzo_ptrdiff_t) (PTR(a) - PTR(b))) macro
28 #define PTR_DIFF(x, y) ((unsigned long)(((char *) (x)) - ((unsigned long) (y)))) macro
109 #define PTR_DIFF(a, b) ((u32)((unsigned long)(a) - (unsigned long)(b))) macro