Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 18 of 18) sorted by relevance

/tools/perf/arch/sparc/annotate/
Dinstructions.c3 static int is_branch_cond(const char *cond) in is_branch_cond() argument
5 if (cond[0] == '\0') in is_branch_cond()
8 if (cond[0] == 'a' && cond[1] == '\0') in is_branch_cond()
11 if (cond[0] == 'c' && in is_branch_cond()
12 (cond[1] == 'c' || cond[1] == 's') && in is_branch_cond()
13 cond[2] == '\0') in is_branch_cond()
16 if (cond[0] == 'e' && in is_branch_cond()
17 (cond[1] == '\0' || in is_branch_cond()
18 (cond[1] == 'q' && cond[2] == '\0'))) in is_branch_cond()
21 if (cond[0] == 'g' && in is_branch_cond()
[all …]
/tools/include/linux/
Drefcount.h45 #define REFCOUNT_WARN(cond, str) (void)(cond) argument
48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond) argument
Dkernel.h68 #define BUG_ON(cond) do { if (cond) {} } while (0) argument
70 #define BUG_ON(cond) assert(!(cond)) argument
/tools/testing/radix-tree/linux/
Drcupdate.h8 #define rcu_dereference_protected(p, cond) rcu_dereference(p) argument
9 #define rcu_dereference_check(p, cond) rcu_dereference(p) argument
/tools/perf/lib/include/internal/
Dtests.h11 #define __T(text, cond) \ argument
13 if (!(cond)) { \
/tools/testing/selftests/sync/
Dsynctest.h34 #define ASSERT(cond, msg) do { \ argument
35 if (!(cond)) { \
/tools/virtio/linux/
Dkernel.h130 #define WARN_ON_ONCE(cond) (unlikely(cond) ? fprintf (stderr, "WARNING\n") : 0) argument
/tools/perf/util/
Dtop.h53 pthread_cond_t cond; member
/tools/perf/tests/
Dtests.h7 #define TEST_ASSERT_VAL(text, cond) \ argument
9 if (!(cond)) { \
/tools/testing/selftests/seccomp/
Dseccomp_bpf.c2288 pthread_cond_t *cond; member
2317 pthread_cond_t cond; in FIXTURE_DATA() local
2350 pthread_cond_init(&self->cond, NULL); in FIXTURE_SETUP()
2353 self->sibling[0].cond = &self->cond; in FIXTURE_SETUP()
2361 self->sibling[1].cond = &self->cond; in FIXTURE_SETUP()
2391 pthread_cond_destroy(&self->cond); in FIXTURE_TEARDOWN()
2415 pthread_cond_wait(me->cond, me->mutex); in tsync_sibling()
2472 ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { in TEST_F()
2515 ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { in TEST_F()
2540 ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { in TEST_F()
[all …]
/tools/objtool/arch/x86/
Ddecode.c9 #define unlikely(cond) (cond) argument
/tools/usb/
Dffs-test.c101 #define die_on(cond, ...) do { \ argument
102 if (cond) \
/tools/perf/
Dbuiltin-top.c891 pthread_cond_signal(&top->qe.cond); in perf_top__mmap_read_idx()
1099 pthread_cond_wait(&top->qe.cond, &top->qe.mutex); in process_thread()
1215 pthread_cond_init(&top->qe.cond, NULL); in init_process_thread()
1333 pthread_cond_signal(&top->qe.cond); in __cmd_top()
/tools/testing/selftests/net/
Dpsock_tpacket.c52 # define bug_on(cond) assert(!(cond)) argument
/tools/memory-model/Documentation/
Drecipes.txt506 * @cond = true; prepare_to_wait(&wq_head, &wait, state);
508 * if (waitqueue_active(wq_head)) if (@cond)
514 On CPU0, the store is to @cond and the load is in waitqueue_active().
517 "if (@cond)". The full barriers prevent the undesirable outcome where
/tools/testing/selftests/bpf/
Dtest_offload.py75 def skip(cond, msg): argument
76 if not cond:
82 def fail(cond, msg): argument
83 if not cond:
/tools/perf/Documentation/
Dperf-top.txt234 The option requires at least one branch type among any, any_call, any_ret, ind_call, cond.
Dperf-record.txt367 - cond: conditional branches
371 The option requires at least one branch type among any, any_call, any_ret, ind_call, cond.