Lines Matching defs:ubi_device

558 struct ubi_device {  struct
559 struct cdev cdev;
560 struct device dev;
561 int ubi_num;
562 char ubi_name[sizeof(UBI_NAME_STR)+5];
563 int vol_count;
564 struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT];
565 spinlock_t volumes_lock;
566 int ref_count;
567 int image_seq;
569 int rsvd_pebs;
570 int avail_pebs;
571 int beb_rsvd_pebs;
572 int beb_rsvd_level;
573 int bad_peb_limit;
575 int autoresize_vol_id;
576 int vtbl_slots;
577 int vtbl_size;
578 struct ubi_vtbl_record *vtbl;
579 struct mutex device_mutex;
581 int max_ec;
583 int mean_ec;
586 unsigned long long global_sqnum;
587 spinlock_t ltree_lock;
588 struct rb_root ltree;
589 struct mutex alc_mutex;
592 int fm_disabled;
593 struct ubi_fastmap_layout *fm;
594 struct ubi_fm_pool fm_pool;
595 struct ubi_fm_pool fm_wl_pool;
596 struct rw_semaphore fm_eba_sem;
597 struct rw_semaphore fm_protect;
598 void *fm_buf;
599 size_t fm_size;
600 struct work_struct fm_work;
601 int fm_work_scheduled;
602 int fast_attach;
603 struct ubi_wl_entry *fm_anchor;
604 struct ubi_wl_entry *fm_next_anchor;
605 int fm_do_produce_anchor;
608 struct rb_root used;
609 struct rb_root erroneous;
610 struct rb_root free;
611 int free_count;
612 struct rb_root scrub;
613 struct list_head pq[UBI_PROT_QUEUE_LEN];
614 int pq_head;
615 spinlock_t wl_lock;
616 struct mutex move_mutex;
617 struct rw_semaphore work_sem;
618 int wl_scheduled;
619 struct ubi_wl_entry **lookuptbl;
620 struct ubi_wl_entry *move_from;
621 struct ubi_wl_entry *move_to;
622 int move_to_put;
623 struct list_head works;
624 int works_count;
625 struct task_struct *bgt_thread;
626 int thread_enabled;
627 char bgt_name[sizeof(UBI_BGT_NAME_PATTERN)+2];
630 long long flash_size;
631 int peb_count;
632 int peb_size;
633 int bad_peb_count;
634 int good_peb_count;
635 int corr_peb_count;
636 int erroneous_peb_count;
637 int max_erroneous;
638 int min_io_size;
639 int hdrs_min_io_size;
640 int ro_mode;
641 int leb_size;
642 int leb_start;
643 int ec_hdr_alsize;
644 int vid_hdr_alsize;
645 int vid_hdr_offset;
646 int vid_hdr_aloffset;
647 int vid_hdr_shift;
648 unsigned int bad_allowed:1;
649 unsigned int nor_flash:1;
650 int max_write_size;
651 struct mtd_info *mtd;
653 void *peb_buf;
654 struct mutex buf_mutex;
655 struct mutex ckvol_mutex;
657 struct ubi_debug_info dbg;