| /xnu-8792.81.2/bsd/vfs/ |
| H A D | vfs_cluster.c | 2492 while ((cur_resid = uio_resid(uio)) && uio->uio_offset < newEOF && retval == 0) { in cluster_write_ext() 2533 retval = cluster_write_copy(vp, (struct uio *)0, (u_int32_t)0, (off_t)0, uio->uio_offset, in cluster_write_ext() 2556 if (uio->uio_offset > oldEOF) { in cluster_write_ext() 2557 oldEOF = uio->uio_offset; in cluster_write_ext() 2559 …al = cluster_write_copy(vp, (struct uio *)0, (u_int32_t)0, (off_t)oldEOF, tailOff, uio->uio_offset, in cluster_write_ext() 2585 if (uio->uio_offset > oldEOF) { in cluster_write_ext() 2586 oldEOF = uio->uio_offset; in cluster_write_ext() 2637 (int)uio->uio_offset, *write_length, (int)newEOF, 0, 0); in cluster_write_direct() 2685 offset_in_file = (u_int32_t)uio->uio_offset & PAGE_MASK; in cluster_write_direct() 2705 while (io_req_size >= PAGE_SIZE && uio->uio_offset < newEOF && retval == 0) { in cluster_write_direct() [all …]
|
| H A D | vfs_xattr.c | 151 if (uio != NULL && uio_offset(uio) != 0 && in vn_getxattr() 159 if (uio != NULL && uio_offset(uio) != 0 && in vn_getxattr() 213 if (uio_offset(uio) != 0 && in vn_setxattr() 1649 } else if (uio_offset(uio) != 0) { in default_getxattr() 1669 uio_setoffset(uio, uio_offset(uio) + ainfo.rsrcfork->offset); in default_getxattr() 1672 uio_setoffset(uio, uio_offset(uio) - ainfo.rsrcfork->offset); in default_getxattr() 1682 if (uio_offset(uio) != 0) { in default_getxattr() 1777 if (uio_offset(uio) != 0 || datalen != FINDERINFOSIZE) { in default_setxattr() 1889 endoffset = uio_resid(uio) + uio_offset(uio); /* new size */ in default_setxattr() 1894 uio_setoffset(uio, uio_offset(uio) + ainfo.rsrcfork->offset); in default_setxattr() [all …]
|
| H A D | vfs_vnops.c | 878 read_end = uio->uio_offset + uio_resid(uio); in vn_read_swapfile() 879 if (uio->uio_offset >= file_end) { in vn_read_swapfile() 1101 read_offset = uio_offset(uio); in vn_read_common() 1300 write_offset = uio_offset(uio); in vn_write() 1397 fp->fp_glob->fg_offset = uio_offset(uio); in vn_write()
|
| H A D | vfs_attrlist.c | 2985 off_t orig_offset = uio_offset(auio); in vfs_attr_pack_internal() 3523 fvd->fv_eoff = uio_offset(rdir_uio); in refill_fd_direntries() 4234 fvdata->fv_offset = uio_offset(auio); in getattrlistbulk()
|
| H A D | vfs_syscalls.c | 10227 auio->uio_offset = uio->uio_offset; in vnode_readdir64() 10272 uio->uio_offset = auio->uio_offset; in vnode_readdir64() 10357 fp->fp_glob->fg_offset = uio_offset(auio); in getdirentries_common() 10360 fp->fp_glob->fg_offset = uio_offset(auio); in getdirentries_common() 10726 fp->fp_glob->fg_offset = uio_offset(auio); /* should be multiple of dirent, not variable */ in getdirentriesattr()
|
| H A D | vfs_subr.c | 10903 uio_reset(auio, uio_offset(auio), UIO_SYSSPACE, UIO_READ); in rmdir_remove_orphaned_appleDouble() 10976 uio_reset(auio, uio_offset(auio), UIO_SYSSPACE, UIO_READ); in rmdir_remove_orphaned_appleDouble()
|
| /xnu-8792.81.2/bsd/kern/ |
| H A D | kern_subr.c | 609 uio_offset( uio_t a_uio ) in uio_offset() function 620 return a_uio->uio_offset; in uio_offset() 638 a_uio->uio_offset = a_offset; in uio_setoffset() 743 uio->uio_offset = a_offset; in uio_init() 951 a_uio->uio_offset = a_offset; in uio_reset() 1209 a_uio->uio_offset += a_uio->uio_resid_64; in uio_update() 1212 a_uio->uio_offset += a_count; in uio_update() 1243 a_uio->uio_offset += a_uio->uio_resid_64; in uio_update() 1246 a_uio->uio_offset += a_count; in uio_update() 1304 a_uio->uio_offset -= a_count; in uio_pushback()
|
| H A D | kern_physio.c | 172 buf_setblkno(bp, uio_offset(uio) / blocksize); in physio()
|
| H A D | decmpfs.c | 1648 uplPos = uio_offset(uio); 1667 uioPos = uio_offset(uio);
|
| /xnu-8792.81.2/bsd/dev/ |
| H A D | memdev.c | 225 if (uio->uio_offset < 0) { in mdevrw() 231 mdata = ((addr64_t)mdev[devid].mdBase << 12) + uio->uio_offset; /* Point to the area in "file" */ in mdevrw() 250 if (uio->uio_offset > (mdev[devid].mdSize << 12)) { in mdevrw() 253 count = imin(uio_resid(uio), (mdev[devid].mdSize << 12) - uio->uio_offset); in mdevrw()
|
| H A D | mem.c | 179 vm_address_t kaddr = (vm_address_t)uio->uio_offset; in mmrw()
|
| /xnu-8792.81.2/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 519 if (uio_offset(uio) && devBlockSize) { in spec_read() 520 blkno = ((uint64_t) uio_offset(uio) / ((uint64_t)devBlockSize)); in spec_read() 549 if (uio->uio_offset < 0) { in spec_read() 565 on = uio->uio_offset % bsize; in spec_read() 567 bn = (daddr64_t)((uio->uio_offset / devBlockSize) & ~(bscale - 1)); in spec_read() 662 if ((uio_offset(uio) != 0) && devBlockSize) { in spec_write() 663 blkno = ((uint64_t)uio_offset(uio)) / ((uint64_t)devBlockSize); in spec_write() 694 if (uio->uio_offset < 0) { in spec_write() 713 bn = (daddr64_t)((uio->uio_offset / devBlockSize) & ~blkmask); in spec_write() 714 on = uio->uio_offset % bsize; in spec_write() [all …]
|
| /xnu-8792.81.2/bsd/sys/ |
| H A D | uio.h | 208 off_t uio_offset( uio_t a_uio );
|
| H A D | uio_internal.h | 146 off_t uio_offset; member
|
| /xnu-8792.81.2/bsd/miscfs/bindfs/ |
| H A D | bind_vnops.c | 340 uio_setoffset(auio, uio_offset(uio)); in bindfs_readdir() 374 uio_setoffset(uio, uio_offset(auio)); in bindfs_readdir()
|
| /xnu-8792.81.2/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 590 i = uio->uio_offset / UIO_MX; in devfs_devfd_readdir() 619 uio->uio_offset = i * UIO_MX; in devfs_devfd_readdir()
|
| H A D | devfs_vnops.c | 1352 startpos = uio->uio_offset; in devfs_readdir() 1420 uio->uio_offset = pos; in devfs_readdir()
|
| /xnu-8792.81.2/bsd/miscfs/nullfs/ |
| H A D | null_vnops.c | 731 off_t offset = uio_offset(uio); in nullfs_special_readdir()
|
| /xnu-8792.81.2/bsd/nfs/ |
| H A D | nfs_serv.c | 4312 off = uio_offset(auio); in nfsrv_readdir() 4561 off = uio_offset(auio); in nfsrv_readdirplus()
|