Home
last modified time | relevance | path

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

/linux-6.1.9/fs/f2fs/
Dsegment.h414 struct f2fs_sit_block *raw_sit; in seg_info_to_sit_page() local
421 raw_sit = (struct f2fs_sit_block *)page_address(page); in seg_info_to_sit_page()
422 memset(raw_sit, 0, PAGE_SIZE); in seg_info_to_sit_page()
424 rs = &raw_sit->entries[i]; in seg_info_to_sit_page()
730 int segno, struct f2fs_sit_entry *raw_sit) in check_block_count() argument
732 bool is_valid = test_bit_le(0, raw_sit->valid_map) ? true : false; in check_block_count()
740 next_pos = find_next_zero_bit_le(&raw_sit->valid_map, in check_block_count()
745 next_pos = find_next_bit_le(&raw_sit->valid_map, in check_block_count()
752 if (unlikely(GET_SIT_VBLOCKS(raw_sit) != valid_blocks)) { in check_block_count()
754 GET_SIT_VBLOCKS(raw_sit), valid_blocks); in check_block_count()
[all …]
Dsegment.c4085 struct f2fs_sit_block *raw_sit = NULL; in f2fs_flush_sit_entries() local
4099 raw_sit = page_address(page); in f2fs_flush_sit_entries()
4132 &raw_sit->entries[sit_offset]); in f2fs_flush_sit_entries()
4134 &raw_sit->entries[sit_offset]); in f2fs_flush_sit_entries()
/linux-6.1.9/include/linux/
Df2fs_fs.h401 #define GET_SIT_VBLOCKS(raw_sit) \ argument
402 (le16_to_cpu((raw_sit)->vblocks) & SIT_VBLOCKS_MASK)
403 #define GET_SIT_TYPE(raw_sit) \ argument
404 ((le16_to_cpu((raw_sit)->vblocks) & ~SIT_VBLOCKS_MASK) \