Searched refs:srgn_cnt (Results 1 – 2 of 2) sorted by relevance
123 int srgn_cnt; member145 ((i) < (rgn)->srgn_cnt) && ((srgn) = &(rgn)->srgn_tbl[i]); \
1501 for (srgn_i = 0; srgn_i < rgn->srgn_cnt; srgn_i++) { in ufshpb_rsp_req_region_update()1833 struct ufshpb_region *rgn, int srgn_cnt) in ufshpb_alloc_subregion_tbl() argument1835 rgn->srgn_tbl = kvcalloc(srgn_cnt, sizeof(struct ufshpb_subregion), in ufshpb_alloc_subregion_tbl()1840 rgn->srgn_cnt = srgn_cnt; in ufshpb_alloc_subregion_tbl()1917 int srgn_cnt = hpb->srgns_per_rgn; in ufshpb_alloc_region_tbl() local1930 srgn_cnt = ((hpb->srgns_per_lu - 1) % in ufshpb_alloc_region_tbl()1935 ret = ufshpb_alloc_subregion_tbl(hpb, rgn, srgn_cnt); in ufshpb_alloc_region_tbl()