Searched refs:PTR_DIFF (Results 1 – 2 of 2) sorted by relevance
34 #define PTR_DIFF(p1, p2) ((u8 *)(p1) - (u8 *)(p2)) macro161 EFX_WARN_ON_ONCE_PARANOID((PTR_DIFF(tcp_hdr(skb), skb->data) + in efx_tso_check_protocol()
30 #define PTR_DIFF(x, y) ((unsigned long)(((char *) (x)) - ((unsigned long) (y)))) macro662 hdr_off = PTR_DIFF(ptr, hdr); in elfcorehdr_alloc()670 hdr_off = PTR_DIFF(ptr, hdr); in elfcorehdr_alloc()