/kernel/ |
D | taskstats.c | 116 int rc, delcount = 0; in send_cpu_listeners() local 120 rc = 0; in send_cpu_listeners() 129 rc = genlmsg_unicast(&init_net, skb_cur, s->pid); in send_cpu_listeners() 130 if (rc == -ECONNREFUSED) { in send_cpu_listeners() 195 int rc = -ESRCH; in fill_stats_for_tgid() local 242 rc = 0; in fill_stats_for_tgid() 251 return rc; in fill_stats_for_tgid() 387 int rc = 0; in cgroupstats_user_cmd() local 406 rc = prepare_reply(info, CGROUPSTATS_CMD_NEW, &rep_skb, in cgroupstats_user_cmd() 408 if (rc < 0) in cgroupstats_user_cmd() [all …]
|
D | audit.c | 220 int rc; in auditd_test_task() local 225 rc = (ac && ac->pid == task_tgid(task) ? 1 : 0); in auditd_test_task() 228 return rc; in auditd_test_task() 390 int rc = 0; in audit_log_config_change() local 394 return rc; in audit_log_config_change() 397 rc = audit_log_task_context(ab); in audit_log_config_change() 398 if (rc) in audit_log_config_change() 402 return rc; in audit_log_config_change() 407 int allow_changes, rc = 0; in audit_do_config_change() local 417 rc = audit_log_config_change(function_name, new, old, allow_changes); in audit_do_config_change() [all …]
|
D | auditsc.c | 341 int rc; in audit_compare_uid() local 344 rc = audit_uid_comparator(uid, f->op, name->uid); in audit_compare_uid() 345 if (rc) in audit_compare_uid() 346 return rc; in audit_compare_uid() 351 rc = audit_uid_comparator(uid, f->op, n->uid); in audit_compare_uid() 352 if (rc) in audit_compare_uid() 353 return rc; in audit_compare_uid() 365 int rc; in audit_compare_gid() local 368 rc = audit_gid_comparator(gid, f->op, name->gid); in audit_compare_gid() 369 if (rc) in audit_compare_gid() [all …]
|
D | pid_namespace.c | 176 int rc; in zap_pid_ns_processes() local 224 rc = kernel_wait4(-1, NULL, __WALL, NULL); in zap_pid_ns_processes() 225 } while (rc != -ECHILD); in zap_pid_ns_processes()
|
D | module.c | 1235 int rc; in store_uevent() local 1237 rc = kobject_synth_uevent(&mk->kobj, buffer, count); in store_uevent() 1238 return rc ? rc : count; in store_uevent()
|
/kernel/irq/ |
D | devres.c | 57 int rc; in devm_request_threaded_irq() local 67 rc = request_threaded_irq(irq, handler, thread_fn, irqflags, devname, in devm_request_threaded_irq() 69 if (rc) { in devm_request_threaded_irq() 71 return rc; in devm_request_threaded_irq() 104 int rc; in devm_request_any_context_irq() local 114 rc = request_any_context_irq(irq, handler, irqflags, devname, dev_id); in devm_request_any_context_irq() 115 if (rc < 0) { in devm_request_any_context_irq() 117 return rc; in devm_request_any_context_irq() 124 return rc; in devm_request_any_context_irq()
|
D | irqdomain.c | 345 int rc = irq_alloc_descs(first_irq, first_irq, size, in irq_domain_add_simple() local 347 if (rc < 0) in irq_domain_add_simple() 401 int rc; in irq_find_matching_fwspec() local 415 rc = h->ops->select(h, fwspec, bus_token); in irq_find_matching_fwspec() 417 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec() 419 rc = ((fwnode != NULL) && (h->fwnode == fwnode) && in irq_find_matching_fwspec() 423 if (rc) { in irq_find_matching_fwspec()
|
/kernel/sched/ |
D | pelt.c | 43 int rc = 0; in __set_pelt_halflife() local 60 rc = -EINVAL; in __set_pelt_halflife() 65 return rc; in __set_pelt_halflife() 76 int rc, num; in set_pelt() local 78 rc = kstrtoint(str, 0, &num); in set_pelt() 79 if (rc) { in set_pelt() 80 pr_err("%s: kstrtoint failed. rc=%d\n", __func__, rc); in set_pelt() 85 return rc; in set_pelt()
|
/kernel/time/ |
D | ntp.c | 536 int rc; in sync_rtc_clock() local 551 rc = rtc_set_ntp_time(adjust, &target_nsec); in sync_rtc_clock() 552 if (rc == -ENODEV) in sync_rtc_clock() 555 sched_sync_hw_clock(now, target_nsec, rc); in sync_rtc_clock() 570 int rc = -EPROTO; in sync_cmos_clock() local 591 rc = update_persistent_clock64(adjust); in sync_cmos_clock() 596 if (rc == -ENODEV) { in sync_cmos_clock() 602 sched_sync_hw_clock(now, target_nsec, rc); in sync_cmos_clock() 1034 int rc = kstrtos64(str, 0, &ntp_tick_adj); in ntp_tick_adj_setup() local 1035 if (rc) in ntp_tick_adj_setup() [all …]
|
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()
|
/kernel/power/ |
D | hibernate.c | 1193 int rc; in resume_offset_store() local 1195 rc = kstrtoull(buf, 0, &offset); in resume_offset_store() 1196 if (rc) in resume_offset_store() 1197 return rc; in resume_offset_store() 1323 int rc = kstrtouint(str, 0, &resume_delay); in resumedelay_setup() local 1325 if (rc) in resumedelay_setup()
|
/kernel/gcov/ |
D | fs.c | 184 int rc = -ENOMEM; in gcov_seq_open() local 198 rc = seq_open(file, &gcov_seq_ops); in gcov_seq_open() 199 if (rc) in gcov_seq_open() 205 return rc; in gcov_seq_open()
|
/kernel/dma/ |
D | swiotlb.c | 291 int rc = 0; in swiotlb_late_init_with_default_size() local 322 rc = swiotlb_late_init_with_tbl(vstart, io_tlb_nslabs); in swiotlb_late_init_with_default_size() 323 if (rc) in swiotlb_late_init_with_default_size() 326 return rc; in swiotlb_late_init_with_default_size()
|
D | debug.c | 514 int rc; in active_cacheline_insert() local 524 rc = radix_tree_insert(&dma_active_cacheline, cln, entry); in active_cacheline_insert() 525 if (rc == -EEXIST) in active_cacheline_insert() 529 return rc; in active_cacheline_insert() 559 int rc; in add_dma_entry() local 565 rc = active_cacheline_insert(entry); in add_dma_entry() 566 if (rc == -ENOMEM) { in add_dma_entry()
|
/kernel/futex/ |
D | core.c | 3569 int rc; in exit_robust_list() local 3598 rc = fetch_robust_entry(&next_entry, &entry->next, &next_pi); in exit_robust_list() 3608 if (rc) in exit_robust_list() 3872 int rc; in compat_exit_robust_list() local 3902 rc = compat_fetch_robust_entry(&next_uentry, &next_entry, in compat_exit_robust_list() 3915 if (rc) in compat_exit_robust_list()
|
/kernel/events/ |
D | uprobes.c | 2081 int rc = 0; in handler_chain() local 2084 rc = uc->handler(uc, regs); in handler_chain() 2085 WARN(rc & ~UPROBE_HANDLER_MASK, in handler_chain() 2086 "bad rc=0x%x from %ps()\n", rc, uc->handler); in handler_chain() 2092 remove &= rc; in handler_chain()
|
/kernel/trace/ |
D | bpf_trace.c | 133 BPF_CALL_2(bpf_override_return, struct pt_regs *, regs, unsigned long, rc) in BPF_CALL_2() argument 135 regs_set_return_value(regs, rc); in BPF_CALL_2()
|