Home
last modified time | relevance | path

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

12345678910>>...59

/linux-6.6.21/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.6.21/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.6.21/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.6.21/tools/testing/selftests/mm/
Dthuge-gen.c128 unsigned long before, after; in test_mmap() local
131 before = read_free(size); in test_mmap()
139 before, after, before - after, size); in test_mmap()
140 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_mmap()
149 unsigned long before, after; in test_shmget() local
152 before = read_free(size); in test_shmget()
171 before, after, before - after, size); in test_shmget()
172 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_shmget()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/net/netfilter/ipset/
Dip_set_list_set.c36 int before; member
202 if (d->before == 0) { in list_set_utest()
204 } else if (d->before > 0) { in list_set_utest()
248 else if (d->before == 0 || e->id != d->refid) in list_set_uadd()
250 else if (d->before > 0) in list_set_uadd()
257 if ((d->before > 0 && !next) || in list_set_uadd()
258 (d->before < 0 && !prev)) in list_set_uadd()
274 if (d->before == 0) { in list_set_uadd()
278 } else if (d->before > 0) { in list_set_uadd()
330 if (d->before > 0) { in list_set_udel()
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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
Ddebugfs-driver-genwqe33 Description: Dump of the error registers before the last reset of
40 Description: Internal chip state of UID0 before card was reset.
46 Description: Internal chip state of UID1 before card was reset.
52 Description: Internal chip state of UID2 before card was reset.
76 The driver ensures that the settings are done just before
/linux-6.6.21/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.6.21/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.6.21/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
/linux-6.6.21/drivers/gpu/drm/ci/xfails/
Dmsm-sdm845-fails.txt21 kms_cursor_legacy@basic-flip-before-cursor-atomic,Fail
22 kms_cursor_legacy@basic-flip-before-cursor-legacy,Fail
23 kms_cursor_legacy@basic-flip-before-cursor-varying-size,Fail
38 kms_cursor_legacy@short-flip-before-cursor-atomic-transitions,Fail
39 kms_cursor_legacy@short-flip-before-cursor-atomic-transitions-varying-size,Fail
Dmsm-sdm845-flakes.txt3 # Test ends up reading CRC from frame before cursor update
10 kms_cursor_legacy@short-flip-before-cursor-toggle
/linux-6.6.21/tools/testing/selftests/user_events/
Dftrace_test.c302 int before = 0, after = 0; in TEST_F() local
345 before = trace_bytes(); in TEST_F()
348 ASSERT_GT(after, before); in TEST_F()
359 int before = 0, after = 0; in TEST_F() local
383 before = trace_bytes(); in TEST_F()
386 ASSERT_GT(after, before); in TEST_F()
431 int before = 0, after = 0; in TEST_F() local
464 before = trace_bytes(); in TEST_F()
468 ASSERT_GT(after, before); in TEST_F()
/linux-6.6.21/fs/reiserfs/
Dlbalance.c901 void leaf_insert_into_buf(struct buffer_info *bi, int before, in leaf_insert_into_buf() argument
927 ih = item_head(bh, before); in leaf_insert_into_buf()
930 last_loc = nr ? ih_location(&ih[nr - before - 1]) : bh->b_size; in leaf_insert_into_buf()
931 unmoved_loc = before ? ih_location(ih - 1) : bh->b_size; in leaf_insert_into_buf()
948 memmove(ih + 1, ih, IH_SIZE * (nr - before)); in leaf_insert_into_buf()
952 for (i = before; i < nr + 1; i++) { in leaf_insert_into_buf()
953 unmoved_loc -= ih_item_len(&ih[i - before]); in leaf_insert_into_buf()
954 put_ih_location(&ih[i - before], unmoved_loc); in leaf_insert_into_buf()
1316 int before, in leaf_paste_entries() argument
1338 RFALSE(ih_entry_count(ih) < before, in leaf_paste_entries()
[all …]
/linux-6.6.21/drivers/soc/fsl/qbman/
Dqman_ccsr.c647 u32 before, after; in __qman_liodn_fixup() local
651 before = qm_ccsr_in(REG_REV3_QCSP_LIO_CFG(idx)); in __qman_liodn_fixup()
653 before = qm_ccsr_in(REG_QCSP_LIO_CFG(idx)); in __qman_liodn_fixup()
655 liodn_offset = before & LIO_CFG_LIODN_MASK; in __qman_liodn_fixup()
659 after = (before & (~LIO_CFG_LIODN_MASK)) | liodn_offset; in __qman_liodn_fixup()
670 u32 before, after; in qman_set_sdest() local
673 before = qm_ccsr_in(REG_REV3_QCSP_IO_CFG(idx)); in qman_set_sdest()
676 after = (before & (~IO_CFG_SDEST_MASK)) | (cpu_idx << 16); in qman_set_sdest()
679 before = qm_ccsr_in(REG_QCSP_IO_CFG(idx)); in qman_set_sdest()
680 after = (before & (~IO_CFG_SDEST_MASK)) | (cpu_idx << 16); in qman_set_sdest()

12345678910>>...59