Lines Matching defs:pblk_line_mgmt

498 struct pblk_line_mgmt {  struct
499 int nr_lines; /* Total number of full lines */
500 int nr_free_lines; /* Number of full lines in free list */
503 struct list_head free_list; /* Full lines ready to use */
504 struct list_head corrupt_list; /* Full lines corrupted */
505 struct list_head bad_list; /* Full lines bad */
508 struct list_head *gc_lists[PBLK_GC_NR_LISTS];
509 struct list_head gc_high_list; /* Full lines ready to GC, high isc */
510 struct list_head gc_mid_list; /* Full lines ready to GC, mid isc */
511 struct list_head gc_low_list; /* Full lines ready to GC, low isc */
513 struct list_head gc_werr_list; /* Write err recovery list */
515 struct list_head gc_full_list; /* Full lines ready to GC, no valid */
516 struct list_head gc_empty_list; /* Full lines close, all valid */
518 struct pblk_line *log_line; /* Current FTL log line */
519 struct pblk_line *data_line; /* Current data line */
520 struct pblk_line *log_next; /* Next FTL log line */
521 struct pblk_line *data_next; /* Next data line */
523 struct list_head emeta_list; /* Lines queued to schedule emeta */
525 __le32 *vsc_list; /* Valid sector counts for all lines */
528 int emeta_alloc_type;
531 struct pblk_smeta *sline_meta[PBLK_DATA_LINES];
532 struct pblk_emeta *eline_meta[PBLK_DATA_LINES];
533 unsigned long meta_bitmap;
536 unsigned long *bb_template;
537 unsigned long *bb_aux;
539 unsigned long d_seq_nr; /* Data line unique sequence number */
540 unsigned long l_seq_nr; /* Log line unique sequence number */
542 spinlock_t free_lock;
543 spinlock_t close_lock;
544 spinlock_t gc_lock;