| /xnu-12377.61.12/bsd/vfs/ |
| H A D | vfs_cluster.c | 3042 while ((cur_resid = uio_resid(uio)) && uio->uio_offset < newEOF && retval == 0) { in cluster_write_ext() 3083 retval = cluster_write_copy(vp, (struct uio *)0, (u_int32_t)0, (off_t)0, uio->uio_offset, in cluster_write_ext() 3106 if (uio->uio_offset > oldEOF) { in cluster_write_ext() 3107 oldEOF = uio->uio_offset; in cluster_write_ext() 3109 …al = cluster_write_copy(vp, (struct uio *)0, (u_int32_t)0, (off_t)oldEOF, tailOff, uio->uio_offset, in cluster_write_ext() 3143 if (uio->uio_offset > oldEOF) { in cluster_write_ext() 3144 oldEOF = uio->uio_offset; in cluster_write_ext() 3197 (int)uio->uio_offset, *write_length, (int)newEOF, 0, 0); in cluster_write_direct() 3262 offset_in_file = (u_int32_t)(uio->uio_offset & io_align_mask); in cluster_write_direct() 3282 …while ((io_req_size >= PAGE_SIZE || io_req_size >= min_io_size) && uio->uio_offset < newEOF && ret… in cluster_write_direct() [all …]
|
| H A D | vfs_xattr.c | 164 if (uio_offset(uio) != 0 && in vn_getxattr() 218 if (uio_offset(uio) != 0 && in vn_setxattr() 1706 uio_setoffset(uio, uio_offset(uio) + value_offset); in default_getxattr_doubleagent() 1709 uio_setoffset(uio, uio_offset(uio) - value_offset); in default_getxattr_doubleagent() 1879 if (uio_offset(uio) != 0) { in default_setxattr_doubleagent() 1911 if (__improbable(os_add_overflow(datalen, uio_offset(uio), &datalen))) { in default_setxattr_doubleagent() 1963 uio_setoffset(uio, uio_offset(uio) + value_offset); in default_setxattr_doubleagent()
|
| H A D | vfs_vnops.c | 926 read_end = uio->uio_offset + uio_resid(uio); in vn_read_swapfile() 927 if (uio->uio_offset >= file_end) { in vn_read_swapfile() 1149 read_offset = uio_offset(uio); in vn_read_common() 1358 write_offset = uio_offset(uio); in vn_write() 1455 fp->fp_glob->fg_offset = uio_offset(uio); in vn_write()
|
| H A D | vfs_attrlist.c | 3114 off_t orig_offset = uio_offset(auio); in vfs_attr_pack_internal() 3705 fvd->fv_eoff = uio_offset(rdir_uio); in refill_fd_direntries() 4418 fvdata->fv_offset = uio_offset(auio); in getattrlistbulk()
|
| H A D | vfs_syscalls.c | 10884 auio->uio_offset = uio->uio_offset; in vnode_readdir64() 10929 uio->uio_offset = auio->uio_offset; in vnode_readdir64() 11014 fp->fp_glob->fg_offset = uio_offset(auio); in getdirentries_common() 11017 fp->fp_glob->fg_offset = uio_offset(auio); in getdirentries_common() 11397 fp->fp_glob->fg_offset = uio_offset(auio); /* should be multiple of dirent, not variable */ in getdirentriesattr()
|
| H A D | vfs_subr.c | 11588 uio_reset(auio, uio_offset(auio), UIO_SYSSPACE, UIO_READ); in rmdir_remove_orphaned_appleDouble() 11661 uio_reset(auio, uio_offset(auio), UIO_SYSSPACE, UIO_READ); in rmdir_remove_orphaned_appleDouble()
|
| /xnu-12377.61.12/bsd/kern/ |
| H A D | kern_subr.c | 780 uio_offset( uio_t a_uio ) in uio_offset() function 785 return a_uio->uio_offset; in uio_offset() 797 a_uio->uio_offset = a_offset; in uio_setoffset() 880 uio->uio_offset = a_offset; in uio_init() 1008 a_uio->uio_offset = a_offset; in _uio_reset() 1270 a_uio->uio_offset += a_uio->uio_resid_64; in uio_update_user() 1273 a_uio->uio_offset += a_count; in uio_update_user() 1319 a_uio->uio_offset += a_uio->uio_resid_64; in uio_update_sys() 1322 a_uio->uio_offset += a_count; in uio_update_sys() 1444 uio->uio_offset = snapshot_uio->uio_offset; in uio_restore()
|
| H A D | kern_physio.c | 172 buf_setblkno(bp, uio_offset(uio) / blocksize); in physio()
|
| H A D | decmpfs.c | 1680 uplPos = uio_offset(uio); 1699 uioPos = uio_offset(uio);
|
| /xnu-12377.61.12/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() 245 if (uio->uio_offset > (mdev[devid].mdSize << 12)) { in mdevrw() 248 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-12377.61.12/bsd/miscfs/specfs/ |
| H A D | spec_vnops.c | 573 if (uio_offset(uio) && devBlockSize) { in spec_read() 574 blkno = ((uint64_t) uio_offset(uio) / ((uint64_t)devBlockSize)); in spec_read() 603 if (uio->uio_offset < 0) { in spec_read() 619 on = uio->uio_offset % bsize; in spec_read() 621 bn = (daddr64_t)((uio->uio_offset / devBlockSize) & ~(bscale - 1)); in spec_read() 716 if ((uio_offset(uio) != 0) && devBlockSize) { in spec_write() 717 blkno = ((uint64_t)uio_offset(uio)) / ((uint64_t)devBlockSize); in spec_write() 748 if (uio->uio_offset < 0) { in spec_write() 767 bn = (daddr64_t)((uio->uio_offset / devBlockSize) & ~blkmask); in spec_write() 768 on = uio->uio_offset % bsize; in spec_write() [all …]
|
| /xnu-12377.61.12/bsd/sys/ |
| H A D | uio.h | 220 off_t uio_offset( uio_t a_uio );
|
| H A D | uio_internal.h | 174 off_t uio_offset; member
|
| /xnu-12377.61.12/bsd/miscfs/bindfs/ |
| H A D | bind_vnops.c | 341 uio_setoffset(auio, uio_offset(uio)); in bindfs_readdir() 375 uio_setoffset(uio, uio_offset(auio)); in bindfs_readdir()
|
| /xnu-12377.61.12/bsd/miscfs/devfs/ |
| H A D | devfs_fdesc_support.c | 629 i = uio->uio_offset / UIO_MX; in devfs_devfd_readdir() 669 uio->uio_offset = i * UIO_MX; in devfs_devfd_readdir()
|
| H A D | devfs_vnops.c | 1461 startpos = uio->uio_offset; in devfs_readdir() 1529 uio->uio_offset = pos; in devfs_readdir()
|
| /xnu-12377.61.12/bsd/miscfs/nullfs/ |
| H A D | null_vnops.c | 739 off_t offset = uio_offset(uio); in nullfs_special_readdir()
|
| /xnu-12377.61.12/bsd/nfs/ |
| H A D | nfs_serv.c | 4351 off = uio_offset(auio); in nfsrv_readdir() 4605 off = uio_offset(auio); in nfsrv_readdirplus()
|