Searched refs:srgn (Results 1 – 2 of 2) sorted by relevance
68 struct ufshpb_subregion *srgn) in ufshpb_is_valid_srgn() argument71 srgn->srgn_state == HPB_SRGN_VALID; in ufshpb_is_valid_srgn()150 struct ufshpb_subregion *srgn, *prev_srgn = NULL; in ufshpb_iterate_rgn() local157 srgn = rgn->srgn_tbl + srgn_idx; in ufshpb_iterate_rgn()159 if (likely(!srgn->is_last)) in ufshpb_iterate_rgn()172 if (srgn->srgn_state == HPB_SRGN_VALID) in ufshpb_iterate_rgn()173 bitmap_set(srgn->mctx->ppn_dirty, srgn_offset, in ufshpb_iterate_rgn()185 if (hpb->is_hcm && prev_srgn != srgn) { in ufshpb_iterate_rgn()190 rgn->reads -= srgn->reads; in ufshpb_iterate_rgn()191 srgn->reads = 0; in ufshpb_iterate_rgn()[all …]
141 #define for_each_sub_region(rgn, i, srgn) \ argument143 ((i) < (rgn)->srgn_cnt) && ((srgn) = &(rgn)->srgn_tbl[i]); \