Searched refs:i_disksize (Results 1 - 24 of 24) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dext3_fs_i.h110 * i_disksize keeps track of what the inode size is ON DISK, not
113 * set i_disksize to 0 until the truncate is actually under way.
115 * The intent is that i_disksize always represents the blocks which
117 * on orphans if we crash during truncate. We actually write i_disksize
120 * The only time when i_disksize and i_size may be different is when
121 * a truncate is in progress. The only things which change i_disksize
124 loff_t i_disksize; member in struct:ext3_inode_info
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/gfs2/
H A Dbmap.c135 if (ip->i_disksize) {
164 if (ip->i_disksize) {
936 ip->i_disksize = size;
1044 ip->i_disksize = size;
1057 ip->i_disksize = size;
1126 if (!ip->i_disksize) {
1217 if (size > ip->i_disksize)
1219 else if (size < ip->i_disksize)
1231 error = trunc_dealloc(ip, ip->i_disksize);
1272 end_of_file = (ip->i_disksize
[all...]
H A Ddir.c130 if (ip->i_disksize < offset + size)
131 ip->i_disksize = offset + size;
228 if (ip->i_disksize < offset + copied)
229 ip->i_disksize = offset + copied;
279 if (offset >= ip->i_disksize)
282 if (offset + size > ip->i_disksize)
283 size = ip->i_disksize - offset;
730 if (hsize * sizeof(u64) != ip->i_disksize) {
882 dip->i_disksize = sdp->sd_sb.sb_bsize / 2;
1064 if (hsize * sizeof(u64) != dip->i_disksize) {
[all...]
H A Dops_inode.c409 ip->i_disksize = size;
464 ip->i_disksize = sdp->sd_sb.sb_bsize - sizeof(struct gfs2_dinode);
1005 if (!ip->i_disksize) {
1017 x = ip->i_disksize + 1;
1080 if (attr->ia_size != ip->i_disksize) {
1089 if (error && (inode->i_size != ip->i_disksize))
1090 i_size_write(inode, ip->i_disksize);
H A Dinode.c362 ip->i_disksize = be64_to_cpu(str->di_size);
363 i_size_write(&ip->i_inode, ip->i_disksize);
1058 str->di_size = cpu_to_be64(ip->i_disksize);
1088 printk(KERN_INFO " i_disksize = %llu\n",
1089 (unsigned long long)ip->i_disksize);
H A Dsuper.c346 if (ip->i_disksize < (8 << 20) || ip->i_disksize > (1 << 30) ||
347 (ip->i_disksize & (sdp->sd_sb.sb_bsize - 1))) {
351 jd->jd_blocks = ip->i_disksize >> sdp->sd_sb.sb_bsize_shift;
353 if (gfs2_write_alloc_required(ip, 0, ip->i_disksize)) {
H A Dglops.c271 (unsigned long long)ip->i_disksize);
H A Daops.c802 ip->i_disksize = inode->i_size;
874 if (inode->i_size > ip->i_disksize)
875 ip->i_disksize = inode->i_size;
H A Dquota.c739 ip->i_disksize = size;
1193 unsigned int blocks = ip->i_disksize >> sdp->sd_sb.sb_bsize_shift;
1200 if (!ip->i_disksize || ip->i_disksize > (64 << 20) ||
1201 ip->i_disksize & (sdp->sd_sb.sb_bsize - 1)) {
H A Dincore.h270 loff_t i_disksize; member in struct:gfs2_inode
H A Drgrp.c503 if (pos + sizeof(struct gfs2_rindex) >= ip->i_disksize)
591 u64 rgrp_count = ip->i_disksize;
631 ip->i_disksize)
H A Dfile.c494 ip->i_disksize > MAX_NON_LFS) {
H A Dops_fstype.c589 for (lb = 0; lb < ip->i_disksize >> sdp->sd_sb.sb_bsize_shift; lb++) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext3/
H A Dinode.c1304 /* What matters to us is i_disksize. We don't write i_size anywhere */
1307 if (pos + copied > EXT3_I(inode)->i_disksize) {
1308 EXT3_I(inode)->i_disksize = pos + copied;
1417 if (inode->i_size > EXT3_I(inode)->i_disksize) {
1418 EXT3_I(inode)->i_disksize = inode->i_size;
1756 ei->i_disksize = inode->i_size;
1797 ei->i_disksize = end;
2367 * i_disksize in this case). After a crash, ext3_orphan_cleanup() will see
2447 * on-disk inode. We do this via i_disksize, which is the value which
2450 ei->i_disksize
[all...]
H A Dialloc.c544 ei->i_disksize = 0;
H A Dnamei.c63 EXT3_I(inode)->i_disksize = inode->i_size;
1779 inode->i_size = EXT3_I(inode)->i_disksize = inode->i_sb->s_blocksize;
2080 /* There's no need to set i_disksize: the fact that i_nlink is
2202 EXT3_I(inode)->i_disksize = inode->i_size;
H A Dsuper.c2994 EXT3_I(inode)->i_disksize = inode->i_size;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ext4/
H A Dinode.c1682 if (pos + copied > EXT4_I(inode)->i_disksize) {
1685 * bu greater than i_disksize.(hint delalloc)
1827 if (new_i_size > EXT4_I(inode)->i_disksize) {
2194 loff_t disksize = EXT4_I(mpd->inode)->i_disksize;
2313 if (disksize > EXT4_I(mpd->inode)->i_disksize) {
3170 * With delayed allocation, we don't log the i_disksize update
3172 * to journalling the i_disksize update if writes to the end
3213 * Check if we should update i_disksize
3265 * changes. So let's piggyback the i_disksize mark_inode_dirty
3270 if (new_i_size > EXT4_I(inode)->i_disksize) {
[all...]
H A Dext4.h771 * i_disksize keeps track of what the inode size is ON DISK, not
774 * set i_disksize to 0 until the truncate is actually under way.
776 * The intent is that i_disksize always represents the blocks which
778 * on orphans if we crash during truncate. We actually write i_disksize
781 * The only time when i_disksize and i_size may be different is when
782 * a truncate is in progress. The only things which change i_disksize
785 loff_t i_disksize; member in struct:ext4_inode_info
1871 if (newsize > EXT4_I(inode)->i_disksize)
1872 EXT4_I(inode)->i_disksize = newsize;
H A Dnamei.c62 EXT4_I(inode)->i_disksize = inode->i_size;
1817 inode->i_size = EXT4_I(inode)->i_disksize = inode->i_sb->s_blocksize;
2129 /* There's no need to set i_disksize: the fact that i_nlink is
2254 EXT4_I(inode)->i_disksize = inode->i_size;
H A Dialloc.c990 ei->i_disksize = 0;
H A Dextents.c3607 EXT4_I(inode)->i_disksize = inode->i_size;
3654 if (new_size > EXT4_I(inode)->i_disksize)
H A Dmballoc.c2364 EXT4_I(sbi->s_buddy_cache)->i_disksize = 0;
H A Dsuper.c4223 EXT4_I(inode)->i_disksize = inode->i_size;

Completed in 344 milliseconds