/fs/ |
D | stack.c | 13 blkcnt_t i_blocks; in fsstack_copy_inode_size() local 34 if (sizeof(i_blocks) > sizeof(long)) in fsstack_copy_inode_size() 36 i_blocks = src->i_blocks; in fsstack_copy_inode_size() 37 if (sizeof(i_blocks) > sizeof(long)) in fsstack_copy_inode_size() 53 if (sizeof(i_size) > sizeof(long) || sizeof(i_blocks) > sizeof(long)) in fsstack_copy_inode_size() 56 dst->i_blocks = i_blocks; in fsstack_copy_inode_size() 57 if (sizeof(i_size) > sizeof(long) || sizeof(i_blocks) > sizeof(long)) in fsstack_copy_inode_size()
|
D | stat.c | 47 stat->blocks = inode->i_blocks; in generic_fillattr() 668 inode->i_blocks += bytes >> 9; in __inode_add_bytes() 672 inode->i_blocks++; in __inode_add_bytes() 689 inode->i_blocks -= bytes >> 9; in __inode_sub_bytes() 692 inode->i_blocks--; in __inode_sub_bytes() 725 inode->i_blocks = bytes >> 9; in inode_set_bytes()
|
/fs/efs/ |
D | file.c | 21 if (iblock >= inode->i_blocks) { in efs_get_block() 27 __func__, block, inode->i_blocks, inode->i_size); in efs_get_block() 45 if (!(block < inode->i_blocks)) { in efs_bmap() 51 __func__, block, inode->i_blocks, inode->i_size); in efs_bmap()
|
D | inode.c | 110 inode->i_blocks = 0; in efs_iget() 112 inode->i_blocks = ((inode->i_size - 1) >> EFS_BLOCKSIZE_BITS) + 1; in efs_iget()
|
D | dir.c | 40 while (block < inode->i_blocks) { in efs_readdir()
|
D | namei.c | 31 for(block = 0; block < inode->i_blocks; block++) { in efs_find_entry()
|
/fs/gfs2/ |
D | inode.h | 52 inode->i_blocks = blocks << in gfs2_set_inode_blocks() 58 return inode->i_blocks >> in gfs2_get_inode_blocks() 64 gfs2_assert(GFS2_SB(inode), (change >= 0 || inode->i_blocks > -change)); in gfs2_add_inode_blocks() 66 inode->i_blocks += change; in gfs2_add_inode_blocks()
|
/fs/hpfs/ |
D | file.c | 70 i->i_blocks = 1 + ((i->i_size + 511) >> 9); in hpfs_truncate() 102 if ((s = hpfs_add_sector_to_btree(inode->i_sb, inode->i_ino, 1, inode->i_blocks - 1)) == -1) { in hpfs_get_block() 103 hpfs_truncate_btree(inode->i_sb, inode->i_ino, 1, inode->i_blocks - 1); in hpfs_get_block() 107 inode->i_blocks++; in hpfs_get_block()
|
D | inode.c | 23 i->i_blocks = -1; in hpfs_init_inode() 85 i->i_blocks = 1; in hpfs_read_inode() 109 i->i_blocks = 1; in hpfs_read_inode() 129 i->i_blocks = 4 * n_dnodes; in hpfs_read_inode() 139 i->i_blocks = ((i->i_size + 511) >> 9) + 1; in hpfs_read_inode()
|
D | namei.c | 69 result->i_blocks = 4; in hpfs_mkdir() 175 result->i_blocks = 1; in hpfs_create() 259 result->i_blocks = 1; in hpfs_mknod() 333 result->i_blocks = 1; in hpfs_symlink()
|
/fs/fat/ |
D | misc.c | 152 if (new_fclus != (inode->i_blocks >> (sbi->cluster_bits - 9))) { in fat_chain_add() 155 (llu)(inode->i_blocks >> (sbi->cluster_bits - 9))); in fat_chain_add() 158 inode->i_blocks += nr_cluster << (sbi->cluster_bits - 9); in fat_chain_add()
|
/fs/ufs/ |
D | inode.c | 546 if (!inode->i_blocks) { in ufs_set_inode_ops() 586 inode->i_blocks = fs32_to_cpu(sb, ufs_inode->ui_blocks); in ufs1_read_inode() 593 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs1_read_inode() 632 inode->i_blocks = fs64_to_cpu(sb, ufs2_inode->ui_blocks); in ufs2_read_inode() 640 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs2_read_inode() 731 ufs_inode->ui_blocks = cpu_to_fs32(sb, inode->i_blocks); in ufs1_update_inode() 743 } else if (inode->i_blocks) { in ufs1_update_inode() 776 ufs_inode->ui_blocks = cpu_to_fs64(sb, inode->i_blocks); in ufs2_update_inode() 783 } else if (inode->i_blocks) { in ufs2_update_inode() 855 if (inode->i_blocks && in ufs_evict_inode()
|
/fs/cachefiles/ |
D | interface.c | 257 blkcnt_t i_blocks = 0; in cachefiles_drop_object() local 286 i_blocks = inode->i_blocks; in cachefiles_drop_object() 301 cachefiles_mark_object_inactive(cache, object, i_blocks); in cachefiles_drop_object()
|
/fs/ocfs2/ |
D | symlink.h | 38 inode->i_blocks == 0); in ocfs2_inode_is_fast_symlink()
|
/fs/ext4/ |
D | migrate.c | 368 inode->i_blocks += tmp_inode->i_blocks; in ext4_ext_swap_inode_data() 456 if (S_ISLNK(inode->i_mode) && inode->i_blocks == 0) in ext4_ext_migrate() 603 tmp_inode->i_blocks = 0; in ext4_ext_migrate()
|
D | truncate.h | 28 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9); in ext4_blocks_for_truncate()
|
D | inode.c | 160 return (S_ISLNK(inode->i_mode) && inode->i_blocks - ea_blocks == 0); in ext4_inode_is_fast_symlink() 297 if (inode->i_blocks) { in ext4_evict_inode() 4702 blkcnt_t i_blocks ; in ext4_inode_blocks() local 4708 i_blocks = ((u64)le16_to_cpu(raw_inode->i_blocks_high)) << 32 | in ext4_inode_blocks() 4712 return i_blocks << (inode->i_blkbits - 9); in ext4_inode_blocks() 4714 return i_blocks; in ext4_inode_blocks() 4857 inode->i_blocks = ext4_inode_blocks(raw_inode, ei); in ext4_iget() 5032 u64 i_blocks = inode->i_blocks; in ext4_inode_blocks_set() local 5035 if (i_blocks <= ~0U) { in ext4_inode_blocks_set() 5040 raw_inode->i_blocks_lo = cpu_to_le32(i_blocks); in ext4_inode_blocks_set() [all …]
|
/fs/squashfs/ |
D | inode.c | 171 inode->i_blocks = ((inode->i_size - 1) >> 9) + 1; in squashfs_read_inode() 216 inode->i_blocks = (inode->i_size - in squashfs_read_inode() 414 inode->i_blocks += ((squashfs_i(inode)->xattr_size - 1) >> 9) in squashfs_read_inode()
|
/fs/f2fs/ |
D | inode.c | 202 iblocks = le64_to_cpu(F2FS_INODE(node_page)->i_blocks); in sanity_check_inode() 329 inode->i_blocks = SECTOR_FROM_BLOCK(le64_to_cpu(ri->i_blocks) - 1); in do_read_inode() 529 ri->i_blocks = cpu_to_le64(SECTOR_TO_BLOCK(inode->i_blocks) + 1); in f2fs_update_inode()
|
/fs/jffs2/ |
D | fs.c | 165 inode->i_blocks = (inode->i_size + 511) >> 9; in jffs2_do_setattr() 186 inode->i_blocks = (inode->i_size + 511) >> 9; in jffs2_do_setattr() 289 inode->i_blocks = (inode->i_size + 511) >> 9; in jffs2_iget() 478 inode->i_blocks = 0; in jffs2_new_inode()
|
/fs/jfs/ |
D | resize.c | 487 ipbmap2->i_blocks = ipbmap->i_blocks; in jfs_extendfs()
|
D | jfs_inode.c | 115 inode->i_blocks = 0; in ialloc()
|
/fs/adfs/ |
D | inode.c | 23 if (block >= inode->i_blocks) in adfs_get_block() 256 inode->i_blocks = (inode->i_size + sb->s_blocksize - 1) >> in adfs_iget()
|
/fs/ext2/ |
D | inode.c | 54 inode->i_blocks - ea_blocks == 0); in ext2_inode_is_fast_symlink() 94 if (inode->i_blocks) in ext2_evict_inode() 1437 inode->i_blocks = le32_to_cpu(raw_inode->i_blocks); in ext2_iget() 1571 raw_inode->i_blocks = cpu_to_le32(inode->i_blocks); in __ext2_write_inode()
|
/fs/reiserfs/ |
D | inode.c | 103 inode->i_blocks = 0; in reiserfs_evict_inode() 1276 inode->i_blocks = sd_v1_blocks(sd); in init_inode() 1289 if (inode->i_blocks > blocks) { in init_inode() 1290 inode->i_blocks = blocks; in init_inode() 1301 if (inode->i_blocks & 1) { in init_inode() 1302 inode->i_blocks++; in init_inode() 1305 to_real_used_space(inode, inode->i_blocks, in init_inode() 1330 inode->i_blocks = sd_v2_blocks(sd); in init_inode() 1345 to_real_used_space(inode, inode->i_blocks, in init_inode() 1368 inode->i_blocks = 0; in init_inode() [all …]
|