/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 …]
|
/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/drivers/net/ethernet/intel/igc/ |
H A D | igc_diag.c | 39 u32 pat, val, before; in reg_pattern_test() local 45 before = rd32(reg); in reg_pattern_test() 53 wr32(reg, before); in reg_pattern_test() 56 wr32(reg, before); in reg_pattern_test() 65 u32 val, before; in reg_set_and_check() local 67 before = rd32(reg); in reg_set_and_check() 75 wr32(reg, before); in reg_set_and_check() 78 wr32(reg, before); in reg_set_and_check() 86 u32 value, before, after; in igc_reg_test() local 95 before = rd32(IGC_STATUS); in igc_reg_test() [all …]
|
/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/Documentation/filesystems/iomap/ |
H A D | operations.rst | 178 The pagecache takes whatever locks it needs before calling the 189 before calling this function. 199 exclusive mode before calling this function. 232 mode before calling this function. 243 mode before calling this function. 256 mode before calling this function. 267 The pagecache will lock each folio before trying to schedule it for 310 ioend or perform any other preparatory work before the writeback I/O 391 extra work before or after the I/O is issued to storage. 438 before completing the call. [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 | 819 unsigned long before, unsigned long after) in uprobe_consumer_test() argument 823 /* detach uprobe for each unset programs in 'before' state ... */ in uprobe_consumer_test() 825 if (test_bit(idx, before) && !test_bit(idx, after)) in uprobe_consumer_test() 831 if (!test_bit(idx, before) && test_bit(idx, after)) { in uprobe_consumer_test() 840 unsigned long before, unsigned long after) in consumer_test() argument 844 printf("consumer_test before %lu after %lu\n", before, after); in consumer_test() 846 /* 'before' is each, we attach uprobe for every set idx */ in consumer_test() 848 if (test_bit(idx, before)) { in consumer_test() 854 err = uprobe_consumer_test(skel, before, after); in consumer_test() 865 * +1 if define in 'before' in consumer_test() [all …]
|
/linux/include/linux/ |
H A D | entry-common.h | 104 * enable interrupts before invoking syscall_enter_from_user_mode_work(). 141 * syscall_enter_from_user_mode_work - Check and handle work before invoking 175 * before invoking a syscall 262 * function before return. Defaults to NOOP. 275 * arch_exit_to_user_mode - Architecture specific final work before 279 * function before return. Defaults to NOOP. 302 * exit_to_user_mode_loop - do any pending work before leaving to user space 323 /* Flush pending rcuog wakeup before the last need_resched() check */ in exit_to_user_mode_prepare() 351 * is not suitable as the last step before returning to userspace. Must be 354 * The caller has to invoke syscall_exit_to_user_mode_work() before this. [all …]
|
/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/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/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/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 > 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/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/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/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/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/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/kernel/ |
H A D | watchdog_buddy.c | 35 * The new CPU will be marked online before the hrtimer interrupt in watchdog_hardlockup_enable() 37 * hardlockup on the new CPU before it has run its the hrtimer in watchdog_hardlockup_enable() 55 * Makes sure that watchdog is touched on this CPU before in watchdog_hardlockup_enable() 69 * Offlining this CPU will cause the CPU before this one to start in watchdog_hardlockup_disable() 79 * Makes sure that watchdog is touched on the next CPU before in watchdog_hardlockup_disable()
|