| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_sock_addr.c | 11 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 D | string_kfuncs_success.c | 13 __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 D | linked_list_fail.c | 171 int map_compat_kprobe(void *ctx) in map_compat_kprobe() 178 int map_compat_kretprobe(void *ctx) in map_compat_kretprobe() 185 int map_compat_tp(void *ctx) in map_compat_tp() 192 int map_compat_perf(void *ctx) in map_compat_perf() 199 int map_compat_raw_tp(void *ctx) in map_compat_raw_tp() 206 int map_compat_raw_tp_w(void *ctx) in map_compat_raw_tp_w() 213 int obj_type_id_oor(void *ctx) in obj_type_id_oor() 220 int obj_new_no_composite(void *ctx) in obj_new_no_composite() 227 int obj_new_no_struct(void *ctx) in obj_new_no_struct() 234 int obj_drop_non_zero_off(void *ctx) in obj_drop_non_zero_off() [all …]
|
| H A D | verifier_lsm.c | 10 errno_zero_retval_test1(void * ctx) errno_zero_retval_test1() argument 21 errno_zero_retval_test2(void * ctx) errno_zero_retval_test2() argument 32 errno_zero_retval_test4(void * ctx) errno_zero_retval_test4() argument 43 errno_zero_retval_test5(void * ctx) errno_zero_retval_test5() argument 54 errno_zero_retval_test6(void * ctx) errno_zero_retval_test6() argument 65 bool_retval_test1(void * ctx) bool_retval_test1() argument 77 bool_retval_test2(void * ctx) bool_retval_test2() argument 88 bool_retval_test3(void * ctx) bool_retval_test3() argument 99 bool_retval_test4(void * ctx) bool_retval_test4() argument 110 void_retval_test1(void * ctx) void_retval_test1() argument 121 void_retval_test2(void * ctx) void_retval_test2() argument 132 disabled_hook_test1(void * ctx) disabled_hook_test1() argument 143 disabled_hook_test2(void * ctx) disabled_hook_test2() argument 154 disabled_hook_test3(void * ctx) disabled_hook_test3() argument [all...] |
| H A D | irq.c | 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 32 irq_restore_missing_2(struct __sk_buff * ctx) irq_restore_missing_2() 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 136 irq_balance(struct __sk_buff * ctx) irq_balance() 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 D | string_kfuncs_failure2.c | 9 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 D | rcu_read_lock.c | 31 get_cgroup_id(void * ctx) get_cgroup_id() argument 52 task_succ(void * ctx) task_succ() argument 81 no_lock(void * ctx) no_lock() argument 93 two_regions(void * ctx) two_regions() argument 112 non_sleepable_1(void * ctx) non_sleepable_1() argument 128 non_sleepable_2(void * ctx) non_sleepable_2() argument 147 task_acquire(void * ctx) task_acquire() argument 175 miss_lock(void * ctx) miss_lock() argument 189 miss_unlock(void * ctx) miss_unlock() argument 201 non_sleepable_rcu_mismatch(void * ctx) non_sleepable_rcu_mismatch() argument 219 inproper_sleepable_helper(void * ctx) inproper_sleepable_helper() argument 263 nested_rcu_region(void * ctx) nested_rcu_region() argument 282 task_trusted_non_rcuptr(void * ctx) task_trusted_non_rcuptr() argument 296 task_untrusted_rcuptr(void * ctx) task_untrusted_rcuptr() argument 310 cross_rcu_region(void * ctx) cross_rcu_region() argument 326 static_subprog(void * ctx) static_subprog() argument 344 static_subprog_lock(void * ctx) static_subprog_lock() argument 363 static_subprog_unlock(void * ctx) static_subprog_unlock() argument 382 rcu_read_lock_subprog(void * ctx) rcu_read_lock_subprog() argument 394 rcu_read_lock_global_subprog(void * ctx) rcu_read_lock_global_subprog() argument 406 rcu_read_lock_subprog_lock(void * ctx) rcu_read_lock_subprog_lock() argument 416 rcu_read_lock_global_subprog_lock(void * ctx) rcu_read_lock_global_subprog_lock() argument 426 rcu_read_lock_subprog_unlock(void * ctx) rcu_read_lock_subprog_unlock() argument 436 rcu_read_lock_global_subprog_unlock(void * ctx) rcu_read_lock_global_subprog_unlock() argument 471 rcu_read_lock_sleepable_helper_global_subprog(void * ctx) rcu_read_lock_sleepable_helper_global_subprog() argument 482 rcu_read_lock_sleepable_kfunc_global_subprog(void * ctx) rcu_read_lock_sleepable_kfunc_global_subprog() argument 493 rcu_read_lock_sleepable_global_subprog_indirect(void * ctx) rcu_read_lock_sleepable_global_subprog_indirect() argument [all...] |
| H A D | dynptr_fail.c | 82 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 274 data_slice_out_of_bounds_map_value(void * ctx) data_slice_out_of_bounds_map_value() argument 295 data_slice_use_after_release1(void * ctx) data_slice_use_after_release1() argument 327 data_slice_use_after_release2(void * ctx) data_slice_use_after_release2() argument 359 data_slice_missing_null_check1(void * ctx) data_slice_missing_null_check1() argument 380 data_slice_missing_null_check2(void * ctx) data_slice_missing_null_check2() argument 402 invalid_helper1(void * ctx) invalid_helper1() argument 417 invalid_helper2(void * ctx) invalid_helper2() argument 432 invalid_write1(void * ctx) invalid_write1() argument 455 invalid_write2(void * ctx) invalid_write2() argument 479 invalid_write3(void * ctx) invalid_write3() argument 511 invalid_write4(void * ctx) invalid_write4() argument 530 global(void * ctx) global() argument 543 invalid_read1(void * ctx) invalid_read1() argument 560 invalid_read2(void * ctx) invalid_read2() argument 576 invalid_read3(void * ctx) invalid_read3() argument 603 invalid_read4(void * ctx) invalid_read4() argument 619 invalid_offset(void * ctx) invalid_offset() argument 634 release_twice(void * ctx) release_twice() argument 661 release_twice_callback(void * ctx) release_twice_callback() argument 677 dynptr_from_mem_invalid_api(void * ctx) dynptr_from_mem_invalid_api() argument 690 dynptr_pruning_overwrite(struct __sk_buff * ctx) dynptr_pruning_overwrite() argument 721 dynptr_pruning_stacksafe(struct __sk_buff * ctx) dynptr_pruning_stacksafe() argument 752 dynptr_pruning_type_confusion(struct __sk_buff * ctx) dynptr_pruning_type_confusion() argument 824 dynptr_var_off_overwrite(struct __sk_buff * ctx) dynptr_var_off_overwrite() argument 864 dynptr_partial_slot_invalidate(struct __sk_buff * ctx) dynptr_partial_slot_invalidate() argument 931 dynptr_overwrite_unref(void * ctx) dynptr_overwrite_unref() argument 948 dynptr_invalidate_slice_reinit(void * ctx) dynptr_invalidate_slice_reinit() argument 969 dynptr_invalidate_slice_or_null(void * ctx) dynptr_invalidate_slice_or_null() argument 987 dynptr_invalidate_slice_failure(void * ctx) dynptr_invalidate_slice_failure() argument 1015 dynptr_invalidate_slice_success(void * ctx) dynptr_invalidate_slice_success() argument 1040 dynptr_overwrite_ref(void * ctx) dynptr_overwrite_ref() argument 1054 dynptr_read_into_slot(void * ctx) dynptr_read_into_slot() argument 1248 skb_invalid_ctx(void * ctx) skb_invalid_ctx() argument 1285 uninit_write_into_slot(void * ctx) uninit_write_into_slot() argument 1302 xdp_invalid_ctx(void * ctx) xdp_invalid_ctx() argument 1366 invalid_data_slices(void * ctx) invalid_data_slices() argument 1411 dynptr_adjust_invalid(void * ctx) dynptr_adjust_invalid() argument 1424 dynptr_is_null_invalid(void * ctx) dynptr_is_null_invalid() argument 1437 dynptr_is_rdonly_invalid(void * ctx) dynptr_is_rdonly_invalid() argument 1450 dynptr_size_invalid(void * ctx) dynptr_size_invalid() argument 1463 clone_invalid1(void * ctx) clone_invalid1() argument 1497 clone_invalidate1(void * ctx) clone_invalidate1() argument 1518 clone_invalidate2(void * ctx) clone_invalidate2() argument 1539 clone_invalidate3(void * ctx) clone_invalidate3() argument 1565 clone_invalidate4(void * ctx) clone_invalidate4() argument 1591 clone_invalidate5(void * ctx) clone_invalidate5() argument 1617 clone_invalidate6(void * ctx) clone_invalidate6() argument 1727 test_dynptr_reg_type(void * ctx) test_dynptr_reg_type() argument [all...] |
| H A D | test_global_func_ctx_args.c | 17 __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 D | exceptions_fail.c | 115 int reject_async_callback_throw(struct __sk_buff *ctx) in reject_async_callback_throw() 125 __noinline static int subprog_lock(struct __sk_buff *ctx) in subprog_lock() 137 int reject_with_lock(void *ctx) in reject_with_lock() 146 int reject_subprog_with_lock(void *ctx) in reject_subprog_with_lock() 153 int reject_with_rcu_read_lock(void *ctx) in reject_with_rcu_read_lock() 160 __noinline static int throwing_subprog(struct __sk_buff *ctx) in throwing_subprog() 169 int reject_subprog_with_rcu_read_lock(void *ctx) in reject_subprog_with_rcu_read_lock() 185 int reject_with_rbtree_add_throw(void *ctx) in reject_with_rbtree_add_throw() 200 int reject_with_reference(void *ctx) in reject_with_reference() 211 __noinline int global_subprog_may_throw(struct __sk_buff *ctx) in global_subprog_may_throw() [all …]
|
| H A D | trigger_bench.c | 87 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 D | test_sk_lookup.c | 76 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 D | exceptions.c | 46 int exception_throw_always_1(struct __sk_buff *ctx) in exception_throw_always_1() argument 57 int exception_throw_always_2(struct __sk_buff *ctx) in exception_throw_always_2() argument 63 int exception_throw_unwind_1(struct __sk_buff *ctx) in exception_throw_unwind_1() argument 69 int exception_throw_unwind_2(struct __sk_buff *ctx) in exception_throw_unwind_2() argument 75 int exception_throw_default(struct __sk_buff *ctx) in exception_throw_default() argument 82 int exception_throw_default_value(struct __sk_buff *ctx) in exception_throw_default_value() argument 89 int exception_tail_call_target(struct __sk_buff *ctx) in exception_tail_call_target() argument 96 exception_tail_call_subprog(struct __sk_buff * ctx) exception_tail_call_subprog() argument 105 exception_tail_call(struct __sk_buff * ctx) exception_tail_call() argument 112 exception_ext_global(struct __sk_buff * ctx) exception_ext_global() argument 119 exception_ext_static(struct __sk_buff * ctx) exception_ext_static() argument 125 exception_ext(struct __sk_buff * ctx) exception_ext() argument 158 subprog(struct __sk_buff * ctx) subprog() argument 163 throwing_subprog(struct __sk_buff * ctx) throwing_subprog() argument 170 global_subprog(struct __sk_buff * ctx) global_subprog() argument 175 throwing_global_subprog(struct __sk_buff * ctx) throwing_global_subprog() argument 183 exception_throw_subprog(struct __sk_buff * ctx) exception_throw_subprog() argument 333 exception_assert_range(struct __sk_buff * ctx) exception_assert_range() argument 342 exception_assert_range_with(struct __sk_buff * ctx) exception_assert_range_with() argument 351 exception_bad_assert_range(struct __sk_buff * ctx) exception_bad_assert_range() argument 360 exception_bad_assert_range_with(struct __sk_buff * ctx) exception_bad_assert_range_with() argument [all...] |
| H A D | preempt_lock.c | 12 int preempt_lock_missing_1(struct __sk_buff *ctx) in preempt_lock_missing_1() argument 20 int preempt_lock_missing_2(struct __sk_buff *ctx) in preempt_lock_missing_2() argument 29 int preempt_lock_missing_3(struct __sk_buff *ctx) in preempt_lock_missing_3() argument 39 int preempt_lock_missing_3_minus_2(struct __sk_buff *ctx) in preempt_lock_missing_3_minus_2() argument 61 int preempt_lock_missing_1_subprog(struct __sk_buff *ctx) in preempt_lock_missing_1_subprog() argument 69 int preempt_lock_missing_2_subprog(struct __sk_buff *ctx) in preempt_lock_missing_2_subprog() argument 78 int preempt_lock_missing_2_minus_1_subprog(struct __sk_buff *ctx) in preempt_lock_missing_2_minus_1_subprog() argument 93 __success int preempt_balance(struct __sk_buff *ctx) in preempt_balance() argument 100 __success int preempt_balance_subprog_test(struct __sk_buff *ctx) in preempt_balance_subprog_test() argument 108 int preempt_sleepable_helper(void *ctx) in preempt_sleepable_helper() argument 120 preempt_sleepable_kfunc(void * ctx) preempt_sleepable_kfunc() argument 138 preempt_global_subprog_test(struct __sk_buff * ctx) preempt_global_subprog_test() argument [all...] |
| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | backing_ops.c | 34 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 D | hw_ops.c | 24 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 D | file.c | 160 struct spu_context *ctx = i->i_ctx; in spufs_mem_open() local 174 struct spu_context *ctx = i->i_ctx; in spufs_mem_release() local 184 spufs_mem_dump(struct spu_context *ctx, struc argument 193 struct spu_context *ctx = file->private_data; spufs_mem_read() local 210 struct spu_context *ctx = file->private_data; spufs_mem_write() local 233 struct spu_context *ctx = vma->vm_file->private_data; spufs_mem_mmap_fault() local 265 struct spu_context *ctx = vma->vm_file->private_data; spufs_mem_mmap_access() local 314 struct spu_context *ctx = vmf->vma->vm_file->private_data; spufs_ps_fault() local 396 struct spu_context *ctx = data; spufs_cntl_get() local 410 struct spu_context *ctx = data; spufs_cntl_set() local 425 struct spu_context *ctx = i->i_ctx; spufs_cntl_open() local 440 struct spu_context *ctx = i->i_ctx; spufs_cntl_release() local 468 spufs_regs_dump(struct spu_context * ctx,struct coredump_params * cprm) spufs_regs_dump() argument 479 struct spu_context *ctx = file->private_data; spufs_regs_read() local 499 struct spu_context *ctx = file->private_data; spufs_regs_write() local 525 spufs_fpcr_dump(struct spu_context * ctx,struct coredump_params * cprm) spufs_fpcr_dump() argument 536 struct spu_context *ctx = file->private_data; spufs_fpcr_read() local 551 struct spu_context *ctx = file->private_data; spufs_fpcr_write() local 596 struct spu_context *ctx = file->private_data; spufs_mbox_read() local 641 struct spu_context *ctx = file->private_data; spufs_mbox_stat_read() local 668 spu_ibox_read(struct spu_context * ctx,u32 * data) spu_ibox_read() argument 676 struct spu_context *ctx = spu->ctx; spufs_ibox_callback() local 697 struct spu_context *ctx = file->private_data; spufs_ibox_read() local 749 struct spu_context *ctx = file->private_data; spufs_ibox_poll() local 774 struct spu_context *ctx = file->private_data; spufs_ibox_stat_read() local 799 spu_wbox_write(struct spu_context * ctx,u32 data) spu_wbox_write() argument 807 struct spu_context *ctx = spu->ctx; spufs_wbox_callback() local 828 struct spu_context *ctx = file->private_data; spufs_wbox_write() local 879 struct spu_context *ctx = file->private_data; spufs_wbox_poll() local 904 struct spu_context *ctx = file->private_data; spufs_wbox_stat_read() local 931 struct spu_context *ctx = i->i_ctx; spufs_signal1_open() local 945 struct spu_context *ctx = i->i_ctx; spufs_signal1_release() local 954 spufs_signal1_dump(struct spu_context * ctx,struct coredump_params * cprm) spufs_signal1_dump() argument 963 __spufs_signal1_read(struct spu_context * ctx,char __user * buf,size_t len) __spufs_signal1_read() argument 980 struct spu_context *ctx = file->private_data; spufs_signal1_read() local 994 struct spu_context *ctx; spufs_signal1_write() local 1064 struct spu_context *ctx = i->i_ctx; spufs_signal2_open() local 1078 struct spu_context *ctx = i->i_ctx; spufs_signal2_release() local 1087 spufs_signal2_dump(struct spu_context * ctx,struct coredump_params * cprm) spufs_signal2_dump() argument 1096 __spufs_signal2_read(struct spu_context * ctx,char __user * buf,size_t len) __spufs_signal2_read() argument 1112 struct spu_context *ctx = file->private_data; spufs_signal2_read() local 1127 struct spu_context *ctx; spufs_signal2_write() local 1234 struct spu_context *ctx = data; spufs_signal1_type_set() local 1246 spufs_signal1_type_get(struct spu_context * ctx) spufs_signal1_type_get() argument 1256 struct spu_context *ctx = data; spufs_signal2_type_set() local 1268 spufs_signal2_type_get(struct spu_context * ctx) spufs_signal2_type_get() argument 1307 struct spu_context *ctx = i->i_ctx; spufs_mss_open() local 1322 struct spu_context *ctx = i->i_ctx; spufs_mss_release() local 1365 struct spu_context *ctx = i->i_ctx; spufs_psmap_open() local 1379 struct spu_context *ctx = i->i_ctx; spufs_psmap_release() local 1427 struct spu_context *ctx = i->i_ctx; spufs_mfc_open() local 1448 struct spu_context *ctx = i->i_ctx; spufs_mfc_release() local 1460 struct spu_context *ctx = spu->ctx; spufs_mfc_callback() local 1466 spufs_read_mfc_tagstatus(struct spu_context * ctx,u32 * status) spufs_read_mfc_tagstatus() argument 1484 struct spu_context *ctx = file->private_data; spufs_mfc_read() local 1589 spu_send_mfc_command(struct spu_context * ctx,struct mfc_dma_command cmd,int * error) spu_send_mfc_command() argument 1610 struct spu_context *ctx = file->private_data; spufs_mfc_write() local 1659 struct spu_context *ctx = file->private_data; spufs_mfc_poll() local 1689 struct spu_context *ctx = file->private_data; spufs_mfc_flush() local 1726 struct spu_context *ctx = data; spufs_npc_set() local 1738 spufs_npc_get(struct spu_context * ctx) spufs_npc_get() argument 1747 struct spu_context *ctx = data; spufs_decr_set() local 1760 spufs_decr_get(struct spu_context * ctx) spufs_decr_get() argument 1770 struct spu_context *ctx = data; spufs_decr_status_set() local 1785 spufs_decr_status_get(struct spu_context * ctx) spufs_decr_status_get() argument 1798 struct spu_context *ctx = data; spufs_event_mask_set() local 1811 spufs_event_mask_get(struct spu_context * ctx) spufs_event_mask_get() argument 1821 spufs_event_status_get(struct spu_context * ctx) spufs_event_status_get() argument 1835 struct spu_context *ctx = data; spufs_srr0_set() local 1848 spufs_srr0_get(struct spu_context * ctx) spufs_srr0_get() argument 1856 spufs_id_get(struct spu_context * ctx) spufs_id_get() argument 1870 spufs_object_id_get(struct spu_context * ctx) spufs_object_id_get() argument 1878 struct spu_context *ctx = data; spufs_object_id_set() local 1887 spufs_lslr_get(struct spu_context * ctx) spufs_lslr_get() argument 1897 struct spu_context *ctx = i->i_ctx; spufs_info_open() local 1904 struct spu_context *ctx = s->private; spufs_caps_show() local 1925 spufs_mbox_info_dump(struct spu_context * ctx,struct coredump_params * cprm) spufs_mbox_info_dump() argument 1937 struct spu_context *ctx = file->private_data; spufs_mbox_info_read() local 1963 spufs_ibox_info_dump(struct spu_context * ctx,struct coredump_params * cprm) spufs_ibox_info_dump() argument 1975 struct spu_context *ctx = file->private_data; spufs_ibox_info_read() local 2001 spufs_wbox_info_cnt(struct spu_context * ctx) spufs_wbox_info_cnt() argument 2006 spufs_wbox_info_dump(struct spu_context * ctx,struct coredump_params * cprm) spufs_wbox_info_dump() argument 2016 struct spu_context *ctx = file->private_data; spufs_wbox_info_read() local 2039 spufs_get_dma_info(struct spu_context * ctx,struct spu_dma_info * info) spufs_get_dma_info() argument 2060 spufs_dma_info_dump(struct spu_context * ctx,struct coredump_params * cprm) spufs_dma_info_dump() argument 2072 struct spu_context *ctx = file->private_data; spufs_dma_info_read() local 2093 spufs_get_proxydma_info(struct spu_context * ctx,struct spu_proxydma_info * info) spufs_get_proxydma_info() argument 2113 spufs_proxydma_info_dump(struct spu_context * ctx,struct coredump_params * cprm) spufs_proxydma_info_dump() argument 2125 struct spu_context *ctx = file->private_data; spufs_proxydma_info_read() local 2151 struct spu_context *ctx = s->private; spufs_show_tid() local 2173 spufs_acct_time(struct spu_context * ctx,enum spu_utilization_state state) spufs_acct_time() argument 2194 spufs_slb_flts(struct spu_context * ctx) spufs_slb_flts() argument 2206 spufs_class2_intrs(struct spu_context * ctx) spufs_class2_intrs() argument 2221 struct spu_context *ctx = s->private; spufs_show_stat() local 2259 spufs_switch_log_used(struct spu_context * ctx) spufs_switch_log_used() argument 2265 spufs_switch_log_avail(struct spu_context * ctx) spufs_switch_log_avail() argument 2272 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; spufs_switch_log_open() local 2303 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; spufs_switch_log_release() local 2317 switch_log_sprint(struct spu_context * ctx,char * tbuf,int n) switch_log_sprint() argument 2336 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; spufs_switch_log_read() local 2406 struct spu_context *ctx = SPUFS_I(inode)->i_ctx; spufs_switch_log_poll() local 2436 spu_switch_log_notify(struct spu * spu,struct spu_context * ctx,u32 type,u32 val) spu_switch_log_notify() argument 2461 struct spu_context *ctx = s->private; spufs_show_ctx() local [all...] |
| H A D | sched.c | 85 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 D | map.c | 15 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 D | eval.c | 33 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 D | regmap-mmio.c | 65 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/i2c/ |
| H A D | max2175.c | 30 #define mxm_dbg(ctx, fmt, arg...) dev_dbg(&ctx->client->dev, fmt, ## arg) argument 31 #define mxm_err(ctx, fmt, arg...) dev_err(&ctx->client->dev, fmt, ## arg) argument 316 static int max2175_read(struct max2175 *ctx, u8 idx, u8 *val) in max2175_read() argument 330 static int max2175_write(struct max2175 *ctx, u8 idx, u8 val) in max2175_write() argument 342 max2175_read_bits(struct max2175 * ctx,u8 idx,u8 msb,u8 lsb) max2175_read_bits() argument 352 max2175_write_bits(struct max2175 * ctx,u8 idx,u8 msb,u8 lsb,u8 newval) max2175_write_bits() argument 364 max2175_write_bit(struct max2175 * ctx,u8 idx,u8 bit,u8 newval) max2175_write_bit() argument 370 max2175_poll_timeout(struct max2175 * ctx,u8 idx,u8 msb,u8 lsb,u8 exp_bitval,u32 timeout_us) max2175_poll_timeout() argument 380 max2175_poll_csm_ready(struct max2175 * ctx) max2175_poll_csm_ready() argument 391 MAX2175_IS_BAND_AM(ctx) global() argument 394 MAX2175_IS_BAND_VHF(ctx) global() argument 397 MAX2175_IS_FM_MODE(ctx) global() argument 400 MAX2175_IS_FMHD_MODE(ctx) global() argument 403 MAX2175_IS_DAB_MODE(ctx) global() argument 416 max2175_i2s_enable(struct max2175 * ctx,bool enable) max2175_i2s_enable() argument 427 max2175_set_filter_coeffs(struct max2175 * ctx,u8 m_sel,u8 bank,const u16 * coeffs) max2175_set_filter_coeffs() argument 448 max2175_load_fmeu_1p2(struct max2175 * ctx) max2175_load_fmeu_1p2() argument 463 max2175_load_dab_1p2(struct max2175 * ctx) max2175_load_dab_1p2() argument 476 max2175_load_fmna_1p0(struct max2175 * ctx) max2175_load_fmna_1p0() argument 484 max2175_load_fmna_2p0(struct max2175 * ctx) max2175_load_fmna_2p0() argument 492 max2175_set_bbfilter(struct max2175 * ctx) max2175_set_bbfilter() argument 506 max2175_set_csm_mode(struct max2175 * ctx,enum max2175_csm_mode new_mode) max2175_set_csm_mode() argument 533 max2175_csm_action(struct max2175 * ctx,enum max2175_csm_mode action) max2175_csm_action() argument 548 max2175_set_lo_freq(struct max2175 * ctx,u32 lo_freq) max2175_set_lo_freq() argument 628 max2175_set_nco_freq(struct max2175 * ctx,s32 nco_freq) max2175_set_nco_freq() argument 664 max2175_set_rf_freq_non_am_bands(struct max2175 * ctx,u64 freq,u32 lo_pos) max2175_set_rf_freq_non_am_bands() argument 691 max2175_set_rf_freq(struct max2175 * ctx,u64 freq,u32 lo_pos) max2175_set_rf_freq() argument 705 max2175_tune_rf_freq(struct max2175 * ctx,u64 freq,u32 hsls) max2175_tune_rf_freq() argument 723 max2175_set_hsls(struct max2175 * ctx,u32 lo_pos) max2175_set_hsls() argument 733 max2175_set_eu_rx_mode(struct max2175 * ctx,u32 rx_mode) max2175_set_eu_rx_mode() argument 749 max2175_set_na_rx_mode(struct max2175 * ctx,u32 rx_mode) max2175_set_na_rx_mode() argument 771 max2175_set_rx_mode(struct max2175 * ctx,u32 rx_mode) max2175_set_rx_mode() argument 801 max2175_rx_mode_from_freq(struct max2175 * ctx,u32 freq,u32 * mode) max2175_rx_mode_from_freq() argument 819 max2175_freq_rx_mode_valid(struct max2175 * ctx,u32 mode,u32 freq) max2175_freq_rx_mode_valid() argument 827 max2175_load_adc_presets(struct max2175 * ctx) max2175_load_adc_presets() argument 836 max2175_init_power_manager(struct max2175 * ctx) max2175_init_power_manager() argument 853 max2175_recalibrate_adc(struct max2175 * ctx) max2175_recalibrate_adc() argument 872 max2175_read_rom(struct max2175 * ctx,u8 row) max2175_read_rom() argument 889 max2175_load_from_rom(struct max2175 * ctx) max2175_load_from_rom() argument 923 max2175_load_full_fm_eu_1p0(struct max2175 * ctx) max2175_load_full_fm_eu_1p0() argument 934 max2175_load_full_fm_na_1p0(struct max2175 * ctx) max2175_load_full_fm_na_1p0() argument 945 max2175_core_init(struct max2175 * ctx,u32 refout_bits) max2175_core_init() argument 1003 max2175_s_ctrl_rx_mode(struct max2175 * ctx,u32 rx_mode) max2175_s_ctrl_rx_mode() argument 1021 struct max2175 *ctx = max2175_from_ctrl_hdl(ctrl->handler); max2175_s_ctrl() local 1039 max2175_get_lna_gain(struct max2175 * ctx) max2175_get_lna_gain() argument 1057 struct max2175 *ctx = max2175_from_ctrl_hdl(ctrl->handler); max2175_g_volatile_ctrl() local 1074 max2175_set_freq_and_mode(struct max2175 * ctx,u32 freq) max2175_set_freq_and_mode() argument 1097 struct max2175 *ctx = max2175_from_sd(sd); max2175_s_frequency() local 1127 struct max2175 *ctx = max2175_from_sd(sd); max2175_g_frequency() local 1142 struct max2175 *ctx = max2175_from_sd(sd); max2175_enum_freq_bands() local 1154 struct max2175 *ctx = max2175_from_sd(sd); max2175_g_tuner() local 1282 struct max2175 *ctx; max2175_probe() local 1409 struct max2175 *ctx = max2175_from_sd(sd); max2175_remove() local [all...] |
| /linux/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | s5p_mfc_opr_v5.c | 34 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/exynos/ |
| H A D | exynos_drm_fimc.c | 113 static u32 fimc_read(struct fimc_context *ctx, u32 reg) in fimc_read() 118 static void fimc_write(struct fimc_context *ctx, u32 val, u32 reg) in fimc_write() 123 static void fimc_set_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_set_bits() 130 static void fimc_clear_bits(struct fimc_context *ctx, u32 reg, u32 bits) in fimc_clear_bits() 137 static void fimc_sw_reset(struct fimc_context *ctx) in fimc_sw_reset() 162 static void fimc_set_type_ctrl(struct fimc_context *ctx) in fimc_set_type_ctrl() 182 static void fimc_handle_jpeg(struct fimc_context *ctx, bool enable) in fimc_handle_jpeg() 197 static void fimc_mask_irq(struct fimc_context *ctx, bool enable) in fimc_mask_irq() 212 static void fimc_clear_irq(struct fimc_context *ctx) in fimc_clear_irq() 217 static bool fimc_check_ovf(struct fimc_context *ctx) in fimc_check_ovf() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | context.c | 6 bool mlx5hws_context_cap_dynamic_reparse(struct mlx5hws_context *ctx) in mlx5hws_context_cap_dynamic_reparse() 11 u8 mlx5hws_context_get_reparse_mode(struct mlx5hws_context *ctx) in mlx5hws_context_get_reparse_mode() 21 static int hws_context_pools_init(struct mlx5hws_context *ctx) in hws_context_pools_init() 57 static void hws_context_pools_uninit(struct mlx5hws_context *ctx) in hws_context_pools_uninit() 66 static int hws_context_init_pd(struct mlx5hws_context *ctx) in hws_context_init_pd() 81 static int hws_context_uninit_pd(struct mlx5hws_context *ctx) in hws_context_uninit_pd() 89 static void hws_context_check_hws_supp(struct mlx5hws_context *ctx) in hws_context_check_hws_supp() 134 static int hws_context_init_hws(struct mlx5hws_context *ctx, in hws_context_init_hws() 178 static void hws_context_uninit_hws(struct mlx5hws_context *ctx) in hws_context_uninit_hws() 192 struct mlx5hws_context *ctx; in mlx5hws_context_open() local [all …]
|