Lines Matching defs:ubi_device

397 struct ubi_device {  struct
398 struct cdev cdev;
399 struct device dev;
400 int ubi_num;
401 char ubi_name[sizeof(UBI_NAME_STR)+5];
402 int vol_count;
403 struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT];
404 spinlock_t volumes_lock;
405 int ref_count;
406 int image_seq;
408 int rsvd_pebs;
409 int avail_pebs;
410 int beb_rsvd_pebs;
411 int beb_rsvd_level;
413 int autoresize_vol_id;
414 int vtbl_slots;
415 int vtbl_size;
416 struct ubi_vtbl_record *vtbl;
417 struct mutex device_mutex;
419 int max_ec;
421 int mean_ec;
424 unsigned long long global_sqnum;
425 spinlock_t ltree_lock;
426 struct rb_root ltree;
427 struct mutex alc_mutex;
430 struct rb_root used;
431 struct rb_root erroneous;
432 struct rb_root free;
433 struct rb_root scrub;
434 struct list_head pq[UBI_PROT_QUEUE_LEN];
435 int pq_head;
436 spinlock_t wl_lock;
437 struct mutex move_mutex;
438 struct rw_semaphore work_sem;
439 int wl_scheduled;
440 struct ubi_wl_entry **lookuptbl;
441 struct ubi_wl_entry *move_from;
442 struct ubi_wl_entry *move_to;
443 int move_to_put;
444 struct list_head works;
445 int works_count;
446 struct task_struct *bgt_thread;
447 int thread_enabled;
448 char bgt_name[sizeof(UBI_BGT_NAME_PATTERN)+2];
451 long long flash_size;
452 int peb_count;
453 int peb_size;
454 int bad_peb_count;
455 int good_peb_count;
456 int corr_peb_count;
457 int erroneous_peb_count;
458 int max_erroneous;
459 int min_io_size;
460 int hdrs_min_io_size;
461 int ro_mode;
462 int leb_size;
463 int leb_start;
464 int ec_hdr_alsize;
465 int vid_hdr_alsize;
489 extern struct mutex ubi_devices_mutex; argument
493 int ubi_change_vtbl_record(struct ubi_device *ubi, int idx, argument