Home
last modified time | relevance | path

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

123

/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()
/tools/testing/selftests/vm/
Dthuge-gen.c145 unsigned long before, after; in test_mmap() local
148 before = read_free(size); in test_mmap()
156 before, after, before - after, size); in test_mmap()
157 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_mmap()
166 unsigned long before, after; in test_shmget() local
169 before = read_free(size); in test_shmget()
188 before, after, before - after, size); in test_shmget()
189 assert(size == getpagesize() || (before - after) == NUM_PAGES); in test_shmget()
/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()
/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()
/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()
/tools/memory-model/Documentation/
Dexplanation.txt149 private variables before using them. All that is beside the point;
162 instance, P1 might run entirely before P0 begins, in which case r1 and
163 r2 will both be 0 at the end. Or P0 might run entirely before P1
168 store to buf but before the store to flag. In this case, r1 and r2
196 Since r1 = 1, P0 must store 1 to flag before P1 loads 1 from
199 P1 loads from flag before loading from buf, since CPUs execute
202 P1 must load 0 from buf before P0 stores 1 to it; otherwise r2
206 P0 stores 1 to buf before storing 1 to flag, since it executes
210 execute before itself, the specified outcome is impossible.
265 It's not possible to have X ordered before Y, Y ordered before Z, and
[all …]
Dcheatsheet.txt34 SELF: Orders self, as opposed to accesses before and/or after
/tools/perf/tests/
Dopenat-syscall-tp-fields.c89 int before = nr_events; in test__syscall_openat_tp_fields() local
130 if (nr_events == before) in test__syscall_openat_tp_fields()
Dperf-record.c167 int before = total_events; in test__PERF_RECORD() local
290 if (total_events == before && false) in test__PERF_RECORD()
/tools/memory-model/
Dlinux-kernel.cat87 acyclic hb as happens-before
151 * The happens-before, propagation, and rcu constraints are all
153 * a single constraint on an "executes-before" relation, xb:
156 * acyclic xb as executes-before
168 (* Executes-before and visibility *)
181 (* Visibility and executes-before for plain accesses *)
/tools/perf/Documentation/
Ddb-export.txt31 before using them. e.g. function IsSelectable() in exported-sql-viewer.py
39 before calling them. The scripting engine can also test for the support of new
/tools/memory-model/litmus-tests/
DMP+polockonce+poacquiresilsil.litmus9 * the smp_load_acquire() executed before the lock was acquired (loosely
DMP+polockmbonce+poacquiresilsil.litmus10 * executed before the lock was acquired (loosely speaking).
/tools/testing/selftests/tc-testing/creating-plugins/
DAddingPlugins.txt14 - adding commands to be run before and/or after the test suite
15 - adding commands to be run before and/or after the test cases
16 - adding commands to be run before and/or after the execute phase of the test cases
/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h95 static __always_inline bool before(__u32 seq1, __u32 seq2) in before() function
99 #define after(seq2, seq1) before(seq1, seq2)
/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh289 before=$(ethtool_stats_get $eth0 'rx_green_prio_7')
295 if [ $((after - before)) = $num_pkts ]; then
/tools/power/pm-graph/config/
Dexample.cfg44 # Sync filesystem before suspend
45 # run sync before the test, minimizes sys_sync call time (default: false)
90 # Include an N ms delay before (1st) suspend (default: 0 ms)
Dstandby.cfg62 # Include an N ms delay before (1st) suspend (default: 0 ms)
Dfreeze.cfg62 # Include an N ms delay before (1st) suspend (default: 0 ms)
Dstandby-callgraph.cfg63 # Include an N ms delay before (1st) suspend (default: 0 ms)
/tools/perf/util/
Dmap.c790 struct map *before = map__clone(pos); in maps__fixup_overlappings() local
792 if (before == NULL) { in maps__fixup_overlappings()
797 before->end = map->start; in maps__fixup_overlappings()
798 __maps__insert(maps, before); in maps__fixup_overlappings()
800 map__fprintf(before, fp); in maps__fixup_overlappings()
801 map__put(before); in maps__fixup_overlappings()
/tools/objtool/Documentation/
Dstack-validation.txt54 create a stack frame before calling a second function, the *caller*
93 beginning of a function before the stack frame has been created,
143 designed. If function A doesn't create a stack frame before calling
202 Otherwise the stack frame may not get created before the call.
311 2) add the correct guards before and after calls to low level functions like
333 directive right before the call.
/tools/testing/fault-injection/
Dfailcmd.sh36 before running the command.
/tools/lib/traceevent/Documentation/
Dlibtraceevent-set_flag.txt40 Note: plugin related flags must me set before calling _tep_load_plugins()_ API.
/tools/testing/selftests/bpf/progs/
Dbpf_dctcp.c90 if (!before(tp->snd_una, ca->next_seq)) { in BPF_PROG()

123