Lines Matching refs:block_t
113 typedef u32 block_t; /* typedef
122 block_t root_reserved_blocks; /* root reserved blocks */
242 block_t start_blkaddr; /* start blockaddr of current segment */
262 block_t lstart; /* logical start address */
263 block_t len; /* length */
264 block_t start; /* actual start address in dev */
271 block_t lstart; /* logical start address */
272 block_t len; /* length */
273 block_t start; /* actual start address in dev */
335 block_t blkaddr; /* block address locating the last fsync */
336 block_t last_dentry; /* block address locating the last dentry */
589 block_t m_pblk;
590 block_t m_lblk;
777 block_t nat_blkaddr; /* base disk address of NAT */
833 block_t data_blkaddr; /* block address of the node block */
897 block_t seg0_blkaddr; /* block address of 0'th segment */
898 block_t main_blkaddr; /* start block address of main area */
899 block_t ssa_blkaddr; /* start block address of SSA area */
1027 block_t new_blkaddr; /* new block address to be written */
1028 block_t old_blkaddr; /* old block address before Cow */
1059 block_t start_blk;
1060 block_t end_blk;
1217 block_t user_block_count; /* # of user blocks */
1218 block_t total_valid_block_count; /* # of valid blocks */
1219 block_t discard_blks; /* discard command candidats */
1220 block_t last_valid_block_count; /* for recovery */
1221 block_t reserved_blocks; /* configurable reserved blocks */
1222 block_t current_reserved_blocks; /* current reserved blocks */
1660 block_t xattr_block = F2FS_I(inode)->i_xattr_nid ? 1 : 0; in F2FS_HAS_BLOCKS()
1689 static inline void f2fs_i_blocks_write(struct inode *, block_t, bool, bool);
1694 block_t avail_user_block_count; in inc_valid_block_count()
1714 sbi->total_valid_block_count += (block_t)(*count); in inc_valid_block_count()
1752 block_t count) in dec_valid_block_count()
1757 f2fs_bug_on(sbi, sbi->total_valid_block_count < (block_t) count); in dec_valid_block_count()
1758 sbi->total_valid_block_count -= (block_t)count; in dec_valid_block_count()
1833 static inline block_t valid_user_blocks(struct f2fs_sb_info *sbi) in valid_user_blocks()
1838 static inline block_t discard_blocks(struct f2fs_sb_info *sbi) in discard_blocks()
1856 static inline block_t __cp_payload(struct f2fs_sb_info *sbi) in __cp_payload()
1884 static inline block_t __start_cp_addr(struct f2fs_sb_info *sbi) in __start_cp_addr()
1886 block_t start_addr = le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_blkaddr); in __start_cp_addr()
1893 static inline block_t __start_cp_next_addr(struct f2fs_sb_info *sbi) in __start_cp_next_addr()
1895 block_t start_addr = le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_blkaddr); in __start_cp_next_addr()
1907 static inline block_t __start_sum_addr(struct f2fs_sb_info *sbi) in __start_sum_addr()
1915 block_t valid_block_count; in inc_valid_node_count()
2144 static inline block_t datablock_addr(struct inode *inode, in datablock_addr()
2378 block_t diff, bool add, bool claim) in f2fs_i_blocks_write()
2749 block_t blkaddr, int type);
2751 block_t blkaddr, int type) in verify_blkaddr()
2761 static inline bool __is_valid_data_blkaddr(block_t blkaddr) in __is_valid_data_blkaddr()
2769 block_t blkaddr) in is_valid_data_blkaddr()
2952 void f2fs_invalidate_blocks(struct f2fs_sb_info *sbi, block_t addr);
2953 bool f2fs_is_checkpointed_data(struct f2fs_sb_info *sbi, block_t blkaddr);
2967 block_t blk_addr);
2975 block_t old_blkaddr, block_t new_blkaddr,
2978 block_t old_addr, block_t new_addr,
2982 block_t old_blkaddr, block_t *new_blkaddr,
2987 void f2fs_wait_on_block_writeback(struct inode *inode, block_t blkaddr);
2988 void f2fs_write_data_summaries(struct f2fs_sb_info *sbi, block_t start_blk);
2989 void f2fs_write_node_summaries(struct f2fs_sb_info *sbi, block_t start_blk);
3010 block_t blkaddr, int type);
3011 int f2fs_ra_meta_pages(struct f2fs_sb_info *sbi, block_t start, int nrpages,
3053 block_t blk_addr, struct bio *bio);
3054 int f2fs_target_device_index(struct f2fs_sb_info *sbi, block_t blkaddr);
3056 void f2fs_update_data_blkaddr(struct dnode_of_data *dn, block_t blkaddr);
3091 block_t f2fs_start_bidx_of_node(unsigned int node_ofs, struct inode *inode);
3371 pgoff_t fofs, block_t blkaddr, unsigned int len);
3432 struct block_device *bdev, block_t blkaddr) in get_blkz_type()