Lines Matching refs:se

27 #define SE_PAGETYPE(se)	((IS_NODESEG((se)->type) ? NODE : DATA))  argument
378 struct seg_entry *se = get_seg_entry(sbi, start_segno); in get_ckpt_valid_blocks() local
380 blocks += se->ckpt_valid_blocks; in get_ckpt_valid_blocks()
387 static inline void seg_info_from_raw_sit(struct seg_entry *se, in seg_info_from_raw_sit() argument
390 se->valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit()
391 se->ckpt_valid_blocks = GET_SIT_VBLOCKS(rs); in seg_info_from_raw_sit()
392 memcpy(se->cur_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
393 memcpy(se->ckpt_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
395 memcpy(se->cur_valid_map_mir, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_from_raw_sit()
397 se->type = GET_SIT_TYPE(rs); in seg_info_from_raw_sit()
398 se->mtime = le64_to_cpu(rs->mtime); in seg_info_from_raw_sit()
401 static inline void __seg_info_to_raw_sit(struct seg_entry *se, in __seg_info_to_raw_sit() argument
404 unsigned short raw_vblocks = (se->type << SIT_VBLOCKS_SHIFT) | in __seg_info_to_raw_sit()
405 se->valid_blocks; in __seg_info_to_raw_sit()
407 memcpy(rs->valid_map, se->cur_valid_map, SIT_VBLOCK_MAP_SIZE); in __seg_info_to_raw_sit()
408 rs->mtime = cpu_to_le64(se->mtime); in __seg_info_to_raw_sit()
415 struct seg_entry *se; in seg_info_to_sit_page() local
425 se = get_seg_entry(sbi, start + i); in seg_info_to_sit_page()
426 __seg_info_to_raw_sit(se, rs); in seg_info_to_sit_page()
430 static inline void seg_info_to_raw_sit(struct seg_entry *se, in seg_info_to_raw_sit() argument
433 __seg_info_to_raw_sit(se, rs); in seg_info_to_raw_sit()
435 memcpy(se->ckpt_valid_map, rs->valid_map, SIT_VBLOCK_MAP_SIZE); in seg_info_to_raw_sit()
436 se->ckpt_valid_blocks = se->valid_blocks; in seg_info_to_raw_sit()