Searched refs:srgn_cnt (Results 1 – 2 of 2) sorted by relevance
121 int srgn_cnt; member143 ((i) < (rgn)->srgn_cnt) && ((srgn) = &(rgn)->srgn_tbl[i]); \
1170 for (subregion_index = 0; subregion_index < rgn->srgn_cnt; subregion_index++) { in ufshpb_submit_region_inactive()1587 struct ufshpb_region *rgn, int srgn_cnt) in ufshpb_alloc_subregion_tbl() argument1589 rgn->srgn_tbl = kvcalloc(srgn_cnt, sizeof(struct ufshpb_subregion), in ufshpb_alloc_subregion_tbl()1594 rgn->srgn_cnt = srgn_cnt; in ufshpb_alloc_subregion_tbl()1663 int srgn_cnt = hpb->srgns_per_rgn; in ufshpb_alloc_region_tbl() local1676 srgn_cnt = ((hpb->srgns_per_lu - 1) % in ufshpb_alloc_region_tbl()1681 ret = ufshpb_alloc_subregion_tbl(hpb, rgn, srgn_cnt); in ufshpb_alloc_region_tbl()