Home
last modified time | relevance | path

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

12

/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/bootconfig/include/linux/
Dbug.h8 #define WARN_ON(cond) \ argument
9 ((cond) ? printf("Internal warning(%s:%d, %s): %s\n", \
10 __FILE__, __LINE__, __func__, #cond) : 0)
Dkernel.h13 #define unlikely(cond) (cond) argument
/tools/include/linux/
Drefcount.h45 #define REFCOUNT_WARN(cond, str) (void)(cond) argument
48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond) argument
Dkernel.h66 #define BUG_ON(cond) do { if (cond) {} } while (0) argument
68 #define BUG_ON(cond) assert(!(cond)) argument
Dbuild_bug.h39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) argument
/tools/testing/scatterlist/
Dmain.c29 static void fail(struct test *test, struct sg_table *st, const char *cond) in fail() argument
33 fprintf(stderr, "Failed on '%s'!\n\n", cond); in fail()
47 #define VALIDATE(cond, st, test) \ argument
48 if (!(cond)) \
49 fail((test), (st), #cond);
/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/testing/selftests/sync/
Dsynctest.h34 #define ASSERT(cond, msg) do { \ argument
35 if (!(cond)) { \
/tools/lib/perf/include/internal/
Dtests.h24 #define __T(text, cond) \ argument
26 if (!(cond)) { \
/tools/testing/selftests/net/
Ddevlink_port_split.py167 def test(cond, msg): argument
173 if cond:
178 return cond
Dpsock_tpacket.c52 # define bug_on(cond) assert(!(cond)) argument
/tools/virtio/linux/
Dkernel.h130 #define WARN_ON_ONCE(cond) (unlikely(cond) ? fprintf (stderr, "WARNING\n") : 0) argument
/tools/testing/selftests/net/forwarding/
Dsch_red.sh220 local cond=$1; shift
233 ((pct $cond))
238 local cond=$1; shift
251 ((pct $cond))
/tools/perf/util/
Dtop.h54 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.c2443 pthread_cond_t *cond; member
2472 pthread_cond_t cond; in FIXTURE() local
2505 pthread_cond_init(&self->cond, NULL); in FIXTURE_SETUP()
2508 self->sibling[0].cond = &self->cond; in FIXTURE_SETUP()
2516 self->sibling[1].cond = &self->cond; in FIXTURE_SETUP()
2546 pthread_cond_destroy(&self->cond); in FIXTURE_TEARDOWN()
2570 pthread_cond_wait(me->cond, me->mutex); in tsync_sibling()
2627 ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { in TEST_F()
2670 ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { in TEST_F()
2695 ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { in TEST_F()
[all …]
/tools/objtool/arch/x86/
Ddecode.c9 #define unlikely(cond) (cond) argument
/tools/testing/selftests/drivers/net/mlxsw/
Dsch_red_core.sh388 local cond=$1; shift
401 ((pct $cond))
/tools/usb/
Dffs-test.c101 #define die_on(cond, ...) do { \ argument
102 if (cond) \
/tools/perf/
Dbuiltin-top.c906 pthread_cond_signal(&top->qe.cond); in perf_top__mmap_read_idx()
1113 pthread_cond_wait(&top->qe.cond, &top->qe.mutex); in process_thread()
1229 pthread_cond_init(&top->qe.cond, NULL); in init_process_thread()
1360 pthread_cond_signal(&top->qe.cond); in __cmd_top()
/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/bench/
Dnuma.c490 static void init_global_cond(pthread_cond_t *cond) in init_global_cond() argument
496 pthread_cond_init(cond, &attr); in init_global_cond()
/tools/perf/Documentation/
Dperf-top.txt245 The option requires at least one branch type among any, any_call, any_ret, ind_call, cond.

12