Searched refs:rgn_idx (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/ufs/core/ |
D | ufshpb.c | 38 static void ufshpb_update_active_info(struct ufshpb_lu *hpb, int rgn_idx, 95 static bool ufshpb_is_pinned_region(struct ufshpb_lu *hpb, int rgn_idx) in ufshpb_is_pinned_region() argument 98 rgn_idx >= hpb->lu_pinned_start && rgn_idx <= hpb->lu_pinned_end; in ufshpb_is_pinned_region() 146 static void ufshpb_iterate_rgn(struct ufshpb_lu *hpb, int rgn_idx, int srgn_idx, in ufshpb_iterate_rgn() argument 156 rgn = hpb->rgn_tbl + rgn_idx; in ufshpb_iterate_rgn() 204 ufshpb_update_active_info(hpb, rgn_idx, srgn_idx); in ufshpb_iterate_rgn() 207 "activate region %d-%d\n", rgn_idx, srgn_idx); in ufshpb_iterate_rgn() 216 rgn_idx++; in ufshpb_iterate_rgn() 224 static bool ufshpb_test_ppn_dirty(struct ufshpb_lu *hpb, int rgn_idx, in ufshpb_test_ppn_dirty() argument 233 rgn = hpb->rgn_tbl + rgn_idx; in ufshpb_test_ppn_dirty() [all …]
|
D | ufshpb.h | 105 int rgn_idx; member 120 int rgn_idx; member 169 unsigned int rgn_idx; member
|