Searched refs:NILFS_MDT (Results 1 – 9 of 9) sorted by relevance
37 return (struct nilfs_sufile_info *)NILFS_MDT(sufile); in NILFS_SUI()43 return NILFS_MDT(sufile)->mi_entries_per_block; in nilfs_sufile_segment_usages_per_block()49 __u64 t = segnum + NILFS_MDT(sufile)->mi_first_entry_offset; in nilfs_sufile_get_blkoff()58 __u64 t = segnum + NILFS_MDT(sufile)->mi_first_entry_offset; in nilfs_sufile_get_offset()79 NILFS_MDT(sufile)->mi_entry_size; in nilfs_sufile_block_get_segment_usage()171 down_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_updatev()217 up_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_updatev()237 down_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_update()251 up_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_update()272 down_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_set_alloc_range()[all …]
22 return NILFS_MDT(cpfile)->mi_entries_per_block; in nilfs_cpfile_checkpoints_per_block()29 __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; in nilfs_cpfile_get_blkoff()39 __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; in nilfs_cpfile_get_offset()48 + 1 - NILFS_MDT(cpfile)->mi_first_entry_offset; in nilfs_cpfile_first_checkpoint_in_block()111 NILFS_MDT(cpfile)->mi_entry_size; in nilfs_cpfile_block_get_checkpoint()119 size_t cpsz = NILFS_MDT(cpfile)->mi_entry_size; in nilfs_cpfile_block_init()230 down_write(&NILFS_MDT(cpfile)->mi_sem); in nilfs_cpfile_get_checkpoint()271 up_write(&NILFS_MDT(cpfile)->mi_sem); in nilfs_cpfile_get_checkpoint()318 size_t cpsz = NILFS_MDT(cpfile)->mi_entry_size; in nilfs_cpfile_delete_checkpoints()331 down_write(&NILFS_MDT(cpfile)->mi_sem); in nilfs_cpfile_delete_checkpoints()[all …]
49 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_palloc_init_blockgroup()104 return desc_block * NILFS_MDT(inode)->mi_blocks_per_desc_block; in nilfs_palloc_desc_blkoff()121 desc_offset * NILFS_MDT(inode)->mi_blocks_per_group; in nilfs_palloc_bitmap_blkoff()173 group_offset / NILFS_MDT(inode)->mi_entries_per_block; in nilfs_palloc_entry_blkoff()264 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_desc_block()283 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_bitmap_block()299 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_delete_bitmap_block()317 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_entry_block()332 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_delete_entry_block()368 entry_offset = group_offset % NILFS_MDT(inode)->mi_entries_per_block; in nilfs_palloc_block_get_entry()[all …]
474 struct nilfs_mdt_info *mdi = NILFS_MDT(inode); in nilfs_mdt_clear()495 struct nilfs_mdt_info *mdi = NILFS_MDT(inode); in nilfs_mdt_destroy()504 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_set_entry_size()519 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_setup_shadow_map()539 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_save_to_shadow_map()561 struct nilfs_shadow_map *shadow = NILFS_MDT(inode)->mi_shadow; in nilfs_mdt_freeze_buffer()593 struct nilfs_shadow_map *shadow = NILFS_MDT(inode)->mi_shadow; in nilfs_mdt_get_frozen_buffer()629 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_restore_from_shadow_map()656 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_clear_shadow_map()
54 static inline struct nilfs_mdt_info *NILFS_MDT(const struct inode *inode) in NILFS_MDT() function112 return bgl_lock_ptr(NILFS_MDT(inode)->mi_bgl, block_group); in nilfs_mdt_bgl_lock()
84 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()86 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()493 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()524 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()535 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()811 memset(raw_inode, 0, NILFS_MDT(ifile)->mi_entry_size); in nilfs_update_inode()1146 struct nilfs_mdt_info *mdi = NILFS_MDT(inode); in nilfs_dirty_inode()1226 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()1229 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()
31 return (struct nilfs_ifile_info *)NILFS_MDT(ifile); in NILFS_IFILE_I()
37 return (struct nilfs_dat_info *)NILFS_MDT(dat); in NILFS_DAT_I()452 unsigned long entries_per_block = NILFS_MDT(dat)->mi_entries_per_block; in nilfs_dat_get_vinfo()
377 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_segments_clean_segments_show()379 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_segments_clean_segments_show()