Lines Matching refs:retval
68 int retval; in mipsmt_sys_sched_setaffinity() local
91 retval = -ENOMEM; in mipsmt_sys_sched_setaffinity()
95 retval = -ENOMEM; in mipsmt_sys_sched_setaffinity()
99 retval = -ENOMEM; in mipsmt_sys_sched_setaffinity()
102 retval = -EPERM; in mipsmt_sys_sched_setaffinity()
106 retval = security_task_setscheduler(p); in mipsmt_sys_sched_setaffinity()
107 if (retval) in mipsmt_sys_sched_setaffinity()
119 retval = set_cpus_allowed_ptr(p, effective_mask); in mipsmt_sys_sched_setaffinity()
123 retval = set_cpus_allowed_ptr(p, new_mask); in mipsmt_sys_sched_setaffinity()
126 if (!retval) { in mipsmt_sys_sched_setaffinity()
147 return retval; in mipsmt_sys_sched_setaffinity()
158 int retval; in mipsmt_sys_sched_getaffinity() local
168 retval = -ESRCH; in mipsmt_sys_sched_getaffinity()
172 retval = security_task_getscheduler(p); in mipsmt_sys_sched_getaffinity()
173 if (retval) in mipsmt_sys_sched_getaffinity()
182 if (retval) in mipsmt_sys_sched_getaffinity()
183 return retval; in mipsmt_sys_sched_getaffinity()