/linux-master/net/batman-adv/ |
H A D | bitarray.h | 30 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 D | sysdep.c | 19 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 D | permissive.h | 38 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 D | powerpc-hcalls.py | 176 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 D | func_profile_stat.tc | 12 : "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 D | gen-diff-patch | 8 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 D | mpih-cmp.c | 34 goto diff; 38 diff:
|
/linux-master/net/ipv6/ila/ |
H A D | ila_common.c | 44 __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 D | bpf_prog_profiler.bpf.c | 55 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 D | uprobe.c | 108 static int bench_uprobe_format__default_fprintf(const char *name, const char *unit, u64 diff, FILE *fp) argument 111 s64 diff_to_baseline = diff - baseline, 112 diff_to_previous = diff - previous; 115 printed += fprintf(fp, " %14s: %'" PRIu64 " %ss", "Total time", diff, unit); 124 printed += fprintf(fp, "\n\n %'.3f %ss/op", (double)diff / (double)loops, unit); 132 baseline = diff; 137 previous = diff; 146 u64 diff; local 162 diff = end.tv_sec * NSEC_PER_SEC + end.tv_nsec - (start.tv_sec * NSEC_PER_SEC + start.tv_nsec); 163 diff / [all...] |
H A D | syscall.c | 78 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 D | kallsyms-parse.c | 37 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 D | breakpoint.c | 118 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 D | find-bit-bench.c | 58 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 D | sched-seccomp-notify.c | 97 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 D | seg6.h | 20 __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 D | hwt.c | 221 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 D | drm_rect.c | 95 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 D | test_xdp_meta.c | 15 __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 D | stat+shadow_stat.sh | 41 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 D | profiler.bpf.c | 79 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 D | reg_add_sub.c | 45 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 D | vmwgfx_blit.c | 72 * 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 D | rtcpie.c | 35 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 D | events.h | 15 * @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) | \
|