Lines Matching defs:blocks
129 block_t root_reserved_blocks; /* root reserved blocks */
130 kuid_t s_resuid; /* reserved blocks for uid */
131 kgid_t s_resgid; /* reserved blocks for gid */
185 * Default values for user and/or group using reserved blocks
279 /* for the bitmap indicate blocks to be discarded */
382 unsigned int undiscard_blks; /* # of undiscard blocks */
533 * as its node offset to distinguish from index node blocks.
681 FI_NO_ALLOC, /* should not allocate any blocks */
699 FI_NO_PREALLOC, /* indicate skipped preallocated blocks */
762 atomic_t i_compr_blocks; /* # of compressed blocks */
872 unsigned int nat_blocks; /* # of nat blocks */
887 unsigned int nat_bits_blocks; /* # of nat bits blocks */
888 unsigned char *nat_bits; /* NAT bits blocks */
945 CURSEG_HOT_DATA = 0, /* directory entry blocks */
946 CURSEG_WARM_DATA, /* data blocks */
947 CURSEG_COLD_DATA, /* multimedia or GCed data blocks */
948 CURSEG_HOT_NODE, /* direct node blocks of directory files */
949 CURSEG_WARM_NODE, /* direct node blocks of normal files */
950 CURSEG_COLD_NODE, /* indirect node blocks */
1003 unsigned int min_seq_blocks; /* threshold for sequential blocks */
1021 * dirty dentry blocks, dirty node blocks, and dirty meta blocks.
1254 * background gc is on, migrating blocks
1400 unsigned int blocks_per_blkz; /* F2FS blocks per zone */
1401 unsigned int log_blocks_per_blkz; /* log2 F2FS blocks per zone */
1406 struct inode *node_inode; /* cache node blocks */
1421 struct inode *meta_inode; /* cache meta blocks */
1462 unsigned int log_blocks_per_seg; /* log2 blocks per segment */
1463 unsigned int blocks_per_seg; /* blocks per segment */
1464 unsigned int unusable_blocks_per_sec; /* unusable blocks per section */
1474 block_t user_block_count; /* # of user blocks */
1475 block_t total_valid_block_count; /* # of valid blocks */
1478 block_t reserved_blocks; /* configurable reserved blocks */
1479 block_t current_reserved_blocks; /* current reserved blocks */
1482 block_t unusable_block_count; /* # of blocks saved by last cp */
1489 /* # of allocated blocks */
1531 atomic_t meta_count[META_MAX]; /* # of meta blocks */
1533 unsigned int block_count[2]; /* # of allocated blocks */
1543 atomic64_t compr_blocks; /* # of compressed blocks */
1973 * Check whether the inode has blocks or not
3671 #define stat_add_compr_blocks(inode, blocks) \
3672 (atomic64_add(blocks, &F2FS_I_SB(inode)->compr_blocks))
3673 #define stat_sub_compr_blocks(inode, blocks) \
3674 (atomic64_sub(blocks, &F2FS_I_SB(inode)->compr_blocks))
3768 #define stat_add_compr_blocks(inode, blocks) do { } while (0)
3769 #define stat_sub_compr_blocks(inode, blocks) do { } while (0)
4100 u64 blocks, bool add)
4102 int diff = F2FS_I(inode)->i_cluster_size - blocks;
4105 /* don't update i_compr_blocks if saved blocks were released */