Home
last modified time | relevance | path

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

/linux-6.12.1/fs/nilfs2/
Dcpfile.c22 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()
223 down_read(&NILFS_MDT(cpfile)->mi_sem); in nilfs_cpfile_read_checkpoint()
260 up_read(&NILFS_MDT(cpfile)->mi_sem); in nilfs_cpfile_read_checkpoint()
291 down_write(&NILFS_MDT(cpfile)->mi_sem); in nilfs_cpfile_create_checkpoint()
329 up_write(&NILFS_MDT(cpfile)->mi_sem); in nilfs_cpfile_create_checkpoint()
[all …]
Dsufile.c37 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()
178 down_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_updatev()
224 up_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_updatev()
244 down_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_update()
258 up_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_update()
279 down_write(&NILFS_MDT(sufile)->mi_sem); in nilfs_sufile_set_alloc_range()
[all …]
Dalloc.c49 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 …]
Dmdt.c472 struct nilfs_mdt_info *mdi = NILFS_MDT(inode); in nilfs_mdt_clear()
493 struct nilfs_mdt_info *mdi = NILFS_MDT(inode); in nilfs_mdt_destroy()
502 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_set_entry_size()
517 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_setup_shadow_map()
537 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_save_to_shadow_map()
559 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()
631 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_restore_from_shadow_map()
658 struct nilfs_mdt_info *mi = NILFS_MDT(inode); in nilfs_mdt_clear_shadow_map()
Dmdt.h54 static inline struct nilfs_mdt_info *NILFS_MDT(const struct inode *inode) in NILFS_MDT() function
112 return bgl_lock_ptr(NILFS_MDT(inode)->mi_bgl, block_group); in nilfs_mdt_bgl_lock()
Dinode.c81 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()
83 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_get_block()
475 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
506 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
517 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in __nilfs_read_inode()
764 memset(raw_inode, 0, NILFS_MDT(ifile)->mi_entry_size); in nilfs_update_inode()
1098 struct nilfs_mdt_info *mdi = NILFS_MDT(inode); in nilfs_dirty_inode()
1178 down_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()
1181 up_read(&NILFS_MDT(nilfs->ns_dat)->mi_sem); in nilfs_fiemap()
Difile.c32 return (struct nilfs_ifile_info *)NILFS_MDT(ifile); in NILFS_IFILE_I()
Ddat.c37 return (struct nilfs_dat_info *)NILFS_MDT(dat); in NILFS_DAT_I()
449 unsigned long entries_per_block = NILFS_MDT(dat)->mi_entries_per_block; in nilfs_dat_get_vinfo()
Dsysfs.c377 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()