/tools/perf/arch/sparc/annotate/ |
D | instructions.c | 3 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/ |
D | bug.h | 8 #define WARN_ON(cond) \ argument 9 ((cond) ? printf("Internal warning(%s:%d, %s): %s\n", \ 10 __FILE__, __LINE__, __func__, #cond) : 0)
|
D | kernel.h | 13 #define unlikely(cond) (cond) argument
|
/tools/include/linux/ |
D | refcount.h | 45 #define REFCOUNT_WARN(cond, str) (void)(cond) argument 48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond) argument
|
D | kernel.h | 66 #define BUG_ON(cond) do { if (cond) {} } while (0) argument 68 #define BUG_ON(cond) assert(!(cond)) argument
|
D | build_bug.h | 39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) argument
|
/tools/testing/scatterlist/ |
D | main.c | 29 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/ |
D | rcupdate.h | 8 #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/ |
D | synctest.h | 34 #define ASSERT(cond, msg) do { \ argument 35 if (!(cond)) { \
|
/tools/lib/perf/include/internal/ |
D | tests.h | 24 #define __T(text, cond) \ argument 26 if (!(cond)) { \
|
/tools/testing/selftests/net/ |
D | devlink_port_split.py | 167 def test(cond, msg): argument 173 if cond: 178 return cond
|
D | psock_tpacket.c | 52 # define bug_on(cond) assert(!(cond)) argument
|
/tools/virtio/linux/ |
D | kernel.h | 130 #define WARN_ON_ONCE(cond) (unlikely(cond) ? fprintf (stderr, "WARNING\n") : 0) argument
|
/tools/testing/selftests/net/forwarding/ |
D | sch_red.sh | 220 local cond=$1; shift 233 ((pct $cond)) 238 local cond=$1; shift 251 ((pct $cond))
|
/tools/perf/util/ |
D | top.h | 54 pthread_cond_t cond; member
|
/tools/perf/tests/ |
D | tests.h | 7 #define TEST_ASSERT_VAL(text, cond) \ argument 9 if (!(cond)) { \
|
/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 2443 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/ |
D | decode.c | 9 #define unlikely(cond) (cond) argument
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | sch_red_core.sh | 388 local cond=$1; shift 401 ((pct $cond))
|
/tools/usb/ |
D | ffs-test.c | 101 #define die_on(cond, ...) do { \ argument 102 if (cond) \
|
/tools/perf/ |
D | builtin-top.c | 906 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/ |
D | recipes.txt | 506 * @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/ |
D | test_offload.py | 75 def skip(cond, msg): argument 76 if not cond: 82 def fail(cond, msg): argument 83 if not cond:
|
/tools/perf/bench/ |
D | numa.c | 490 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/ |
D | perf-top.txt | 245 The option requires at least one branch type among any, any_call, any_ret, ind_call, cond.
|