Home
last modified time | relevance | path

Searched refs:SIT_VBLOCK_MAP_SIZE (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/fs/f2fs/
Dsegment.h382 memcpy(se->cur_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
383 memcpy(se->ckpt_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
385 memcpy(se->cur_valid_map_mir, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
397 memcpy(rs->valid_map, se->cur_valid_map, SIT_VBLOCK_MAP_SIZE); in __seg_info_to_raw_sit()
425 memcpy(se->ckpt_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_to_raw_sit()
Dsegment.c2043 int entries = SIT_VBLOCK_MAP_SIZE / sizeof(unsigned long); in add_discard_addrs()
2818 int entries = SIT_VBLOCK_MAP_SIZE / sizeof(unsigned long); in __next_free_blkoff()
4314 SIT_VBLOCK_MAP_SIZE)) in f2fs_flush_sit_entries()
4402 bitmap_size = MAIN_SEGS(sbi) * SIT_VBLOCK_MAP_SIZE * (3 + discard_map); in build_sit_info()
4404 bitmap_size = MAIN_SEGS(sbi) * SIT_VBLOCK_MAP_SIZE * (2 + discard_map); in build_sit_info()
4414 bitmap += SIT_VBLOCK_MAP_SIZE; in build_sit_info()
4417 bitmap += SIT_VBLOCK_MAP_SIZE; in build_sit_info()
4421 bitmap += SIT_VBLOCK_MAP_SIZE; in build_sit_info()
4426 bitmap += SIT_VBLOCK_MAP_SIZE; in build_sit_info()
4430 sit_i->tmp_map = f2fs_kzalloc(sbi, SIT_VBLOCK_MAP_SIZE, GFP_KERNEL); in build_sit_info()
[all …]
Ddebug.c255 si->base_mem += 2 * SIT_VBLOCK_MAP_SIZE * MAIN_SEGS(sbi); in update_mem_info()
256 si->base_mem += SIT_VBLOCK_MAP_SIZE * MAIN_SEGS(sbi); in update_mem_info()
257 si->base_mem += SIT_VBLOCK_MAP_SIZE; in update_mem_info()
Dsysfs.c1378 for (j = 0; j < SIT_VBLOCK_MAP_SIZE; j++) in segment_bits_seq_show()
Df2fs.h327 unsigned char discard_map[SIT_VBLOCK_MAP_SIZE]; /* segment discard bitmap */
/linux-6.6.21/include/linux/
Df2fs_fs.h386 #define SIT_VBLOCK_MAP_SIZE 64 macro
410 __u8 valid_map[SIT_VBLOCK_MAP_SIZE]; /* bitmap for valid blocks */