Lines Matching refs:rc
81 ssize_t rc = 0; in process_vm_rw_single_vec() local
94 while (!rc && nr_pages && iov_iter_count(iter)) { in process_vm_rw_single_vec()
117 rc = process_vm_rw_pages(process_pages, in process_vm_rw_single_vec()
130 return rc; in process_vm_rw_single_vec()
160 ssize_t rc = 0; in process_vm_rw_core() local
198 rc = -ESRCH; in process_vm_rw_core()
204 rc = IS_ERR(mm) ? PTR_ERR(mm) : -ESRCH; in process_vm_rw_core()
209 if (rc == -EACCES) in process_vm_rw_core()
210 rc = -EPERM; in process_vm_rw_core()
214 for (i = 0; i < riovcnt && iov_iter_count(iter) && !rc; i++) in process_vm_rw_core()
215 rc = process_vm_rw_single_vec( in process_vm_rw_core()
226 rc = total_len; in process_vm_rw_core()
236 return rc; in process_vm_rw_core()
265 ssize_t rc; in process_vm_rw() local
272 rc = import_iovec(dir, lvec, liovcnt, UIO_FASTIOV, &iov_l, &iter); in process_vm_rw()
273 if (rc < 0) in process_vm_rw()
274 return rc; in process_vm_rw()
280 rc = PTR_ERR(iov_r); in process_vm_rw()
283 rc = process_vm_rw_core(pid, &iter, iov_r, riovcnt, flags, vm_write); in process_vm_rw()
288 return rc; in process_vm_rw()