Lines Matching refs:retval
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()
1424 int retval = 0; in cgroup_write_string() local
1439 retval = -EFAULT; in cgroup_write_string()
1445 retval = cft->write_string(cgrp, cft, buffer); in cgroup_write_string()
1446 if (!retval) in cgroup_write_string()
1447 retval = nbytes; in cgroup_write_string()
1451 return retval; in cgroup_write_string()
1912 int retval, i; in cgroup_scan_tasks() local
1928 retval = heap_init(heap, PAGE_SIZE, GFP_KERNEL, &started_after); in cgroup_scan_tasks()
1929 if (retval) in cgroup_scan_tasks()
1931 return retval; in cgroup_scan_tasks()
2222 int retval; in cgroup_tasks_open() local
2254 retval = seq_open(file, &cgroup_tasks_seq_operations); in cgroup_tasks_open()
2255 if (retval) { in cgroup_tasks_open()
2257 return retval; in cgroup_tasks_open()
2748 int retval; in proc_cgroup_show() local
2751 retval = -ENOMEM; in proc_cgroup_show()
2756 retval = -ESRCH; in proc_cgroup_show()
2762 retval = 0; in proc_cgroup_show()
2778 retval = cgroup_path(cgrp, buf, PAGE_SIZE); in proc_cgroup_show()
2779 if (retval < 0) in proc_cgroup_show()
2791 return retval; in proc_cgroup_show()