Searched refs:PTR_DIFF (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | tx_tso.c | 34 #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-6.6.21/arch/s390/kernel/ |
D | crash_dump.c | 28 #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()
|
/linux-6.6.21/drivers/atm/ |
D | nicstar.c | 109 #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()
|