Searched refs:orig_resid (Results 1 – 2 of 2) sorted by relevance
| /xnu-8796.121.2/bsd/kern/ |
| H A D | sys_pipe.c | 915 size_t orig_resid; in pipe_write() local 919 orig_resid = (size_t)uio_resid(uio); in pipe_write() 920 if (orig_resid > LONG_MAX) { in pipe_write() 957 (unsigned)orig_resid > wpipe->pipe_buffer.size - wpipe->pipe_buffer.cnt && in pipe_write() 959 pipe_size = choose_pipespace(wpipe->pipe_buffer.size, wpipe->pipe_buffer.cnt + orig_resid); in pipe_write() 1001 if ((space < uio_resid(uio)) && (orig_resid <= PIPE_BUF)) { in pipe_write()
|
| H A D | uipc_socket.c | 2184 user_ssize_t space, len, resid, orig_resid; in sosend() local 2198 orig_resid = resid; in sosend() 2600 if (resid > orig_resid) { in sosend() 2607 so, resid, orig_resid, pname, current_pid); in sosend() 2610 so->so_gencnt, resid, orig_resid, pname, current_pid); in sosend() 2640 (int64_t)(orig_resid - resid)); in sosend() 3396 user_ssize_t orig_resid = uio_resid(uio); in soreceive() local 3406 if (orig_resid < 0 || orig_resid > INT_MAX) { in soreceive() 3492 (int64_t)orig_resid); in soreceive() 3546 (int64_t)(orig_resid - uio_resid(uio))); in soreceive() [all …]
|