Lines Matching refs:block_t
111 typedef u32 block_t; /* typedef
122 block_t root_reserved_blocks; /* root reserved blocks */
145 block_t unusable_cap_perc; /* percentage for cap */
146 block_t unusable_cap; /* Amount of space allowed to be
279 block_t start_blkaddr; /* start blockaddr of current segment */
299 block_t lstart; /* logical start address */
300 block_t len; /* length */
301 block_t start; /* actual start address in dev */
308 block_t lstart; /* logical start address */
309 block_t len; /* length */
310 block_t start; /* actual start address in dev */
373 block_t blkaddr; /* block address locating the last fsync */
374 block_t last_dentry; /* block address locating the last dentry */
673 block_t m_pblk;
674 block_t m_lblk;
917 block_t nat_blkaddr; /* base disk address of NAT */
972 block_t data_blkaddr; /* block address of the node block */
1038 block_t seg0_blkaddr; /* block address of 0'th segment */
1039 block_t main_blkaddr; /* start block address of main area */
1040 block_t ssa_blkaddr; /* start block address of SSA area */
1189 block_t new_blkaddr; /* new block address to be written */
1190 block_t old_blkaddr; /* old block address before Cow */
1233 block_t start_blk;
1234 block_t end_blk;
1499 block_t user_block_count; /* # of user blocks */
1500 block_t total_valid_block_count; /* # of valid blocks */
1501 block_t discard_blks; /* discard command candidats */
1502 block_t last_valid_block_count; /* for recovery */
1503 block_t reserved_blocks; /* configurable reserved blocks */
1504 block_t current_reserved_blocks; /* current reserved blocks */
1507 block_t unusable_block_count; /* # of blocks saved by last cp */
1991 block_t xattr_block = F2FS_I(inode)->i_xattr_nid ? 1 : 0; in F2FS_HAS_BLOCKS()
2020 static inline void f2fs_i_blocks_write(struct inode *, block_t, bool, bool);
2025 block_t avail_user_block_count; in inc_valid_block_count()
2045 sbi->total_valid_block_count += (block_t)(*count); in inc_valid_block_count()
2106 block_t count) in dec_valid_block_count()
2111 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count); in dec_valid_block_count()
2112 sbi->total_valid_block_count -= (block_t)count; in dec_valid_block_count()
2187 static inline block_t valid_user_blocks(struct f2fs_sb_info *sbi) in valid_user_blocks()
2192 static inline block_t discard_blocks(struct f2fs_sb_info *sbi) in discard_blocks()
2210 static inline block_t __cp_payload(struct f2fs_sb_info *sbi) in __cp_payload()
2242 static inline block_t __start_cp_addr(struct f2fs_sb_info *sbi) in __start_cp_addr()
2244 block_t start_addr = le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_blkaddr); in __start_cp_addr()
2251 static inline block_t __start_cp_next_addr(struct f2fs_sb_info *sbi) in __start_cp_next_addr()
2253 block_t start_addr = le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_blkaddr); in __start_cp_next_addr()
2265 static inline block_t __start_sum_addr(struct f2fs_sb_info *sbi) in __start_sum_addr()
2273 block_t valid_block_count; in inc_valid_node_count()
2539 static inline block_t data_blkaddr(struct inode *inode, in data_blkaddr()
2561 static inline block_t f2fs_data_blkaddr(struct dnode_of_data *dn) in f2fs_data_blkaddr()
2722 block_t diff, bool add, bool claim) in f2fs_i_blocks_write()
3138 block_t blkaddr, int type);
3140 block_t blkaddr, int type) in verify_blkaddr()
3149 static inline bool __is_valid_data_blkaddr(block_t blkaddr) in __is_valid_data_blkaddr()
3361 void f2fs_invalidate_blocks(struct f2fs_sb_info *sbi, block_t addr);
3362 bool f2fs_is_checkpointed_data(struct f2fs_sb_info *sbi, block_t blkaddr);
3369 block_t f2fs_get_unusable_blocks(struct f2fs_sb_info *sbi);
3370 int f2fs_disable_cp_again(struct f2fs_sb_info *sbi, block_t unusable);
3381 block_t blk_addr);
3389 block_t old_blkaddr, block_t new_blkaddr,
3392 block_t old_addr, block_t new_addr,
3396 block_t old_blkaddr, block_t *new_blkaddr,
3401 void f2fs_wait_on_block_writeback(struct inode *inode, block_t blkaddr);
3402 void f2fs_wait_on_block_writeback_range(struct inode *inode, block_t blkaddr,
3403 block_t len);
3404 void f2fs_write_data_summaries(struct f2fs_sb_info *sbi, block_t start_blk);
3405 void f2fs_write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk);
3428 block_t blkaddr, int type);
3429 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages,
3479 block_t blk_addr, struct bio *bio);
3480 int f2fs_target_device_index(struct f2fs_sb_info *sbi, block_t blkaddr);
3482 void f2fs_update_data_blkaddr(struct dnode_of_data *dn, block_t blkaddr);
3531 block_t f2fs_start_bidx_of_node(unsigned int node_ofs, struct inode *inode);
3851 pgoff_t fofs, block_t blkaddr, unsigned int len);
4011 block_t blkaddr) in f2fs_blkz_is_seq()