Home
last modified time | relevance | path

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

/linux-6.6.21/fs/f2fs/
Dsegment.h404 struct f2fs_sit_block *raw_sit; in seg_info_to_sit_page() local
411 raw_sit = (struct f2fs_sit_block *)page_address(page); in seg_info_to_sit_page()
412 memset(raw_sit, 0, PAGE_SIZE); in seg_info_to_sit_page()
414 rs = &raw_sit->entries[i]; in seg_info_to_sit_page()
766 int segno, struct f2fs_sit_entry *raw_sit) in check_block_count() argument
768 bool is_valid = test_bit_le(0, raw_sit->valid_map) ? true : false; in check_block_count()
776 next_pos = find_next_zero_bit_le(&raw_sit->valid_map, in check_block_count()
781 next_pos = find_next_bit_le(&raw_sit->valid_map, in check_block_count()
788 if (unlikely(GET_SIT_VBLOCKS(raw_sit) != valid_blocks)) { in check_block_count()
790 GET_SIT_VBLOCKS(raw_sit), valid_blocks); in check_block_count()
[all …]
Dsegment.c4290 struct f2fs_sit_block *raw_sit = NULL; in f2fs_flush_sit_entries() local
4304 raw_sit = page_address(page); in f2fs_flush_sit_entries()
4337 &raw_sit->entries[sit_offset]); in f2fs_flush_sit_entries()
4339 &raw_sit->entries[sit_offset]); in f2fs_flush_sit_entries()
/linux-6.6.21/include/linux/
Df2fs_fs.h402 #define GET_SIT_VBLOCKS(raw_sit) \ argument
403 (le16_to_cpu((raw_sit)->vblocks) & SIT_VBLOCKS_MASK)
404 #define GET_SIT_TYPE(raw_sit) \ argument
405 ((le16_to_cpu((raw_sit)->vblocks) & ~SIT_VBLOCKS_MASK) \