| /kernel/time/ |
| A D | posix-clock.c | 55 return err; in posix_clock_read() 95 int err; in posix_clock_open() local 123 err = 0; in posix_clock_open() 162 int err; in posix_clock_register() local 213 if (err) in get_clock_desc() 227 int err; in pc_clock_adjtime() local 230 if (err) in pc_clock_adjtime() 251 int err; in pc_clock_gettime() local 254 if (err) in pc_clock_gettime() 270 int err; in pc_clock_getres() local [all …]
|
| /kernel/ |
| A D | kexec_handover.c | 606 if (err) in kho_add_subtree() 708 if (err) in kho_preserve_phys() 740 int err; in kho_abort() local 763 err = notifier_to_errno(err); in kho_abort() 765 if (err) in kho_abort() 789 if (err) in kho_finalize() 793 if (err) in kho_finalize() 798 err = notifier_to_errno(err); in kho_finalize() 799 if (err) in kho_finalize() 803 if (err) in kho_finalize() [all …]
|
| A D | audit.c | 708 goto err; in auditd_send_unicast_skb() 718 goto err; in auditd_send_unicast_skb() 722 err: in auditd_send_unicast_skb() 1022 err: in audit_send_reply() 1227 if (err) in audit_receive_msg() 1364 if (err) in audit_receive_msg() 1371 if (err) in audit_receive_msg() 1522 if (err) in audit_receive_msg() 1545 return err < 0 ? err : 0; in audit_receive_msg() 1564 int err; in audit_receive() local [all …]
|
| A D | auditfilter.c | 242 int i, err; in audit_to_entry_common() local 452 int err = 0; in audit_data_to_entry() local 486 if (err) in audit_data_to_entry() 539 err = 0; in audit_data_to_entry() 564 if (err) in audit_data_to_entry() 571 if (err) in audit_data_to_entry() 883 if (err) { in audit_dupe_rule() 973 if (err) { in audit_add_rule() 986 if (err) { in audit_add_rule() 1020 return err; in audit_add_rule() [all …]
|
| A D | params.c | 127 int err; in parse_one() local 211 return err; in parse_args() 336 int err; in param_set_bool_enable_only() local 344 if (err) in param_set_bool_enable_only() 354 return err; in param_set_bool_enable_only() 580 int err; in param_attr_store() local 592 if (!err) in param_attr_store() 729 if (err) in module_param_sysfs_setup() 767 int err; in lookup_or_create_module_kobject() local 800 int err; in kernel_add_sysfs_param() local [all …]
|
| A D | nsproxy.c | 72 int err; in create_new_namespaces() local 140 return ERR_PTR(err); in create_new_namespaces() 207 int err = 0; in unshare_nsproxy_namespaces() local 226 return err; in unshare_nsproxy_namespaces() 541 int err = 0; in SYSCALL_DEFINE2() local 549 err = -EINVAL; in SYSCALL_DEFINE2() 554 err = -EINVAL; in SYSCALL_DEFINE2() 556 if (err) in SYSCALL_DEFINE2() 560 if (err) in SYSCALL_DEFINE2() 567 if (!err) { in SYSCALL_DEFINE2() [all …]
|
| A D | sysctl.c | 445 if (err) in __do_proc_dointvec() 471 return err; in __do_proc_dointvec() 494 int err = 0; in do_proc_douintvec_w() local 530 if (err) in do_proc_douintvec_w() 538 return err; in do_proc_douintvec_w() 549 int err = 0; in do_proc_douintvec_r() local 569 return err; in do_proc_douintvec_r() 958 return err; in __do_proc_doulongvec_minmax() 1256 if (err) in proc_do_large_bitmap() 1282 if (err) in proc_do_large_bitmap() [all …]
|
| /kernel/bpf/ |
| A D | syscall.c | 248 int err; in bpf_map_update_value() local 294 if (err) in bpf_map_update_value() 307 int err; in bpf_map_copy_value() local 1090 if (err) in bpf_map_mmap() 1352 int err; in map_create() local 1355 if (err) in map_create() 1538 if (err) in map_create() 1542 if (err) in map_create() 1667 int err; in map_lookup_elem() local 1706 if (err) in map_lookup_elem() [all …]
|
| A D | crypto.c | 72 err = -ENOMEM; in bpf_crypto_register_type() 78 err = 0; in bpf_crypto_register_type() 83 return err; in bpf_crypto_register_type() 99 err = 0; in bpf_crypto_unregister_type() 104 return err; in bpf_crypto_unregister_type() 147 int *err) in bpf_crypto_ctx_create() argument 154 *err = -EINVAL; in bpf_crypto_ctx_create() 194 if (*err) in bpf_crypto_ctx_create() 199 if (*err) in bpf_crypto_ctx_create() 273 int err; in bpf_crypto_crypt() local [all …]
|
| A D | bpf_iter.c | 116 if (err) { in bpf_seq_read() 145 if (!err) in bpf_seq_read() 191 if (!err) in bpf_seq_read() 225 if (err) { in bpf_seq_read() 513 int err; in bpf_iter_link_attach() local 528 if (err) in bpf_iter_link_attach() 560 if (err) { in bpf_iter_link_attach() 567 if (err) { in bpf_iter_link_attach() 616 if (err) in prepare_seq_file() 631 return err; in prepare_seq_file() [all …]
|
| A D | trampoline.c | 368 if (err) in bpf_tramp_image_alloc() 378 if (err) in bpf_tramp_image_alloc() 465 if (err) in bpf_trampoline_update() 491 if (err) in bpf_trampoline_update() 499 if (err) in bpf_trampoline_update() 605 int err; in bpf_trampoline_link_prog() local 618 int err; in __bpf_trampoline_unlink_prog() local 640 int err; in bpf_trampoline_unlink_prog() local 738 int err; in bpf_trampoline_link_cgroup_shim() local 743 if (err) in bpf_trampoline_link_cgroup_shim() [all …]
|
| A D | bpf_struct_ops.c | 126 int err; in bpf_struct_ops_image_alloc() local 129 if (err) in bpf_struct_ops_image_alloc() 453 if (err) in bpf_struct_ops_desc_init() 702 if (err) in bpf_struct_ops_map_update_elem() 707 if (err) in bpf_struct_ops_map_update_elem() 827 if (err) in bpf_struct_ops_map_update_elem() 940 int err; in bpf_struct_ops_map_seq_show_elem() local 1237 int err; in bpf_struct_ops_map_link_update() local 1268 if (err) in bpf_struct_ops_map_link_update() 1336 int err; in bpf_struct_ops_link_create() local [all …]
|
| A D | verifier.c | 752 if (err) in mark_stack_slots_dynptr() 755 if (err) in mark_stack_slots_dynptr() 1223 WARN_ON_ONCE(err && err != -EACCES); in unmark_stack_slot_irq_flag() 1504 int err; in acquire_reference_state() local 1507 if (err) in acquire_reference_state() 1753 if (err) in copy_verifier_state() 2029 int err; in update_branch_counts() local 2058 int err; in pop_stack() local 2091 return err == -EPERM || err == -EACCES || err == -EINVAL; in error_recoverable_with_nospec() 2100 int err; in push_stack() local [all …]
|
| A D | reuseport_array.c | 67 int err; in reuseport_array_delete_elem() local 84 err = 0; in reuseport_array_delete_elem() 91 return err; in reuseport_array_delete_elem() 169 int err; in bpf_fd_reuseport_array_lookup_elem() local 178 err = 0; in bpf_fd_reuseport_array_lookup_elem() 184 return err; in bpf_fd_reuseport_array_lookup_elem() 241 int err, fd; in bpf_fd_reuseport_array_update_elem() local 274 if (err) in bpf_fd_reuseport_array_update_elem() 290 if (err) in bpf_fd_reuseport_array_update_elem() 298 err = 0; in bpf_fd_reuseport_array_update_elem() [all …]
|
| A D | bpf_local_storage.c | 490 int err; in bpf_local_storage_alloc() local 493 if (err) in bpf_local_storage_alloc() 548 return err; in bpf_local_storage_alloc() 565 int err; in bpf_local_storage_update() local 582 if (err) in bpf_local_storage_update() 590 if (err) { in bpf_local_storage_update() 607 if (err) in bpf_local_storage_update() 638 if (err) in bpf_local_storage_update() 669 return err ? ERR_PTR(err) : SDATA(selem); in bpf_local_storage_update() 803 int err; in bpf_local_storage_map_alloc() local [all …]
|
| A D | devmap.c | 165 int err; in dev_map_alloc() local 172 if (err) { in dev_map_alloc() 347 int err; in dev_map_bpf_prog_run() local 486 int err; in __xdp_enqueue() local 615 int err; in dev_map_enqueue_multi() local 639 if (err) in dev_map_enqueue_multi() 663 if (err) in dev_map_enqueue_multi() 683 int err; in dev_map_generic_redirect() local 707 int err; in dev_map_redirect_clone() local 733 int err; in dev_map_redirect_multi() local [all …]
|
| A D | offload.c | 83 int err; in __bpf_offload_dev_netdev_register() local 95 if (err) { in __bpf_offload_dev_netdev_register() 193 int err; in __bpf_prog_dev_bound_init() local 215 if (err) in __bpf_prog_dev_bound_init() 232 int err; in bpf_prog_dev_bound_init() local 257 if (err) in bpf_prog_dev_bound_init() 273 int err; in bpf_prog_dev_bound_inherit() local 519 int err; in bpf_map_offload_map_alloc() local 535 if (err) in bpf_map_offload_map_alloc() 548 if (err) in bpf_map_offload_map_alloc() [all …]
|
| A D | helpers.c | 506 int err; in __bpf_strtoll() local 527 int err; in BPF_CALL_4() local 553 int err; in BPF_CALL_4() local 1042 err = 0; in bpf_bprintf_prepare() 1044 if (err) in bpf_bprintf_prepare() 1722 int err; in BPF_CALL_4() local 1727 if (err) in BPF_CALL_4() 1759 int err; in __bpf_dynptr_read() local 1765 if (err) in __bpf_dynptr_read() 1810 int err; in __bpf_dynptr_write() local [all …]
|
| /kernel/module/ |
| A D | main.c | 679 int err; in ref_module() local 686 if (err) in ref_module() 1241 int err; in resolve_symbol() local 1887 int err; in elf_validity_cache_sechdrs() local 2264 int err; in elf_validity_cache_index() local 2362 int err; in elf_validity_cache_copy() local 2434 int err; in copy_module_from_user() local 2441 if (err) in copy_module_from_user() 2457 if (err) in copy_module_from_user() 2576 int err; in check_modinfo() local [all …]
|
| A D | sysfs.c | 335 int err; in mod_sysfs_init() local 358 if (err) in mod_sysfs_init() 362 return err; in mod_sysfs_init() 370 int err; in mod_sysfs_setup() local 373 if (err) in mod_sysfs_setup() 383 if (err) in mod_sysfs_setup() 387 if (err) in mod_sysfs_setup() 391 if (err) in mod_sysfs_setup() 395 if (err) in mod_sysfs_setup() 399 if (err) in mod_sysfs_setup() [all …]
|
| /kernel/bpf/preload/ |
| A D | bpf_preload_kern.c | 40 int err; in load_skel() local 46 if (err) in load_skel() 49 if (err) in load_skel() 53 err = PTR_ERR(maps_link); in load_skel() 58 err = PTR_ERR(progs_link); in load_skel() 71 return err; in load_skel() 76 int err; in load() local 78 err = load_skel(); in load() 79 if (err) in load() 80 return err; in load() [all …]
|
| /kernel/locking/ |
| A D | test-ww_mutex.c | 192 int err; in test_abba_work() local 212 if (!err) in test_abba_work() 254 if (!err) in test_abba() 302 err = 0; in test_cycle_work() 308 if (!err) in test_cycle_work() 448 err = 0; in stress_inorder_work() 457 if (!err) in stress_inorder_work() 474 if (err) { in stress_inorder_work() 496 int n, err; in stress_reorder_work() local 518 if (!err) in stress_reorder_work() [all …]
|
| /kernel/events/ |
| A D | hw_breakpoint.c | 220 err: in init_breakpoint_slots() 627 int err; in __modify_bp_slot() local 693 int err; in hw_breakpoint_parse() local 696 if (err) in hw_breakpoint_parse() 716 int err; in register_perf_hw_breakpoint() local 719 if (err) in register_perf_hw_breakpoint() 765 int err; in modify_user_hw_breakpoint_check() local 768 if (err) in modify_user_hw_breakpoint_check() 799 int err; in modify_user_hw_breakpoint() local 947 int err; in hw_breakpoint_event_init() local [all …]
|
| /kernel/trace/ |
| A D | bpf_trace.c | 563 int err; in BPF_CALL_2() local 570 if (err) in BPF_CALL_2() 2729 int err; in kprobe_multi_link_prog_run() local 2757 int err; in kprobe_multi_link_handler() local 2904 int err; in bpf_kprobe_multi_link_attach() local 2991 if (err) in bpf_kprobe_multi_link_attach() 3248 int err; in uprobe_prog_run() local 3339 int err; in bpf_uprobe_multi_link_attach() local 3380 if (err) in bpf_uprobe_multi_link_attach() 3458 if (err) in bpf_uprobe_multi_link_attach() [all …]
|
| /kernel/irq/ |
| A D | proc.c | 138 int err; in write_irq_affinity() local 150 if (err) in write_irq_affinity() 165 err = irq_set_affinity(irq, new_value); in write_irq_affinity() 166 if (!err) in write_irq_affinity() 167 err = count; in write_irq_affinity() 172 return err; in write_irq_affinity() 235 int err; in default_affinity_write() local 241 if (err) in default_affinity_write() 250 err = -EINVAL; in default_affinity_write() 255 err = count; in default_affinity_write() [all …]
|