Home
last modified time | relevance | path

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

/kernel/
Dtaskstats.c115 int rc; in send_reply() local
117 rc = genlmsg_end(skb, reply); in send_reply()
118 if (rc < 0) { in send_reply()
120 return rc; in send_reply()
136 int rc, delcount = 0; in send_cpu_listeners() local
138 rc = genlmsg_end(skb, reply); in send_cpu_listeners()
139 if (rc < 0) { in send_cpu_listeners()
144 rc = 0; in send_cpu_listeners()
153 rc = genlmsg_unicast(skb_cur, s->pid); in send_cpu_listeners()
154 if (rc == -ECONNREFUSED) { in send_cpu_listeners()
[all …]
Duser.c102 int rc = 0; in sched_create_user() local
106 rc = -ENOMEM; in sched_create_user()
110 return rc; in sched_create_user()
152 int rc; in cpu_shares_store() local
156 rc = sched_group_set_shares(up->tg, shares); in cpu_shares_store()
158 return (rc ? rc : size); in cpu_shares_store()
181 int rc; in cpu_rt_runtime_store() local
185 rc = sched_group_set_rt_runtime(up->tg, rt_runtime); in cpu_rt_runtime_store()
187 return (rc ? rc : size); in cpu_rt_runtime_store()
208 int rc; in cpu_rt_period_store() local
[all …]
Daudit.c269 int rc = 0; in audit_log_config_change() local
278 rc = security_secid_to_secctx(sid, &ctx, &len); in audit_log_config_change()
279 if (rc) { in audit_log_config_change()
289 return rc; in audit_log_config_change()
296 int allow_changes, rc = 0, old = *to_change; in audit_do_config_change() local
305 rc = audit_log_config_change(function_name, new, old, loginuid, in audit_do_config_change()
307 if (rc) in audit_do_config_change()
315 else if (rc == 0) in audit_do_config_change()
316 rc = -EPERM; in audit_do_config_change()
317 return rc; in audit_do_config_change()
[all …]
Dpid_namespace.c154 int rc; in zap_pid_ns_processes() local
179 rc = sys_wait4(-1, NULL, __WALL, NULL); in zap_pid_ns_processes()
180 } while (rc != -ECHILD); in zap_pid_ns_processes()
Dfutex_compat.c55 int rc; in compat_exit_robust_list() local
85 rc = fetch_robust_entry(&next_uentry, &next_entry, in compat_exit_robust_list()
97 if (rc) in compat_exit_robust_list()
Dsysctl.c1620 int op = 0, rc; in do_sysctl_strategy() local
1630 rc = table->strategy(table, oldval, oldlenp, newval, newlen); in do_sysctl_strategy()
1631 if (rc < 0) in do_sysctl_strategy()
1632 return rc; in do_sysctl_strategy()
1633 if (rc > 0) in do_sysctl_strategy()
1640 rc = sysctl_data(table, oldval, oldlenp, newval, newlen); in do_sysctl_strategy()
1641 if (rc < 0) in do_sysctl_strategy()
1642 return rc; in do_sysctl_strategy()
Dauditsc.c984 int rc = 0; in audit_log_pid_context() local
988 return rc; in audit_log_pid_context()
994 rc = 1; in audit_log_pid_context()
1003 return rc; in audit_log_pid_context()
1915 int rc; in audit_copy_fcaps() local
1925 rc = get_vfs_caps_from_disk(dentry, &caps); in audit_copy_fcaps()
1926 if (rc) in audit_copy_fcaps()
1927 return rc; in audit_copy_fcaps()
Dfutex.c1906 int rc; in exit_robust_list() local
1935 rc = fetch_robust_entry(&next_entry, &entry->next, &next_pi); in exit_robust_list()
1944 if (rc) in exit_robust_list()
/kernel/irq/
Ddevres.c50 int rc; in devm_request_irq() local
57 rc = request_irq(irq, handler, irqflags, devname, dev_id); in devm_request_irq()
58 if (rc) { in devm_request_irq()
60 return rc; in devm_request_irq()