/arch/arm/include/asm/ |
D | checksum.h | 88 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument 102 : "r" (daddr), "r" (saddr), "r" (lenprot) in csum_tcpudp_nofold() 115 : "r" (sum), "r" (daddr), "r" (saddr), "r" (lenprot) in csum_tcpudp_nofold() 125 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_magic() argument 128 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 144 __csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __be32 len, 148 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, in csum_ipv6_magic() argument 151 return csum_fold(__csum_ipv6_magic(saddr, daddr, htonl(len), in csum_ipv6_magic()
|
/arch/m68k/include/asm/ |
D | checksum.h | 82 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, unsigned short len, in csum_tcpudp_nofold() argument 90 : "=&d" (sum), "=d" (saddr) in csum_tcpudp_nofold() 91 : "g" (daddr), "1" (saddr), "d" (len + proto), in csum_tcpudp_nofold() 102 csum_tcpudp_magic(__be32 saddr, __be32 daddr, unsigned short len, in csum_tcpudp_magic() argument 105 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 120 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, in csum_ipv6_magic() argument 143 : "a" (saddr), "a" (daddr), "d" (len + proto), in csum_ipv6_magic()
|
/arch/parisc/include/asm/ |
D | checksum.h | 88 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, in csum_tcpudp_nofold() argument 98 : "r" (daddr), "r"(saddr), "r"(proto+len), "0"(sum)); in csum_tcpudp_nofold() 106 static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, in csum_tcpudp_magic() argument 110 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 124 static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr, in csum_ipv6_magic() argument 182 : "=r" (sum), "=r" (saddr), "=r" (daddr), "=r" (len) in csum_ipv6_magic() 183 : "0" (sum), "1" (saddr), "2" (daddr), "3" (len), "r" (proto) in csum_ipv6_magic()
|
/arch/sparc/include/asm/ |
D | checksum_64.h | 99 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, in csum_tcpudp_nofold() argument 108 : "=r" (sum), "=r" (saddr) in csum_tcpudp_nofold() 109 : "r" (daddr), "r" (proto + len), "0" (sum), "1" (saddr) in csum_tcpudp_nofold() 118 static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, in csum_tcpudp_magic() argument 122 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 127 static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr, in csum_ipv6_magic() argument 152 : "r" (saddr), "r" (daddr), "r"(htonl(len)), in csum_ipv6_magic()
|
D | checksum_32.h | 173 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, in csum_tcpudp_nofold() argument 181 : "=r" (sum), "=r" (saddr) in csum_tcpudp_nofold() 183 "1" (saddr) in csum_tcpudp_nofold() 192 static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, in csum_tcpudp_magic() argument 196 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 201 static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr, in csum_ipv6_magic() argument 226 : "r" (saddr), "r" (daddr), in csum_ipv6_magic()
|
/arch/nios2/include/asm/ |
D | checksum.h | 47 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, in csum_tcpudp_nofold() argument 61 : "=r" (sum), "=r" (saddr) in csum_tcpudp_nofold() 64 "1" (saddr) in csum_tcpudp_nofold() 70 static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, in csum_tcpudp_magic() argument 74 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
|
/arch/sh/include/asm/ |
D | checksum_32.h | 114 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, in csum_tcpudp_nofold() argument 130 : "r" (daddr), "r" (saddr), "1" (len_proto), "0" (sum) in csum_tcpudp_nofold() 140 static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, in csum_tcpudp_magic() argument 144 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 157 static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr, in csum_ipv6_magic() argument 184 : "r" (saddr), "r" (daddr), in csum_ipv6_magic()
|
/arch/x86/include/asm/ |
D | checksum_32.h | 114 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, in csum_tcpudp_nofold() argument 123 : "g" (daddr), "g"(saddr), in csum_tcpudp_nofold() 132 static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, in csum_tcpudp_magic() argument 136 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 150 static inline __sum16 csum_ipv6_magic(const struct in6_addr *saddr, in csum_ipv6_magic() argument 166 : "r" (saddr), "r" (daddr), in csum_ipv6_magic()
|
D | checksum_64.h | 88 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument 96 : "g" (daddr), "g" (saddr), in csum_tcpudp_nofold() 113 static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, in csum_tcpudp_magic() argument 117 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 180 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr,
|
/arch/s390/include/asm/ |
D | checksum.h | 95 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, in csum_tcpudp_nofold() argument 100 csum += (__force __u32)saddr; in csum_tcpudp_nofold() 101 if (csum < (__force __u32)saddr) in csum_tcpudp_nofold() 121 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, in csum_tcpudp_magic() argument 124 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
|
D | gmap.h | 125 int gmap_shadow_r2t(struct gmap *sg, unsigned long saddr, unsigned long r2t, 127 int gmap_shadow_r3t(struct gmap *sg, unsigned long saddr, unsigned long r3t, 129 int gmap_shadow_sgt(struct gmap *sg, unsigned long saddr, unsigned long sgt, 131 int gmap_shadow_pgt(struct gmap *sg, unsigned long saddr, unsigned long pgt, 133 int gmap_shadow_pgt_lookup(struct gmap *sg, unsigned long saddr, 135 int gmap_shadow_page(struct gmap *sg, unsigned long saddr, pte_t pte);
|
/arch/xtensa/include/asm/ |
D | checksum.h | 125 static __inline__ __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, in csum_tcpudp_nofold() argument 150 : "r" (daddr), "r" (saddr), "1" (len_proto), "0" (sum)); in csum_tcpudp_nofold() 158 static __inline__ __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, in csum_tcpudp_magic() argument 162 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 176 static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr, in csum_ipv6_magic() argument 231 : "r" (saddr), "r" (daddr), in csum_ipv6_magic()
|
/arch/x86/um/asm/ |
D | checksum.h | 91 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument 99 : "g" (daddr), "g" (saddr), "g" ((len + proto) << 8), "0" (sum)); in csum_tcpudp_nofold() 107 static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, in csum_tcpudp_magic() argument 111 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
|
D | checksum_32.h | 14 static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr, in csum_ipv6_magic() argument 32 : "r" (saddr), "r" (daddr), in csum_ipv6_magic()
|
/arch/ia64/lib/ |
D | checksum.c | 38 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_magic() argument 42 (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_magic() 49 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument 54 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold()
|
/arch/alpha/include/asm/ |
D | checksum.h | 17 __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, 20 __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, 69 extern __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
|
/arch/ia64/include/asm/ |
D | checksum.h | 20 extern __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, 23 extern __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, 72 extern __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
|
/arch/powerpc/include/asm/ |
D | checksum.h | 57 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument 63 s += (__force u32)saddr; in csum_tcpudp_nofold() 79 : "r" (daddr), "r"(saddr), "r"(proto + len), "0"(sum)); in csum_tcpudp_nofold() 88 static inline __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_magic() argument 91 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 210 __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
|
/arch/unicore32/include/asm/ |
D | checksum.h | 20 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument 30 : "r" (sum), "r" (daddr), "r" (saddr), "r" (len), "Ir" (htons(proto)) in csum_tcpudp_nofold()
|
/arch/c6x/include/asm/ |
D | checksum.h | 10 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument 24 : "a" (saddr), "a" (daddr), "a" (proto)); in csum_tcpudp_nofold()
|
/arch/microblaze/include/asm/ |
D | checksum.h | 19 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument 27 : "d" (saddr), "d" (daddr), in csum_tcpudp_nofold()
|
/arch/alpha/lib/ |
D | checksum.c | 45 __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr, in csum_tcpudp_magic() argument 49 (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_magic() 54 __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, in csum_tcpudp_nofold() argument 59 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold()
|
/arch/csky/include/asm/ |
D | checksum.h | 26 static inline __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, in csum_tcpudp_nofold() argument 36 : "r"((__force u32)saddr), "r"((__force u32)daddr), in csum_tcpudp_nofold()
|
/arch/hexagon/include/asm/ |
D | checksum.h | 28 __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr, 32 __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
|
/arch/arc/include/asm/ |
D | checksum.h | 70 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, in csum_tcpudp_nofold() argument 80 : "r"(saddr), "r"(daddr), in csum_tcpudp_nofold()
|