| /tools/testing/selftests/bpf/progs/ |
| A D | test_spin_lock_fail.c | 100 f1 = bpf_obj_new(typeof(*f1)); \ 126 struct foo *f1, *f2; in lock_id_mismatch_mapval_mapval() local 130 if (!f1) in lock_id_mismatch_mapval_mapval() 136 bpf_spin_lock(&f1->lock); in lock_id_mismatch_mapval_mapval() 137 f1->data = 42; in lock_id_mismatch_mapval_mapval() 150 struct foo *f1, *f2; in lock_id_mismatch_innermapval_innermapval1() local 158 if (!f1) in lock_id_mismatch_innermapval_innermapval1() 165 f1->data = 42; in lock_id_mismatch_innermapval_innermapval1() 174 struct foo *f1, *f2; in lock_id_mismatch_innermapval_innermapval2() local 182 if (!f1) in lock_id_mismatch_innermapval_innermapval2() [all …]
|
| A D | res_spin_lock_fail.c | 104 unsigned long f1; in res_spin_lock_irq_mismatch_1() local 109 bpf_local_irq_save(&f1); in res_spin_lock_irq_mismatch_1() 112 bpf_res_spin_unlock_irqrestore(&res_lock, &f1); in res_spin_lock_irq_mismatch_1() 121 unsigned long f1; in res_spin_lock_irq_mismatch_2() local 126 if (bpf_res_spin_lock_irqsave(&res_lock, &f1)) in res_spin_lock_irq_mismatch_2() 157 unsigned long f1, f2; in res_spin_lock_ooo_irq() local 162 if (bpf_res_spin_lock_irqsave(&res_lock, &f1)) in res_spin_lock_ooo_irq() 165 bpf_res_spin_unlock_irqrestore(&res_lock, &f1); in res_spin_lock_ooo_irq() 170 bpf_res_spin_unlock_irqrestore(&res_lock, &f1); in res_spin_lock_ooo_irq()
|
| A D | test_global_func5.c | 9 int f1(struct __sk_buff *skb) in f1() function 19 return f1(skb) + f3(val, (void *)&val); /* type mismatch */ in f2() 32 return f1(skb) + f2(2, skb) + f3(3, skb); in global_func5()
|
| A D | test_global_func6.c | 9 int f1(struct __sk_buff *skb) in f1() function 19 return f1(skb) + f3(val, skb + 1); /* type mismatch */ in f2() 32 return f1(skb) + f2(2, skb) + f3(3, skb); in global_func6()
|
| A D | test_global_func2.c | 17 int f1(struct __sk_buff *skb) in f1() function 31 return f1(skb) + f3(val, skb, 1); in f2() 48 return f0(1, skb) + f1(skb) + f2(2, skb) + f3(3, skb, 4); in global_func2()
|
| A D | test_global_func1.c | 19 int f1(struct __sk_buff *skb) in f1() function 37 return f1(skb) + f3(val, skb, 1); in f2() 54 return f0(1, skb) + f1(skb) + f2(2, skb) + f3(3, skb, 4); in global_func1()
|
| A D | linked_list_fail.c | 12 struct foo *f, *f1, *f2; \ 34 f1 = f; \ 37 bpf_obj_drop(f1); \ 43 bpf_obj_drop(f1); \ 106 CHECK(kptr_kptr, op, &f1->lock, &f2->head); \ 107 CHECK(kptr_global, op, &f1->lock, &ghead); \ 108 CHECK(kptr_map, op, &f1->lock, &v->head); \ 109 CHECK(kptr_inner_map, op, &f1->lock, &iv->head); \ 112 CHECK(global_kptr, op, &glock, &f1->head); \ 145 CHECK(kptr_map, op, &f1->lock, &v->head, &f->node2); \ [all …]
|
| A D | kfunc_call_test_subprog.c | 9 int __noinline f1(struct __sk_buff *skb) in f1() function 34 return f1(skb); in kfunc_call_test1()
|
| A D | core_reloc_types.h | 961 struct a_struct f1; member 1028 struct a_struct___diff f1; member 1078 struct a_struct___diff_sz f1; member 1128 union a_struct___incompat f1; member 1153 struct a_struct f1; member 1191 struct a_struct f1; member 1247 enum named_enum f1; member 1264 enum named_unsigned_enum64 f1; member 1282 enum named_enum___diff f1; member 1315 enum named_enum___val3_missing f1; member [all …]
|
| A D | test_global_func4.c | 9 int f1(struct __sk_buff *skb) in f1() function 17 return f1(skb) + val; in f2()
|
| A D | test_global_func3.c | 9 int f1(struct __sk_buff *skb) in f1() function 17 return f1(skb) + val; in f2()
|
| A D | btf__core_reloc_nesting___err_dup_incompat_types.c | 3 void f1(struct core_reloc_nesting___err_dup_incompat_types__1 x) {} in f1() function
|
| A D | btf__core_reloc_nesting___err_partial_match_dups.c | 3 void f1(struct core_reloc_nesting___err_partial_match_dups__a x) {} in f1() function
|
| A D | btf__core_reloc_nesting___dup_compat_types.c | 3 void f1(struct core_reloc_nesting___dup_compat_types x) {} in f1() function
|
| /tools/testing/selftests/futex/functional/ |
| A D | futex_wait_wouldblock.c | 43 futex_t f1 = FUTEX_INITIALIZER; in main() local 47 .uaddr = (uintptr_t)&f1, in main() 48 .val = f1+1, in main() 75 info("Calling futex_wait on f1: %u @ %p with val=%u\n", f1, &f1, f1+1); in main() 76 res = futex_wait(&f1, f1+1, &to, FUTEX_PRIVATE_FLAG); in main() 98 info("Calling futex_waitv on f1: %u @ %p with val=%u\n", f1, &f1, f1+1); in main()
|
| A D | futex_wait_timeout.c | 98 futex_t f1 = FUTEX_INITIALIZER; in main() local 104 .uaddr = (uintptr_t)&f1, in main() 105 .val = f1, in main() 143 res = futex_wait(&f1, f1, &to, 0); in main() 149 res = futex_wait_bitset(&f1, f1, &to, 1, FUTEX_CLOCK_REALTIME); in main() 155 res = futex_wait_bitset(&f1, f1, &to, 1, 0); in main() 161 res = futex_wait_requeue_pi(&f1, f1, &futex_pi, &to, FUTEX_CLOCK_REALTIME); in main() 167 res = futex_wait_requeue_pi(&f1, f1, &futex_pi, &to, 0); in main()
|
| A D | futex_requeue_pi_mismatched_ops.c | 31 futex_t f1 = FUTEX_INITIALIZER; variable 46 child_ret = futex_wait(&f1, f1, NULL, FUTEX_PRIVATE_FLAG); in blocking_child() 96 ret = futex_cmp_requeue_pi(&f1, f1, &f2, 1, 0, FUTEX_PRIVATE_FLAG); in main() 104 ret = futex_wake(&f1, 1, FUTEX_PRIVATE_FLAG); in main()
|
| A D | futex_requeue.c | 17 volatile futex_t *f1; variable 35 if (futex_wait(f1, *f1, &to, 0)) in waiterfn() 49 f1 = &_f1; in main() 82 res = futex_cmp_requeue(f1, 0, &f2, 0, 1, 0); in main() 115 res = futex_cmp_requeue(f1, 0, &f2, 3, 7, 0); in main()
|
| A D | futex_requeue_pi_signal_restart.c | 34 futex_t f1 = FUTEX_INITIALIZER; variable 101 old_val = f1; in waiterfn() 102 res = futex_wait_requeue_pi(&f1, old_val, &(f2), NULL, in waiterfn() 181 old_val = f1; in main() 182 res = futex_cmp_requeue_pi(&f1, old_val, &(f2), 1, 0, in main()
|
| A D | futex_requeue_pi.c | 41 futex_t f1 = FUTEX_INITIALIZER; variable 121 old_val = f1; in waiterfn() 124 &f1, f1, &f2); in waiterfn() 125 args->ret = futex_wait_requeue_pi(&f1, old_val, &f2, args->timeout, in waiterfn() 166 old_val = f1; in broadcast_wakerfn() 167 args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, nr_wake, nr_requeue, in broadcast_wakerfn() 218 old_val = f1; in signal_wakerfn() 219 args->ret = futex_cmp_requeue_pi(&f1, old_val, &f2, in signal_wakerfn()
|
| /tools/bootconfig/scripts/ |
| A D | ftrace.sh | 24 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["` 25 file=`echo $line | cut -f1 -d:` 30 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["` 31 file=`echo $line | cut -f1 -d:` 46 echo 0 > `echo $line | cut -f1 -d:` 63 name=`echo $t | cut -d: -f1 | cut -d' ' -f1`
|
| /tools/testing/selftests/ftrace/test.d/ftrace/ |
| A D | func-filter-glob.tc | 13 cut -f1 -d" " set_ftrace_filter > $TMPDIR/actual 14 cut -f1 -d" " available_filter_functions | grep "$2" > $TMPDIR/expected
|
| A D | func_set_ftrace_file.tc | 125 cat set_ftrace_filter | grep -v '#' | cut -d' ' -f1 | cut -d':' -f1 | sort -u > $TMPDIR/actual 131 cat available_filter_functions | cut -d' ' -f1 | grep 'lock' | sort -u > $TMPDIR/expected
|
| /tools/testing/selftests/drivers/net/ |
| A D | netcons_fragmented_msg.sh | 38 REGEX=$(echo "${HEADER}" | cut -d'=' -f1) 48 HEADER=$(sed -n '1p' "${MSGFILE}" | cut -d';' -f1)
|
| /tools/testing/selftests/lkdtm/ |
| A D | run.sh | 41 test=$(echo "$line" | cut -d" " -f1) 64 repeat=$(echo "$expect" | cut -d' ' -f1 | cut -d: -f2)
|