| /xnu-10002.1.13/bsd/vfs/ |
| H A D | vfs_cluster.c | 2515 while ((cur_resid = uio_resid(uio)) && uio->uio_offset < newEOF && retval == 0) { in cluster_write_ext() 2556 retval = cluster_write_copy(vp, (struct uio *)0, (u_int32_t)0, (off_t)0, uio->uio_offset, in cluster_write_ext() 2579 if (uio->uio_offset > oldEOF) { in cluster_write_ext() 2580 oldEOF = uio->uio_offset; in cluster_write_ext() 2582 …al = cluster_write_copy(vp, (struct uio *)0, (u_int32_t)0, (off_t)oldEOF, tailOff, uio->uio_offset, in cluster_write_ext() 2613 if (uio->uio_offset > oldEOF) { in cluster_write_ext() 2614 oldEOF = uio->uio_offset; in cluster_write_ext() 2665 (int)uio->uio_offset, *write_length, (int)newEOF, 0, 0); in cluster_write_direct() 2713 offset_in_file = (u_int32_t)uio->uio_offset & PAGE_MASK; in cluster_write_direct() 2733 while (io_req_size >= PAGE_SIZE && uio->uio_offset < newEOF && retval == 0) { in cluster_write_direct() [all …]
|
| H A D | vfs_xattr.c | 153 if (uio_offset(uio) != 0 && in vn_getxattr() 207 if (uio_offset(uio) != 0 && in vn_setxattr() 1643 } else if (uio_offset(uio) != 0) { in default_getxattr() 1663 uio_setoffset(uio, uio_offset(uio) + ainfo.rsrcfork->offset); in default_getxattr() 1666 uio_setoffset(uio, uio_offset(uio) - ainfo.rsrcfork->offset); in default_getxattr() 1676 if (uio_offset(uio) != 0) { in default_getxattr() 1771 if (uio_offset(uio) != 0 || datalen != FINDERINFOSIZE) { in default_setxattr() 1883 endoffset = uio_resid(uio) + uio_offset(uio); /* new size */ in default_setxattr() 1888 uio_setoffset(uio, uio_offset(uio) + ainfo.rsrcfork->offset); in default_setxattr() 1893 uio_setoffset(uio, uio_offset(uio) - ainfo.rsrcfork->offset); in default_setxattr()
|
| H A D | vfs_vnops.c | 874 read_end = uio->uio_offset + uio_resid(uio); in vn_read_swapfile() 875 if (uio->uio_offset >= file_end) { in vn_read_swapfile() 1097 read_offset = uio_offset(uio); in vn_read_common() 1296 write_offset = uio_offset(uio); in vn_write() 1393 fp->fp_glob->fg_offset = uio_offset(uio); in vn_write()
|
| H A D | vfs_attrlist.c | 3038 off_t orig_offset = uio_offset(auio); in vfs_attr_pack_internal() 3576 fvd->fv_eoff = uio_offset(rdir_uio); in refill_fd_direntries() 4287 fvdata->fv_offset = uio_offset(auio); in getattrlistbulk()
|
| H A D | vfs_syscalls.c | 10233 auio->uio_offset = uio->uio_offset; in vnode_readdir64() 10278 uio->uio_offset = auio->uio_offset; in vnode_readdir64() 10363 fp->fp_glob->fg_offset = uio_offset(auio); in getdirentries_common() 10366 fp->fp_glob->fg_offset = uio_offset(auio); in getdirentries_common() 10732 fp->fp_glob->fg_offset = uio_offset(auio); /* should be multiple of dirent, not variable */ in getdirentriesattr()
|
| H A D | vfs_subr.c | 11229 uio_reset(auio, uio_offset(auio), UIO_SYSSPACE, UIO_READ); in rmdir_remove_orphaned_appleDouble() 11302 uio_reset(auio, uio_offset(auio), UIO_SYSSPACE, UIO_READ); in rmdir_remove_orphaned_appleDouble()
|
| /xnu-10002.1.13/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 | 1678 uplPos = uio_offset(uio); 1697 uioPos = uio_offset(uio);
|
| /xnu-10002.1.13/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-10002.1.13/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 564 if (uio_offset(uio) && devBlockSize) { in spec_read() 565 blkno = ((uint64_t) uio_offset(uio) / ((uint64_t)devBlockSize)); in spec_read() 594 if (uio->uio_offset < 0) { in spec_read() 610 on = uio->uio_offset % bsize; in spec_read() 612 bn = (daddr64_t)((uio->uio_offset / devBlockSize) & ~(bscale - 1)); in spec_read() 707 if ((uio_offset(uio) != 0) && devBlockSize) { in spec_write() 708 blkno = ((uint64_t)uio_offset(uio)) / ((uint64_t)devBlockSize); in spec_write() 739 if (uio->uio_offset < 0) { in spec_write() 758 bn = (daddr64_t)((uio->uio_offset / devBlockSize) & ~blkmask); in spec_write() 759 on = uio->uio_offset % bsize; in spec_write() [all …]
|
| /xnu-10002.1.13/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-10002.1.13/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-10002.1.13/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 605 i = uio->uio_offset / UIO_MX; in devfs_devfd_readdir() 634 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-10002.1.13/bsd/miscfs/nullfs/ |
| H A D | null_vnops.c | 739 off_t offset = uio_offset(uio); in nullfs_special_readdir()
|
| /xnu-10002.1.13/bsd/nfs/ |
| H A D | nfs_serv.c | 4334 off = uio_offset(auio); in nfsrv_readdir() 4588 off = uio_offset(auio); in nfsrv_readdirplus()
|