Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 2224) sorted by relevance

12345678910>>...89

/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_sock_addr.c11 int recvmsg4_good_return_code(struct bpf_sock_addr *ctx) in recvmsg4_good_return_code()
18 int recvmsg4_bad_return_code(struct bpf_sock_addr *ctx) in recvmsg4_bad_return_code()
25 int recvmsg6_good_return_code(struct bpf_sock_addr *ctx) in recvmsg6_good_return_code()
32 int recvmsg6_bad_return_code(struct bpf_sock_addr *ctx) in recvmsg6_bad_return_code()
39 int recvmsg_unix_good_return_code(struct bpf_sock_addr *ctx) in recvmsg_unix_good_return_code()
46 int recvmsg_unix_bad_return_code(struct bpf_sock_addr *ctx) in recvmsg_unix_bad_return_code()
53 int sendmsg4_good_return_code_0(struct bpf_sock_addr *ctx) in sendmsg4_good_return_code_0()
60 int sendmsg4_good_return_code_1(struct bpf_sock_addr *ctx) in sendmsg4_good_return_code_1()
67 int sendmsg4_bad_return_code(struct bpf_sock_addr *ctx) in sendmsg4_bad_return_code()
74 int sendmsg6_good_return_code_0(struct bpf_sock_addr *ctx) in sendmsg6_good_return_code_0()
[all …]
H A Dstring_kfuncs_success.c13 __test(0) int test_strcmp_eq(void *ctx) { return bpf_strcmp(str, "hello world"); } in test_strcmp_eq() argument
14 __test(1) int test_strcmp_neq(void *ctx) { return bpf_strcmp(str, "hello"); } in test_strcmp_neq() argument
15 __test(0) int test_strcasecmp_eq1(void *ctx) { return bpf_strcasecmp(str, "hello world"); } in test_strcasecmp_eq1() argument
16 __test(0) int test_strcasecmp_eq2(void *ctx) { return bpf_strcasecmp(str, "HELLO WORLD"); } in test_strcasecmp_eq2() argument
17 __test(0) int test_strcasecmp_eq3(void *ctx) { return bpf_strcasecmp(str, "HELLO world"); } in test_strcasecmp_eq3() argument
18 __test(1) int test_strcasecmp_neq1(void *ctx) { return bpf_strcasecmp(str, "hello"); } in test_strcasecmp_neq1() argument
19 __test(1) int test_strcasecmp_neq2(void *ctx) { return bpf_strcasecmp(str, "HELLO"); } in test_strcasecmp_neq2() argument
20 __test(0) int test_strncasecmp_eq1(void *ctx) { return bpf_strncasecmp(str, "hello world", 11); } in test_strchr_found() argument
21 __test(0) int test_strncasecmp_eq2(void *ctx) { return bpf_strncasecmp(str, "HELLO WORLD", 11); } in test_strchr_null() argument
22 __test(0) int test_strncasecmp_eq3(void *ctx) { retur in test_strchr_null() argument
23 test_strchrnul_found(void * ctx) test_strchrnul_found() argument
24 test_strchrnul_notfound(void * ctx) test_strchrnul_notfound() argument
25 test_strnchr_found(void * ctx) test_strnchr_found() argument
26 test_strnchr_null(void * ctx) test_strnchr_null() argument
27 test_strnchr_notfound(void * ctx) test_strnchr_notfound() argument
28 test_strrchr_found(void * ctx) test_strrchr_found() argument
29 test_strrchr_null(void * ctx) test_strrchr_null() argument
30 test_strrchr_notfound(void * ctx) test_strrchr_notfound() argument
31 test_strlen(void * ctx) test_strlen() argument
32 test_strnlen(void * ctx) test_strnlen() argument
33 test_strspn(void * ctx) test_strspn() argument
34 test_strcspn(void * ctx) test_strcspn() argument
35 test_strstr_found(void * ctx) test_strstr_found() argument
36 test_strstr_notfound(void * ctx) test_strstr_notfound() argument
37 test_strstr_empty(void * ctx) test_strstr_empty() argument
38 test_strnstr_found1(void * ctx) test_strnstr_found1() argument
39 test_strnstr_found2(void * ctx) test_strnstr_found2() argument
40 test_strnstr_found3(void * ctx) test_strnstr_found3() argument
41 test_strnstr_notfound1(void * ctx) test_strnstr_notfound1() argument
42 test_strnstr_notfound2(void * ctx) test_strnstr_notfound2() argument
43 test_strnstr_notfound3(void * ctx) test_strnstr_notfound3() argument
44 test_strnstr_empty(void * ctx) test_strnstr_empty() argument
[all...]
H A Dlinked_list_fail.c181 int map_compat_kprobe(void *ctx) in map_compat_kprobe()
188 int map_compat_kretprobe(void *ctx) in map_compat_kretprobe()
195 int map_compat_tp(void *ctx) in map_compat_tp()
202 int map_compat_perf(void *ctx) in map_compat_perf()
209 int map_compat_raw_tp(void *ctx) in map_compat_raw_tp()
216 int map_compat_raw_tp_w(void *ctx) in map_compat_raw_tp_w()
223 int obj_type_id_oor(void *ctx) in obj_type_id_oor()
230 int obj_new_no_composite(void *ctx) in obj_new_no_composite()
237 int obj_new_no_struct(void *ctx) in obj_new_no_struct()
244 int obj_new_flex_array(void *ctx) in obj_new_flex_array()
[all …]
H A Dpreempt_lock.c12 preempt_lock_missing_1(struct __sk_buff * ctx) preempt_lock_missing_1() argument
20 preempt_lock_missing_2(struct __sk_buff * ctx) preempt_lock_missing_2() argument
29 preempt_lock_missing_3(struct __sk_buff * ctx) preempt_lock_missing_3() argument
39 preempt_lock_missing_3_minus_2(struct __sk_buff * ctx) preempt_lock_missing_3_minus_2() argument
61 preempt_lock_missing_1_subprog(struct __sk_buff * ctx) preempt_lock_missing_1_subprog() argument
69 preempt_lock_missing_2_subprog(struct __sk_buff * ctx) preempt_lock_missing_2_subprog() argument
78 preempt_lock_missing_2_minus_1_subprog(struct __sk_buff * ctx) preempt_lock_missing_2_minus_1_subprog() argument
93 preempt_balance(struct __sk_buff * ctx) preempt_balance() argument
100 preempt_balance_subprog_test(struct __sk_buff * ctx) preempt_balance_subprog_test() argument
108 preempt_sleepable_helper(void * ctx) preempt_sleepable_helper() argument
120 preempt_sleepable_get_stack(struct pt_regs * ctx) preempt_sleepable_get_stack() argument
133 preempt_sleepable_get_task_stack(void * ctx) preempt_sleepable_get_task_stack() argument
148 sleepable_get_stack(struct pt_regs * ctx) sleepable_get_stack() argument
159 sleepable_get_task_stack(void * ctx) sleepable_get_task_stack() argument
172 preempt_sleepable_kfunc(void * ctx) preempt_sleepable_kfunc() argument
190 preempt_global_subprog_test(struct __sk_buff * ctx) preempt_global_subprog_test() argument
233 preempt_global_sleepable_helper_subprog(struct __sk_buff * ctx) preempt_global_sleepable_helper_subprog() argument
244 preempt_global_sleepable_kfunc_subprog(struct __sk_buff * ctx) preempt_global_sleepable_kfunc_subprog() argument
255 preempt_global_sleepable_subprog_indirect(struct __sk_buff * ctx) preempt_global_sleepable_subprog_indirect() argument
[all...]
H A Dverifier_lsm.c11 __naked int errno_zero_retval_test1(void *ctx) in errno_zero_retval_test1() argument
22 __naked int errno_zero_retval_test2(void *ctx) in errno_zero_retval_test2() argument
33 __naked int errno_zero_retval_test4(void *ctx) in errno_zero_retval_test4() argument
44 __naked int errno_zero_retval_test5(void *ctx) in errno_zero_retval_test5() argument
55 __naked int errno_zero_retval_test6(void *ctx) in errno_zero_retval_test6() argument
66 __naked int bool_retval_test1(void *ctx) in bool_retval_test1() argument
78 __naked int bool_retval_test2(void *ctx) in bool_retval_test2() argument
89 __naked int bool_retval_test3(void *ctx) in bool_retval_test3() argument
100 __naked int bool_retval_test4(void *ctx) in bool_retval_test4() argument
111 __naked int void_retval_test1(void *ctx) in void_retval_test1() argument
122 void_retval_test2(void * ctx) void_retval_test2() argument
133 disabled_hook_test1(void * ctx) disabled_hook_test1() argument
144 disabled_hook_test2(void * ctx) disabled_hook_test2() argument
155 disabled_hook_test3(void * ctx) disabled_hook_test3() argument
203 retval_load_resets_bounds(void * ctx) retval_load_resets_bounds() argument
[all...]
H A Dirq.c32 int irq_save_bad_arg(struct __sk_buff *ctx) in irq_restore_missing_2() argument
136 int irq_restore_missing_3_minus_2_subprog(struct __sk_buff *ctx) in irq_balance() argument
16 irq_save_bad_arg(struct __sk_buff * ctx) irq_save_bad_arg() argument
24 irq_restore_bad_arg(struct __sk_buff * ctx) irq_restore_bad_arg() argument
44 irq_restore_missing_3(struct __sk_buff * ctx) irq_restore_missing_3() argument
58 irq_restore_missing_3_minus_2(struct __sk_buff * ctx) irq_restore_missing_3_minus_2() argument
84 irq_restore_missing_1_subprog(struct __sk_buff * ctx) irq_restore_missing_1_subprog() argument
94 irq_restore_missing_2_subprog(struct __sk_buff * ctx) irq_restore_missing_2_subprog() argument
106 irq_restore_missing_3_subprog(struct __sk_buff * ctx) irq_restore_missing_3_subprog() argument
120 irq_restore_missing_3_minus_2_subprog(struct __sk_buff * ctx) irq_restore_missing_3_minus_2_subprog() argument
147 irq_balance_n(struct __sk_buff * ctx) irq_balance_n() argument
186 irq_balance_subprog(struct __sk_buff * ctx) irq_balance_subprog() argument
194 irq_sleepable_helper(void * ctx) irq_sleepable_helper() argument
207 irq_sleepable_kfunc(void * ctx) irq_sleepable_kfunc() argument
226 irq_global_subprog(struct __sk_buff * ctx) irq_global_subprog() argument
238 irq_restore_ooo(struct __sk_buff * ctx) irq_restore_ooo() argument
252 irq_restore_ooo_3(struct __sk_buff * ctx) irq_restore_ooo_3() argument
277 irq_restore_3_subprog(struct __sk_buff * ctx) irq_restore_3_subprog() argument
292 irq_restore_4_subprog(struct __sk_buff * ctx) irq_restore_4_subprog() argument
309 irq_restore_ooo_3_subprog(struct __sk_buff * ctx) irq_restore_ooo_3_subprog() argument
325 irq_restore_invalid(struct __sk_buff * ctx) irq_restore_invalid() argument
337 irq_save_invalid(struct __sk_buff * ctx) irq_save_invalid() argument
348 irq_restore_iter(struct __sk_buff * ctx) irq_restore_iter() argument
359 irq_save_iter(struct __sk_buff * ctx) irq_save_iter() argument
376 irq_flag_overwrite(struct __sk_buff * ctx) irq_flag_overwrite() argument
388 irq_flag_overwrite_partial(struct __sk_buff * ctx) irq_flag_overwrite_partial() argument
400 irq_ooo_refs_array(struct __sk_buff * ctx) irq_ooo_refs_array() argument
[all...]
H A Dstring_kfuncs_failure2.c9 SEC("syscall") int test_strcmp_too_long(void *ctx) { return bpf_strcmp(long_str, long_str); } in test_strcmp_too_long() argument
10 SEC("syscall") int test_strcasecmp_too_long(void *ctx) { return bpf_strcasecmp(long_str, long_str); } in test_strchr_too_long() argument
11 SEC("syscall") int test_strncasecmp_too_long(void *ctx) { return bpf_strncasecmp(long_str, long_str, sizeof(long_str)); } in test_strchrnul_too_long() argument
12 SEC("syscall") int test_strchr_too_long(void *ctx) { return bpf_strchr(long_str, 'b'); } in test_strnchr_too_long() argument
13 SEC("syscall") int test_strchrnul_too_long(void *ctx) { return bpf_strchrnul(long_str, 'b'); } in test_strrchr_too_long() argument
14 SEC("syscall") int test_strnchr_too_long(void *ctx) { return bpf_strnchr(long_str, sizeof(long_str), 'b'); } in test_strlen_too_long() argument
15 SEC("syscall") int test_strrchr_too_long(void *ctx) { return bpf_strrchr(long_str, 'b'); } in test_strnlen_too_long() argument
16 SEC("syscall") int test_strlen_too_long(void *ctx) { return bpf_strlen(long_str); } in test_strspn_str_too_long() argument
17 SEC("syscall") int test_strnlen_too_long(void *ctx) { return bpf_strnlen(long_str, sizeof(long_str)); } in test_strspn_accept_too_long() argument
18 SEC("syscall") int test_strspn_str_too_long(void *ctx) { retur in test_strspn_accept_too_long() argument
19 test_strcspn_reject_too_long(void * ctx) test_strcspn_reject_too_long() argument
20 test_strstr_too_long(void * ctx) test_strstr_too_long() argument
21 test_strnstr_too_long(void * ctx) test_strnstr_too_long() argument
[all...]
H A Dtest_global_func_ctx_args.c17 __weak int kprobe_typedef_ctx_subprog(bpf_user_pt_regs_t *ctx) in kprobe_typedef_ctx_subprog()
24 int kprobe_typedef_ctx(void *ctx) in kprobe_typedef_ctx()
48 __weak int kprobe_struct_ctx_subprog(pt_regs_struct_t *ctx) in kprobe_struct_ctx_subprog()
55 int kprobe_resolved_ctx(void *ctx) in kprobe_resolved_ctx()
65 __weak int kprobe_workaround_ctx_subprog(struct bpf_user_pt_regs_t *ctx) in kprobe_workaround_ctx_subprog()
72 int kprobe_workaround_ctx(void *ctx) in kprobe_workaround_ctx()
81 __weak int raw_tp_ctx_subprog(struct bpf_raw_tracepoint_args *ctx) in raw_tp_ctx_subprog()
88 int raw_tp_ctx(void *ctx) in raw_tp_ctx()
97 __weak int raw_tp_writable_ctx_subprog(struct bpf_raw_tracepoint_args *ctx) in raw_tp_writable_ctx_subprog()
104 int raw_tp_writable_ctx(void *ctx) in raw_tp_writable_ctx()
[all …]
H A Drcu_read_lock.c41 int get_cgroup_id(void *ctx) in get_cgroup_id()
62 int task_succ(void *ctx) in task_succ()
91 int no_lock(void *ctx) in no_lock()
103 int two_regions(void *ctx) in two_regions()
122 int non_sleepable_1(void *ctx) in non_sleepable_1()
138 int non_sleepable_2(void *ctx) in non_sleepable_2()
157 int task_acquire(void *ctx) in task_acquire()
185 int miss_lock(void *ctx) in miss_lock()
199 int miss_unlock(void *ctx) in miss_unlock()
211 int non_sleepable_rcu_mismatch(void *ctx) in non_sleepable_rcu_mismatch()
[all …]
H A Dtest_xdp_meta.c13 #define ctx_ptr(ctx, mem) (void *)(unsigned long)ctx->mem argument
59 int ing_cls(struct __sk_buff *ctx) in ing_cls()
77 int ing_cls_dynptr_read(struct __sk_buff *ctx) in ing_cls_dynptr_read()
95 int ing_cls_dynptr_write(struct __sk_buff *ctx) in ing_cls_dynptr_write()
113 int ing_cls_dynptr_slice(struct __sk_buff *ctx) in ing_cls_dynptr_slice()
133 int ing_cls_dynptr_slice_rdwr(struct __sk_buff *ctx) in ing_cls_dynptr_slice_rdwr()
155 int ing_cls_dynptr_offset_rd(struct __sk_buff *ctx) in ing_cls_dynptr_offset_rd()
194 int ing_cls_dynptr_offset_wr(struct __sk_buff *ctx) in ing_cls_dynptr_offset_wr()
229 int ing_cls_dynptr_offset_oob(struct __sk_buff *ctx) in ing_cls_dynptr_offset_oob()
275 static bool is_test_packet_xdp(struct xdp_md *ctx) in is_test_packet_xdp()
[all …]
H A Dexceptions_fail.c115 int reject_async_callback_throw(struct __sk_buff *ctx) in reject_async_callback_throw() argument
125 __noinline static int subprog_lock(struct __sk_buff *ctx) in subprog_lock() argument
137 int reject_with_lock(void *ctx) in reject_with_lock() argument
146 int reject_subprog_with_lock(void *ctx) in reject_subprog_with_lock() argument
153 reject_with_rcu_read_lock(void * ctx) reject_with_rcu_read_lock() argument
160 throwing_subprog(struct __sk_buff * ctx) throwing_subprog() argument
169 reject_subprog_with_rcu_read_lock(void * ctx) reject_subprog_with_rcu_read_lock() argument
185 reject_with_rbtree_add_throw(void * ctx) reject_with_rbtree_add_throw() argument
200 reject_with_reference(void * ctx) reject_with_reference() argument
211 global_subprog_may_throw(struct __sk_buff * ctx) global_subprog_may_throw() argument
220 reject_global_subprog_throw_with_reference(struct __sk_buff * ctx) reject_global_subprog_throw_with_reference() argument
233 subprog_ref(struct __sk_buff * ctx) subprog_ref() argument
244 subprog_cb_ref(u32 i,void * ctx) subprog_cb_ref() argument
252 reject_with_cb_reference(void * ctx) reject_with_cb_reference() argument
266 reject_with_cb(void * ctx) reject_with_cb() argument
274 reject_with_subprog_reference(void * ctx) reject_with_subprog_reference() argument
295 static_func(struct __sk_buff * ctx) static_func() argument
300 global_func(struct __sk_buff * ctx) global_func() argument
354 reject_set_exception_cb_bad_ret2(void * ctx) reject_set_exception_cb_bad_ret2() argument
360 loop_cb1(u32 index,int * ctx) loop_cb1() argument
366 loop_cb2(u32 index,int * ctx) loop_cb2() argument
374 reject_exception_throw_cb(struct __sk_buff * ctx) reject_exception_throw_cb() argument
382 reject_exception_throw_cb_diff(struct __sk_buff * ctx) reject_exception_throw_cb_diff() argument
421 reject_subprog_rcu_lock_throw(void * ctx) reject_subprog_rcu_lock_throw() argument
429 reject_subprog_throw_preempt_lock(void * ctx) reject_subprog_throw_preempt_lock() argument
439 reject_subprog_throw_irq_lock(void * ctx) reject_subprog_throw_irq_lock() argument
[all...]
H A Dverifier_arena.c30 int basic_alloc1_nosleep(void *ctx) in basic_alloc1_nosleep() argument
61 int basic_alloc1(void *ctx) in basic_alloc1() argument
100 int free_scalar_below_arena(void *ctx) in free_scalar_below_arena() argument
128 int basic_alloc2_nosleep(void *ctx) in basic_alloc2_nosleep() argument
166 int basic_alloc2(void *ctx) in basic_alloc2() argument
208 int basic_alloc3_nosleep(void *ctx) in basic_alloc3_nosleep() argument
221 int basic_alloc3(void *ctx) in basic_alloc3() argument
234 int basic_reserve1_nosleep(void *ctx) in basic_reserve1_nosleep() argument
266 int basic_reserve1(void *ctx) in basic_reserve1() argument
298 int basic_reserve2_nosleep(void *ctx) in basic_reserve2_nosleep() argument
318 basic_reserve2(void * ctx) basic_reserve2() argument
339 reserve_twice_nosleep(void * ctx) reserve_twice_nosleep() argument
360 reserve_twice(void * ctx) reserve_twice() argument
382 reserve_invalid_region_nosleep(void * ctx) reserve_invalid_region_nosleep() argument
412 reserve_invalid_region(void * ctx) reserve_invalid_region() argument
442 iter_maps1(struct bpf_iter__bpf_map * ctx) iter_maps1() argument
454 iter_maps2(struct bpf_iter__bpf_map * ctx) iter_maps2() argument
464 iter_maps3(struct bpf_iter__bpf_map * ctx) iter_maps3() argument
479 arena_kfuncs_under_bpf_lock(void * ctx) arena_kfuncs_under_bpf_lock() argument
519 scalar_add_arena_ptr(void * ctx) scalar_add_arena_ptr() argument
543 arena_ptr_add_arena_ptr(void * ctx) arena_ptr_add_arena_ptr() argument
566 mixed_arena_scalar_alu64_scalar_first(void * ctx) mixed_arena_scalar_alu64_scalar_first() argument
591 mixed_arena_scalar_alu64_arena_first(void * ctx) mixed_arena_scalar_alu64_arena_first() argument
615 scalar_xor_arena_ptr(void * ctx) scalar_xor_arena_ptr() argument
639 arena_ptr_add_to_non_arena_ptr(void * ctx) arena_ptr_add_to_non_arena_ptr() argument
664 non_arena_ptr_add_to_arena_ptr(void * ctx) non_arena_ptr_add_to_arena_ptr() argument
759 check_arena_arg_ret(void * ctx) check_arena_arg_ret() argument
[all...]
H A Dtrigger_bench.c87 int trigger_driver(void *ctx) in bench_trigger_kretprobe() argument
29 bench_trigger_uprobe(void * ctx) bench_trigger_uprobe() argument
36 bench_trigger_uprobe_multi(void * ctx) bench_trigger_uprobe_multi() argument
45 trigger_count(void * ctx) trigger_count() argument
56 trigger_driver(void * ctx) trigger_driver() argument
69 trigger_driver_kfunc(void * ctx) trigger_driver_kfunc() argument
80 bench_trigger_kprobe(void * ctx) bench_trigger_kprobe() argument
94 bench_trigger_kprobe_multi(void * ctx) bench_trigger_kprobe_multi() argument
101 bench_trigger_kretprobe_multi(void * ctx) bench_trigger_kretprobe_multi() argument
108 bench_trigger_fentry(void * ctx) bench_trigger_fentry() argument
115 bench_trigger_fexit(void * ctx) bench_trigger_fexit() argument
122 bench_trigger_fmodret(void * ctx) bench_trigger_fmodret() argument
129 bench_trigger_tp(void * ctx) bench_trigger_tp() argument
136 bench_trigger_rawtp(void * ctx) bench_trigger_rawtp() argument
[all...]
H A Dtest_sk_lookup.c76 int lookup_pass(struct bpf_sk_lookup *ctx) in lookup_pass()
82 int lookup_drop(struct bpf_sk_lookup *ctx) in lookup_drop()
88 int check_ifindex(struct bpf_sk_lookup *ctx) in check_ifindex()
96 int reuseport_pass(struct sk_reuseport_md *ctx) in reuseport_pass()
102 int reuseport_drop(struct sk_reuseport_md *ctx) in reuseport_drop()
109 int redir_port(struct bpf_sk_lookup *ctx) in redir_port()
128 int redir_ip4(struct bpf_sk_lookup *ctx) in redir_ip4()
151 int redir_ip6(struct bpf_sk_lookup *ctx) in redir_ip6()
176 int select_sock_a(struct bpf_sk_lookup *ctx) in select_sock_a()
191 int select_sock_a_no_reuseport(struct bpf_sk_lookup *ctx) in select_sock_a_no_reuseport()
[all …]
H A Ddynptr_fail.c82 int ringbuf_missing_release1(void *ctx) in ringbuf_missing_release1() argument
95 int ringbuf_missing_release2(void *ctx) in ringbuf_missing_release2() argument
131 int ringbuf_missing_release_callback(void *ctx) in ringbuf_missing_release_callback() argument
140 int ringbuf_release_uninit_dynptr(void *ctx) in ringbuf_release_uninit_dynptr() argument
153 int use_after_invalid(void *ctx) in use_after_invalid() argument
173 int ringbuf_invalid_api(void *ctx) in ringbuf_invalid_api() argument
196 int add_dynptr_to_map1(void *ctx) in add_dynptr_to_map1() argument
214 int add_dynptr_to_map2(void *ctx) in add_dynptr_to_map2() argument
232 int data_slice_out_of_bounds_ringbuf(void *ctx) in data_slice_out_of_bounds_ringbuf() argument
294 int data_slice_out_of_bounds_map_value(void *ctx) in data_slice_out_of_bounds_map_value() argument
315 data_slice_use_after_release1(void * ctx) data_slice_use_after_release1() argument
347 data_slice_use_after_release2(void * ctx) data_slice_use_after_release2() argument
379 data_slice_missing_null_check1(void * ctx) data_slice_missing_null_check1() argument
400 data_slice_missing_null_check2(void * ctx) data_slice_missing_null_check2() argument
422 invalid_helper1(void * ctx) invalid_helper1() argument
437 invalid_helper2(void * ctx) invalid_helper2() argument
452 invalid_write1(void * ctx) invalid_write1() argument
475 invalid_write2(void * ctx) invalid_write2() argument
499 invalid_write3(void * ctx) invalid_write3() argument
531 invalid_write4(void * ctx) invalid_write4() argument
550 global(void * ctx) global() argument
563 invalid_read1(void * ctx) invalid_read1() argument
580 invalid_read2(void * ctx) invalid_read2() argument
596 invalid_read3(void * ctx) invalid_read3() argument
623 invalid_read4(void * ctx) invalid_read4() argument
639 invalid_offset(void * ctx) invalid_offset() argument
654 release_twice(void * ctx) release_twice() argument
681 release_twice_callback(void * ctx) release_twice_callback() argument
697 dynptr_from_mem_invalid_api(void * ctx) dynptr_from_mem_invalid_api() argument
711 dynptr_from_dynptr_data(void * ctx) dynptr_from_dynptr_data() argument
752 dynptr_pruning_overwrite(struct __sk_buff * ctx) dynptr_pruning_overwrite() argument
783 dynptr_pruning_stacksafe(struct __sk_buff * ctx) dynptr_pruning_stacksafe() argument
814 dynptr_pruning_type_confusion(struct __sk_buff * ctx) dynptr_pruning_type_confusion() argument
886 dynptr_var_off_overwrite(struct __sk_buff * ctx) dynptr_var_off_overwrite() argument
926 dynptr_partial_slot_invalidate(struct __sk_buff * ctx) dynptr_partial_slot_invalidate() argument
993 dynptr_overwrite_unref(void * ctx) dynptr_overwrite_unref() argument
1010 dynptr_invalidate_slice_reinit(void * ctx) dynptr_invalidate_slice_reinit() argument
1031 dynptr_invalidate_slice_or_null(void * ctx) dynptr_invalidate_slice_or_null() argument
1049 dynptr_invalidate_slice_failure(void * ctx) dynptr_invalidate_slice_failure() argument
1077 dynptr_invalidate_slice_success(void * ctx) dynptr_invalidate_slice_success() argument
1102 dynptr_overwrite_ref(void * ctx) dynptr_overwrite_ref() argument
1116 dynptr_read_into_slot(void * ctx) dynptr_read_into_slot() argument
1512 skb_invalid_ctx(void * ctx) skb_invalid_ctx() argument
1525 skb_meta_invalid_ctx(void * ctx) skb_meta_invalid_ctx() argument
1562 uninit_write_into_slot(void * ctx) uninit_write_into_slot() argument
1579 xdp_invalid_ctx(void * ctx) xdp_invalid_ctx() argument
1643 dynptr_slice_commuted_invalidate(void * ctx) dynptr_slice_commuted_invalidate() argument
1675 invalid_data_slices(void * ctx) invalid_data_slices() argument
1720 dynptr_adjust_invalid(void * ctx) dynptr_adjust_invalid() argument
1733 dynptr_is_null_invalid(void * ctx) dynptr_is_null_invalid() argument
1746 dynptr_is_rdonly_invalid(void * ctx) dynptr_is_rdonly_invalid() argument
1759 dynptr_size_invalid(void * ctx) dynptr_size_invalid() argument
1772 clone_invalid1(void * ctx) clone_invalid1() argument
1806 clone_invalidate1(void * ctx) clone_invalidate1() argument
1827 clone_invalidate2(void * ctx) clone_invalidate2() argument
1848 clone_invalidate3(void * ctx) clone_invalidate3() argument
1874 clone_invalidate4(void * ctx) clone_invalidate4() argument
1900 clone_invalidate5(void * ctx) clone_invalidate5() argument
1926 clone_invalidate6(void * ctx) clone_invalidate6() argument
2059 test_dynptr_reg_type(void * ctx) test_dynptr_reg_type() argument
2074 dynptr_overwrite_ref_with_clone(void * ctx) dynptr_overwrite_ref_with_clone() argument
2093 dynptr_overwrite_ref_last_clone(void * ctx) dynptr_overwrite_ref_last_clone() argument
2113 dynptr_overwrite_clone_with_original(void * ctx) dynptr_overwrite_clone_with_original() argument
2132 dynptr_overwrite_ref_invalidate_slice(void * ctx) dynptr_overwrite_ref_invalidate_slice() argument
2160 dynptr_overwrite_ref_clone_slice_valid(void * ctx) dynptr_overwrite_ref_clone_slice_valid() argument
[all...]
H A Dmem_rdonly_untrusted.c14 int btf_id_to_ptr_mem(void *ctx) in btf_id_to_ptr_mem() argument
43 int ldx_is_ok_bad_addr(void *ctx) in ldx_is_ok_bad_addr() argument
57 int ldx_is_ok_good_addr(void *ctx) in ldx_is_ok_good_addr() argument
68 int offset_not_tracked(void *ctx) in offset_not_tracked() argument
84 int stx_not_ok(void *ctx) in stx_not_ok() argument
97 int atomic_not_ok(void *ctx) in atomic_not_ok() argument
110 int atomic_rmw_not_ok(void *ctx) in atomic_rmw_not_ok() argument
123 kfunc_param_not_ok(void * ctx) kfunc_param_not_ok() argument
135 helper_param_not_ok(void * ctx) helper_param_not_ok() argument
159 mixed_mem_type(void * ctx) mixed_mem_type() argument
190 mixed_mem_untrusted_btf_id_type(void * ctx) mixed_mem_untrusted_btf_id_type() argument
227 mixed_mem_btf_id_type(void * ctx) mixed_mem_btf_id_type() argument
271 mixed_rdonly_mem_btf_id_type(void * ctx) mixed_rdonly_mem_btf_id_type() argument
312 mixed_mem_mem_type(void * ctx) mixed_mem_mem_type() argument
345 mixed_map_value_mem_type(void * ctx) mixed_map_value_mem_type() argument
379 mixed_stack_mem_type(void * ctx) mixed_stack_mem_type() argument
430 diff_size_access(void * ctx) diff_size_access() argument
437 misaligned_access(void * ctx) misaligned_access() argument
450 null_check(void * ctx) null_check() argument
466 ldx_is_ok_commuted_addr(void * ctx) ldx_is_ok_commuted_addr() argument
[all...]
/linux/arch/powerpc/platforms/cell/spufs/
H A Dbacking_ops.c34 static void gen_spu_event(struct spu_context *ctx, u32 event) in gen_spu_event()
49 static int spu_backing_mbox_read(struct spu_context *ctx, u32 * data) in spu_backing_mbox_read()
71 static u32 spu_backing_mbox_stat_read(struct spu_context *ctx) in spu_backing_mbox_stat_read()
76 static __poll_t spu_backing_mbox_stat_poll(struct spu_context *ctx, in spu_backing_mbox_stat_poll()
115 static int spu_backing_ibox_read(struct spu_context *ctx, u32 * data) in spu_backing_ibox_read()
139 static int spu_backing_wbox_write(struct spu_context *ctx, u32 data) in spu_backing_wbox_write()
170 static u32 spu_backing_signal1_read(struct spu_context *ctx) in spu_backing_signal1_read()
175 static void spu_backing_signal1_write(struct spu_context *ctx, u32 data) in spu_backing_signal1_write()
187 static u32 spu_backing_signal2_read(struct spu_context *ctx) in spu_backing_signal2_read()
192 static void spu_backing_signal2_write(struct spu_context *ctx, u32 data) in spu_backing_signal2_write()
[all …]
H A Dhw_ops.c24 static int spu_hw_mbox_read(struct spu_context *ctx, u32 * data) in spu_hw_mbox_read()
41 static u32 spu_hw_mbox_stat_read(struct spu_context *ctx) in spu_hw_mbox_stat_read()
46 static __poll_t spu_hw_mbox_stat_poll(struct spu_context *ctx, __poll_t events) in spu_hw_mbox_stat_poll()
82 static int spu_hw_ibox_read(struct spu_context *ctx, u32 * data) in spu_hw_ibox_read()
103 static int spu_hw_wbox_write(struct spu_context *ctx, u32 data) in spu_hw_wbox_write()
124 static void spu_hw_signal1_write(struct spu_context *ctx, u32 data) in spu_hw_signal1_write()
129 static void spu_hw_signal2_write(struct spu_context *ctx, u32 data) in spu_hw_signal2_write()
134 static void spu_hw_signal1_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal1_type_set()
150 static u64 spu_hw_signal1_type_get(struct spu_context *ctx) in spu_hw_signal1_type_get()
155 static void spu_hw_signal2_type_set(struct spu_context *ctx, u64 val) in spu_hw_signal2_type_set()
[all …]
H A Dsched.c85 void spu_set_timeslice(struct spu_context *ctx) in spu_set_timeslice()
96 void __spu_update_sched_info(struct spu_context *ctx) in __spu_update_sched_info()
137 void spu_update_sched_info(struct spu_context *ctx) in spu_update_sched_info()
155 static int __node_allowed(struct spu_context *ctx, int node) in __node_allowed()
167 static int node_allowed(struct spu_context *ctx, int node) in node_allowed()
191 struct spu_context *ctx = spu->ctx; in do_notify_spus_active() local
207 static void spu_bind_context(struct spu *spu, struct spu_context *ctx) in spu_bind_context()
256 struct spu_context *ctx; in aff_merge_remaining_ctxs() local
267 struct spu_context *ctx; in aff_set_offsets() local
288 static struct spu *aff_ref_location(struct spu_context *ctx, int mem_aff, in aff_ref_location()
[all …]
/linux/drivers/ras/amd/atl/
H A Dmap.c15 static int df2_get_intlv_mode(struct addr_ctx *ctx) in df2_get_intlv_mode()
30 static int df3_get_intlv_mode(struct addr_ctx *ctx) in df3_get_intlv_mode()
36 static int df3p5_get_intlv_mode(struct addr_ctx *ctx) in df3p5_get_intlv_mode()
46 static int df4_get_intlv_mode(struct addr_ctx *ctx) in df4_get_intlv_mode()
59 static int df4p5_get_intlv_mode(struct addr_ctx *ctx) in df4p5_get_intlv_mode()
80 static int get_intlv_mode(struct addr_ctx *ctx) in get_intlv_mode()
143 static int get_dram_offset(struct addr_ctx *ctx, u64 *norm_offset) in get_dram_offset()
182 static int df3_6ch_get_dram_addr_map(struct addr_ctx *ctx) in df3_6ch_get_dram_addr_map()
212 static int df2_get_dram_addr_map(struct addr_ctx *ctx) in df2_get_dram_addr_map()
227 static int df3_get_dram_addr_map(struct addr_ctx *ctx) in df3_get_dram_addr_map()
[all …]
/linux/security/ipe/
H A Deval.c33 static void build_ipe_sb_ctx(struct ipe_eval_ctx *ctx, const struct file *const file) in build_ipe_sb_ctx()
44 static void build_ipe_bdev_ctx(struct ipe_eval_ctx *ctx, const struct inode *const ino) in build_ipe_bdev_ctx()
50 static void build_ipe_bdev_ctx(struct ipe_eval_ctx *ctx, const struct inode *const ino) in build_ipe_bdev_ctx()
57 static void build_ipe_inode_blob_ctx(struct ipe_eval_ctx *ctx, in build_ipe_inode_blob_ctx()
63 static inline void build_ipe_inode_blob_ctx(struct ipe_eval_ctx *ctx, in build_ipe_inode_blob_ctx()
74 static void build_ipe_inode_ctx(struct ipe_eval_ctx *ctx, const struct inode *const ino) in build_ipe_inode_ctx()
80 static void build_ipe_inode_ctx(struct ipe_eval_ctx *ctx, const struct inode *const ino) in build_ipe_inode_ctx()
92 void ipe_build_eval_ctx(struct ipe_eval_ctx *ctx, in ipe_build_eval_ctx()
119 static bool evaluate_boot_verified(const struct ipe_eval_ctx *const ctx) in evaluate_boot_verified()
134 static bool evaluate_dmv_roothash(const struct ipe_eval_ctx *const ctx, in evaluate_dmv_roothash()
[all …]
/linux/drivers/base/regmap/
H A Dregmap-mmio.c65 static void regmap_mmio_write8(struct regmap_mmio_context *ctx, in regmap_mmio_write8()
72 static void regmap_mmio_write8_relaxed(struct regmap_mmio_context *ctx, in regmap_mmio_write8_relaxed()
79 static void regmap_mmio_iowrite8(struct regmap_mmio_context *ctx, in regmap_mmio_iowrite8()
85 static void regmap_mmio_write16le(struct regmap_mmio_context *ctx, in regmap_mmio_write16le()
92 static void regmap_mmio_write16le_relaxed(struct regmap_mmio_context *ctx, in regmap_mmio_write16le_relaxed()
99 static void regmap_mmio_iowrite16le(struct regmap_mmio_context *ctx, in regmap_mmio_iowrite16le()
105 static void regmap_mmio_write16be(struct regmap_mmio_context *ctx, in regmap_mmio_write16be()
112 static void regmap_mmio_iowrite16be(struct regmap_mmio_context *ctx, in regmap_mmio_iowrite16be()
118 static void regmap_mmio_write32le(struct regmap_mmio_context *ctx, in regmap_mmio_write32le()
125 static void regmap_mmio_write32le_relaxed(struct regmap_mmio_context *ctx, in regmap_mmio_write32le_relaxed()
[all …]
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc_opr_v5.c34 static int s5p_mfc_alloc_dec_temp_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v5()
55 static void s5p_mfc_release_dec_desc_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v5()
61 static int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v5()
193 static void s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v5()
200 static int s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v5()
242 static void s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v5()
260 static void s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, in s5p_mfc_write_info_v5()
267 static unsigned int s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, in s5p_mfc_read_info_v5()
274 static void s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v5()
316 static void s5p_mfc_enc_calc_src_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v5()
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_ctl.c87 static inline u32 dpu_hw_ctl_get_flush_register(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_get_flush_register()
94 static inline void dpu_hw_ctl_trigger_start(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_start()
101 static inline bool dpu_hw_ctl_is_started(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_is_started()
106 static inline void dpu_hw_ctl_trigger_pending(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_pending()
113 static inline void dpu_hw_ctl_clear_pending_flush(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_clear_pending_flush()
130 static inline void dpu_hw_ctl_update_pending_flush(struct dpu_hw_ctl *ctx, in dpu_hw_ctl_update_pending_flush()
138 static u32 dpu_hw_ctl_get_pending_flush(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_get_pending_flush()
143 static inline void dpu_hw_ctl_trigger_flush_v1(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_flush_v1()
183 static inline void dpu_hw_ctl_trigger_flush(struct dpu_hw_ctl *ctx) in dpu_hw_ctl_trigger_flush()
190 static void dpu_hw_ctl_update_pending_flush_sspp(struct dpu_hw_ctl *ctx, in dpu_hw_ctl_update_pending_flush_sspp()
[all …]
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_fimc.c113 static u32 fimc_read(struct fimc_context *ctx, u32 reg) in fimc_read() argument
118 static void fimc_write(struct fimc_context *ctx, u32 val, u32 reg) in fimc_write() argument
123 static void fimc_set_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_set_bits() argument
130 static void fimc_clear_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_clear_bits() argument
137 static void fimc_sw_reset(struct fimc_context *ctx) in fimc_sw_reset() argument
162 fimc_set_type_ctrl(struct fimc_context * ctx) fimc_set_type_ctrl() argument
182 fimc_handle_jpeg(struct fimc_context * ctx,bool enable) fimc_handle_jpeg() argument
197 fimc_mask_irq(struct fimc_context * ctx,bool enable) fimc_mask_irq() argument
212 fimc_clear_irq(struct fimc_context * ctx) fimc_clear_irq() argument
217 fimc_check_ovf(struct fimc_context * ctx) fimc_check_ovf() argument
241 fimc_check_frame_end(struct fimc_context * ctx) fimc_check_frame_end() argument
258 fimc_get_buf_id(struct fimc_context * ctx) fimc_get_buf_id() argument
284 fimc_handle_lastend(struct fimc_context * ctx,bool enable) fimc_handle_lastend() argument
299 fimc_src_set_fmt_order(struct fimc_context * ctx,u32 fmt) fimc_src_set_fmt_order() argument
364 fimc_src_set_fmt(struct fimc_context * ctx,u32 fmt,bool tiled) fimc_src_set_fmt() argument
416 fimc_src_set_transf(struct fimc_context * ctx,unsigned int rotation) fimc_src_set_transf() argument
467 fimc_set_window(struct fimc_context * ctx,struct exynos_drm_ipp_buffer * buf) fimc_set_window() argument
502 fimc_src_set_size(struct fimc_context * ctx,struct exynos_drm_ipp_buffer * buf) fimc_src_set_size() argument
551 fimc_src_set_addr(struct fimc_context * ctx,struct exynos_drm_ipp_buffer * buf) fimc_src_set_addr() argument
559 fimc_dst_set_fmt_order(struct fimc_context * ctx,u32 fmt) fimc_dst_set_fmt_order() argument
630 fimc_dst_set_fmt(struct fimc_context * ctx,u32 fmt,bool tiled) fimc_dst_set_fmt() argument
689 fimc_dst_set_transf(struct fimc_context * ctx,unsigned int rotation) fimc_dst_set_transf() argument
736 fimc_set_prescaler(struct fimc_context * ctx,struct fimc_scaler * sc,struct drm_exynos_ipp_task_rect * src,struct drm_exynos_ipp_task_rect * dst) fimc_set_prescaler() argument
805 fimc_set_scaler(struct fimc_context * ctx,struct fimc_scaler * sc) fimc_set_scaler() argument
844 fimc_dst_set_size(struct fimc_context * ctx,struct exynos_drm_ipp_buffer * buf) fimc_dst_set_size() argument
904 fimc_dst_set_buf_seq(struct fimc_context * ctx,u32 buf_id,bool enqueue) fimc_dst_set_buf_seq() argument
934 fimc_dst_set_addr(struct fimc_context * ctx,struct exynos_drm_ipp_buffer * buf) fimc_dst_set_addr() argument
948 struct fimc_context *ctx = dev_id; fimc_irq_handler() local
981 fimc_clear_addr(struct fimc_context * ctx) fimc_clear_addr() argument
998 fimc_reset(struct fimc_context * ctx) fimc_reset() argument
1009 fimc_start(struct fimc_context * ctx) fimc_start() argument
1055 fimc_stop(struct fimc_context * ctx) fimc_stop() argument
1084 struct fimc_context *ctx = fimc_commit() local
1113 struct fimc_context *ctx = fimc_abort() local
1135 struct fimc_context *ctx = dev_get_drvdata(dev); fimc_bind() local
1156 struct fimc_context *ctx = dev_get_drvdata(dev); fimc_unbind() local
1169 fimc_put_clocks(struct fimc_context * ctx) fimc_put_clocks() argument
1181 fimc_setup_clocks(struct fimc_context * ctx) fimc_setup_clocks() argument
1269 struct fimc_context *ctx; fimc_probe() local
1373 struct fimc_context *ctx = get_fimc_context(dev); fimc_remove() local
1384 struct fimc_context *ctx = get_fimc_context(dev); fimc_runtime_suspend() local
1393 struct fimc_context *ctx = get_fimc_context(dev); fimc_runtime_resume() local
[all...]

12345678910>>...89