Lines Matching refs:i_size

424 	    (uiop->uio_loffset < ip->i_size) && (uiop->uio_resid > 0) &&
425 ((ip->i_size - uiop->uio_loffset) >= uiop->uio_resid) &&
600 uiop->uio_loffset = ip->i_size;
754 * ip->i_size is incremented before the uiomove
756 * address) reset ip->i_size.
757 * The better way would be to increment ip->i_size
900 if (uoff + n > ip->i_size) {
1084 old_i_size = ip->i_size;
1092 if ((ip->i_size > MAXOFF32_T) &&
1236 * page push failed, fix up i_size.
1412 diff = ip->i_size - uoff;
2049 vap->va_size = ip->i_size;
2477 if (ip->i_size == 0) {
2503 MIN(ip->i_size, uiop->uio_resid),
2537 if (ip->i_size <= FSL_SIZE &&
2547 size = ip->i_size;
2574 if ((tflag == 0 && ip->i_size <= FSL_SIZE &&
2575 ip->i_size == size) || (tflag == 1 &&
2577 error = kcopy(basep, &ip->i_db[1], ip->i_size);
3054 if (ip->i_size == 0) {
3069 (ip->i_size > (offset_t)MAXOFF32_T)) {
3943 ASSERT(ip->i_size <= MAXOFF32_T);
3949 if (offset >= (uint_t)ip->i_size || ip->i_nlink <= 0) {
3974 if (offset + bytes_wanted > (int)ip->i_size)
3975 bytes_wanted = (int)(ip->i_size - offset);
4061 * Large Files: casting i_size to int here is not a problem
4066 if (offset < (int)ip->i_size && !outcount)
4084 *eofp = (uiop->uio_offset >= (int)ip->i_size);
4211 if (ip->i_size > 0 && ip->i_size <= FSL_SIZE) {
4212 if (kcopy(target, &ip->i_db[1], ip->i_size) == 0) {
4606 * Large Files: The read of i_size here is atomic because
4611 P2ROUNDUP_TYPED(ip->i_size, PAGESIZE, u_offset_t);
4745 nextrio < ip->i_size && page_exists(vp, pgoff)) {
4980 if (seq && ip->i_nextrio < ip->i_size)
5262 if ((eoff = blkroundup(ip->i_fs, ip->i_size)) != 0)
5302 if (err == 0 && off == 0 && (len == 0 || len >= ip->i_size)) {
5479 (u_offset_t)(roundup(ip->i_size, PAGESIZE)));
6005 if (vmpss && btopr(io_off + io_len) > btopr(ip->i_size)) {
6256 * calculate and allocate space needed according to i_size
6258 entries = (int)lblkno(fs, blkroundup(fs, ip->i_size));