Lines Matching refs:z_size
190 !(zp->z_pflags & ZFS_AV_QUARANTINED) && zp->z_size > 0) {
228 !(zp->z_pflags & ZFS_AV_QUARANTINED) && zp->z_size > 0)
248 file_sz = zp->z_size;
504 if (uio->uio_loffset >= zp->z_size) {
509 ASSERT(uio->uio_loffset < zp->z_size);
510 n = MIN(uio->uio_resid, zp->z_size - uio->uio_loffset);
629 &zp->z_size, 8);
638 (uio->uio_loffset < zp->z_size))) {
648 woff = ioflag & FAPPEND ? zp->z_size : uio->uio_loffset;
691 woff = zp->z_size;
713 write_eof = (woff + n > zp->z_size);
715 end_size = MAX(zp->z_size, woff + n);
746 woff >= zp->z_size &&
855 (void *)&zp->z_size, sizeof (uint64_t), tx);
893 while ((end_size = zp->z_size) < uio->uio_loffset) {
894 (void) atomic_cas_64(&zp->z_size, end_size,
904 zp->z_size = zfsvfs->z_replay_eof;
1015 if (offset >= zp->z_size) {
1042 if (lr->lr_offset >= zp->z_size)
1633 zp->z_size > zp->z_blksz * DMU_MAX_DELETEBLKCNT;
2463 vap->va_size = zp->z_size;
3802 zp->z_size = len;
3804 &zp->z_size, sizeof (zp->z_size), tx);
4075 if (off < zp->z_size && zp->z_blksz > PAGESIZE) {
4078 ASSERT(koff <= zp->z_size);
4079 if (koff + klen > zp->z_size)
4080 klen = P2ROUNDUP(zp->z_size - koff, (uint64_t)PAGESIZE);
4088 if (off >= zp->z_size) {
4092 } else if (off + len > zp->z_size) {
4093 int npages = btopr(zp->z_size - off);
4100 len = zp->z_size - off;
4222 if (off > zp->z_size) {
4229 len = MIN(io_len, P2ROUNDUP(zp->z_size, PAGESIZE) - io_off);
5029 maxsize = zp->z_size - uio->uio_loffset;