Searched refs:diff (Results 1 - 25 of 479) sorted by relevance

1234567891011>>

/linux-master/net/batman-adv/
H A Dbitarray.h30 s32 diff; local
32 diff = last_seqno - curr_seqno;
33 if (diff < 0 || diff >= BATADV_TQ_LOCAL_WINDOW_SIZE)
35 return test_bit(diff, seq_bits) != 0;
/linux-master/fs/hfs/
H A Dsysdep.c19 int diff; local
29 diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest;
30 if (diff) {
33 inode_set_ctime(inode, ts.tv_sec + diff, ts.tv_nsec);
35 inode_set_atime(inode, ts.tv_sec + diff, ts.tv_nsec);
37 inode_set_mtime(inode, ts.tv_sec + diff, ts.tv_nsec);
38 HFS_I(inode)->tz_secondswest += diff;
/linux-master/kernel/kcsan/
H A Dpermissive.h38 kcsan_ignore_data_race(size_t size, int type, u64 old, u64 new, u64 diff) argument
80 if (hweight64(diff) == 1) {
87 if (!((!old || !new) && diff == 1))
/linux-master/tools/perf/scripts/python/
H A Dpowerpc-hcalls.py176 diff = nsecs(sec, nsec) - d_enter[cpu][opcode]
179 output[opcode]['time'] += diff
181 if (output[opcode]['min'] > diff):
182 output[opcode]['min'] = diff
183 if (output[opcode]['max'] < diff):
184 output[opcode]['max'] = diff
187 'time': diff,
189 'min': diff,
190 'max': diff,
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_profile_stat.tc12 : "diff returns 0 if there is no difference"
13 ! diff trace_stat/function0 $TMPDIR/function0
20 : "diff returns 0 if there is no difference"
21 diff trace_stat/function0 $TMPDIR/function0
/linux-master/scripts/package/
H A Dgen-diff-patch8 git -C "${srctree:-.}" diff HEAD > "${diff_patch}"
16 # you committed in the repository. If you have local diff ('git diff HEAD'),
33 echo >&2 "Your working tree has diff from HEAD, and also untracked file(s)."
/linux-master/lib/crypto/mpi/
H A Dmpih-cmp.c34 goto diff;
38 diff:
/linux-master/net/ipv6/ila/
H A Dila_common.c44 __wsum diff, fval; local
46 diff = get_csum_diff_iaddr(iaddr, p);
51 diff = csum_add(diff, fval);
53 *adjust = ~csum_fold(csum_add(diff, csum_unfold(*adjust)));
67 __wsum diff; local
69 diff = get_csum_diff_iaddr(iaddr, p);
71 *adjust = ~csum_fold(csum_add(diff, csum_unfold(*adjust)));
79 __wsum diff; local
87 diff
[all...]
/linux-master/tools/perf/util/bpf_skel/
H A Dbpf_prog_profiler.bpf.c55 struct bpf_perf_event_value *before, diff; local
63 diff.counter = after->counter - before->counter;
64 diff.enabled = after->enabled - before->enabled;
65 diff.running = after->running - before->running;
69 accum->counter += diff.counter;
70 accum->enabled += diff.enabled;
71 accum->running += diff.running;
/linux-master/tools/perf/bench/
H A Duprobe.c112 static int bench_uprobe_format__default_fprintf(const char *name, const char *unit, u64 diff, FILE *fp) argument
115 s64 diff_to_baseline = diff - baseline,
116 diff_to_previous = diff - previous;
119 printed += fprintf(fp, " %14s: %'" PRIu64 " %ss", "Total time", diff, unit);
128 printed += fprintf(fp, "\n\n %'.3f %ss/op", (double)diff / (double)loops, unit);
136 baseline = diff;
141 previous = diff;
150 u64 diff; local
166 diff = end.tv_sec * NSEC_PER_SEC + end.tv_nsec - (start.tv_sec * NSEC_PER_SEC + start.tv_nsec);
167 diff /
[all...]
H A Dsyscall.c78 struct timeval start, stop, diff; local
113 timersub(&stop, &start, &diff);
136 result_usec = diff.tv_sec * 1000000;
137 result_usec += diff.tv_usec;
140 (unsigned long) diff.tv_sec,
141 (unsigned long) (diff.tv_usec/1000));
152 (unsigned long) diff.tv_sec,
153 (unsigned long) (diff.tv_usec / 1000));
H A Dkallsyms-parse.c37 struct timeval start, end, diff; local
54 timersub(&end, &start, &diff);
55 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec;
H A Dbreakpoint.c118 struct timeval start, stop, diff; local
148 timersub(&stop, &start, &diff);
158 (long)diff.tv_sec, (long)(diff.tv_usec / USEC_PER_MSEC));
159 result_usec = diff.tv_sec * USEC_PER_SEC + diff.tv_usec;
167 printf("%lu.%03lu\n", (long)diff.tv_sec, (long)(diff.tv_usec / USEC_PER_MSEC));
204 struct timeval start, stop, diff; local
238 timersub(&stop, &start, &diff);
[all...]
H A Dfind-bit-bench.c58 struct timeval start, end, diff; local
86 timersub(&end, &start, &diff);
87 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec;
102 timersub(&end, &start, &diff);
103 runtime_us = diff.tv_sec * USEC_PER_SEC + diff.tv_usec;
H A Dsched-seccomp-notify.c97 struct timeval start, stop, diff; local
143 timersub(&stop, &start, &diff);
150 result_usec = diff.tv_sec * USEC_PER_SEC;
151 result_usec += diff.tv_usec;
154 (unsigned long) diff.tv_sec,
155 (unsigned long) (diff.tv_usec / USEC_PER_MSEC));
166 (unsigned long) diff.tv_sec,
167 (unsigned long) (diff.tv_usec / USEC_PER_MSEC));
/linux-master/include/net/
H A Dseg6.h20 __be32 diff[] = { ~from, to }; local
22 skb->csum = ~csum_partial((char *)diff, sizeof(diff), ~skb->csum);
28 __be32 diff[] = { local
33 skb->csum = ~csum_partial((char *)diff, sizeof(diff), ~skb->csum);
/linux-master/drivers/net/fddi/skfp/
H A Dhwt.c221 long diff ; local
236 diff = (long)(start - hwt_quick_read(smc)) ;
237 if (diff < 0) {
238 diff += interval ;
240 } while (diff <= duration) ;
243 diff = interval ;
248 diff += interval ;
257 } while (diff <= duration) ;
/linux-master/drivers/gpu/drm/
H A Ddrm_rect.c95 int diff; local
97 diff = clip->x1 - dst->x1;
98 if (diff > 0) {
100 drm_rect_width(dst), &diff);
103 dst->x1 += diff;
105 diff = clip->y1 - dst->y1;
106 if (diff > 0) {
108 drm_rect_height(dst), &diff);
111 dst->y1 += diff;
113 diff
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_meta.c15 __u32 diff = 0; local
25 diff |= ((__u32 *)data_meta)[0] ^ ((__u32 *)data)[0];
26 diff |= ((__u16 *)data_meta)[2] ^ ((__u16 *)data)[2];
28 return diff ? TC_ACT_SHOT : TC_ACT_OK;
/linux-master/tools/perf/tests/shell/
H A Dstat+shadow_stat.sh41 diff=`echo $ipc $res $THRESHOLD | \
44 if [ $diff -eq 1 ]; then
83 diff=`echo $ipc $res $THRESHOLD | \
86 if [ $diff -eq 1 ]; then
/linux-master/tools/bpf/bpftool/skeleton/
H A Dprofiler.bpf.c79 struct bpf_perf_event_value___local *before, diff; local
86 diff.counter = after->counter - before->counter;
87 diff.enabled = after->enabled - before->enabled;
88 diff.running = after->running - before->running;
92 accum->counter += diff.counter;
93 accum->enabled += diff.enabled;
94 accum->running += diff.running;
/linux-master/arch/x86/math-emu/
H A Dreg_add_sub.c45 int diff, tag, expa, expb; local
59 diff = expa - expb;
60 if (!diff) {
61 diff = a->sigh - b->sigh; /* This works only if the ms bits
63 if (!diff) {
64 diff = a->sigl > b->sigl;
65 if (!diff)
66 diff = -(a->sigl < b->sigl);
70 if (diff > 0) {
74 } else if (diff <
134 int diff, tag = 0, expa, expb, deststnr; local
[all...]
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_blit.c72 * Instantiate find diff functions for relevant unsigned integer sizes,
241 * @diff: The struct vmw_diff_cpy closure argument (unused).
246 void vmw_memcpy(struct vmw_diff_cpy *diff, u8 *dest, const u8 *src, size_t n) argument
255 * @diff: The struct vmw_diff_cpy used to track the modified bounding box.
256 * @diff_offs: The offset from @diff->line_offset where the difference was
259 static void vmw_adjust_rect(struct vmw_diff_cpy *diff, size_t diff_offs) argument
261 size_t offs = (diff_offs + diff->line_offset) / diff->cpp;
262 struct drm_rect *rect = &diff->rect;
266 rect->y1 = min_t(int, rect->y1, diff
288 vmw_diff_memcpy(struct vmw_diff_cpy *diff, u8 *dest, const u8 *src, size_t n) argument
346 struct vmw_diff_cpy *diff; member in struct:vmw_bo_blit_line_data
362 struct vmw_diff_cpy *diff = d->diff; local
447 vmw_bo_cpu_blit(struct ttm_buffer_object *dst, u32 dst_offset, u32 dst_stride, struct ttm_buffer_object *src, u32 src_offset, u32 src_stride, u32 w, u32 h, struct vmw_diff_cpy *diff) argument
[all...]
/linux-master/tools/testing/selftests/timers/
H A Drtcpie.c35 struct timeval start, end, diff; local
111 timersub(&end, &start, &diff);
112 if (diff.tv_sec > 0 ||
113 diff.tv_usec > ((1000000L / tmp) * 1.10)) {
115 diff.tv_sec, diff.tv_usec,
/linux-master/include/linux/iio/
H A Devents.h15 * @diff: Whether the event is for an differential channel or not.
24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \
26 (((u64)type << 56) | ((u64)diff << 55) | \

Completed in 341 milliseconds

1234567891011>>