Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 8 of 8) sorted by relevance

/include/net/
Dseg6.h20 __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()
Dchecksum.h124 static __always_inline void csum_replace_by_diff(__sum16 *sum, __wsum diff) in csum_replace_by_diff() argument
126 *sum = csum_fold(csum_add(diff, ~csum_unfold(*sum))); in csum_replace_by_diff()
159 __wsum diff, bool pseudohdr);
Dip_vs.h764 struct sk_buff *, int *diff, struct ip_vs_iphdr *ipvsh);
771 struct sk_buff *, int *diff, struct ip_vs_iphdr *ipvsh);
1588 __be32 diff[2] = { ~old, new }; in ip_vs_check_diff4() local
1590 return csum_partial(diff, sizeof(diff), oldsum); in ip_vs_check_diff4()
1597 __be32 diff[8] = { ~old[3], ~old[2], ~old[1], ~old[0], in ip_vs_check_diff16() local
1600 return csum_partial(diff, sizeof(diff), oldsum); in ip_vs_check_diff16()
1606 __be16 diff[2] = { ~old, new }; in ip_vs_check_diff2() local
1608 return csum_partial(diff, sizeof(diff), oldsum); in ip_vs_check_diff2()
/include/sound/
Dpcm-indirect.h40 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()
109 snd_pcm_sframes_t diff = appl_ptr - rec->appl_ptr; in snd_pcm_indirect_capture_transfer() local
111 if (diff) { in snd_pcm_indirect_capture_transfer()
112 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer()
113 diff += runtime->boundary; in snd_pcm_indirect_capture_transfer()
[all …]
/include/linux/iio/
Devents.h24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument
26 (((u64)type << 56) | ((u64)diff << 55) | \
/include/math-emu/
Dop-common.h236 _FP_I_TYPE diff = X##_e - Y##_e; \
238 if (diff < 0) \
240 diff = -diff; \
241 if (diff <= _FP_WFRACBITS_##fs) \
242 _FP_FRAC_SRS_##wc(X, diff, _FP_WFRACBITS_##fs); \
249 if (diff > 0) \
251 if (diff <= _FP_WFRACBITS_##fs) \
252 _FP_FRAC_SRS_##wc(Y, diff, _FP_WFRACBITS_##fs); \
293 _FP_FRAC_CLZ_##wc(diff, R); \
294 diff -= _FP_WFRACXBITS_##fs; \
[all …]
/include/trace/events/
Dbtrfs.h1752 s64 diff, int type),
1754 TP_ARGS(fs_info, qgroup, diff, type),
1759 __field( s64, diff )
1766 __entry->diff = diff;
1772 __entry->cur_reserved, __entry->diff)
1777 TP_PROTO(struct btrfs_root *root, s64 diff, int type),
1779 TP_ARGS(root, diff, type),
1783 __field( s64, diff )
1789 __entry->diff = diff;
1795 __print_symbolic(__entry->type, QGROUP_RSV_TYPES), __entry->diff)
[all …]
/include/linux/
Dskbuff.h3066 unsigned int diff = len - skb->len; in __skb_grow() local
3068 if (skb_tailroom(skb) < diff) { in __skb_grow()
3069 int ret = pskb_expand_head(skb, 0, diff - skb_tailroom(skb), in __skb_grow()