/linux/fs/ |
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()
|
A D | stat.c | 58 stat->blocks = inode->i_blocks; in generic_fillattr() 730 inode->i_blocks += bytes >> 9; in __inode_add_bytes() 734 inode->i_blocks++; in __inode_add_bytes() 751 inode->i_blocks -= bytes >> 9; in __inode_sub_bytes() 754 inode->i_blocks--; in __inode_sub_bytes() 787 inode->i_blocks = bytes >> 9; in inode_set_bytes()
|
/linux/fs/efs/ |
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()
|
A D | inode.c | 111 inode->i_blocks = 0; in efs_iget() 113 inode->i_blocks = ((inode->i_size - 1) >> EFS_BLOCKSIZE_BITS) + 1; in efs_iget()
|
A D | dir.c | 40 while (block < inode->i_blocks) { in efs_readdir()
|
A D | namei.c | 31 for(block = 0; block < inode->i_blocks; block++) { in efs_find_entry()
|
/linux/fs/gfs2/ |
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()
|
/linux/fs/hpfs/ |
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()
|
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()
|
A D | namei.c | 70 result->i_blocks = 4; in hpfs_mkdir() 177 result->i_blocks = 1; in hpfs_create() 262 result->i_blocks = 1; in hpfs_mknod() 337 result->i_blocks = 1; in hpfs_symlink()
|
/linux/fs/fat/ |
A D | misc.c | 154 if (new_fclus != (inode->i_blocks >> (sbi->cluster_bits - 9))) { in fat_chain_add() 157 (llu)(inode->i_blocks >> (sbi->cluster_bits - 9))); in fat_chain_add() 160 inode->i_blocks += nr_cluster << (sbi->cluster_bits - 9); in fat_chain_add()
|
/linux/fs/f2fs/ |
A D | inode.c | 210 iblocks = le64_to_cpu(F2FS_INODE(node_page)->i_blocks); in sanity_check_inode() 314 SECTOR_TO_BLOCK(inode->i_blocks)) { in sanity_check_inode() 320 SECTOR_TO_BLOCK(inode->i_blocks)); in sanity_check_inode() 361 inode->i_blocks = SECTOR_FROM_BLOCK(le64_to_cpu(ri->i_blocks) - 1); in do_read_inode() 590 ri->i_blocks = cpu_to_le64(SECTOR_TO_BLOCK(inode->i_blocks) + 1); in f2fs_update_inode()
|
/linux/fs/ufs/ |
A D | inode.c | 548 if (!inode->i_blocks) { in ufs_set_inode_ops() 588 inode->i_blocks = fs32_to_cpu(sb, ufs_inode->ui_blocks); in ufs1_read_inode() 595 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs1_read_inode() 634 inode->i_blocks = fs64_to_cpu(sb, ufs2_inode->ui_blocks); in ufs2_read_inode() 642 if (S_ISCHR(mode) || S_ISBLK(mode) || inode->i_blocks) { in ufs2_read_inode() 733 ufs_inode->ui_blocks = cpu_to_fs32(sb, inode->i_blocks); in ufs1_update_inode() 745 } else if (inode->i_blocks) { in ufs1_update_inode() 778 ufs_inode->ui_blocks = cpu_to_fs64(sb, inode->i_blocks); in ufs2_update_inode() 785 } else if (inode->i_blocks) { in ufs2_update_inode() 857 if (inode->i_blocks && in ufs_evict_inode()
|
/linux/fs/cachefiles/ |
A D | interface.c | 267 blkcnt_t i_blocks = 0; in cachefiles_drop_object() local 296 i_blocks = inode->i_blocks; in cachefiles_drop_object() 311 cachefiles_mark_object_inactive(cache, object, i_blocks); in cachefiles_drop_object()
|
/linux/fs/ocfs2/ |
A D | symlink.h | 22 inode->i_blocks == 0); in ocfs2_inode_is_fast_symlink()
|
/linux/fs/ext4/ |
A D | truncate.h | 34 needed = inode->i_blocks >> (inode->i_sb->s_blocksize_bits - 9); in ext4_blocks_for_truncate()
|
A D | migrate.c | 336 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()
|
A D | ioctl.c | 198 size = (qsize_t)(inode->i_blocks) * (1 << 9) + inode->i_bytes; in swap_inode_boot_loader() 199 size_bl = (qsize_t)(inode_bl->i_blocks) * (1 << 9) + inode_bl->i_bytes; in swap_inode_boot_loader() 224 blocks = inode_bl->i_blocks; in swap_inode_boot_loader() 226 inode_bl->i_blocks = inode->i_blocks; in swap_inode_boot_loader() 246 inode_bl->i_blocks = blocks; in swap_inode_boot_loader()
|
A D | inode.c | 286 if (inode->i_blocks) { in ext4_evict_inode() 4246 u64 i_blocks = READ_ONCE(inode->i_blocks); in ext4_inode_blocks_set() local 4249 if (i_blocks <= ~0U) { in ext4_inode_blocks_set() 4254 raw_inode->i_blocks_lo = cpu_to_le32(i_blocks); in ext4_inode_blocks_set() 4268 if (i_blocks <= 0xffffffffffffULL) { in ext4_inode_blocks_set() 4273 raw_inode->i_blocks_lo = cpu_to_le32(i_blocks); in ext4_inode_blocks_set() 4279 i_blocks = i_blocks >> (inode->i_blkbits - 9); in ext4_inode_blocks_set() 4280 raw_inode->i_blocks_lo = cpu_to_le32(i_blocks); in ext4_inode_blocks_set() 4623 blkcnt_t i_blocks ; in ext4_inode_blocks() local 4633 return i_blocks << (inode->i_blkbits - 9); in ext4_inode_blocks() [all …]
|
/linux/fs/squashfs/ |
A D | inode.c | 158 inode->i_blocks = ((inode->i_size - 1) >> 9) + 1; in squashfs_read_inode() 203 inode->i_blocks = (inode->i_size - in squashfs_read_inode() 401 inode->i_blocks += ((squashfs_i(inode)->xattr_size - 1) >> 9) in squashfs_read_inode()
|
/linux/fs/jfs/ |
A D | resize.c | 474 ipbmap2->i_blocks = ipbmap->i_blocks; in jfs_extendfs()
|
/linux/fs/jffs2/ |
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()
|
/linux/fs/adfs/ |
A D | inode.c | 20 if (block >= inode->i_blocks) in adfs_get_block() 254 inode->i_blocks = (inode->i_size + sb->s_blocksize - 1) >> in adfs_iget()
|
/linux/include/trace/events/ |
A D | ext4.h | 159 __entry->blocks = inode->i_blocks; 1209 __field( __u64, i_blocks ) 1219 __entry->i_blocks = inode->i_blocks; 1231 __entry->mode, __entry->i_blocks, 1244 __field( __u64, i_blocks ) 1252 __entry->i_blocks = inode->i_blocks; 1261 __entry->mode, __entry->i_blocks, 1273 __field( __u64, i_blocks ) 1282 __entry->i_blocks = inode->i_blocks; 1292 __entry->mode, __entry->i_blocks, [all …]
|
/linux/fs/reiserfs/ |
A D | inode.c | 103 inode->i_blocks = 0; in reiserfs_evict_inode() 1275 inode->i_blocks = sd_v1_blocks(sd); in init_inode() 1288 if (inode->i_blocks > blocks) { in init_inode() 1289 inode->i_blocks = blocks; in init_inode() 1300 if (inode->i_blocks & 1) { in init_inode() 1301 inode->i_blocks++; in init_inode() 1304 to_real_used_space(inode, inode->i_blocks, in init_inode() 1329 inode->i_blocks = sd_v2_blocks(sd); in init_inode() 1344 to_real_used_space(inode, inode->i_blocks, in init_inode() 1367 inode->i_blocks = 0; in init_inode() [all …]
|