Home
last modified time | relevance | path

Searched refs:PTR_DIFF (Results 1 – 2 of 2) sorted by relevance

/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()
/linux/arch/s390/kernel/
H A Dcrash_dump.c30 #define PTR_DIFF(x, y) ((unsigned long)(((char *) (x)) - ((unsigned long) (y)))) macro
662 hdr_off = PTR_DIFF(ptr, hdr); in elfcorehdr_alloc()
670 hdr_off = PTR_DIFF(ptr, hdr); in elfcorehdr_alloc()