/openbmc/qemu/target/i386/hvf/ |
H A D | x86_flags.c | 126 SET_FLAGS_OSZAPC_32(SUB_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAPC_SUB32() 132 SET_FLAGS_OSZAPC_16(SUB_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAPC_SUB16() 138 SET_FLAGS_OSZAPC_8(SUB_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAPC_SUB8() 144 SET_FLAGS_OSZAPC_32(ADD_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAPC_ADD32() 156 SET_FLAGS_OSZAPC_8(ADD_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAPC_ADD8() 162 SET_FLAGS_OSZAP_32(SUB_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAP_SUB32() 168 SET_FLAGS_OSZAP_16(SUB_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAP_SUB16() 174 SET_FLAGS_OSZAP_8(SUB_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAP_SUB8() 180 SET_FLAGS_OSZAP_32(ADD_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAP_ADD32() 186 SET_FLAGS_OSZAP_16(ADD_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAP_ADD16() [all …]
|
H A D | x86_flags.h | 47 uint32_t diff); 49 uint16_t diff); 51 uint8_t diff); 54 uint32_t diff); 58 uint8_t diff); 61 uint32_t diff); 63 uint16_t diff); 65 uint8_t diff); 68 uint32_t diff); 70 uint16_t diff); [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/quilt/quilt/ |
H A D | 0001-test-Fix-a-race-condition-in-merge.test.patch | 20 diff --git a/test/merge.test b/test/merge.test 25 > Applying patch %{P}c.diff 26 > Now at patch %{P}c.diff 28 - $ quilt diff -P b.diff | grep -v "^\\(---\\|+++\\)" 29 + $ quilt diff -P b.diff >/dev/null 30 > Warning: more recent patches modify files in patch %{P}b.diff 31 + $ quilt diff -P b.diff 2>/dev/null | grep -v "^\\(---\\|+++\\)" 39 - $ quilt diff --combine a.diff -P b.diff | grep -v "^\\(---\\|+++\\)" 40 + $ quilt diff --combine a.diff -P b.diff >/dev/null 41 > Warning: more recent patches modify files in patch %{P}b.diff [all …]
|
/openbmc/linux/net/ipv6/ila/ |
H A D | ila_common.c | 44 __wsum diff, fval; in ila_csum_do_neutral_fmt() local 46 diff = get_csum_diff_iaddr(iaddr, p); in ila_csum_do_neutral_fmt() 51 diff = csum_add(diff, fval); in ila_csum_do_neutral_fmt() 67 __wsum diff; in ila_csum_do_neutral_nofmt() local 79 __wsum diff; in ila_csum_adjust_transport() local 87 diff = get_csum_diff(ip6h, p); in ila_csum_adjust_transport() 89 diff, true); in ila_csum_adjust_transport() 98 diff = get_csum_diff(ip6h, p); in ila_csum_adjust_transport() 100 diff, true); in ila_csum_adjust_transport() 112 diff = get_csum_diff(ip6h, p); in ila_csum_adjust_transport() [all …]
|
/openbmc/linux/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,
|
/openbmc/linux/fs/hfs/ |
H A D | sysdep.c | 19 int diff; in hfs_revalidate_dentry() local 29 diff = sys_tz.tz_minuteswest * 60 - HFS_I(inode)->tz_secondswest; in hfs_revalidate_dentry() 30 if (diff) { in hfs_revalidate_dentry() 33 inode_set_ctime(inode, ctime.tv_sec + diff, ctime.tv_nsec); in hfs_revalidate_dentry() 34 inode->i_atime.tv_sec += diff; in hfs_revalidate_dentry() 35 inode->i_mtime.tv_sec += diff; in hfs_revalidate_dentry() 36 HFS_I(inode)->tz_secondswest += diff; in hfs_revalidate_dentry()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_blit.c | 261 size_t offs = (diff_offs + diff->line_offset) / diff->cpp; in vmw_adjust_rect() 299 vmw_adjust_rect(diff, csize); in vmw_diff_memcpy() 300 byte_len = diff->cpp; in vmw_diff_memcpy() 306 diff->line_offset += csize; in vmw_diff_memcpy() 313 vmw_adjust_rect(diff, csize); in vmw_diff_memcpy() 317 diff->line_offset += n; in vmw_diff_memcpy() 346 struct vmw_diff_cpy *diff; member 362 struct vmw_diff_cpy *diff = d->diff; in vmw_bo_cpu_blit_line() local 412 diff->do_cpy(diff, d->dst_addr + dst_page_offset, in vmw_bo_cpu_blit_line() 452 struct vmw_diff_cpy *diff) in vmw_bo_cpu_blit() argument [all …]
|
/openbmc/linux/tools/perf/bench/ |
H A D | uprobe.c | 110 s64 diff_to_baseline = diff - baseline, in bench_uprobe_format__default_fprintf() 111 diff_to_previous = diff - previous; in bench_uprobe_format__default_fprintf() 114 printed += fprintf(fp, " %14s: %'" PRIu64 " %ss", "Total time", diff, unit); in bench_uprobe_format__default_fprintf() 123 printed += fprintf(fp, "\n\n %'.3f %ss/op", (double)diff / (double)loops, unit); in bench_uprobe_format__default_fprintf() 131 baseline = diff; in bench_uprobe_format__default_fprintf() 136 previous = diff; in bench_uprobe_format__default_fprintf() 145 u64 diff; in bench_uprobe() local 161 diff = end.tv_sec * NSEC_PER_SEC + end.tv_nsec - (start.tv_sec * NSEC_PER_SEC + start.tv_nsec); in bench_uprobe() 162 diff /= NSEC_PER_USEC; in bench_uprobe() 166 bench_uprobe_format__default_fprintf(name, unit, diff, stdout); in bench_uprobe() [all …]
|
H A D | breakpoint.c | 118 struct timeval start, stop, diff; in bench_breakpoint_thread() local 148 timersub(&stop, &start, &diff); in bench_breakpoint_thread() 158 (long)diff.tv_sec, (long)(diff.tv_usec / USEC_PER_MSEC)); in bench_breakpoint_thread() 159 result_usec = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in bench_breakpoint_thread() 167 printf("%lu.%03lu\n", (long)diff.tv_sec, (long)(diff.tv_usec / USEC_PER_MSEC)); in bench_breakpoint_thread() 204 struct timeval start, stop, diff; in bench_breakpoint_enable() local 238 timersub(&stop, &start, &diff); in bench_breakpoint_enable() 250 (long)diff.tv_sec, (long)(diff.tv_usec / USEC_PER_MSEC)); in bench_breakpoint_enable() 251 result_usec = diff.tv_sec * USEC_PER_SEC + diff.tv_usec; in bench_breakpoint_enable() 255 printf("%lu.%03lu\n", (long)diff.tv_sec, (long)(diff.tv_usec / USEC_PER_MSEC)); in bench_breakpoint_enable()
|
H A D | syscall.c | 78 struct timeval start, stop, diff; in bench_syscall_common() local 113 timersub(&stop, &start, &diff); in bench_syscall_common() 136 result_usec = diff.tv_sec * 1000000; in bench_syscall_common() 137 result_usec += diff.tv_usec; in bench_syscall_common() 140 (unsigned long) diff.tv_sec, in bench_syscall_common() 141 (unsigned long) (diff.tv_usec/1000)); in bench_syscall_common() 152 (unsigned long) diff.tv_sec, in bench_syscall_common() 153 (unsigned long) (diff.tv_usec / 1000)); in bench_syscall_common()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/rocksdb/files/ |
H A D | 0001-replace-old-sync-with-new-atomic-builtin-equivalents.patch | 22 U diff) { 24 - return __sync_fetch_and_add(addr, diff); 25 + return __atomic_fetch_add(addr, diff, 5); 29 U diff) { 31 - return __sync_add_and_fetch(addr, diff); 32 + return __atomic_add_fetch(addr, diff, 5); 36 U diff) { 38 - return __sync_fetch_and_sub(addr, diff); 39 + return __atomic_fetch_sub(addr, diff, 5); 45 - return __sync_sub_and_fetch(addr, diff); [all …]
|
/openbmc/linux/arch/x86/math-emu/ |
H A D | reg_add_sub.c | 59 diff = expa - expb; in FPU_add() 60 if (!diff) { in FPU_add() 63 if (!diff) { in FPU_add() 65 if (!diff) in FPU_add() 70 if (diff > 0) { in FPU_add() 74 } else if (diff < 0) { in FPU_add() 169 diff = expa - expb; in FPU_sub() 171 if (!diff) { in FPU_sub() 173 if (!diff) { in FPU_sub() 175 if (!diff) in FPU_sub() [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_rect.c | 95 int diff; in drm_rect_clip_scaled() local 97 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled() 98 if (diff > 0) { in drm_rect_clip_scaled() 103 dst->x1 += diff; in drm_rect_clip_scaled() 105 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled() 106 if (diff > 0) { in drm_rect_clip_scaled() 111 dst->y1 += diff; in drm_rect_clip_scaled() 114 if (diff > 0) { in drm_rect_clip_scaled() 119 dst->x2 -= diff; in drm_rect_clip_scaled() 122 if (diff > 0) { in drm_rect_clip_scaled() [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | buildstats-diff | 74 diff = BSVerDiff(bs1, bs2) 79 if diff.new: 82 for name, val in sorted(diff.new.items()): 85 if diff.dropped: 92 if diff.rchanged: 100 if diff.vchanged: 108 if diff.echanged: 183 for diff in tasks_diff: 184 task_prefix = diff.task_op if diff.pkg_op == ' ' else ' ' 185 linedata.append((diff.pkg_op, diff.pkg, task_prefix, diff.task, [all …]
|
H A D | sstate-sysroot-cruft.sh | 26 Text file, each line is regular expression for paths we want to ignore in resulting diff. 27 You can use diff file from the script output, if it contains only expected exceptions. 161 diff ${OUTPUT}/master.list.all.txt ${OUTPUT}/master.list.txt > ${OUTPUT}/duplicates.txt 162 diff ${OUTPUT}/master.list.txt ${OUTPUT}/sysroot.list.txt > ${OUTPUT}/diff.all.txt 164 grep "^> ." ${OUTPUT}/diff.all.txt | sed 's/^> //g' > ${OUTPUT}/diff.txt 166 sed -i "\\#^${item}\$#d" ${OUTPUT}/diff.txt; 173 sed -i "\\#^${item}\$#d" ${OUTPUT}/diff.txt; 180 RESULT=`cat ${OUTPUT}/diff.txt | wc -l` 185 cat ${OUTPUT}/diff.txt
|
/openbmc/u-boot/post/drivers/ |
H A D | rtc.c | 31 static int rtc_post_skip (ulong * diff) in rtc_post_skip() argument 51 *diff = start2 - start1; in rtc_post_skip() 71 ulong diff; in rtc_post_test() local 87 if (rtc_post_skip (&diff) != 0) { in rtc_post_test() 94 if (rtc_post_skip (&diff) != 0) { in rtc_post_test() 100 if (diff < 950 || diff > 1050) { in rtc_post_test() 109 if (rtc_post_skip (&diff) != 0) { in rtc_post_test() 131 if (rtc_post_skip (&diff) != 0) { in rtc_post_test() 163 if (rtc_post_skip (&diff) != 0) { in rtc_post_test()
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_replay.c | 124 u32 diff; in xfrm_replay_check_legacy() local 136 diff = x->replay.seq - seq; in xfrm_replay_check_legacy() 158 u32 diff, seq; in xfrm_replay_advance() local 238 if (pos >= diff) in xfrm_replay_check_bmp() 260 u32 diff; in xfrm_replay_advance_bmp() local 291 if (pos >= diff) in xfrm_replay_advance_bmp() 455 u32 diff; in xfrm_replay_check_esn() local 470 diff = top - seq; in xfrm_replay_check_esn() 481 diff = ~seq + top + 1; in xfrm_replay_check_esn() 491 if (pos >= diff) in xfrm_replay_check_esn() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/kconfig-frontends/files/ |
H A D | 0001-Switch-utils-kconfig-diff-to-use-Python-3.patch | 4 Subject: [PATCH] Switch utils/kconfig-diff to use Python 3 11 utils/kconfig-diff | 2 +- 14 diff --git a/utils/kconfig-diff b/utils/kconfig-diff 16 --- a/utils/kconfig-diff 17 +++ b/utils/kconfig-diff
|
/openbmc/linux/fs/afs/ |
H A D | vl_alias.c | 42 int addr_a, addr_b, diff; in afs_compare_addrs() local 45 if (diff) in afs_compare_addrs() 54 diff = addr_a - addr_b; in afs_compare_addrs() 55 if (diff == 0) { in afs_compare_addrs() 67 if (diff == 0) { in afs_compare_addrs() 77 diff = 1; in afs_compare_addrs() 81 return diff; in afs_compare_addrs() 101 if (diff < 0) { in afs_compare_fs_alists() 103 } else if (diff > 0) { in afs_compare_fs_alists() 137 if (diff < 0) { in afs_compare_volume_slists() [all …]
|
/openbmc/linux/include/sound/ |
H 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 …]
|
/openbmc/linux/net/batman-adv/ |
H A D | bitarray.h | 30 s32 diff; in batadv_test_bit() local 32 diff = last_seqno - curr_seqno; in batadv_test_bit() 33 if (diff < 0 || diff >= BATADV_TQ_LOCAL_WINDOW_SIZE) in batadv_test_bit() 35 return test_bit(diff, seq_bits) != 0; in batadv_test_bit()
|
/openbmc/linux/tools/perf/util/bpf_skel/ |
H A D | bpf_prog_profiler.bpf.c | 55 struct bpf_perf_event_value *before, diff; in fexit_update_maps() local 63 diff.counter = after->counter - before->counter; in fexit_update_maps() 64 diff.enabled = after->enabled - before->enabled; in fexit_update_maps() 65 diff.running = after->running - before->running; in fexit_update_maps() 69 accum->counter += diff.counter; in fexit_update_maps() 70 accum->enabled += diff.enabled; in fexit_update_maps() 71 accum->running += diff.running; in fexit_update_maps()
|
/openbmc/linux/drivers/video/fbdev/vermilion/ |
H A D | cr_pll.c | 91 int diff; in crvml_nearest_index() local 96 diff = clock - crvml_clocks[i]; in crvml_nearest_index() 97 diff = (diff < 0) ? -diff : diff; in crvml_nearest_index() 98 if (diff < cur_diff) { in crvml_nearest_index() 100 cur_diff = diff; in crvml_nearest_index()
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | hwt.c | 221 long diff ; in hwt_wait_time() local 236 diff = (long)(start - hwt_quick_read(smc)) ; in hwt_wait_time() 237 if (diff < 0) { in hwt_wait_time() 238 diff += interval ; in hwt_wait_time() 240 } while (diff <= duration) ; in hwt_wait_time() 243 diff = interval ; in hwt_wait_time() 248 diff += interval ; in hwt_wait_time() 257 } while (diff <= duration) ; in hwt_wait_time()
|
/openbmc/qemu/tests/qtest/ |
H A D | rtl8139-test.c | 75 unsigned cnt, diff; in test_timer() local 97 diff = (curr-prev) & 0xffffffffu; in test_timer() 98 if (diff < from || diff > to) { in test_timer() 99 fatal("Invalid diff %u (%u-%u)\n", diff, from, to); in test_timer() 157 diff = (curr-prev) & 0xffffffffu; in test_timer() 158 if (diff < from || diff > to) { in test_timer() 159 fatal("Invalid diff %u (%u-%u)\n", diff, from, to); in test_timer()
|