Home
last modified time | relevance | path

Searched refs:NILFS_MDT (Results 1 – 10 of 10) sorted by relevance

/fs/nilfs2/
Dsufile.c43 return (struct nilfs_sufile_info *)NILFS_MDT(sufile); in NILFS_SUI()
49 return NILFS_MDT(sufile)->mi_entries_per_block; in nilfs_sufile_segment_usages_per_block()
55 __u64 t = segnum + NILFS_MDT(sufile)->mi_first_entry_offset; in nilfs_sufile_get_blkoff()
63 __u64 t = segnum + NILFS_MDT(sufile)->mi_first_entry_offset; in nilfs_sufile_get_offset()
83 NILFS_MDT(sufile)->mi_entry_size; in nilfs_sufile_block_get_segment_usage()
175 down_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_updatev()
221 up_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_updatev()
241 down_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_update()
255 up_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_update()
276 down_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_set_alloc_range()
[all …]
Dcpfile.c36 return NILFS_MDT(cpfile)->mi_entries_per_block; in nilfs_cpfile_checkpoints_per_block()
43 __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; in nilfs_cpfile_get_blkoff()
52 __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; in nilfs_cpfile_get_offset()
116 NILFS_MDT(cpfile)->mi_entry_size; in nilfs_cpfile_block_get_checkpoint()
124 size_t cpsz = NILFS_MDT(cpfile)->mi_entry_size; in nilfs_cpfile_block_init()
197 down_write(&NILFS_MDT(cpfile)->mi_sem); in nilfs_cpfile_get_checkpoint()
238 up_write(&NILFS_MDT(cpfile)->mi_sem); in nilfs_cpfile_get_checkpoint()
285 size_t cpsz = NILFS_MDT(cpfile)->mi_entry_size; in nilfs_cpfile_delete_checkpoints()
298 down_write(&NILFS_MDT(cpfile)->mi_sem); in nilfs_cpfile_delete_checkpoints()
369 up_write(&NILFS_MDT(cpfile)->mi_sem); in nilfs_cpfile_delete_checkpoints()
[all …]
Dalloc.c63 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_palloc_init_blockgroup()
114 return desc_block * NILFS_MDT(inode)->mi_blocks_per_desc_block; in nilfs_palloc_desc_blkoff()
131 desc_offset * NILFS_MDT(inode)->mi_blocks_per_group; in nilfs_palloc_bitmap_blkoff()
183 group_offset / NILFS_MDT(inode)->mi_entries_per_block; in nilfs_palloc_entry_blkoff()
253 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_desc_block()
272 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_bitmap_block()
290 struct nilfs_palloc_cache *cache = NILFS_MDT(inode)->mi_palloc_cache; in nilfs_palloc_get_entry_block()
327 entry_offset = group_offset % NILFS_MDT(inode)->mi_entries_per_block; in nilfs_palloc_block_get_entry()
330 entry_offset * NILFS_MDT(inode)->mi_entry_size; in nilfs_palloc_block_get_entry()
699 NILFS_MDT(inode)->mi_palloc_cache = cache; in nilfs_palloc_setup_cache()
[all …]
Dmdt.c433 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_set_entry_size()
448 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_setup_shadow_map()
466 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_save_to_shadow_map()
487 struct nilfs_shadow_map *shadow = NILFS_MDT(inode)->mi_shadow; in nilfs_mdt_freeze_buffer()
519 struct nilfs_shadow_map *shadow = NILFS_MDT(inode)->mi_shadow; in nilfs_mdt_get_frozen_buffer()
555 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_restore_from_shadow_map()
581 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_clear_shadow_map()
Dmdt.h62 static inline struct nilfs_mdt_info *NILFS_MDT(const struct inode *inode) in NILFS_MDT() function
108 (&NILFS_MDT(inode)->mi_bgl->locks[(bg) & (NR_BG_LOCKS-1)].lock)
Dinode.c82 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()
84 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()
459 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
489 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
498 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
647 memset(raw_inode, 0, NILFS_MDT(ifile)->mi_entry_size); in nilfs_update_inode()
725 struct nilfs_mdt_info *mdi = NILFS_MDT(inode); in nilfs_clear_inode()
939 struct nilfs_mdt_info *mdi = NILFS_MDT(inode); in nilfs_dirty_inode()
1019 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()
1022 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()
Ddat.c44 return (struct nilfs_dat_info *)NILFS_MDT(dat); in NILFS_DAT_I()
435 unsigned long entries_per_block = NILFS_MDT(dat)->mi_entries_per_block; in nilfs_dat_get_vinfo()
Difile.c40 return (struct nilfs_ifile_info *)NILFS_MDT(ifile); in NILFS_IFILE_I()
Dthe_nilfs.c685 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_count_free_blocks()
687 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_count_free_blocks()
Dsuper.c176 struct nilfs_mdt_info *mdi = NILFS_MDT(inode); in nilfs_i_callback()