Home
last modified time | relevance | path

Searched refs:before (Results 1 – 25 of 1427) sorted by relevance

12345678910>>...58

/linux-6.12.1/tools/perf/pmu-events/
Dmetric_test.py43 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-6.12.1/drivers/net/ethernet/intel/igc/
Digc_diag.c39 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-6.12.1/tools/perf/util/bpf_skel/
Dbpf_prog_profiler.bpf.c55 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()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Duprobe_syscall.c26 __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()
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()
192 uretprobe_regs(&before, &after); in test_uretprobe_regs_change()
Duprobe_multi_test.c819 unsigned long before, unsigned long after) in uprobe_consumer_test() argument
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()
848 if (test_bit(idx, before)) { in consumer_test()
854 err = uprobe_consumer_test(skel, before, after); in consumer_test()
867 if (test_bit(idx, before)) in consumer_test()
883 unsigned long had_uretprobes = before & 0b1100; /* is uretprobe installed */ in consumer_test()
884 unsigned long probe_preserved = before & after; /* did uprobe go away */ in consumer_test()
[all …]
/linux-6.12.1/tools/bpf/bpftool/skeleton/
Dprofiler.bpf.c79 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()
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dsock.c407 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-6.12.1/Documentation/virt/kvm/x86/
Dcpuid.rst11 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-6.12.1/tools/testing/selftests/powerpc/pmu/ebb/
Dpmae_handling_test.c29 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-6.12.1/tools/testing/selftests/arm64/pauth/
Dpac.c331 struct signatures before; in TEST() local
336 sign_specific(&before, ARBITRARY_VALUE); in TEST()
344 ASSERT_EQ(before.keyia, after.keyia) TH_LOG("keyia changed after context switching"); in TEST()
345 ASSERT_EQ(before.keyib, after.keyib) TH_LOG("keyib changed after context switching"); in TEST()
346 ASSERT_EQ(before.keyda, after.keyda) TH_LOG("keyda changed after context switching"); in TEST()
347 ASSERT_EQ(before.keydb, after.keydb) TH_LOG("keydb changed after context switching"); in TEST()
354 size_t before; in TEST() local
359 before = keyg_sign(ARBITRARY_VALUE); in TEST()
367 ASSERT_EQ(before, after) TH_LOG("keyg changed after context switching"); in TEST()
/linux-6.12.1/tools/testing/selftests/damon/
Ddebugfs_target_ids_pid_leak.sh4 before=$(grep "^pid " /proc/slabinfo | awk '{print $2}')
7 expected_after_max=$((before + nr_leaks / 2))
14 echo "number of active pid slabs: $before -> $after"
/linux-6.12.1/drivers/misc/lkdtm/
Dfortify.c70 int before[10]; in lkdtm_FORTIFY_MEM_OBJECT() local
83 memset(before, 0, sizeof(before)); in lkdtm_FORTIFY_MEM_OBJECT()
85 fortify_scratch_space = before[5]; in lkdtm_FORTIFY_MEM_OBJECT()
93 memcpy(&target, &before, size); in lkdtm_FORTIFY_MEM_OBJECT()
/linux-6.12.1/tools/testing/selftests/intel_pstate/
Daperf.c29 struct timespec before, after; in main() local
62 if (clock_gettime(CLOCK_MONOTONIC, &before) < 0) { in main()
86 start = before.tv_sec*MSEC_PER_SEC + before.tv_nsec/NSEC_PER_MSEC; in main()
/linux-6.12.1/tools/testing/selftests/mm/
Dthuge-gen.c117 unsigned long before, after; in test_mmap() local
119 before = read_free(size); in test_mmap()
129 ksft_test_result(size == getpagesize() || (before - after) == NUM_PAGES, in test_mmap()
139 unsigned long before, after; in test_shmget() local
143 before = read_free(size); in test_shmget()
167 ksft_test_result(size == getpagesize() || (before - after) == NUM_PAGES, in test_shmget()
/linux-6.12.1/net/netfilter/ipset/
Dip_set_list_set.c36 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()
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()
334 if (d->before > 0) { in list_set_udel()
[all …]
/linux-6.12.1/tools/memory-model/Documentation/
Dexplanation.txt150 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
211 execute before itself, the specified outcome is impossible.
266 It's not possible to have X ordered before Y, Y ordered before Z, and
[all …]
/linux-6.12.1/arch/powerpc/lib/
Drheap.c154 rh_block_t *before; in attach_free_block() local
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()
214 if (before != NULL && after == NULL) { in attach_free_block()
215 before->size += size; in attach_free_block()
220 if (before == NULL && after != NULL) { in attach_free_block()
[all …]
/linux-6.12.1/Documentation/ABI/stable/
Dsysfs-transport-srp13 layer error has been observed before removing a target port.
22 layer error has been observed before failing I/O. Zero means
38 attempt failed before retrying. Setting this attribute to
55 after the fast_io_fail_tmo timer has fired and before the
57 "dev_loss_tmo" timer has fired and before the port is finally
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-devices-waiting_for_supplier12 before the device can probe.
15 to be added before it can probe. A value of 1 means the device
16 is waiting for one or more suppliers to be added before it can
/linux-6.12.1/scripts/coccinelle/free/
Difnulldev_put.cocci3 /// NULL check before dev_{put, hold} functions is not needed.
48 cocci.print_main("NULL check before dev_{put, hold} functions is not needed", p)
54 msg = "WARNING: NULL check before dev_{put, hold} functions is not needed."
Difnullfree.cocci2 /// NULL check before some freeing functions is not needed.
60 cocci.print_main("NULL check before that freeing function is not needed", p)
66 msg = "WARNING: NULL check before some freeing functions is not needed."
/linux-6.12.1/drivers/soc/fsl/qbman/
Dqman_ccsr.c625 u32 before, after; in __qman_liodn_fixup() local
629 before = qm_ccsr_in(REG_REV3_QCSP_LIO_CFG(idx)); in __qman_liodn_fixup()
631 before = qm_ccsr_in(REG_QCSP_LIO_CFG(idx)); in __qman_liodn_fixup()
633 liodn_offset = before & LIO_CFG_LIODN_MASK; in __qman_liodn_fixup()
637 after = (before & (~LIO_CFG_LIODN_MASK)) | liodn_offset; in __qman_liodn_fixup()
648 u32 before, after; in qman_set_sdest() local
651 before = qm_ccsr_in(REG_REV3_QCSP_IO_CFG(idx)); in qman_set_sdest()
654 after = (before & (~IO_CFG_SDEST_MASK)) | (cpu_idx << 16); in qman_set_sdest()
657 before = qm_ccsr_in(REG_QCSP_IO_CFG(idx)); in qman_set_sdest()
658 after = (before & (~IO_CFG_SDEST_MASK)) | (cpu_idx << 16); in qman_set_sdest()
/linux-6.12.1/tools/testing/selftests/user_events/
Dftrace_test.c310 int before = 0, after = 0; in TEST_F() local
353 before = trace_bytes(); in TEST_F()
356 ASSERT_GT(after, before); in TEST_F()
367 int before = 0, after = 0; in TEST_F() local
391 before = trace_bytes(); in TEST_F()
394 ASSERT_GT(after, before); in TEST_F()
439 int before = 0, after = 0; in TEST_F() local
472 before = trace_bytes(); in TEST_F()
476 ASSERT_GT(after, before); in TEST_F()
/linux-6.12.1/sound/firewire/tascam/
Damdtp-tascam.c138 __be32 before; in read_status_messages() local
142 before = tscm->state[index]; in read_status_messages()
157 if ((before ^ after) & mask) { in read_status_messages()
164 entry->before = before; in read_status_messages()
/linux-6.12.1/Documentation/nvdimm/
Dmaintainer-entry-profile.rst25 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
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

12345678910>>...58