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]); \
1167 for (subregion_index = 0; subregion_index < rgn->srgn_cnt; subregion_index++) { in ufshpb_submit_region_inactive()1584 struct ufshpb_region *rgn, int srgn_cnt) in ufshpb_alloc_subregion_tbl() argument1586 rgn->srgn_tbl = kvcalloc(srgn_cnt, sizeof(struct ufshpb_subregion), in ufshpb_alloc_subregion_tbl()1591 rgn->srgn_cnt = srgn_cnt; in ufshpb_alloc_subregion_tbl()1660 int srgn_cnt = hpb->srgns_per_rgn; in ufshpb_alloc_region_tbl() local1673 srgn_cnt = ((hpb->srgns_per_lu - 1) % in ufshpb_alloc_region_tbl()1678 ret = ufshpb_alloc_subregion_tbl(hpb, rgn, srgn_cnt); in ufshpb_alloc_region_tbl()