/include/net/ |
A D | seg6.h | 20 __be32 diff[] = { ~from, to }; in update_csum_diff4() local 22 skb->csum = ~csum_partial((char *)diff, sizeof(diff), ~skb->csum); in update_csum_diff4() 28 __be32 diff[] = { in update_csum_diff16() local 33 skb->csum = ~csum_partial((char *)diff, sizeof(diff), ~skb->csum); in update_csum_diff16()
|
A D | checksum.h | 114 static __always_inline void csum_replace_by_diff(__sum16 *sum, __wsum diff) in csum_replace_by_diff() argument 116 *sum = csum_fold(csum_add(diff, ~csum_unfold(*sum))); in csum_replace_by_diff() 155 __wsum diff, bool pseudohdr, bool ipv6);
|
A D | ip_vs.h | 826 struct sk_buff *, int *diff, struct ip_vs_iphdr *ipvsh); 833 struct sk_buff *, int *diff, struct ip_vs_iphdr *ipvsh); 1731 __be32 diff[2] = { ~old, new }; in ip_vs_check_diff4() local 1733 return csum_partial(diff, sizeof(diff), oldsum); in ip_vs_check_diff4() 1740 __be32 diff[8] = { ~old[3], ~old[2], ~old[1], ~old[0], in ip_vs_check_diff16() local 1743 return csum_partial(diff, sizeof(diff), oldsum); in ip_vs_check_diff16() 1749 __be16 diff[2] = { ~old, new }; in ip_vs_check_diff2() local 1751 return csum_partial(diff, sizeof(diff), oldsum); in ip_vs_check_diff2()
|
A D | gro.h | 484 struct sk_buff *p, const u16 diff, in __gro_receive_network_flush() argument 487 const void *nh = th - diff; in __gro_receive_network_flush() 488 const void *nh2 = th2 - diff; in __gro_receive_network_flush()
|
/include/sound/ |
A D | pcm-indirect.h | 40 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_playback_transfer() local 43 if (diff) { in snd_pcm_indirect_playback_transfer() 44 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_playback_transfer() 45 diff += runtime->boundary; in snd_pcm_indirect_playback_transfer() 46 if (diff < 0) in snd_pcm_indirect_playback_transfer() 48 rec->sw_ready += (int)frames_to_bytes(runtime, diff); in snd_pcm_indirect_playback_transfer() 114 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_capture_transfer() local 116 if (diff) { in snd_pcm_indirect_capture_transfer() 118 diff += runtime->boundary; in snd_pcm_indirect_capture_transfer() 119 if (diff < 0) in snd_pcm_indirect_capture_transfer() [all …]
|
/include/linux/ |
A D | ptp_clock_kernel.h | 288 static inline bool diff_by_scaled_ppm(u64 base, long scaled_ppm, u64 *diff) in diff_by_scaled_ppm() argument 297 *diff = mul_u64_u64_div_u64(base, (u64)scaled_ppm, 1000000ULL << 16); in diff_by_scaled_ppm() 312 u64 diff; in adjust_by_scaled_ppm() local 314 if (diff_by_scaled_ppm(base, scaled_ppm, &diff)) in adjust_by_scaled_ppm() 315 return base - diff; in adjust_by_scaled_ppm() 317 return base + diff; in adjust_by_scaled_ppm()
|
A D | rmap.h | 202 int diff, mm_id_t mm_id) in __folio_large_mapcount_sanity_checks() argument 205 VM_WARN_ON_ONCE(diff <= 0); in __folio_large_mapcount_sanity_checks() 244 int diff, struct vm_area_struct *vma) in folio_add_return_large_mapcount() argument 263 folio->_mm_id_mapcount[0] += diff; in folio_add_return_large_mapcount() 270 folio->_mm_id_mapcount[1] += diff; in folio_add_return_large_mapcount() 278 folio->_mm_id_mapcount[0] = diff - 1; in folio_add_return_large_mapcount() 280 if (new_mapcount_val != diff - 1) in folio_add_return_large_mapcount() 284 folio->_mm_id_mapcount[1] = diff - 1; in folio_add_return_large_mapcount() 294 int diff, struct vm_area_struct *vma) in folio_sub_return_large_mapcount() argument 312 folio->_mm_id_mapcount[0] -= diff; in folio_sub_return_large_mapcount() [all …]
|
A D | ptp_classify.h | 149 __be64 diff[2] = { ~old, new }; in ptp_check_diff8() local 151 return csum_partial(diff, sizeof(diff), oldsum); in ptp_check_diff8()
|
A D | skbuff.h | 3306 unsigned int diff = len - skb->len; in __skb_grow() local 3308 if (skb_tailroom(skb) < diff) { in __skb_grow() 3309 int ret = pskb_expand_head(skb, 0, diff - skb_tailroom(skb), in __skb_grow()
|
/include/linux/iio/ |
A D | events.h | 27 #define _IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument 29 (((u64)type << 56) | ((u64)diff << 55) | \
|
/include/math-emu/ |
A D | op-common.h | 236 _FP_I_TYPE diff = X##_e - Y##_e; \ 238 if (diff < 0) \ 240 diff = -diff; \ 241 if (diff <= _FP_WFRACBITS_##fs) \ 249 if (diff > 0) \ 251 if (diff <= _FP_WFRACBITS_##fs) \ 293 _FP_FRAC_CLZ_##wc(diff, R); \ 294 diff -= _FP_WFRACXBITS_##fs; \ 295 if (diff) \ 297 R##_e -= diff; \ [all …]
|
/include/trace/events/ |
A D | btrfs.h | 1826 s64 diff, int type), 1833 __field( s64, diff ) 1840 __entry->diff = diff; 1857 __field( s64, diff ) 1863 __entry->diff = diff; 1876 TP_ARGS(root, diff), 1880 __field( s64, diff ) 1885 __entry->diff = diff; 1892 __entry->diff) 2349 __field( s64, diff ) [all …]
|