/kernel/ |
D | exit.c | 276 int retval; in is_current_pgrp_orphaned() local 279 retval = will_become_orphaned_pgrp(task_pgrp(current), NULL); in is_current_pgrp_orphaned() 282 return retval; in is_current_pgrp_orphaned() 287 int retval = 0; in has_stopped_jobs() local 293 retval = 1; in has_stopped_jobs() 296 return retval; in has_stopped_jobs() 1250 int retval = rusagep ? getrusage(p, RUSAGE_BOTH, rusagep) : 0; in wait_noreap_copyout() local 1253 if (!retval) in wait_noreap_copyout() 1254 retval = put_user(SIGCHLD, &infop->si_signo); in wait_noreap_copyout() 1255 if (!retval) in wait_noreap_copyout() [all …]
|
D | sys.c | 216 long niceval, retval = -ESRCH; in SYSCALL_DEFINE2() local 231 if (niceval > retval) in SYSCALL_DEFINE2() 232 retval = niceval; in SYSCALL_DEFINE2() 242 if (niceval > retval) in SYSCALL_DEFINE2() 243 retval = niceval; in SYSCALL_DEFINE2() 257 if (niceval > retval) in SYSCALL_DEFINE2() 258 retval = niceval; in SYSCALL_DEFINE2() 268 return retval; in SYSCALL_DEFINE2() 486 int retval; in SYSCALL_DEFINE2() local 493 retval = security_task_setgid(rgid, egid, (gid_t)-1, LSM_SETID_RE); in SYSCALL_DEFINE2() [all …]
|
D | uid16.c | 88 int retval; in SYSCALL_DEFINE3() local 90 if (!(retval = put_user(high2lowuid(cred->uid), ruid)) && in SYSCALL_DEFINE3() 91 !(retval = put_user(high2lowuid(cred->euid), euid))) in SYSCALL_DEFINE3() 92 retval = put_user(high2lowuid(cred->suid), suid); in SYSCALL_DEFINE3() 94 return retval; in SYSCALL_DEFINE3() 110 int retval; in SYSCALL_DEFINE3() local 112 if (!(retval = put_user(high2lowgid(cred->gid), rgid)) && in SYSCALL_DEFINE3() 113 !(retval = put_user(high2lowgid(cred->egid), egid))) in SYSCALL_DEFINE3() 114 retval = put_user(high2lowgid(cred->sgid), sgid); in SYSCALL_DEFINE3() 116 return retval; in SYSCALL_DEFINE3() [all …]
|
D | kmod.c | 126 int retval; member 137 int retval; in ____call_usermodehelper() local 178 retval = kernel_execve(sub_info->path, sub_info->argv, sub_info->envp); in ____call_usermodehelper() 181 sub_info->retval = retval; in ____call_usermodehelper() 207 sub_info->retval = pid; in wait_for_helper() 228 sub_info->retval = ret; in wait_for_helper() 265 sub_info->retval = pid; in __call_usermodehelper() 301 long retval; in usermodehelper_disable() local 311 retval = wait_event_timeout(running_helpers_waitq, in usermodehelper_disable() 314 if (retval) in usermodehelper_disable() [all …]
|
D | cpuset.c | 926 int retval; in update_cpumask() local 942 retval = cpulist_parse(buf, trialcs->cpus_allowed); in update_cpumask() 943 if (retval < 0) in update_cpumask() 944 return retval; in update_cpumask() 949 retval = validate_change(cs, trialcs); in update_cpumask() 950 if (retval < 0) in update_cpumask() 951 return retval; in update_cpumask() 957 retval = heap_init(&heap, PAGE_SIZE, GFP_KERNEL, NULL); in update_cpumask() 958 if (retval) in update_cpumask() 959 return retval; in update_cpumask() [all …]
|
D | ptrace.c | 177 int retval; in ptrace_attach() local 182 retval = -EPERM; in ptrace_attach() 189 retval = mutex_lock_interruptible(&task->cred_exec_mutex); in ptrace_attach() 190 if (retval < 0) in ptrace_attach() 193 retval = -EPERM; in ptrace_attach() 218 retval = __ptrace_may_access(task, PTRACE_MODE_ATTACH); in ptrace_attach() 219 if (retval) in ptrace_attach() 235 return retval; in ptrace_attach() 272 int this_len, retval; in ptrace_readdata() local 275 retval = access_process_vm(tsk, src, buf, this_len, 0); in ptrace_readdata() [all …]
|
D | fork.c | 265 int retval; in dup_mmap() local 310 retval = PTR_ERR(pol); in dup_mmap() 356 retval = copy_page_range(mm, oldmm, mpnt); in dup_mmap() 361 if (retval) in dup_mmap() 366 retval = 0; in dup_mmap() 371 return retval; in dup_mmap() 375 retval = -ENOMEM; in dup_mmap() 638 int retval; in copy_mm() local 661 retval = -ENOMEM; in copy_mm() 676 return retval; in copy_mm() [all …]
|
D | cgroup_freezer.c | 315 int retval = 0; in freezer_change_state() local 330 retval = try_to_freeze_cgroup(cgroup, freezer); in freezer_change_state() 338 return retval; in freezer_change_state() 345 int retval; in freezer_write() local 357 retval = freezer_change_state(cgroup, goal_state); in freezer_write() 359 return retval; in freezer_write()
|
D | pm_qos_params.c | 319 int retval; in pm_qos_add_notifier() local 321 retval = blocking_notifier_chain_register( in pm_qos_add_notifier() 324 return retval; in pm_qos_add_notifier() 338 int retval; in pm_qos_remove_notifier() local 340 retval = blocking_notifier_chain_unregister( in pm_qos_remove_notifier() 343 return retval; in pm_qos_remove_notifier()
|
D | cgroup.c | 1223 int retval = 0; in cgroup_attach_task() local 1240 retval = ss->can_attach(ss, cgrp, tsk); in cgroup_attach_task() 1241 if (retval) in cgroup_attach_task() 1242 return retval; in cgroup_attach_task() 1390 int retval = 0; in cgroup_write_X64() local 1406 retval = cft->write_u64(cgrp, cft, val); in cgroup_write_X64() 1411 retval = cft->write_s64(cgrp, cft, val); in cgroup_write_X64() 1413 if (!retval) in cgroup_write_X64() 1414 retval = nbytes; in cgroup_write_X64() 1415 return retval; in cgroup_write_X64() [all …]
|
D | sched.c | 5194 long nice, retval; in SYSCALL_DEFINE1() local 5215 retval = security_task_setnice(current, nice); in SYSCALL_DEFINE1() 5216 if (retval) in SYSCALL_DEFINE1() 5217 return retval; in SYSCALL_DEFINE1() 5320 int retval, oldprio, oldpolicy = -1, on_rq, running; in __sched_setscheduler() local 5391 retval = security_task_setscheduler(p, policy, param); in __sched_setscheduler() 5392 if (retval) in __sched_setscheduler() 5393 return retval; in __sched_setscheduler() 5476 int retval; in do_sched_setscheduler() local 5484 retval = -ESRCH; in do_sched_setscheduler() [all …]
|
D | printk.c | 648 int retval = 0; in acquire_console_semaphore_for_printk() local 651 retval = 1; in acquire_console_semaphore_for_printk() 662 retval = 0; in acquire_console_semaphore_for_printk() 667 return retval; in acquire_console_semaphore_for_printk()
|
D | compat.c | 477 int retval; in compat_sys_sched_setaffinity() local 482 retval = compat_get_user_cpu_mask(user_mask_ptr, len, new_mask); in compat_sys_sched_setaffinity() 483 if (retval) in compat_sys_sched_setaffinity() 486 retval = sched_setaffinity(pid, new_mask); in compat_sys_sched_setaffinity() 489 return retval; in compat_sys_sched_setaffinity()
|
D | signal.c | 1059 int retval, success; in __kill_pgrp_info() local 1062 retval = -ESRCH; in __kill_pgrp_info() 1066 retval = err; in __kill_pgrp_info() 1068 return success ? 0 : retval; in __kill_pgrp_info() 1168 int retval = 0, count = 0; in kill_something_info() local 1177 retval = err; in kill_something_info() 1180 ret = count ? retval : -ESRCH; in kill_something_info()
|
D | resource.c | 216 int retval; in release_resource() local 219 retval = __release_resource(old); in release_resource() 221 return retval; in release_resource()
|
D | audit.c | 201 int retval = 0; in audit_rate_check() local 207 retval = 1; in audit_rate_check() 214 retval = 1; in audit_rate_check() 219 return retval; in audit_rate_check()
|
/kernel/irq/ |
D | manage.c | 674 int retval; in request_irq() local 723 retval = __setup_irq(irq, desc, action); in request_irq() 724 if (retval) in request_irq() 746 return retval; in request_irq()
|
D | handle.c | 328 irqreturn_t ret, retval = IRQ_NONE; in handle_IRQ_event() local 338 retval |= ret; in handle_IRQ_event() 346 return retval; in handle_IRQ_event()
|