Home
last modified time | relevance | path

Searched defs:PTR_DIFF (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtx_tso.c34 #define PTR_DIFF(p1, p2) ((u8 *)(p1) - (u8 *)(p2)) macro
/openbmc/u-boot/fs/jffs2/
H A Dcompr_lzo.c144 #define PTR_DIFF(a,b) ((lzo_ptrdiff_t) (PTR(a) - PTR(b))) macro
/openbmc/linux/arch/s390/kernel/
H A Dcrash_dump.c28 #define PTR_DIFF(x, y) ((unsigned long)(((char *) (x)) - ((unsigned long) (y)))) macro
/openbmc/linux/drivers/atm/
H A Dnicstar.c109 #define PTR_DIFF(a, b) ((u32)((unsigned long)(a) - (unsigned long)(b))) macro