/openbmc/linux/fs/ |
H A D | stack.c | 14 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()
|
H A D | stat.c | 64 stat->blocks = inode->i_blocks; in generic_fillattr() 799 inode->i_blocks += bytes >> 9; in __inode_add_bytes() 803 inode->i_blocks++; in __inode_add_bytes() 820 inode->i_blocks -= bytes >> 9; in __inode_sub_bytes() 823 inode->i_blocks--; in __inode_sub_bytes() 856 inode->i_blocks = bytes >> 9; in inode_set_bytes()
|
/openbmc/linux/fs/efs/ |
H A 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()
|
H A D | dir.c | 40 while (block < inode->i_blocks) { in efs_readdir()
|
H A D | inode.c | 113 inode->i_blocks = 0; in efs_iget() 115 inode->i_blocks = ((inode->i_size - 1) >> EFS_BLOCKSIZE_BITS) + 1; in efs_iget()
|
H A D | namei.c | 31 for(block = 0; block < inode->i_blocks; block++) { in efs_find_entry()
|
/openbmc/linux/fs/gfs2/ |
H A D | inode.h | 47 inode->i_blocks = blocks << in gfs2_set_inode_blocks() 53 return inode->i_blocks >> in gfs2_get_inode_blocks() 60 gfs2_assert(GFS2_SB(inode), (change >= 0 || inode->i_blocks >= -change)); in gfs2_add_inode_blocks() 61 inode->i_blocks += change; in gfs2_add_inode_blocks()
|
/openbmc/linux/fs/hpfs/ |
H A D | file.c | 72 i->i_blocks = 1 + ((i->i_size + 511) >> 9); in hpfs_truncate() 104 if ((s = hpfs_add_sector_to_btree(inode->i_sb, inode->i_ino, 1, inode->i_blocks - 1)) == -1) { in hpfs_get_block() 105 hpfs_truncate_btree(inode->i_sb, inode->i_ino, 1, inode->i_blocks - 1); in hpfs_get_block() 109 inode->i_blocks++; in hpfs_get_block()
|
H A 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()
|
H A D | namei.c | 67 result->i_blocks = 4; in hpfs_mkdir() 172 result->i_blocks = 1; in hpfs_create() 255 result->i_blocks = 1; in hpfs_mknod() 328 result->i_blocks = 1; in hpfs_symlink()
|
/openbmc/linux/fs/ocfs2/ |
H A D | symlink.h | 22 inode->i_blocks == 0); in ocfs2_inode_is_fast_symlink()
|
/openbmc/linux/fs/ext4/ |
H A D | truncate.h | 34 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9); in ext4_blocks_for_truncate()
|
H A D | migrate.c | 335 inode->i_blocks += tmp_inode->i_blocks; in ext4_ext_swap_inode_data() 431 if (S_ISLNK(inode->i_mode) && inode->i_blocks == 0) in ext4_ext_migrate() 578 tmp_inode->i_blocks = 0; in ext4_ext_migrate()
|
/openbmc/linux/fs/fat/ |
H A D | misc.c | 160 if (new_fclus != (inode->i_blocks >> (sbi->cluster_bits - 9))) { in fat_chain_add() 163 (llu)(inode->i_blocks >> (sbi->cluster_bits - 9))); in fat_chain_add() 166 inode->i_blocks += nr_cluster << (sbi->cluster_bits - 9); in fat_chain_add()
|
/openbmc/linux/fs/ufs/ |
H A D | inode.c | 548 if (!inode->i_blocks) { in ufs_set_inode_ops() 589 inode->i_blocks = fs32_to_cpu(sb, ufs_inode->ui_blocks); in ufs1_read_inode() 596 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs1_read_inode() 635 inode->i_blocks = fs64_to_cpu(sb, ufs2_inode->ui_blocks); in ufs2_read_inode() 643 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs2_read_inode() 735 ufs_inode->ui_blocks = cpu_to_fs32(sb, inode->i_blocks); in ufs1_update_inode() 747 } else if (inode->i_blocks) { in ufs1_update_inode() 781 ufs_inode->ui_blocks = cpu_to_fs64(sb, inode->i_blocks); in ufs2_update_inode() 788 } else if (inode->i_blocks) { in ufs2_update_inode() 860 if (inode->i_blocks && in ufs_evict_inode()
|
/openbmc/linux/fs/f2fs/ |
H A D | inode.c | 210 SECTOR_TO_BLOCK(inode->i_blocks)) { in sanity_check_compress_inode() 214 SECTOR_TO_BLOCK(inode->i_blocks)); in sanity_check_compress_inode() 276 iblocks = le64_to_cpu(F2FS_INODE(node_page)->i_blocks); in sanity_check_inode() 413 inode->i_blocks = SECTOR_FROM_BLOCK(le64_to_cpu(ri->i_blocks) - 1); in do_read_inode() 663 ri->i_blocks = cpu_to_le64(SECTOR_TO_BLOCK(inode->i_blocks) + 1); in f2fs_update_inode()
|
/openbmc/linux/fs/squashfs/ |
H A D | inode.c | 161 inode->i_blocks = ((inode->i_size - 1) >> 9) + 1; in squashfs_read_inode() 206 inode->i_blocks = (inode->i_size - in squashfs_read_inode() 409 inode->i_blocks += ((squashfs_i(inode)->xattr_size - 1) >> 9) in squashfs_read_inode()
|
/openbmc/linux/fs/jfs/ |
H A D | resize.c | 474 ipbmap2->i_blocks = ipbmap->i_blocks; in jfs_extendfs()
|
H A D | jfs_inode.c | 99 inode->i_blocks = 0; in ialloc()
|
/openbmc/linux/fs/adfs/ |
H A D | inode.c | 20 if (block >= inode->i_blocks) in adfs_get_block() 255 inode->i_blocks = (inode->i_size + sb->s_blocksize - 1) >> in adfs_iget()
|
/openbmc/linux/fs/jffs2/ |
H A D | fs.c | 166 inode->i_blocks = (inode->i_size + 511) >> 9; in jffs2_do_setattr() 187 inode->i_blocks = (inode->i_size + 511) >> 9; in jffs2_do_setattr() 291 inode->i_blocks = (inode->i_size + 511) >> 9; in jffs2_iget() 481 inode->i_blocks = 0; in jffs2_new_inode()
|
/openbmc/linux/fs/udf/ |
H A D | ialloc.c | 89 inode->i_blocks = 0; in udf_new_inode()
|
/openbmc/linux/fs/ext2/ |
H A 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() 1430 inode->i_blocks = le32_to_cpu(raw_inode->i_blocks); in ext2_iget() 1551 raw_inode->i_blocks = cpu_to_le32(inode->i_blocks); in __ext2_write_inode()
|
/openbmc/linux/fs/erofs/ |
H A D | inode.c | 188 inode->i_blocks = round_up(inode->i_size, sb->s_blocksize) >> 9; in erofs_read_inode() 190 inode->i_blocks = nblks << (sb->s_blocksize_bits - 9); in erofs_read_inode()
|
/openbmc/linux/fs/reiserfs/ |
H A D | inode.c | 103 inode->i_blocks = 0; in reiserfs_evict_inode() 1266 inode->i_blocks = sd_v1_blocks(sd); in init_inode() 1279 if (inode->i_blocks > blocks) { in init_inode() 1280 inode->i_blocks = blocks; in init_inode() 1291 if (inode->i_blocks & 1) { in init_inode() 1292 inode->i_blocks++; in init_inode() 1295 to_real_used_space(inode, inode->i_blocks, in init_inode() 1319 inode->i_blocks = sd_v2_blocks(sd); in init_inode() 1334 to_real_used_space(inode, inode->i_blocks, in init_inode() 1357 inode->i_blocks = 0; in init_inode() [all …]
|