Lines Matching refs:i_size
137 nb = lblkno(fs, ip->i_size);
160 ip->i_size = (nb + 1) * fs->fs_bsize;
161 ubc_setsize(vp, (off_t)ip->i_size);
180 if (nb != 0 && ip->i_size >= (lbn + 1) * fs->fs_bsize) {
195 osize = fragroundup(fs, blkoff(fs, ip->i_size));
222 ip->i_size = (lbn * fs->fs_bsize) + size;
223 ubc_setsize(vp, (off_t)ip->i_size);
237 if (ip->i_size < (lbn + 1) * fs->fs_bsize)
459 * growing the file in pageouts. So ip->i_size cannot increase by this call
497 nb = lblkno(fs, ip->i_size);
499 panic("ffs_blkalloc():cannot extend file: i_size %d, lbn %d", ip->i_size, lbn);
506 if (nb != 0 && ip->i_size >= (lbn + 1) * fs->fs_bsize) {
514 osize = fragroundup(fs, blkoff(fs, ip->i_size));
521 if (ip->i_size < (lbn + 1) * fs->fs_bsize)