/linux/tools/perf/pmu-events/ |
H A D | metric_test.py | 43 before = '(a + b + c + d) / (2 * e)' 44 after = before 45 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after) 49 before = r'topdown\-fe\-bound / topdown\-slots - 1' 50 after = before 51 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after) 55 before = r'arb@event\=0x81\,umask\=0x1@ + arb@event\=0x84\,umask\=0x1@' 56 after = before 57 self.assertEqual(ParsePerfJson(before).ToPerfJson(), after) 60 before = r'a + 1e12 + b' [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_subprog_precision.c | 43 __msg("mark_precise: frame0: regs=r0 stack= before 6: (bf) r1 = r7") 44 __msg("mark_precise: frame0: regs=r0 stack= before 5: (27) r0 *= 4") 45 __msg("mark_precise: frame0: regs=r0 stack= before 11: (95) exit") 46 __msg("mark_precise: frame1: regs=r0 stack= before 10: (bf) r0 = r1") 47 __msg("mark_precise: frame1: regs=r1 stack= before 4: (85) call pc+5") 48 __msg("mark_precise: frame0: regs=r1 stack= before 3: (bf) r1 = r6") 49 __msg("mark_precise: frame0: regs=r6 stack= before 2: (b7) r6 = 3") 103 __msg("mark_precise: frame0: regs=r0 stack= before 5: (bf) r1 = r6") 104 __msg("mark_precise: frame0: regs=r0 stack= before 4: (27) r0 *= 4") 105 __msg("mark_precise: frame0: regs=r0 stack= before 3: (57) r0 &= 3") [all …]
|
H A D | verifier_precision.c | 9 __msg("mark_precise: frame0: regs=r2 stack= before 3: (bf) r1 = r10") 10 __msg("mark_precise: frame0: regs=r2 stack= before 2: (55) if r2 != 0xfffffff8 goto pc+2") 11 __msg("mark_precise: frame0: regs=r2 stack= before 1: (87) r2 = -r2") 12 __msg("mark_precise: frame0: regs=r2 stack= before 0: (b7) r2 = 8") 29 __msg("mark_precise: frame0: regs=r2 stack= before 3: (bf) r1 = r10") 30 __msg("mark_precise: frame0: regs=r2 stack= before 2: (55) if r2 != 0x0 goto pc+2") 31 __msg("mark_precise: frame0: regs=r2 stack= before 1: (d4) r2 = le16 r2") 32 __msg("mark_precise: frame0: regs=r2 stack= before 0: (b7) r2 = 0") 50 __msg("mark_precise: frame0: regs=r2 stack= before 3: (bf) r1 = r10") 51 __msg("mark_precise: frame0: regs=r2 stack= before 2: (55) if r2 != 0x0 goto pc+2") [all …]
|
H A D | verifier_scalar_ids.c | 17 __msg("frame0: regs=r0 stack= before 4: (25) if r1 > 0x7 goto pc+0") 19 __msg("frame0: regs=r0,r1,r2 stack= before 3: (bf) r2 = r0") 23 __msg("frame0: regs=r0 stack= before 5: (bf) r3 = r10") 24 __msg("frame0: regs=r0 stack= before 4: (25) if r1 > 0x7 goto pc+0") 57 __msg("frame0: regs=r0 stack= before 5: (2d) if r1 > r3 goto pc+0") in __flag() 59 __msg("frame0: regs=r0,r1,r2,r3 stack= before 4: (b7) r3 = 7") in __flag() 90 __msg("frame0: regs=r3 stack= before 5: (2d) if r1 > r3 goto pc+0") in __flag() 92 __msg("frame0: regs=r0,r1,r2,r3 stack= before 4: (b7) r3 = 7") in __flag() 122 __msg("frame0: regs=r0 stack= before 6: (bf) r3 = r10") 124 __msg("frame0: regs=r0 stack= before 5: (25) if r0 > 0x7 goto pc+0") [all …]
|
H A D | verifier_spill_fill.c | 522 __msg("mark_precise: frame0: regs=r2 stack= before 10: (71) r2 = *(u8 *)(r10 -9)") 523 __msg("mark_precise: frame0: regs= stack=-16 before 9: (bf) r1 = r6") 524 __msg("mark_precise: frame0: regs= stack=-16 before 8: (73) *(u8 *)(r1 +0) = r2") 525 __msg("mark_precise: frame0: regs= stack=-16 before 7: (0f) r1 += r2") 526 __msg("mark_precise: frame0: regs= stack=-16 before 6: (71) r2 = *(u8 *)(r10 -1)") 527 __msg("mark_precise: frame0: regs= stack=-16 before 5: (bf) r1 = r6") 528 __msg("mark_precise: frame0: regs= stack=-16 before 4: (7b) *(u64 *)(r10 -16) = r0") 529 __msg("mark_precise: frame0: regs=r0 stack= before 3: (b7) r0 = 0") 604 __msg("mark_precise: frame0: regs=r2 stack= before 4: (71) r2 = *(u8 *)(r10 -1)") 650 __msg("mark_precise: frame0: regs=r2 stack= before 8: (79) r2 = *(u64 *)(r10 -8)") in __flag() [all …]
|
/linux/tools/testing/selftests/bpf/verifier/ |
H A D | precise.c | 42 mark_precise: frame0: regs=r2 stack= before 25\ 43 mark_precise: frame0: regs=r2 stack= before 24\ 44 mark_precise: frame0: regs=r2 stack= before 23\ 45 mark_precise: frame0: regs=r2 stack= before 22\ 46 mark_precise: frame0: regs=r2 stack= before 20\ 49 mark_precise: frame0: regs=r2,r9 stack= before 19\ 50 mark_precise: frame0: regs=r9 stack= before 18\ 51 mark_precise: frame0: regs=r8,r9 stack= before 17\ 52 mark_precise: frame0: regs=r0,r9 stack= before 15\ 53 mark_precise: frame0: regs=r0,r9 stack= before 14\ [all …]
|
/linux/tools/memory-model/Documentation/ |
H A D | explanation.txt | 28 20. THE HAPPENS-BEFORE RELATION: hb 29 21. THE PROPAGATES-BEFORE RELATION: pb 150 private variables before using them. All that is beside the point; 163 instance, P1 might run entirely before P0 begins, in which case r1 and 164 r2 will both be 0 at the end. Or P0 might run entirely before P1 169 store to buf but before the store to flag. In this case, r1 and r2 197 Since r1 = 1, P0 must store 1 to flag before P1 loads 1 from 200 P1 loads from flag before loading from buf, since CPUs execute 203 P1 must load 0 from buf before P0 stores 1 to it; otherwise r2 207 P0 stores 1 to buf before storing 1 to flag, since it executes [all …]
|
/linux/tools/perf/util/bpf_skel/ |
H A D | bpf_prog_profiler.bpf.c | 40 /* look up before reading, to reduce error */ in BPF_PROG() 55 struct bpf_perf_event_value *before, diff; in fexit_update_maps() local 58 before = bpf_map_lookup_elem(&fentry_readings, &zero); in fexit_update_maps() 60 if (before && before->counter) { in fexit_update_maps() 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() 83 /* read all events before updating the maps, to reduce error */ in BPF_PROG()
|
/linux/tools/bpf/bpftool/skeleton/ |
H A D | profiler.bpf.c | 52 /* look up before reading, to reduce error */ in BPF_PROG() 79 struct bpf_perf_event_value___local *before, diff; in fexit_update_maps() local 81 before = bpf_map_lookup_elem(&fentry_readings, &id); in fexit_update_maps() 83 if (before && before->counter) { in fexit_update_maps() 86 diff.counter = after->counter - before->counter; in fexit_update_maps() 87 diff.enabled = after->enabled - before->enabled; in fexit_update_maps() 88 diff.running = after->running - before->running; in fexit_update_maps() 108 /* read all events before updating the maps, to reduce error */ in BPF_PROG()
|
/linux/Documentation/virt/kvm/x86/ |
H A D | cpuid.rst | 11 mask-out some, or even all KVM-related cpuid features before launching 66 before enabling paravirtualized 70 before enabling paravirtualized 78 before enabling paravirtualized 86 before using paravirtualized 90 before using the second async 96 before using extended destination 99 KVM_FEATURE_HC_MAP_GPA_RANGE 16 guest checks this feature bit before 103 KVM_FEATURE_MIGRATION_CONTROL 17 guest checks this feature bit before
|
/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | sock.c | 407 struct tcp_ao_counters *before, in __test_tcp_ao_counters_cmp() argument 413 if (before->cnt > after->cnt) { \ in __test_tcp_ao_counters_cmp() 415 tst_name ?: "", before->cnt, after->cnt); \ in __test_tcp_ao_counters_cmp() 418 if ((before->cnt != after->cnt) != (expecting_inc)) { \ in __test_tcp_ao_counters_cmp() 421 before->cnt, after->cnt); \ in __test_tcp_ao_counters_cmp() 448 struct tcp_ao_counters *before, in test_tcp_ao_key_counters_cmp() argument 456 if (before->key_cnts[i].cnt > after->key_cnts[i].cnt) { \ in test_tcp_ao_key_counters_cmp() 458 tst_name ?: "", before->key_cnts[i].cnt, \ in test_tcp_ao_key_counters_cmp() 460 before->key_cnts[i].sndid, \ in test_tcp_ao_key_counters_cmp() 461 before->key_cnts[i].rcvid); \ in test_tcp_ao_key_counters_cmp() [all …]
|
/linux/include/linux/ |
H A D | entry-common.h | 105 * enable interrupts before invoking syscall_enter_from_user_mode_work(). 142 * syscall_enter_from_user_mode_work - Check and handle work before invoking 176 * before invoking a syscall 263 * function before return. Defaults to NOOP. 276 * arch_exit_to_user_mode - Architecture specific final work before 280 * function before return. Defaults to NOOP. 303 * exit_to_user_mode_loop - do any pending work before leaving to user space 324 /* Flush pending rcuog wakeup before the last need_resched() check */ in exit_to_user_mode_prepare() 352 * is not suitable as the last step before returning to userspace. Must be 355 * The caller has to invoke syscall_exit_to_user_mode_work() before this. [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | uprobe_syscall.c | 26 __naked void uretprobe_regs(struct pt_regs *before, struct pt_regs *after) in uretprobe_regs() argument 98 struct pt_regs before = {}, after = {}; in test_uretprobe_regs_equal() local 99 unsigned long *pb = (unsigned long *) &before; in test_uretprobe_regs_equal() 113 uretprobe_regs(&before, &after); in test_uretprobe_regs_equal() 116 cnt = sizeof(before)/sizeof(*pb); in test_uretprobe_regs_equal() 122 * Check register before and after uretprobe_regs_trigger call in test_uretprobe_regs_equal() 130 if (!ASSERT_EQ(pb[i], pa[i], "register before-after value check")) in test_uretprobe_regs_equal() 180 struct pt_regs before = {}, after = {}; in test_uretprobe_regs_change() local 181 unsigned long *pb = (unsigned long *) &before; in test_uretprobe_regs_change() 183 unsigned long cnt = sizeof(before)/sizeof(*pb); in test_uretprobe_regs_change() [all …]
|
H A D | uprobe_multi_test.c | 834 unsigned long before, unsigned long after, in uprobe_consumer_test() argument 839 /* detach uprobe for each unset programs in 'before' state ... */ in uprobe_consumer_test() 841 if (test_bit(idx, before) && !test_bit(idx, after)) in uprobe_consumer_test() 847 if (!test_bit(idx, before) && test_bit(idx, after)) { in uprobe_consumer_test() 864 noinline int func(struct uprobe_multi_consumers *skel, unsigned long before, \ 867 return uprobe_consumer_test(skel, before, after, offset); \ 883 unsigned long before, unsigned long after, in consumer_test() argument 888 printf("consumer_test before %lu after %lu\n", before, after); in consumer_test() 890 /* 'before' is each, we attach uprobe for every set idx */ in consumer_test() 892 if (test_bit(idx, before)) { in consumer_test() [all …]
|
/linux/Documentation/nvdimm/ |
H A D | maintainer-entry-profile.rst | 25 before submitting, but it is not required. 32 Those tests need to be passed before the patches go upstream, but not 33 necessarily before initial posting. Contact the list if you need help 38 Before patches enabling a new _DSM family will be considered, it must 49 next merge window they should be sent before -rc4, and ideally 57 In general, please wait up to one week before pinging for feedback. A
|
/linux/net/netfilter/ipset/ |
H A D | ip_set_list_set.c | 36 int before; member 203 if (d->before == 0) { in list_set_utest() 206 } else if (d->before > 0) { in list_set_utest() 252 else if (d->before == 0 || e->id != d->refid) in list_set_uadd() 254 else if (d->before > 0) in list_set_uadd() 260 /* If before/after is used on an empty set */ in list_set_uadd() 261 if ((d->before > 0 && !next) || in list_set_uadd() 262 (d->before < 0 && !prev)) in list_set_uadd() 278 if (d->before == 0) { in list_set_uadd() 282 } else if (d->before > 0) { in list_set_uadd() [all …]
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-fau.h | 57 * bit will be set. Otherwise the value of the register before 67 * bit will be set. Otherwise the value of the register before 77 * bit will be set. Otherwise the value of the register before 87 * bit will be set. Otherwise the value of the register before 98 * register before the update will be returned. 168 * Returns Value of the register before the update 183 * Returns Value of the register before the update 198 * Returns Value of the register before the update 212 * Returns Value of the register before the update 229 * the value of the register before the update will be [all …]
|
/linux/scripts/ |
H A D | config | 84 local before="$1" 89 sed -e "s$SED_DELIM$before$SED_DELIM$after$SED_DELIM" "$infile" >"$tmpfile" 105 local name=$1 new=$2 before=$3 108 before_re="^($before=|# $before is not set)" 109 if test -n "$before" && grep -Eq "$before_re" "$FN"; then 110 txt_append "^$before=" "$new" "$FN" 111 txt_append "^# $before is not set" "$new" "$FN"
|
/linux/arch/powerpc/lib/ |
H A D | rheap.c | 126 /* XXX: You should have called assure_empty before */ in get_slot() 154 rh_block_t *before; in attach_free_block() local 166 /* Find the blocks immediately before and after the given one in attach_free_block() 168 before = NULL; in attach_free_block() 182 before = blk; in attach_free_block() 188 if (before != NULL && after != NULL) in attach_free_block() 193 if (before && s != (before->start + before->size)) in attach_free_block() 194 before = NULL; in attach_free_block() 200 if (before == NULL && after == NULL) { in attach_free_block() 213 /* Grow the before block */ in attach_free_block() [all …]
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | pmae_handling_test.c | 29 static uint64_t before, after; variable 44 before = mfspr(SPRN_MMCR0); in syscall_ebb_callee() 50 if (before != after) in syscall_ebb_callee() 88 printf("Saw MMCR0 before 0x%lx after 0x%lx\n", before, after); in test_body()
|
/linux/kernel/sched/ |
H A D | membarrier.c | 13 * barrier before sending the IPI 20 * order to enforce the guarantee that any writes occurring on CPU0 before 39 * so it's possible to have "r1 = x" reordered before "y = 1" at any 46 * before the IPI-induced memory barrier on CPU1. 48 * B) Userspace thread execution before IPI vs membarrier's memory 56 * order to enforce the guarantee that any writes occurring on CPU1 before 76 * before (b) (although not before (a)), so we get "r1 = 0". This violates 177 * ensure that memory on remote CPUs that occur before the IPI in ipi_sync_core() 194 * to the current task before the current task resumes. We could in ipi_rseq() 215 * before registration. in ipi_sync_rq_state() [all …]
|
/linux/Documentation/ABI/obsolete/ |
H A D | sysfs-driver-hid-roccat-ryos | 27 Before reading this file, control has to be written to select 37 Before reading this file, control has to be written to select 47 Before reading this file, control has to be written to select 57 Before reading this file, control has to be written to select 67 Before reading this file, control has to be written to select 77 Before reading this file, control has to be written to select 88 Before reading this file, control has to be written to select 99 Before reading this file, control has to be written to select 110 Before reading this file, control has to be written to select 156 Before reading this file, control has to be written to select [all …]
|
/linux/Documentation/driver-api/ |
H A D | device_link.rst | 11 before their parent, and the parent is always resumed before its children. 18 dependencies, i.e. that one device must be bound to a driver before 30 presence on the supplier. The consumer devices are not probed before the 31 supplier is bound to a driver, and they're unbound before the supplier 89 before the consumer is runtime suspended. ``DL_FLAG_AUTOREMOVE_CONSUMER`` 112 a problem if the consumer is required to probe before a certain initcall level 159 not bind before the MMU is bound. To achieve this, a device link with 174 before the hotplug ports can resume. If the hotplug ports were children 250 add a device flag causing the parent driver to be probed before the 271 and consumer. If the link is created before any devices are probed, it [all …]
|
/linux/drivers/parisc/ |
H A D | Makefile | 6 # - ccio before any potential subdevices 7 # - gsc is required before lasi and wax 8 # - asp and wax before the EISA adapters for the IRQ regions 9 # - EISA must come before PCI to be sure it gets IRQ region
|
/linux/drivers/gpu/drm/i915/ |
H A D | Kconfig.profile | 61 an arbitration point and yield to HW before the timer expires, the 80 before the timer expires, the HW will be reset to allow the more 96 Before sleeping waiting for a request (GPU operation) to complete, 110 int "How long to wait for an engine to quiesce gracefully before reset (ms)" 113 By stopping submission and sleeping for a short time before resetting 133 is scheduled for execution for the timeslice duration, before
|