Searched refs:PTR_DIFF (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/arch/s390/kernel/
H A Dcrash_dump.c24 #define PTR_DIFF(x, y) ((unsigned long)(((char *) (x)) - ((unsigned long) (y)))) macro
635 hdr_off = PTR_DIFF(ptr, hdr); elfcorehdr_alloc()
638 hdr_off = PTR_DIFF(ptr, hdr); elfcorehdr_alloc()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dtx.c798 #define PTR_DIFF(p1, p2) ((u8 *)(p1) - (u8 *)(p2)) macro
868 EFX_BUG_ON_PARANOID((PTR_DIFF(tcp_hdr(skb), skb->data) efx_tso_check_protocol()
/linux-4.1.27/drivers/atm/
H A Dnicstar.c108 #define PTR_DIFF(a, b) ((u32)((unsigned long)(a) - (unsigned long)(b))) macro
1898 writel(PTR_DIFF(previous, card->tsq.base), process_tsq()
1959 writel(PTR_DIFF(previous, card->rsq.base), card->membase + RSQH); process_rsq()

Completed in 116 milliseconds