android_kernel_google_msm/drivers/atm
Alexander Duyck 1102122b2b skb: Add inline helper for getting the skb end offset from head
[ Upstream commit ec47ea8247 ]

With the recent changes for how we compute the skb truesize it occurs to me
we are probably going to have a lot of calls to skb_end_pointer -
skb->head.  Instead of running all over the place doing that it would make
more sense to just make it a separate inline skb_end_offset(skb) that way
we can return the correct value without having gcc having to do all the
optimization to cancel out skb->head - skb->head.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-07 16:02:00 -07:00
..
.gitignore
adummy.c atm: correct sysfs 'device' link creation and parent relationships 2010-12-10 15:45:05 -08:00
ambassador.c skb: Add inline helper for getting the skb end offset from head 2014-06-07 16:02:00 -07:00
ambassador.h ATM: Delete no use FILL_RX_POOLS_IN_BH marco 2011-07-08 09:06:31 -07:00
atmtcp.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
eni.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
eni.h eni: fix driver remove function and driver probe error path. 2012-03-16 23:13:20 -07:00
firestream.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
firestream.h
fore200e.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
fore200e.h Fix common misspellings 2011-03-31 11:26:23 -03:00
he.c module_param: make bool parameters really bool (drivers & misc) 2012-01-13 09:32:20 +10:30
he.h atm: [he] rewrite buffer handling in receive path 2010-05-31 00:27:47 -07:00
horizon.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
horizon.h
idt77105.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
idt77105.h
idt77252.c skb: Add inline helper for getting the skb end offset from head 2014-06-07 16:02:00 -07:00
idt77252.h Fix common misspellings 2011-03-31 11:26:23 -03:00
idt77252_tables.h
iphase.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
iphase.h atm/iphase: rename fregt_t -> ffreg_t 2013-02-14 10:49:05 -08:00
Kconfig Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
lanai.c atm: Fix typo in lanai.c 2012-02-01 14:46:25 -05:00
Makefile Drivers: atm: Makefile: replace the use of <module>-objs with <module>-y 2010-10-21 03:09:48 -07:00
midway.h
nicstar.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
nicstar.h atm: [nicstar] remove virt_to_bus() and support 64-bit platforms 2010-05-31 00:27:46 -07:00
nicstarmac.c atm: [nicstar] reformatted with Lindent 2010-05-31 00:27:46 -07:00
nicstarmac.copyright
solos-attrlist.c solos: Add 'Firmware' attribute for Traverse overall firmware version 2010-11-08 12:17:04 -08:00
solos-pci.c solos-pci: fix double-free of TX skb in DMA mode 2013-01-11 09:07:16 -08:00
suni.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
suni.h
tonga.h
uPD98401.h
uPD98402.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
uPD98402.h
zatm.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
zatm.h
zeprom.h