Lines Matching refs:ufshpb_region

67 static int ufshpb_is_valid_srgn(struct ufshpb_region *rgn,  in ufshpb_is_valid_srgn()
149 struct ufshpb_region *rgn; in ufshpb_iterate_rgn()
227 struct ufshpb_region *rgn; in ufshpb_test_ppn_dirty()
278 static inline bool is_rgn_dirty(struct ufshpb_region *rgn) in is_rgn_dirty()
349 struct ufshpb_region *rgn; in ufshpb_prep()
530 struct ufshpb_region *rgn; in ufshpb_clear_dirty_bitmap()
554 struct ufshpb_region *rgn; in ufshpb_update_active_info()
570 struct ufshpb_region *rgn; in ufshpb_update_inactive_info()
588 struct ufshpb_region *rgn; in ufshpb_activate_subregion()
645 static void ufshpb_set_unmap_cmd(unsigned char *cdb, struct ufshpb_region *rgn) in ufshpb_set_unmap_cmd()
670 struct ufshpb_region *rgn) in ufshpb_execute_umap_req()
787 struct ufshpb_region *rgn) in ufshpb_check_srgns_issue_state()
804 struct ufshpb_region *rgn, *next_rgn; in ufshpb_read_to_handler()
849 struct ufshpb_region *rgn) in ufshpb_add_lru_info()
864 struct ufshpb_region *rgn) in ufshpb_hit_lru_info()
869 static struct ufshpb_region *ufshpb_victim_lru_info(struct ufshpb_lu *hpb) in ufshpb_victim_lru_info()
872 struct ufshpb_region *rgn, *victim_rgn = NULL; in ufshpb_victim_lru_info()
899 struct ufshpb_region *rgn) in ufshpb_cleanup_lru_info()
917 struct ufshpb_region *rgn, in ufshpb_issue_umap_req()
933 struct ufshpb_region *rgn) in ufshpb_issue_umap_single_req()
939 struct ufshpb_region *rgn) in __ufshpb_evict_region()
955 static int ufshpb_evict_region(struct ufshpb_lu *hpb, struct ufshpb_region *rgn) in ufshpb_evict_region()
990 struct ufshpb_region *rgn, in ufshpb_issue_map_req()
1066 static int ufshpb_add_region(struct ufshpb_lu *hpb, struct ufshpb_region *rgn) in ufshpb_add_region()
1068 struct ufshpb_region *victim_rgn = NULL; in ufshpb_add_region()
1153 struct ufshpb_region *rgn; in ufshpb_submit_region_inactive()
1182 struct ufshpb_region *rgn; in ufshpb_rsp_req_region_update()
1255 struct ufshpb_region *rgn; in ufshpb_set_regions_update()
1291 struct ufshpb_region *rgn; in ufshpb_dev_reset_handler()
1383 struct ufshpb_region *rgn, in ufshpb_add_active_list()
1398 struct ufshpb_region *rgn, in ufshpb_add_pending_evict_list()
1416 struct ufshpb_region *rgn; in ufshpb_run_active_subregion_list()
1458 struct ufshpb_region *rgn; in ufshpb_run_inactive_region_list()
1465 struct ufshpb_region, in ufshpb_run_inactive_region_list()
1495 struct ufshpb_region *rgn = hpb->rgn_tbl + rgn_idx; in ufshpb_normalization_work_handler()
1538 struct ufshpb_region *rgn) in ufshpb_init_pinned_active_region()
1569 struct ufshpb_region *rgn, bool last) in ufshpb_init_subregion_tbl()
1587 struct ufshpb_region *rgn, int srgn_cnt) in ufshpb_alloc_subregion_tbl()
1653 struct ufshpb_region *rgn_table, *rgn; in ufshpb_alloc_region_tbl()
1657 rgn_table = kvcalloc(hpb->rgns_per_lu, sizeof(struct ufshpb_region), in ufshpb_alloc_region_tbl()
1711 struct ufshpb_region *rgn) in ufshpb_destroy_subregion_tbl()
1728 struct ufshpb_region *rgn; in ufshpb_destroy_region_tbl()
2254 struct ufshpb_region *rgn, *next_rgn; in ufshpb_discard_rsp_lists()