Searched refs:resid (Results 1 - 16 of 16) sorted by relevance

/darwin-on-arm/xnu/osfmk/kdp/ml/arm/
H A Dkdp_vm.c160 unsigned resid, cnt; local
173 resid = len; /* Get the length to copy */
175 while (resid != 0) {
184 if (cnt > resid)
185 cnt = resid;
191 resid -= cnt;
196 resid = len;
198 while (resid != 0) {
212 if (cnt > resid)
213 cnt = resid;
253 unsigned resid, cnt; local
[all...]
/darwin-on-arm/xnu/osfmk/kdp/ml/i386/
H A Dkdp_x86_common.c94 mach_vm_size_t resid = len; local
119 while (resid != 0) {
140 if (cnt > resid)
141 cnt = resid;
148 resid -= cnt;
151 return (len - resid);
163 mach_vm_size_t resid = len; local
178 while (resid != 0) {
190 if (cnt > resid)
191 cnt = resid;
213 unsigned resid, cnt, cnt_src, cnt_dst; local
263 unsigned resid, cnt, cnt_src, cnt_dst; local
[all...]
/darwin-on-arm/xnu/bsd/dev/vn/
H A Dvn.c250 user_ssize_t * resid)
264 if (resid != NULL) {
265 *resid = uio_resid(auio);
295 user_ssize_t resid; local
299 orig_resid = resid = uio_resid(uio);
302 while (resid > 0) {
314 block_round(resid + remainder, blocksize),
326 if (this_resid > resid) {
327 this_resid = resid;
341 resid
248 file_io(struct vnode * vp, vfs_context_t ctx, enum uio_rw op, char * base, off_t offset, user_ssize_t count, user_ssize_t * resid) argument
387 user_ssize_t resid; local
498 user_ssize_t resid; local
575 user_ssize_t resid; local
655 u_int32_t resid; local
703 u_int32_t resid; local
[all...]
H A Dshadow.c679 uint32_t resid; local
687 resid = requests[i].count;
690 offset, resid);
693 while (resid > 0) {
698 resid,
702 offset, resid, this_offset, this_count);
703 resid -= this_count;
712 while (resid > 0) {
717 resid,
721 offset, resid, this_offse
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dmach_loader.c484 int resid=0; local
571 UIO_SYSSPACE, 0, kauth_cred_get(), &resid, p);
1472 int resid; local
1508 resid = 0;
1517 &resid,
1519 if (error || resid != 0) {
1703 int resid; local
1762 UIO_SYSSPACE, IO_NODELOCKED, kerncred, &resid, p)) != 0) {
1788 UIO_SYSSPACE, IO_NODELOCKED, kerncred, &resid, p);
H A Dkern_shutdown.c252 int resid, log_error, len; local
267 UIO_SYSSPACE, IO_UNIT | IO_NOAUTH, vfs_context_ucred(ctx), &resid, vfs_context_proc(ctx));
269 sd_log_offset += (len - resid);
H A Duipc_socket.c1362 sosendcheck(struct socket *so, struct sockaddr *addr, int32_t resid, int32_t clen, argument
1417 !(resid == 0 && clen != 0))
1427 if ((atomic && resid > so->so_snd.sb_hiwat) ||
1430 if ((space < resid + clen &&
1517 register int32_t space, len, resid; local
1525 resid = uio_resid(uio);
1527 resid = top->m_pkthdr.len;
1529 KERNEL_DEBUG((DBG_FNC_SOSEND | DBG_FUNC_START), so, resid,
1542 * In theory resid should be unsigned.
1545 * of space and resid
2720 sodelayed_copy(struct socket *so, struct uio *uio, struct mbuf **free_list, int *resid) argument
[all...]
H A Dkern_exec.c594 int resid, error; local
662 cred, &resid, p);
668 if (resid) {
1265 int resid; local
1322 &resid, vfs_context_proc(imgp->ip_vfs_context));
H A Duipc_mbuf.c3758 unsigned int needed, resid; local
3906 resid = packetlen > bufsize ? packetlen % bufsize : 0;
3907 if (resid > 0) {
3915 if (njcl > 0 && resid > m_maxsize(MC_BIGCL))
3917 else if (resid > m_maxsize(MC_CL))
3923 resid = 0;
3928 if (resid > 0) {
3968 if (resid > 0) {
3988 if (nsegs == 1 || (num % nsegs) != 0 || resid == 0) {
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_readwrite.c283 ssize_t resid; local
328 resid = uio_resid(uio);
333 if (resid == 0)
394 writelimit = offset + resid;
529 resid -= bytesToAdd;
695 if (resid != uio_resid(uio)) {
699 resid = uio_resid(uio);
736 if (resid > uio_resid(uio)) {
743 resid += bytesToAdd;
761 if (resid > uio_resi
[all...]
H A Dhfs_vfsops.c4807 off_t resid; local
4883 resid = (off_t) blockCount * (off_t) hfsmp->blockSize;
4886 while (resid > 0) {
4887 ioSize = MIN(bufferSize, (size_t) resid);
4988 resid -= ioSize;
/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp_udp.c1605 uint64_t resid = length - (next_page - (intptr_t) panic_data); local
1606 if (!kdp_machine_vm_read((mach_vm_address_t)(uintptr_t)next_page, (caddr_t) th->th_data + (length - resid), resid)) {
1607 memset((caddr_t) th->th_data + (length - resid), 'X', (size_t)resid);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_cluster.c2153 * -- the resid will not exceed iov_len
4169 * cluster_copy_ubc_data returns the resid
4815 advisory_read(vnode_t vp, off_t filesize, off_t f_offset, int resid) argument
4817 return advisory_read_ext(vp, filesize, f_offset, resid, NULL, NULL, CL_PASSIVE);
4821 advisory_read_ext(vnode_t vp, off_t filesize, off_t f_offset, int resid, int (*callback)(buf_t, void *), void *callback_arg, int bflag) argument
4844 if (resid < 0)
4860 (int)f_offset, resid, (int)filesize, 0, 0);
4862 while (resid && f_offset < filesize && retval == 0) {
4875 if (resid < max_size)
4876 io_size = resid;
[all...]
H A Dvfs_vnops.c795 int64_t resid; local
806 &resid,
809 /* "resid" should be bounded above by "len," which is an int */
811 *aresid = resid;
H A Dvfs_bio.c587 buf_setresid(buf_t bp, uint32_t resid) { argument
589 bp->b_resid = resid;
/darwin-on-arm/xnu/bsd/netinet6/
H A Dicmp6.c1881 ni6_store_addrs(ni6, nni6, ifp0, resid)
1884 int resid;
1977 if (resid < sizeof(struct in6_addr) +
2028 resid -= (sizeof(struct in6_addr) + sizeof(u_int32_t));

Completed in 135 milliseconds