Home
last modified time | relevance | path

Searched refs:seg_type (Results 1 – 5 of 5) sorted by relevance

/fs/f2fs/
Dsegment.c2751 unsigned short seg_type = curseg->seg_type; in reset_curseg() local
2766 sanity_check_seg_type(sbi, seg_type); in reset_curseg()
2768 if (IS_DATASEG(seg_type)) in reset_curseg()
2770 if (IS_NODESEG(seg_type)) in reset_curseg()
2772 __set_sit_entry_type(sbi, seg_type, curseg->segno, modified); in reset_curseg()
2778 unsigned short seg_type = curseg->seg_type; in __get_next_segno() local
2780 sanity_check_seg_type(sbi, seg_type); in __get_next_segno()
2802 if (seg_type == CURSEG_HOT_DATA || IS_NODESEG(seg_type)) in __get_next_segno()
2920 curseg->seg_type = target_type; in get_atssr_segment()
2925 curseg->seg_type = se->type; in get_atssr_segment()
[all …]
Dsegment.h30 unsigned short seg_type) in sanity_check_seg_type() argument
32 f2fs_bug_on(sbi, seg_type >= NR_PERSISTENT_LOG); in sanity_check_seg_type()
296 unsigned short seg_type; /* segment type like CURSEG_XXX_TYPE */ member
Ddata.c1399 static int __allocate_data_block(struct dnode_of_data *dn, int seg_type) in __allocate_data_block() argument
1425 &dn->data_blkaddr, &sum, seg_type, NULL); in __allocate_data_block()
Dfile.c4777 int seg_type = f2fs_rw_hint_to_seg_type(sbi, inode->i_write_hint); in f2fs_dio_write_submit_io() local
4778 enum temp_type temp = f2fs_get_segment_temp(seg_type); in f2fs_dio_write_submit_io()
Df2fs.h3730 int f2fs_get_segment_temp(int seg_type);