Home
last modified time | relevance | path

Searched refs: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
161 EFX_WARN_ON_ONCE_PARANOID((PTR_DIFF(tcp_hdr(skb), skb->data) + in efx_tso_check_protocol()
/openbmc/linux/arch/s390/kernel/
H A Dcrash_dump.c28 #define PTR_DIFF(x, y) ((unsigned long)(((char *) (x)) - ((unsigned long) (y)))) macro
611 hdr_off = PTR_DIFF(ptr, hdr); in elfcorehdr_alloc()
614 hdr_off = PTR_DIFF(ptr, hdr); in elfcorehdr_alloc()
/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/drivers/atm/
H A Dnicstar.c109 #define PTR_DIFF(a, b) ((u32)((unsigned long)(a) - (unsigned long)(b))) macro
1910 writel(PTR_DIFF(previous, card->tsq.base), in process_tsq()
1971 writel(PTR_DIFF(previous, card->rsq.base), card->membase + RSQH); in process_rsq()