Home
last modified time | relevance | path

Searched refs:sm_info (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Dsegment.c4251 struct f2fs_sm_info *sm_info = SM_I(sbi); in add_sits_in_set() local
4252 struct list_head *set_list = &sm_info->sit_entry_set; in add_sits_in_set()
5267 struct f2fs_sm_info *sm_info; in f2fs_build_segment_manager() local
5270 sm_info = f2fs_kzalloc(sbi, sizeof(struct f2fs_sm_info), GFP_KERNEL); in f2fs_build_segment_manager()
5271 if (!sm_info) in f2fs_build_segment_manager()
5275 sbi->sm_info = sm_info; in f2fs_build_segment_manager()
5276 sm_info->seg0_blkaddr = le32_to_cpu(raw_super->segment0_blkaddr); in f2fs_build_segment_manager()
5277 sm_info->main_blkaddr = le32_to_cpu(raw_super->main_blkaddr); in f2fs_build_segment_manager()
5278 sm_info->segment_count = le32_to_cpu(raw_super->segment_count); in f2fs_build_segment_manager()
5279 sm_info->reserved_segments = le32_to_cpu(ckpt->rsvd_segment_count); in f2fs_build_segment_manager()
[all …]
H A Dsegment.h118 ((sbi)->sm_info->ssa_blkaddr + (segno))
H A Df2fs.h1565 struct f2fs_sm_info *sm_info; /* segment manager */ member
2013 return (struct f2fs_sm_info *)(sbi->sm_info); in SM_I()
/openbmc/linux/drivers/accel/habanalabs/common/
H A Dhabanalabs_ioctl.c441 struct hl_info_sync_manager sm_info = {0}; in sync_manager_info() local
451 sm_info.first_available_sync_object = in sync_manager_info()
453 sm_info.first_available_monitor = in sync_manager_info()
455 sm_info.first_available_cq = in sync_manager_info()
458 return copy_to_user(out, &sm_info, min_t(size_t, (size_t) max_size, in sync_manager_info()
459 sizeof(sm_info))) ? -EFAULT : 0; in sync_manager_info()