| /kernel/ |
| A D | taskstats.c | 123 int rc; in send_cpu_listeners() local 263 rc = 0; in fill_stats_for_tgid() 272 return rc; in fill_stats_for_tgid() 453 int rc; in cmd_attr_register_cpumask() local 463 return rc; in cmd_attr_register_cpumask() 469 int rc; in cmd_attr_deregister_cpumask() local 499 int rc; in cmd_attr_pid() local 528 int rc; in cmd_attr_tgid() local 600 int rc; in taskstats_exit() local 702 int rc; in taskstats_init() local [all …]
|
| A D | audit.c | 218 int rc; in auditd_test_task() local 395 if (rc) in audit_log_config_change() 415 if (rc) in audit_do_config_change() 446 int rc; in audit_set_enabled() local 451 if (!rc) in audit_set_enabled() 689 int rc; in auditd_send_unicast_skb() local 777 rc == -ECONNREFUSED || rc == -EPERM) { in kauditd_send_queue() 794 return (rc >= 0 ? 0 : rc); in kauditd_send_queue() 843 int rc; in kauditd_thread() local 2363 int rc; in audit_set_loginuid() local [all …]
|
| A D | auditsc.c | 338 int rc; in audit_compare_uid() local 342 if (rc) in audit_compare_uid() 343 return rc; in audit_compare_uid() 349 if (rc) in audit_compare_uid() 362 int rc; in audit_compare_gid() local 366 if (rc) in audit_compare_gid() 373 if (rc) in audit_compare_gid() 1114 rc = 1; in audit_log_pid_context() 1124 return rc; in audit_log_pid_context() 2245 int rc; in audit_copy_fcaps() local [all …]
|
| A D | pid_namespace.c | 194 int rc; in zap_pid_ns_processes() local 243 rc = kernel_wait4(-1, NULL, __WALL, NULL); in zap_pid_ns_processes() 244 } while (rc != -ECHILD); in zap_pid_ns_processes()
|
| A D | crash_core.c | 518 int rc = 0; in crash_check_hotplug_support() local 529 rc = kexec_crash_image->hotplug_support; in crash_check_hotplug_support() 535 return rc; in crash_check_hotplug_support()
|
| A D | resource.c | 2081 int rc; in iomem_init_inode() local 2083 rc = simple_pin_fs(&iomem_fs_type, &iomem_vfs_mount, &iomem_fs_cnt); in iomem_init_inode() 2084 if (rc < 0) { in iomem_init_inode() 2085 pr_err("Cannot mount iomem pseudo filesystem: %d\n", rc); in iomem_init_inode() 2086 return rc; in iomem_init_inode() 2091 rc = PTR_ERR(inode); in iomem_init_inode() 2092 pr_err("Cannot allocate inode for iomem: %d\n", rc); in iomem_init_inode() 2094 return rc; in iomem_init_inode()
|
| A D | reboot.c | 1334 int rc; in cpu_store() local 1339 rc = kstrtouint(buf, 0, &cpunum); in cpu_store() 1341 if (rc) in cpu_store() 1342 return rc; in cpu_store()
|
| /kernel/irq/ |
| A D | devres.c | 58 int rc; in devm_request_threaded_irq() local 68 rc = request_threaded_irq(irq, handler, thread_fn, irqflags, devname, in devm_request_threaded_irq() 70 if (rc) { in devm_request_threaded_irq() 72 return rc; in devm_request_threaded_irq() 105 int rc; in devm_request_any_context_irq() local 115 rc = request_any_context_irq(irq, handler, irqflags, devname, dev_id); in devm_request_any_context_irq() 116 if (rc < 0) { in devm_request_any_context_irq() 118 return rc; in devm_request_any_context_irq() 125 return rc; in devm_request_any_context_irq()
|
| A D | ipi-mux.c | 158 int rc; in ipi_mux_create() local 173 rc = -ENOMEM; in ipi_mux_create() 181 rc = -ENOMEM; in ipi_mux_create() 188 rc = irq_domain_alloc_irqs(domain, nr_ipi, NUMA_NO_NODE, NULL); in ipi_mux_create() 189 if (rc <= 0) { in ipi_mux_create() 197 return rc; in ipi_mux_create() 205 return rc; in ipi_mux_create()
|
| A D | irqdomain.c | 516 int rc; in irq_find_matching_fwspec() local 531 rc = h->ops->select(h, fwspec, bus_token); in irq_find_matching_fwspec() 533 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec() 535 rc = ((fwnode != NULL) && (h->fwnode == fwnode) && in irq_find_matching_fwspec() 539 if (rc) { in irq_find_matching_fwspec()
|
| /kernel/module/ |
| A D | decompress.c | 92 int rc; in module_gzip_decompress() local 107 rc = zlib_inflateInit2(&s, -MAX_WBITS); in module_gzip_decompress() 108 if (rc != Z_OK) { in module_gzip_decompress() 109 pr_err("failed to initialize decompressor: %d\n", rc); in module_gzip_decompress() 124 rc = zlib_inflate(&s, 0); in module_gzip_decompress() 128 } while (rc == Z_OK); in module_gzip_decompress() 130 if (rc != Z_STREAM_END) { in module_gzip_decompress() 131 pr_err("decompression failed with status %d\n", rc); in module_gzip_decompress()
|
| A D | main.c | 992 int rc; in store_uevent() local 994 rc = kobject_synth_uevent(&mk->kobj, buffer, count); in store_uevent() 995 return rc ? rc : count; in store_uevent()
|
| /kernel/power/ |
| A D | hibernate.c | 1341 int rc; in resume_offset_store() local 1343 rc = kstrtoull(buf, 0, &offset); in resume_offset_store() 1344 if (rc) in resume_offset_store() 1345 return rc; in resume_offset_store() 1471 int rc = kstrtouint(str, 0, &resume_delay); in resumedelay_setup() local 1473 if (rc) in resumedelay_setup()
|
| /kernel/time/ |
| A D | clockevents.c | 308 int rc; in clockevents_program_event() local 334 rc = dev->set_next_event((unsigned long) clc, dev); in clockevents_program_event() 336 return (rc && force) ? clockevents_program_min_delta(dev) : rc; in clockevents_program_event()
|
| A D | ntp.c | 1094 int rc = kstrtos64(str, 0, &tk_ntp_data[TIMEKEEPER_CORE].ntp_tick_adj); in ntp_tick_adj_setup() local 1095 if (rc) in ntp_tick_adj_setup() 1096 return rc; in ntp_tick_adj_setup()
|
| /kernel/dma/ |
| A D | debug.c | 476 int rc; in active_cacheline_insert() local 486 rc = radix_tree_insert(&dma_active_cacheline, cln, entry); in active_cacheline_insert() 487 if (rc == -EEXIST) in active_cacheline_insert() 491 return rc; in active_cacheline_insert() 585 int rc; in add_dma_entry() local 591 rc = active_cacheline_insert(entry); in add_dma_entry() 592 if (rc == -ENOMEM) { in add_dma_entry() 595 } else if (rc == -EEXIST && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in add_dma_entry()
|
| A D | swiotlb.c | 439 int rc = 0; in swiotlb_init_late() local 481 rc = remap(vstart, nslabs); in swiotlb_init_late() 482 if (rc) { in swiotlb_init_late() 487 return rc; in swiotlb_init_late()
|
| /kernel/gcov/ |
| A D | fs.c | 294 int rc = -ENOMEM; in gcov_seq_open() local 308 rc = seq_open(file, &gcov_seq_ops); in gcov_seq_open() 309 if (rc) in gcov_seq_open() 315 return rc; in gcov_seq_open()
|
| /kernel/futex/ |
| A D | core.c | 1161 int rc; in exit_robust_list() local 1187 rc = fetch_robust_entry(&next_entry, &entry->next, &next_pi); in exit_robust_list() 1197 if (rc) in exit_robust_list() 1256 int rc; in compat_exit_robust_list() local 1283 rc = compat_fetch_robust_entry(&next_uentry, &next_entry, in compat_exit_robust_list() 1296 if (rc) in compat_exit_robust_list()
|
| /kernel/events/ |
| A D | uprobes.c | 2520 static bool ignore_ret_handler(int rc) in ignore_ret_handler() argument 2522 return rc == UPROBE_HANDLER_REMOVE || rc == UPROBE_HANDLER_IGNORE; in ignore_ret_handler() 2537 int rc = 0; in handler_chain() local 2540 rc = uc->handler(uc, regs, &cookie); in handler_chain() 2541 WARN(rc < 0 || rc > 2, in handler_chain() 2542 "bad rc=0x%x from %ps()\n", rc, uc->handler); in handler_chain() 2545 remove &= rc == UPROBE_HANDLER_REMOVE; in handler_chain() 2548 if (!uc->ret_handler || ignore_ret_handler(rc)) in handler_chain()
|
| /kernel/trace/ |
| A D | bpf_trace.c | 157 BPF_CALL_2(bpf_override_return, struct pt_regs *, regs, unsigned long, rc) in BPF_CALL_2() argument 159 regs_set_return_value(regs, rc); in BPF_CALL_2()
|