[go: nahoru, domu]

Searched defs:ubi (Results 1 - 15 of 15) sorted by relevance

/drivers/mtd/ubi/
H A Ddebug.h24 void ubi_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len);
61 int ubi_self_check_all_ff(struct ubi_device *ubi, int pnum, int offset,
65 int ubi_debugfs_init_dev(struct ubi_device *ubi);
66 void ubi_debugfs_exit_dev(struct ubi_device *ubi);
70 * @ubi: UBI device description object
75 static inline int ubi_dbg_is_bgt_disabled(const struct ubi_device *ubi) argument
77 return ubi->dbg.disable_bgt;
82 * @ubi: UBI device description object
86 static inline int ubi_dbg_is_bitflip(const struct ubi_device *ubi) argument
88 if (ubi
100 ubi_dbg_is_write_failure(const struct ubi_device *ubi) argument
114 ubi_dbg_is_erase_failure(const struct ubi_device *ubi) argument
121 ubi_dbg_chk_io(const struct ubi_device *ubi) argument
126 ubi_dbg_chk_gen(const struct ubi_device *ubi) argument
[all...]
H A Dmisc.c23 #include "ubi.h"
27 * @ubi: UBI device description object
35 int ubi_calc_data_len(const struct ubi_device *ubi, const void *buf, argument
40 ubi_assert(!(length & (ubi->min_io_size - 1)));
47 length = ALIGN(i + 1, ubi->min_io_size);
53 * @ubi: UBI device description object
61 int ubi_check_volume(struct ubi_device *ubi, int vol_id) argument
65 struct ubi_volume *vol = ubi->volumes[vol_id];
82 err = ubi_eba_read_leb(ubi, vol, i, buf, 0, size, 1);
96 * @ubi
103 ubi_update_reserved(struct ubi_device *ubi) argument
122 ubi_calculate_reserved(struct ubi_device *ubi) argument
[all...]
H A Dupd.c44 #include "ubi.h"
48 * @ubi: UBI device description object
54 static int set_update_marker(struct ubi_device *ubi, struct ubi_volume *vol) argument
62 ubi_assert(ubi->vtbl[vol->vol_id].upd_marker);
67 vtbl_rec = ubi->vtbl[vol->vol_id];
70 mutex_lock(&ubi->device_mutex);
71 err = ubi_change_vtbl_record(ubi, vol->vol_id, &vtbl_rec);
73 mutex_unlock(&ubi->device_mutex);
79 * @ubi: UBI device description object
87 static int clear_update_marker(struct ubi_device *ubi, struc argument
127 ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, long long bytes) argument
179 ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, const struct ubi_leb_change_req *req) argument
230 write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, void *buf, int len, int used_ebs) argument
276 ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol, const void __user *buf, int count) argument
391 ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol, const void __user *buf, int count) argument
[all...]
H A Dcdev.c46 #include <mtd/ubi-user.h>
47 #include "ubi.h"
62 spin_lock(&vol->ubi->volumes_lock);
74 spin_unlock(&vol->ubi->volumes_lock);
88 spin_lock(&vol->ubi->volumes_lock);
98 spin_unlock(&vol->ubi->volumes_lock);
134 vol->ubi->ubi_num, vol->vol_id, desc->mode);
144 vol->upd_received, vol->upd_bytes, vol->ubi->ubi_num,
172 struct ubi_device *ubi = desc->vol->ubi; local
187 struct ubi_device *ubi = vol->ubi; local
264 struct ubi_device *ubi = vol->ubi; local
340 struct ubi_device *ubi = vol->ubi; local
391 struct ubi_device *ubi = vol->ubi; local
600 verify_mkvol_req(const struct ubi_device *ubi, const struct ubi_mkvol_req *req) argument
657 verify_rsvol_req(const struct ubi_device *ubi, const struct ubi_rsvol_req *req) argument
679 rename_volumes(struct ubi_device *ubi, struct ubi_rnvol_req *req) argument
834 struct ubi_device *ubi; local
[all...]
H A Ddebug.c21 #include "ubi.h"
29 * @ubi: UBI device description object
34 void ubi_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len) argument
39 loff_t addr = (loff_t)pnum * ubi->peb_size + offset;
44 err = mtd_read(ubi->mtd, addr, len, &read, buf);
237 dfs_rootdir = debugfs_create_dir("ubi", NULL);
241 ubi_err("cannot create \"ubi\" debugfs directory, error %d\n",
264 struct ubi_device *ubi; local
269 ubi = ubi_get_device(ubi_num);
270 if (!ubi)
309 struct ubi_device *ubi; local
369 ubi_debugfs_init_dev(struct ubi_device *ubi) argument
445 ubi_debugfs_exit_dev(struct ubi_device *ubi) argument
[all...]
H A Deba.c47 #include "ubi.h"
54 * @ubi: UBI device description object
60 unsigned long long ubi_next_sqnum(struct ubi_device *ubi) argument
64 spin_lock(&ubi->ltree_lock);
65 sqnum = ubi->global_sqnum++;
66 spin_unlock(&ubi->ltree_lock);
73 * @ubi: UBI device description object
79 static int ubi_get_compat(const struct ubi_device *ubi, int vol_id) argument
88 * @ubi: UBI device description object
94 * @ubi
96 ltree_lookup(struct ubi_device *ubi, int vol_id, int lnum) argument
135 ltree_add_entry(struct ubi_device *ubi, int vol_id, int lnum) argument
205 leb_read_lock(struct ubi_device *ubi, int vol_id, int lnum) argument
222 leb_read_unlock(struct ubi_device *ubi, int vol_id, int lnum) argument
247 leb_write_lock(struct ubi_device *ubi, int vol_id, int lnum) argument
269 leb_write_trylock(struct ubi_device *ubi, int vol_id, int lnum) argument
298 leb_write_unlock(struct ubi_device *ubi, int vol_id, int lnum) argument
324 ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum) argument
372 ubi_eba_read_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, void *buf, int offset, int len, int check) argument
498 recover_peb(struct ubi_device *ubi, int pnum, int vol_id, int lnum, const void *buf, int offset, int len) argument
596 ubi_eba_write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int offset, int len) argument
727 ubi_eba_write_leb_st(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int len, int used_ebs) argument
842 ubi_eba_atomic_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int len) argument
988 ubi_eba_copy_leb(struct ubi_device *ubi, int from, int to, struct ubi_vid_hdr *vid_hdr) argument
1192 print_rsvd_warning(struct ubi_device *ubi, struct ubi_attach_info *ai) argument
1225 self_check_eba(struct ubi_device *ubi, struct ubi_attach_info *ai_fastmap, struct ubi_attach_info *ai_scan) argument
1319 ubi_eba_init(struct ubi_device *ubi, struct ubi_attach_info *ai) argument
[all...]
H A Dkapi.c29 #include "ubi.h"
33 * @ubi: UBI device description object
39 void ubi_do_get_device_info(struct ubi_device *ubi, struct ubi_device_info *di) argument
41 di->ubi_num = ubi->ubi_num;
42 di->leb_size = ubi->leb_size;
43 di->leb_start = ubi->leb_start;
44 di->min_io_size = ubi->min_io_size;
45 di->max_write_size = ubi->max_write_size;
46 di->ro_mode = ubi->ro_mode;
47 di->cdev = ubi
61 struct ubi_device *ubi; local
80 ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, struct ubi_volume_info *vi) argument
131 struct ubi_device *ubi; local
242 struct ubi_device *ubi; local
331 struct ubi_device *ubi = vol->ubi; local
388 struct ubi_device *ubi = vol->ubi; local
451 struct ubi_device *ubi = vol->ubi; local
496 struct ubi_device *ubi = vol->ubi; local
536 struct ubi_device *ubi = vol->ubi; local
597 struct ubi_device *ubi = vol->ubi; local
633 struct ubi_device *ubi = vol->ubi; local
695 struct ubi_device *ubi; local
721 struct ubi_device *ubi; local
[all...]
H A Dvmt.c30 #include "ubi.h"
32 static int self_check_volumes(struct ubi_device *ubi);
37 /* Device attributes corresponding to files in '/<sysfs>/class/ubi/ubiX_Y' */
56 * "Show" method for files in '/<sysfs>/class/ubi/ubiX_Y/'.
60 * /<sysfs>/class/ubi/ubiX_Y/reserved_ebs;
62 * C. process 1 starts reading the /<sysfs>/class/ubi/ubiX_Y/reserved_ebs file;
65 * out that the volume was removed from the @ubi->volumes array.
72 struct ubi_device *ubi; local
74 ubi = ubi_get_device(vol->ubi
144 volume_sysfs_init(struct ubi_device *ubi, struct ubi_volume *vol) argument
201 ubi_create_volume(struct ubi_device *ubi, struct ubi_mkvol_req *req) argument
406 struct ubi_device *ubi = vol->ubi; local
478 struct ubi_device *ubi = vol->ubi; local
594 ubi_rename_volumes(struct ubi_device *ubi, struct list_head *rename_list) argument
633 ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol) argument
683 ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol) argument
699 self_check_volume(struct ubi_device *ubi, int vol_id) argument
846 self_check_volumes(struct ubi_device *ubi) argument
[all...]
H A Dvtbl.c62 #include "ubi.h"
64 static void self_vtbl_check(const struct ubi_device *ubi);
71 * @ubi: UBI device description object
80 int ubi_change_vtbl_record(struct ubi_device *ubi, int idx, argument
87 ubi_assert(idx >= 0 && idx < ubi->vtbl_slots);
88 layout_vol = ubi->volumes[vol_id2idx(ubi, UBI_LAYOUT_VOLUME_ID)];
97 memcpy(&ubi->vtbl[idx], vtbl_rec, sizeof(struct ubi_vtbl_record));
99 err = ubi_eba_unmap_leb(ubi, layout_vol, i);
103 err = ubi_eba_write_leb(ubi, layout_vo
122 ubi_vtbl_rename_volumes(struct ubi_device *ubi, struct list_head *rename_list) argument
172 vtbl_check(const struct ubi_device *ubi, const struct ubi_vtbl_record *vtbl) argument
300 create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, int copy, void *vtbl) argument
373 process_lvol(struct ubi_device *ubi, struct ubi_attach_info *ai, struct ubi_ainf_volume *av) argument
496 create_empty_lvol(struct ubi_device *ubi, struct ubi_attach_info *ai) argument
532 init_volumes(struct ubi_device *ubi, const struct ubi_attach_info *ai, const struct ubi_vtbl_record *vtbl) argument
713 check_attaching_info(const struct ubi_device *ubi, struct ubi_attach_info *ai) argument
777 ubi_read_volume_table(struct ubi_device *ubi, struct ubi_attach_info *ai) argument
859 self_vtbl_check(const struct ubi_device *ubi) argument
[all...]
H A Dattach.c90 #include "ubi.h"
92 static int self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai);
304 * @ubi: UBI device description object
322 int ubi_compare_lebs(struct ubi_device *ubi, const struct ubi_ainf_peb *aeb, argument
370 vh = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL);
375 err = ubi_io_read_vid_hdr(ubi, pnum, vh, 0);
396 mutex_lock(&ubi->buf_mutex);
397 err = ubi_io_read_data(ubi, ubi->peb_buf, pnum, 0, len);
402 crc = crc32(UBI_CRC32_INIT, ubi
447 ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips) argument
660 early_erase_peb(struct ubi_device *ubi, const struct ubi_attach_info *ai, int pnum, int ec) argument
706 ubi_early_get_peb(struct ubi_device *ubi, struct ubi_attach_info *ai) argument
760 check_corruption(struct ubi_device *ubi, struct ubi_vid_hdr *vid_hdr, int pnum) argument
816 scan_peb(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, int *vid, unsigned long long *sqnum) argument
1064 late_analysis(struct ubi_device *ubi, struct ubi_attach_info *ai) argument
1224 scan_all(struct ubi_device *ubi, struct ubi_attach_info *ai, int start) argument
1312 scan_fast(struct ubi_device *ubi, struct ubi_attach_info *ai) argument
1393 ubi_attach(struct ubi_device *ubi, int force_scan) argument
1496 self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai) argument
[all...]
H A Dio.c48 * @ubi->mtd->writesize field. But as an exception, UBI admits of using another
55 * I/O unit for the headers (the @ubi->hdrs_min_io_size field). But it still
56 * reports NAND page size (@ubi->min_io_size) as a minimal I/O unit for the UBI
64 * device, e.g., make @ubi->min_io_size = 512 in the example above?
83 * copy. It always allocates a @ubi->vid_hdr_alsize bytes buffer for the VID
84 * header and returns a pointer to offset @ubi->vid_hdr_shift of this buffer.
92 #include "ubi.h"
94 static int self_check_not_bad(const struct ubi_device *ubi, int pnum);
95 static int self_check_peb_ec_hdr(const struct ubi_device *ubi, int pnum);
96 static int self_check_ec_hdr(const struct ubi_device *ubi, in
126 ubi_io_read(const struct ubi_device *ubi, void *buf, int pnum, int offset, int len) argument
234 ubi_io_write(struct ubi_device *ubi, const void *buf, int pnum, int offset, int len) argument
331 do_sync_erase(struct ubi_device *ubi, int pnum) argument
410 torture_peb(struct ubi_device *ubi, int pnum) argument
496 nor_erase_prepare(struct ubi_device *ubi, int pnum) argument
566 ubi_io_sync_erase(struct ubi_device *ubi, int pnum, int torture) argument
608 ubi_io_is_bad(const struct ubi_device *ubi, int pnum) argument
637 ubi_io_mark_bad(const struct ubi_device *ubi, int pnum) argument
666 validate_ec_hdr(const struct ubi_device *ubi, const struct ubi_ec_hdr *ec_hdr) argument
730 ubi_io_read_ec_hdr(struct ubi_device *ubi, int pnum, struct ubi_ec_hdr *ec_hdr, int verbose) argument
839 ubi_io_write_ec_hdr(struct ubi_device *ubi, int pnum, struct ubi_ec_hdr *ec_hdr) argument
872 validate_vid_hdr(const struct ubi_device *ubi, const struct ubi_vid_hdr *vid_hdr) argument
1000 ubi_io_read_vid_hdr(struct ubi_device *ubi, int pnum, struct ubi_vid_hdr *vid_hdr, int verbose) argument
1084 ubi_io_write_vid_hdr(struct ubi_device *ubi, int pnum, struct ubi_vid_hdr *vid_hdr) argument
1121 self_check_not_bad(const struct ubi_device *ubi, int pnum) argument
1146 self_check_ec_hdr(const struct ubi_device *ubi, int pnum, const struct ubi_ec_hdr *ec_hdr) argument
1184 self_check_peb_ec_hdr(const struct ubi_device *ubi, int pnum) argument
1228 self_check_vid_hdr(const struct ubi_device *ubi, int pnum, const struct ubi_vid_hdr *vid_hdr) argument
1268 self_check_peb_vid_hdr(const struct ubi_device *ubi, int pnum) argument
1319 self_check_write(struct ubi_device *ubi, const void *buf, int pnum, int offset, int len) argument
1384 ubi_self_check_all_ff(struct ubi_device *ubi, int pnum, int offset, int len) argument
[all...]
H A Dbuild.c45 #include "ubi.h"
85 /* Root UBI "class" object (corresponds to '/<sysfs>/class/ubi/') */
104 /* Protects @ubi_devices and @ubi->ref_count */
107 /* "Show" method for files in '/<sysfs>/class/ubi/' */
114 /* UBI version attribute ('/<sysfs>/class/ubi/version') */
121 /* UBI device attributes (correspond to files in '/<sysfs>/class/ubi/ubiX') */
147 * @ubi: UBI device description object
155 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) argument
159 ubi_do_get_device_info(ubi, &nt.di);
160 ubi_do_get_volume_info(ubi, vo
188 ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) argument
236 struct ubi_device *ubi = ubi_devices[i]; local
257 struct ubi_device *ubi; local
275 ubi_put_device(struct ubi_device *ubi) argument
293 struct ubi_device *ubi; local
325 struct ubi_device *ubi = ubi_devices[i]; local
342 struct ubi_device *ubi; local
390 struct ubi_device *ubi = container_of(dev, struct ubi_device, dev); local
404 ubi_sysfs_init(struct ubi_device *ubi, int *ref) argument
455 ubi_sysfs_close(struct ubi_device *ubi) argument
475 kill_volumes(struct ubi_device *ubi) argument
502 uif_init(struct ubi_device *ubi, int *ref) argument
571 uif_close(struct ubi_device *ubi) argument
583 ubi_free_internal_volumes(struct ubi_device *ubi) argument
594 get_bad_peb_limit(const struct ubi_device *ubi, int max_beb_per1024) argument
638 io_init(struct ubi_device *ubi, int max_beb_per1024) argument
805 autoresize(struct ubi_device *ubi, int vol_id) argument
870 struct ubi_device *ubi; local
1085 struct ubi_device *ubi; local
[all...]
H A Dfastmap.c17 #include "ubi.h"
21 * @ubi: UBI device description object
23 size_t ubi_calc_fm_size(struct ubi_device *ubi) argument
31 (ubi->peb_count * sizeof(struct ubi_fm_ec)) + \
33 (ubi->peb_count * sizeof(__be32))) + \
35 return roundup(size, ubi->leb_size);
41 * @ubi: UBI device description object
47 static struct ubi_vid_hdr *new_fm_vhdr(struct ubi_device *ubi, int vol_id) argument
51 new = ubi_zalloc_vid_hdr(ubi, GFP_KERNEL);
196 * @ubi
204 update_vol(struct ubi_device *ubi, struct ubi_attach_info *ai, struct ubi_ainf_volume *av, struct ubi_vid_hdr *new_vh, struct ubi_ainf_peb *new_aeb) argument
300 process_pool_aeb(struct ubi_device *ubi, struct ubi_attach_info *ai, struct ubi_vid_hdr *new_vh, struct ubi_ainf_peb *new_aeb) argument
385 scan_pool(struct ubi_device *ubi, struct ubi_attach_info *ai, int *pebs, int pool_size, unsigned long long *max_sqnum, struct list_head *eba_orphans, struct list_head *free) argument
542 ubi_attach_fastmap(struct ubi_device *ubi, struct ubi_attach_info *ai, struct ubi_fastmap_layout *fm) argument
876 ubi_scan_fastmap(struct ubi_device *ubi, struct ubi_attach_info *ai, int fm_anchor) argument
1099 ubi_write_fastmap(struct ubi_device *ubi, struct ubi_fastmap_layout *new_fm) argument
1331 erase_block(struct ubi_device *ubi, int pnum) argument
1378 invalidate_fastmap(struct ubi_device *ubi, struct ubi_fastmap_layout *fm) argument
1408 ubi_update_fastmap(struct ubi_device *ubi) argument
[all...]
H A Dwl.c105 #include "ubi.h"
137 static int self_check_ec(struct ubi_device *ubi, int pnum, int ec);
138 static int self_check_in_wl_tree(const struct ubi_device *ubi,
140 static int self_check_in_pq(const struct ubi_device *ubi,
150 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); local
151 ubi_update_fastmap(ubi);
156 * @ubi: UBI device description object
159 static int ubi_is_fm_block(struct ubi_device *ubi, int pnum) argument
163 if (!ubi->fm)
166 for (i = 0; i < ubi
173 ubi_is_fm_block(struct ubi_device *ubi, int pnum) argument
222 do_work(struct ubi_device *ubi) argument
271 produce_free_peb(struct ubi_device *ubi) argument
338 prot_queue_add(struct ubi_device *ubi, struct ubi_wl_entry *e) argument
358 find_wl_entry(struct ubi_device *ubi, struct rb_root *root, int diff) argument
401 find_mean_wl_entry(struct ubi_device *ubi, struct rb_root *root) argument
469 ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) argument
502 __wl_get_peb(struct ubi_device *ubi) argument
551 return_unused_pool_pebs(struct ubi_device *ubi, struct ubi_fm_pool *pool) argument
569 refill_wl_pool(struct ubi_device *ubi) argument
595 refill_wl_user_pool(struct ubi_device *ubi) argument
613 ubi_refill_pools(struct ubi_device *ubi) argument
624 ubi_wl_get_peb(struct ubi_device *ubi) argument
651 get_peb_for_wl(struct ubi_device *ubi) argument
668 get_peb_for_wl(struct ubi_device *ubi) argument
681 ubi_wl_get_peb(struct ubi_device *ubi) argument
711 prot_queue_del(struct ubi_device *ubi, int pnum) argument
736 sync_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, int torture) argument
796 serve_prot_queue(struct ubi_device *ubi) argument
840 __schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) argument
859 schedule_ubi_work(struct ubi_device *ubi, struct ubi_work *wrk) argument
891 schedule_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, int vol_id, int lnum, int torture) argument
925 do_sync_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, int vol_id, int lnum, int torture) argument
955 ubi_wl_put_fm_peb(struct ubi_device *ubi, struct ubi_wl_entry *fm_e, int lnum, int torture) argument
1000 wear_leveling_worker(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown) argument
1314 ensure_wear_leveling(struct ubi_device *ubi, int nested) argument
1380 ubi_ensure_anchor_pebs(struct ubi_device *ubi) argument
1419 erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk, int shutdown) argument
1558 ubi_wl_put_peb(struct ubi_device *ubi, int vol_id, int lnum, int pnum, int torture) argument
1645 ubi_wl_scrub_peb(struct ubi_device *ubi, int pnum) argument
1710 ubi_wl_flush(struct ubi_device *ubi, int vol_id, int lnum) argument
1799 struct ubi_device *ubi = u; local
1853 shutdown_work(struct ubi_device *ubi) argument
1874 ubi_wl_init(struct ubi_device *ubi, struct ubi_attach_info *ai) argument
2014 protection_queue_destroy(struct ubi_device *ubi) argument
2031 ubi_wl_close(struct ubi_device *ubi) argument
2053 self_check_ec(struct ubi_device *ubi, int pnum, int ec) argument
2096 self_check_in_wl_tree(const struct ubi_device *ubi, struct ubi_wl_entry *e, struct rb_root *root) argument
2119 self_check_in_pq(const struct ubi_device *ubi, struct ubi_wl_entry *e) argument
[all...]
H A Dubi.h41 #include <linux/mtd/ubi.h>
44 #include "ubi-media.h"
50 #define UBI_NAME_STR "ubi"
87 * The UBI debugfs directory name pattern and maximum name length (3 for "ubi"
90 #define UBI_DFS_DIR_NAME "ubi%d"
184 * &struct ubi_ltree_entry object is inserted to the lock tree (@ubi->ltree).
257 * @ubi: reference to the UBI device description object
305 struct ubi_device *ubi; member in struct:ubi_volume
725 int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown);
745 int ubi_add_to_av(struct ubi_device *ubi, struc
927 ubi_zalloc_vid_hdr(const struct ubi_device *ubi, gfp_t gfp_flags) argument
947 ubi_free_vid_hdr(const struct ubi_device *ubi, struct ubi_vid_hdr *vid_hdr) argument
963 ubi_io_read_data(const struct ubi_device *ubi, void *buf, int pnum, int offset, int len) argument
975 ubi_io_write_data(struct ubi_device *ubi, const void *buf, int pnum, int offset, int len) argument
986 ubi_ro_mode(struct ubi_device *ubi) argument
1000 vol_id2idx(const struct ubi_device *ubi, int vol_id) argument
1013 idx2vol_id(const struct ubi_device *ubi, int idx) argument
[all...]

Completed in 80 milliseconds