Home
last modified time | relevance | path

Searched refs:raw_sit (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Dsegment.h393 struct f2fs_sit_block *raw_sit; in seg_info_to_sit_page() local
400 raw_sit = (struct f2fs_sit_block *)page_address(page); in seg_info_to_sit_page()
401 memset(raw_sit, 0, PAGE_SIZE); in seg_info_to_sit_page()
403 rs = &raw_sit->entries[i]; in seg_info_to_sit_page()
769 int segno, struct f2fs_sit_entry *raw_sit) in check_block_count() argument
771 bool is_valid = test_bit_le(0, raw_sit->valid_map) ? true : false; in check_block_count()
779 next_pos = find_next_zero_bit_le(&raw_sit->valid_map, in check_block_count()
784 next_pos = find_next_bit_le(&raw_sit->valid_map, in check_block_count()
791 if (unlikely(GET_SIT_VBLOCKS(raw_sit) != valid_blocks)) { in check_block_count()
793 GET_SIT_VBLOCKS(raw_sit), valid_blocks); in check_block_count()
[all …]
H A Dsegment.c4323 struct f2fs_sit_block *raw_sit = NULL; in f2fs_flush_sit_entries() local
4337 raw_sit = page_address(page); in f2fs_flush_sit_entries()
4370 &raw_sit->entries[sit_offset]); in f2fs_flush_sit_entries()
4372 &raw_sit->entries[sit_offset]); in f2fs_flush_sit_entries()
/openbmc/linux/include/linux/
H A Df2fs_fs.h398 #define GET_SIT_VBLOCKS(raw_sit) \ argument
399 (le16_to_cpu((raw_sit)->vblocks) & SIT_VBLOCKS_MASK)
400 #define GET_SIT_TYPE(raw_sit) \ argument
401 ((le16_to_cpu((raw_sit)->vblocks) & ~SIT_VBLOCKS_MASK) \