| /kernel/trace/ |
| A D | synth_event_gen_test.c | 50 int ret; in test_gen_synth_cmd() local 69 if (ret) in test_gen_synth_cmd() 75 if (ret) in test_gen_synth_cmd() 79 if (ret) in test_gen_synth_cmd() 83 if (ret) in test_gen_synth_cmd() 87 if (ret) in test_gen_synth_cmd() 141 int ret; in test_empty_synth_event() local 155 if (ret) in test_empty_synth_event() 161 if (ret) in test_empty_synth_event() 165 if (ret) in test_empty_synth_event() [all …]
|
| A D | trace_selftest.c | 85 if (ret) in trace_test_buffer() 95 return ret; in trace_test_buffer() 325 ret = 0; in trace_selftest_ops() 364 int ret; in trace_selftest_startup_dynamic_tracing() local 398 if (ret) in trace_selftest_startup_dynamic_tracing() 496 int ret; in trace_selftest_function_recursion() local 566 ret = 0; in trace_selftest_function_recursion() 607 int ret; in trace_selftest_function_regs() local 631 if (ret && ret != -ENODEV) { in trace_selftest_function_regs() 886 if (ret && ret != -ENODEV) { in test_graph_storage_single() [all …]
|
| A D | trace_dynevent.c | 34 ret = true; in trace_event_dyn_try_get_ref() 38 return ret; in trace_event_dyn_try_get_ref() 111 if (ret) in dyn_event_release() 125 int ret; in dyn_event_create() local 144 if (!ret || ret != -ECANCELED) in create_dyn_event() 219 if (ret) in dyn_events_release_all() 231 int ret; in dyn_event_open() local 234 if (ret) in dyn_event_open() 265 int ret; in init_dynamic_event() local 268 if (ret) in init_dynamic_event() [all …]
|
| A D | trace_kprobe.c | 119 bool ret; in trace_kprobe_module_exist() local 372 if (ret) in enable_trace_kprobe() 384 if (ret) in enable_trace_kprobe() 490 if (ret) in __register_trace_kprobe() 596 int ret; in append_trace_kprobe() local 613 if (ret) in append_trace_kprobe() 623 if (ret) in append_trace_kprobe() 635 int ret; in register_trace_kprobe() local 699 int ret; in trace_kprobe_module_callback() local 1064 else if (ret != -ENOMEM && ret != -EEXIST) in trace_kprobe_create_internal() [all …]
|
| A D | kprobe_event_gen_test.c | 89 int ret; in test_gen_kprobe_cmd() local 106 if (ret) in test_gen_kprobe_cmd() 112 if (ret) in test_gen_kprobe_cmd() 119 if (ret) in test_gen_kprobe_cmd() 138 if (ret) { in test_gen_kprobe_cmd() 160 int ret; in test_gen_kretprobe_cmd() local 176 if (ret) in test_gen_kretprobe_cmd() 183 if (ret) in test_gen_kretprobe_cmd() 203 if (ret) { in test_gen_kretprobe_cmd() 220 int ret; in kprobe_event_gen_test_init() local [all …]
|
| A D | trace_events_synth.c | 143 if (ret) in synth_event_define_fields() 159 return ret; in synth_event_define_fields() 431 int ret; in trace_string() local 939 int ret; in unregister_synth_event() local 1053 int ret; in synth_event_add_field() local 1067 if (ret) in synth_event_add_field() 1096 int ret; in synth_event_add_field_str() local 1109 if (ret) in synth_event_add_field_str() 1191 int ret; in __synth_event_gen_cmd_start() local 1202 if (ret) in __synth_event_gen_cmd_start() [all …]
|
| A D | trace_event_perf.c | 30 int ret; in perf_trace_event_perm() local 34 if (ret) in perf_trace_event_perm() 53 if (ret) in perf_trace_event_perm() 90 if (ret) in perf_trace_event_perm() 130 if (ret) in perf_trace_event_reg() 196 int ret; in perf_trace_event_init() local 199 if (ret) in perf_trace_event_init() 203 if (ret) in perf_trace_event_init() 249 int ret; in perf_kprobe_init() local 258 return (ret == -EINVAL) ? -E2BIG : ret; in perf_kprobe_init() [all …]
|
| A D | trace_events_trigger.c | 208 int ret; in event_trigger_regex_open() local 211 if (ret) in event_trigger_regex_open() 979 int ret; in event_trigger_parse() local 984 if (ret) in event_trigger_parse() 999 if (ret) in event_trigger_parse() 1010 if (ret) in event_trigger_parse() 1519 int ret; in register_trigger_snapshot_cmd() local 1615 int ret; in register_trigger_stacktrace_cmd() local 1748 int ret; in event_enable_trigger_parse() local 1756 if (ret) in event_enable_trigger_parse() [all …]
|
| A D | trace_uprobe.c | 149 long ret; in fetch_store_string() local 171 ret++; in fetch_store_string() 224 int ret; in process_fetch_insn() local 339 int ret; in alloc_trace_uprobe() local 397 int ret; in unregister_trace_uprobe() local 407 if (ret) in unregister_trace_uprobe() 448 int ret; in append_trace_uprobe() local 501 int ret; in register_trace_uprobe() local 506 if (ret) in register_trace_uprobe() 752 int ret; in create_or_delete_trace_uprobe() local [all …]
|
| A D | trace_eprobe.c | 116 if (!ret) in eprobe_dyn_event_release() 118 return ret; in eprobe_dyn_event_release() 403 int ret; in process_fetch_insn() local 540 int ret; in new_eprobe_trigger() local 565 if (ret) in new_eprobe_trigger() 667 if (ret) in enable_trace_eprobe() 677 if (ret) in enable_trace_eprobe() 807 int ret; in trace_eprobe_tp_update_arg() local 817 if (!ret) in trace_eprobe_tp_update_arg() 859 if (ret) in trace_eprobe_parse_filter() [all …]
|
| A D | trace_probe_tmpl.h | 74 int ret; in fetch_store_symstrlen() local 77 if (ret < 0) in fetch_store_symstrlen() 80 return ret + 1; in fetch_store_symstrlen() 144 if (ret) in process_fetch_insn_bottom() 145 return ret; in process_fetch_insn_bottom() 207 if (ret < 0) in process_fetch_insn_bottom() 208 ret = 0; in process_fetch_insn_bottom() 209 total += ret; in process_fetch_insn_bottom() 227 ret = total; in process_fetch_insn_bottom() 249 return ret; in __get_data_size() [all …]
|
| A D | trace_stat.c | 142 if (ret) in stat_seq_init() 156 if (ret) in stat_seq_init() 160 return ret; in stat_seq_init() 232 int ret; in tracing_stat_open() local 237 if (ret) in tracing_stat_open() 241 if (ret) in tracing_stat_open() 245 if (ret) { in tracing_stat_open() 276 int ret; in tracing_stat_init() local 279 if (ret) in tracing_stat_init() 292 int ret; in init_stat_file() local [all …]
|
| /kernel/futex/ |
| A D | waitwake.c | 160 int ret; in futex_wake() local 199 return ret; in futex_wake() 226 if (ret) in futex_atomic_op_inuser() 289 if (ret) in futex_wake_op() 331 return ret; in futex_wake_op() 380 ret = i; in futex_unqueue_multiple() 596 int ret; in futex_wait_setup() local 633 if (ret) in futex_wait_setup() 670 int ret; in __futex_wait() local 683 if (ret) in __futex_wait() [all …]
|
| A D | requeue.c | 286 int ret; in futex_proxy_trylock_atomic() local 355 return ret; in futex_proxy_trylock_atomic() 473 if (ret) in futex_requeue() 547 ret = 0; in futex_requeue() 691 return ret ? ret : task_count; in futex_requeue() 710 int ret; in handle_early_requeue_pi_wakeup() local 734 return ret; in handle_early_requeue_pi_wakeup() 819 if (ret) in futex_wait_requeue_pi() 851 ret = ret < 0 ? ret : 0; in futex_wait_requeue_pi() 864 ret = 0; in futex_wait_requeue_pi() [all …]
|
| A D | pi.c | 209 int ret; in attach_to_pi_state() local 524 int ret; in futex_lock_pi_atomic() local 572 if (ret) in futex_lock_pi_atomic() 601 if (ret) in futex_lock_pi_atomic() 847 int ret; in fixup_pi_state_owner() local 992 ret = ret ? 0 : -EWOULDBLOCK; in futex_lock_pi() 1110 if (ret) in futex_lock_pi() 1124 return ret != -EINTR ? ret : -ERESTARTNOINTR; in futex_lock_pi() 1137 int ret; in futex_unlock_pi() local 1152 if (ret) in futex_unlock_pi() [all …]
|
| /kernel/ |
| A D | kexec_file.c | 149 int ret; in kexec_kernel_verify_pe_sig() local 177 int ret; in kimage_validate_signature() local 237 if (ret) in kimage_file_prepare_segments() 243 if (ret) in kimage_file_prepare_segments() 284 if (ret) in kimage_file_prepare_segments() 298 if (ret) in kimage_file_prepare_segments() 308 int ret; in kimage_file_alloc_init() local 329 if (ret) in kimage_file_alloc_init() 333 if (ret) in kimage_file_alloc_init() 407 if (ret) in SYSCALL_DEFINE5() [all …]
|
| A D | notifier.c | 95 return ret; in notifier_call_chain() 124 return ret; in notifier_call_chain_robust() 145 int ret; in atomic_notifier_chain_register() local 168 int ret; in atomic_notifier_chain_register_unique_prio() local 190 int ret; in atomic_notifier_chain_unregister() local 220 int ret; in atomic_notifier_call_chain() local 253 int ret; in __blocking_notifier_chain_register() local 316 int ret; in blocking_notifier_chain_unregister() local 475 int ret; in srcu_notifier_chain_register() local 505 int ret; in srcu_notifier_chain_unregister() local [all …]
|
| A D | cpu.c | 782 int ret; in cpuhp_kick_ap() local 830 int ret; in cpuhp_bringup_ap() local 840 if (ret) in cpuhp_bringup_ap() 844 if (ret) in cpuhp_bringup_ap() 863 int ret; in bringup_cpu() local 880 if (ret) in bringup_cpu() 884 if (ret) in bringup_cpu() 888 if (ret) in bringup_cpu() 1132 int ret; in cpuhp_invoke_ap_callback() local 2777 return ret ? ret : count; in target_store() [all …]
|
| A D | ptrace.c | 48 int ret; in ptrace_access_vm() local 65 return ret; in ptrace_access_vm() 200 return ret; in ptrace_freeze_traced() 257 ret = 0; in ptrace_check_attach() 515 int ret; in ignoring_children() local 662 int ret; in ptrace_setoptions() local 665 if (ret) in ptrace_setoptions() 720 if (ret) in ptrace_peek_siginfo() 1227 ret = 0; in ptrace_request() 1454 int ret; in compat_ptrace_request() local [all …]
|
| A D | seccomp.c | 129 int ret; member 672 int ret; in seccomp_prepare_filter() local 1426 ret = 0; in seccomp_set_mode_strict() 1511 int ret; in recv_wait_event() local 1580 ret = 0; in seccomp_notify_recv() 1642 ret = 0; in seccomp_notify_send() 1703 int ret; in seccomp_notify_addfd() local 1712 if (ret) in seccomp_notify_addfd() 1785 ret = kaddfd.ret; in seccomp_notify_addfd() 1798 ret = kaddfd.ret; in seccomp_notify_addfd() [all …]
|
| A D | capability.c | 108 int ret; in cap_get_target_pid() local 125 return ret; in cap_get_target_pid() 139 int ret = 0; in SYSCALL_DEFINE2() local 156 if (ret) in SYSCALL_DEFINE2() 157 return ret; in SYSCALL_DEFINE2() 222 int ret; in SYSCALL_DEFINE2() local 227 return ret; in SYSCALL_DEFINE2() 253 if (ret < 0) in SYSCALL_DEFINE2() 262 return ret; in SYSCALL_DEFINE2() 279 int ret; in has_ns_capability() local [all …]
|
| A D | cpu_pm.c | 31 int ret; in cpu_pm_notify() local 43 int ret; in cpu_pm_notify_robust() local 64 int ret; in cpu_pm_register_notifier() local 69 return ret; in cpu_pm_register_notifier() 84 int ret; in cpu_pm_unregister_notifier() local 89 return ret; in cpu_pm_unregister_notifier() 178 int ret; in cpu_pm_suspend() local 180 ret = cpu_pm_enter(); in cpu_pm_suspend() 181 if (ret) in cpu_pm_suspend() 182 return ret; in cpu_pm_suspend() [all …]
|
| /kernel/locking/ |
| A D | test-ww_mutex.c | 62 int ret; in __test_mutex() local 82 ret = 0; in __test_mutex() 97 if (ret) { in __test_mutex() 111 int ret; in test_mutex() local 116 if (ret) in test_mutex() 127 int ret; in test_aa() local 172 ret = 0; in test_aa() 262 ret = 0; in test_abba() 321 int ret; in __test_cycle() local 351 ret = 0; in __test_cycle() [all …]
|
| /kernel/bpf/ |
| A D | tcx.c | 17 int ret; in tcx_prog_attach() local 22 ret = -ENODEV; in tcx_prog_attach() 42 if (!ret) { in tcx_prog_attach() 56 return ret; in tcx_prog_attach() 65 int ret; in tcx_prog_detach() local 80 if (!ret) { in tcx_prog_detach() 92 return ret; in tcx_prog_detach() 127 int ret; in tcx_prog_query() local 138 return ret; in tcx_prog_query() 148 int ret; in tcx_link_prog_attach() local [all …]
|
| /kernel/livepatch/ |
| A D | core.c | 252 if (ret) in klp_resolve_symbols() 320 if (ret) in klp_write_section_relocs() 359 int ret; in enabled_store() local 363 if (ret) in enabled_store() 393 if (ret) in enabled_store() 420 int ret; in force_store() local 424 if (ret) in force_store() 864 int ret; in klp_init_object_loaded() local 911 int ret; in klp_init_object() local 924 if (ret) in klp_init_object() [all …]
|