Lines Matching defs:ufshpb_lu
222 struct ufshpb_lu { struct
223 int lun;
224 struct scsi_device *sdev_ufs_lu;
226 spinlock_t rgn_state_lock; /* for protect rgn/srgn state */
227 struct ufshpb_region *rgn_tbl;
229 atomic_t hpb_state;
231 spinlock_t rsp_list_lock;
232 struct list_head lh_act_srgn; /* hold rsp_list_lock */
233 struct list_head lh_inact_rgn; /* hold rsp_list_lock */
236 struct ufshpb_req *pre_req;
237 int num_inflight_pre_req;
238 int throttle_pre_req;
239 int num_inflight_map_req; /* hold param_lock */
240 spinlock_t param_lock;
242 struct list_head lh_pre_req_free;
243 int pre_req_max_tr_len;
246 struct work_struct map_work;
249 struct victim_select_info lru_info;
250 struct work_struct ufshpb_normalization_work;
251 struct delayed_work ufshpb_read_to_work;
252 unsigned long work_data_bits;
256 u32 lu_pinned_start;
257 u32 lu_pinned_end;
260 u32 rgns_per_lu;
261 u32 srgns_per_lu;
262 u32 last_srgn_entries;
263 int srgns_per_rgn;
264 u32 srgn_mem_size;
265 u32 entries_per_rgn_mask;
266 u32 entries_per_rgn_shift;
267 u32 entries_per_srgn;
268 u32 entries_per_srgn_mask;
269 u32 entries_per_srgn_shift;
270 u32 pages_per_srgn;
272 bool is_hcm;
274 struct ufshpb_stats stats;
275 struct ufshpb_params params;
277 struct kmem_cache *map_req_cache;
278 struct kmem_cache *m_page_cache;
280 struct list_head list_hpb_lu;