Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 19 of 19) sorted by relevance

/kernel/
Dtaskstats.c123 int rc; in send_cpu_listeners() local
131 rc = genlmsg_unicast(&init_net, skb_cur, s->pid); in send_cpu_listeners()
132 if (rc == -ECONNREFUSED) { in send_cpu_listeners()
217 int rc = -ESRCH; in fill_stats_for_tgid() local
264 rc = 0; in fill_stats_for_tgid()
273 return rc; in fill_stats_for_tgid()
409 int rc = 0; in cgroupstats_user_cmd() local
428 rc = prepare_reply(info, CGROUPSTATS_CMD_NEW, &rep_skb, in cgroupstats_user_cmd()
430 if (rc < 0) in cgroupstats_user_cmd()
437 rc = -EMSGSIZE; in cgroupstats_user_cmd()
[all …]
Daudit.c220 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()
388 int rc = 0; in audit_log_config_change() local
392 return rc; in audit_log_config_change()
395 rc = audit_log_task_context(ab); in audit_log_config_change()
396 if (rc) in audit_log_config_change()
400 return rc; in audit_log_config_change()
405 int allow_changes, rc = 0; in audit_do_config_change() local
415 rc = audit_log_config_change(function_name, new, old, allow_changes); in audit_do_config_change()
[all …]
Dauditsc.c335 int rc; in audit_compare_uid() local
338 rc = audit_uid_comparator(uid, f->op, name->uid); in audit_compare_uid()
339 if (rc) in audit_compare_uid()
340 return rc; in audit_compare_uid()
345 rc = audit_uid_comparator(uid, f->op, n->uid); in audit_compare_uid()
346 if (rc) in audit_compare_uid()
347 return rc; in audit_compare_uid()
359 int rc; in audit_compare_gid() local
362 rc = audit_gid_comparator(gid, f->op, name->gid); in audit_compare_gid()
363 if (rc) in audit_compare_gid()
[all …]
Dpid_namespace.c169 int rc; in zap_pid_ns_processes() local
217 rc = kernel_wait4(-1, NULL, __WALL, NULL); in zap_pid_ns_processes()
218 } while (rc != -ECHILD); in zap_pid_ns_processes()
Dreboot.c1228 int rc; in cpu_store() local
1233 rc = kstrtouint(buf, 0, &cpunum); in cpu_store()
1235 if (rc) in cpu_store()
1236 return rc; in cpu_store()
Dresource.c1990 int rc; in iomem_init_inode() local
1992 rc = simple_pin_fs(&iomem_fs_type, &iomem_vfs_mount, &iomem_fs_cnt); in iomem_init_inode()
1993 if (rc < 0) { in iomem_init_inode()
1994 pr_err("Cannot mount iomem pseudo filesystem: %d\n", rc); in iomem_init_inode()
1995 return rc; in iomem_init_inode()
2000 rc = PTR_ERR(inode); in iomem_init_inode()
2001 pr_err("Cannot allocate inode for iomem: %d\n", rc); in iomem_init_inode()
2003 return rc; in iomem_init_inode()
/kernel/irq/
Ddevres.c57 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()
Dirqdomain.c364 int rc = irq_alloc_descs(first_irq, first_irq, size, in irq_domain_create_simple() local
366 if (rc < 0) in irq_domain_create_simple()
431 int rc; in irq_find_matching_fwspec() local
445 rc = h->ops->select(h, fwspec, bus_token); in irq_find_matching_fwspec()
447 rc = h->ops->match(h, to_of_node(fwnode), bus_token); in irq_find_matching_fwspec()
449 rc = ((fwnode != NULL) && (h->fwnode == fwnode) && in irq_find_matching_fwspec()
453 if (rc) { in irq_find_matching_fwspec()
/kernel/module/
Ddecompress.c92 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()
Dmain.c923 int rc; in store_uevent() local
925 rc = kobject_synth_uevent(&mk->kobj, buffer, count); in store_uevent()
926 return rc ? rc : count; in store_uevent()
/kernel/futex/
Dcore.c794 int rc; in exit_robust_list() local
820 rc = fetch_robust_entry(&next_entry, &entry->next, &next_pi); in exit_robust_list()
830 if (rc) in exit_robust_list()
889 int rc; in compat_exit_robust_list() local
916 rc = compat_fetch_robust_entry(&next_uentry, &next_entry, in compat_exit_robust_list()
929 if (rc) in compat_exit_robust_list()
/kernel/power/
Dhibernate.c1217 int rc; in resume_offset_store() local
1219 rc = kstrtoull(buf, 0, &offset); in resume_offset_store()
1220 if (rc) in resume_offset_store()
1221 return rc; in resume_offset_store()
1347 int rc = kstrtouint(str, 0, &resume_delay); in resumedelay_setup() local
1349 if (rc) in resumedelay_setup()
/kernel/time/
Dclockevents.c308 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()
Dntp.c1082 int rc = kstrtos64(str, 0, &ntp_tick_adj); in ntp_tick_adj_setup() local
1083 if (rc) in ntp_tick_adj_setup()
1084 return rc; in ntp_tick_adj_setup()
/kernel/dma/
Ddebug.c512 int rc; in active_cacheline_insert() local
522 rc = radix_tree_insert(&dma_active_cacheline, cln, entry); in active_cacheline_insert()
523 if (rc == -EEXIST) in active_cacheline_insert()
527 return rc; in active_cacheline_insert()
557 int rc; in add_dma_entry() local
563 rc = active_cacheline_insert(entry); in add_dma_entry()
564 if (rc == -ENOMEM) { in add_dma_entry()
567 } else if (rc == -EEXIST && !(attrs & DMA_ATTR_SKIP_CPU_SYNC)) { in add_dma_entry()
Dswiotlb.c436 int rc = 0; in swiotlb_init_late() local
462 rc = remap(vstart, nslabs); in swiotlb_init_late()
463 if (rc) { in swiotlb_init_late()
468 return rc; in swiotlb_init_late()
/kernel/gcov/
Dfs.c294 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/events/
Duprobes.c2080 int rc = 0; in handler_chain() local
2083 rc = uc->handler(uc, regs); in handler_chain()
2084 WARN(rc & ~UPROBE_HANDLER_MASK, in handler_chain()
2085 "bad rc=0x%x from %ps()\n", rc, uc->handler); in handler_chain()
2091 remove &= rc; in handler_chain()
/kernel/trace/
Dbpf_trace.c146 BPF_CALL_2(bpf_override_return, struct pt_regs *, regs, unsigned long, rc) in BPF_CALL_2() argument
148 regs_set_return_value(regs, rc); in BPF_CALL_2()