/kernel/linux/linux-5.10/fs/ubifs/ |
D | log.c | 30 struct ubifs_bud *ubifs_search_bud(struct ubifs_info *c, int lnum) in ubifs_search_bud() argument 39 if (lnum < bud->lnum) in ubifs_search_bud() 41 else if (lnum > bud->lnum) in ubifs_search_bud() 59 struct ubifs_wbuf *ubifs_get_wbuf(struct ubifs_info *c, int lnum) in ubifs_get_wbuf() argument 72 if (lnum < bud->lnum) in ubifs_get_wbuf() 74 else if (lnum > bud->lnum) in ubifs_get_wbuf() 123 ubifs_assert(c, bud->lnum != b->lnum); in ubifs_add_bud() 124 if (bud->lnum < b->lnum) in ubifs_add_bud() 146 dbg_log("LEB %d:%d, jhead %s, bud_bytes %lld", bud->lnum, in ubifs_add_bud() 164 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) in ubifs_add_bud_to_log() argument [all …]
|
D | lpt_commit.c | 129 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab() argument 132 lnum, c->ltab[lnum - c->lpt_first].free, in upd_ltab() 133 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in upd_ltab() 134 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); in upd_ltab() 135 c->ltab[lnum - c->lpt_first].free = free; in upd_ltab() 136 c->ltab[lnum - c->lpt_first].dirty += dirty; in upd_ltab() 149 static int alloc_lpt_leb(struct ubifs_info *c, int *lnum) in alloc_lpt_leb() argument 153 n = *lnum - c->lpt_first + 1; in alloc_lpt_leb() 159 *lnum = i + c->lpt_first; in alloc_lpt_leb() 169 *lnum = i + c->lpt_first; in alloc_lpt_leb() [all …]
|
D | tnc_commit.c | 26 struct ubifs_znode *znode, int lnum, int offs, int len) in make_idx_node() argument 41 br->lnum = cpu_to_le32(zbr->lnum); in make_idx_node() 45 if (!zbr->lnum || !zbr->len) { in make_idx_node() 57 znode->lnum = lnum; in make_idx_node() 69 zbr->lnum = lnum; in make_idx_node() 74 c->zroot.lnum = lnum; in make_idx_node() 106 static int fill_gap(struct ubifs_info *c, int lnum, int gap_start, int gap_end, in fill_gap() argument 129 lnum, gap_pos, len); in fill_gap() 149 lnum, gap_start, gap_end, gap_end - gap_start, written, pad_len); in fill_gap() 163 static int find_old_idx(struct ubifs_info *c, int lnum, int offs) in find_old_idx() argument [all …]
|
D | find.c | 30 int lnum; member 109 data->lnum = lprops->lnum; in scan_for_dirty_cb() 167 data.lnum = -1; in scan_for_dirty() 174 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in scan_for_dirty() 175 c->lscan_lnum = data.lnum; in scan_for_dirty() 176 lprops = ubifs_lpt_lookup_dirty(c, data.lnum); in scan_for_dirty() 179 ubifs_assert(c, lprops->lnum == data.lnum); in scan_for_dirty() 322 lp->lnum, lp->free, lp->dirty, lp->flags); in ubifs_find_dirty_leb() 380 data->lnum = lprops->lnum; in scan_for_free_cb() 447 data.lnum = -1; in do_find_free_space() [all …]
|
D | scan.c | 57 int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_scan_a_node() argument 66 dbg_scan("hit empty space at LEB %d:%d", lnum, offs); in ubifs_scan_a_node() 77 dbg_ntype(ch->node_type), lnum, offs); in ubifs_scan_a_node() 79 if (ubifs_check_node(c, buf, len, lnum, offs, quiet, 1)) in ubifs_scan_a_node() 92 lnum, offs); in ubifs_scan_a_node() 107 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); in ubifs_scan_a_node() 125 struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum, in ubifs_start_scan() argument 131 dbg_scan("scan LEB %d:%d", lnum, offs); in ubifs_start_scan() 137 sleb->lnum = lnum; in ubifs_start_scan() 141 err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0); in ubifs_start_scan() [all …]
|
D | recovery.c | 97 static int get_master_node(const struct ubifs_info *c, int lnum, void **pbuf, in get_master_node() argument 108 err = ubifs_leb_read(c, lnum, sbuf, 0, c->leb_size, 0); in get_master_node() 132 ret = ubifs_scan_a_node(c, buf, len, lnum, offs, 1); in get_master_node() 138 ret = ubifs_scan_a_node(c, buf, len, lnum, offs, 1); in get_master_node() 152 dbg_rcvry("found a master node at %d:%d", lnum, offs); in get_master_node() 163 dbg_rcvry("found corruption at %d:%d", lnum, offs); in get_master_node() 195 int err = 0, lnum = UBIFS_MST_LNUM, sz = c->mst_node_alsz; in write_rcvrd_mst_node() local 207 err = ubifs_leb_change(c, lnum, mst, sz); in write_rcvrd_mst_node() 210 err = ubifs_leb_change(c, lnum + 1, mst, sz); in write_rcvrd_mst_node() 429 static void clean_buf(const struct ubifs_info *c, void **buf, int lnum, in clean_buf() argument [all …]
|
D | io.c | 87 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs, in ubifs_leb_read() argument 92 err = ubi_read(c->ubi, lnum, buf, offs, len); in ubifs_leb_read() 99 len, lnum, offs, err); in ubifs_leb_read() 105 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, in ubifs_leb_write() argument 114 err = ubi_leb_write(c->ubi, lnum, buf, offs, len); in ubifs_leb_write() 116 err = dbg_leb_write(c, lnum, buf, offs, len); in ubifs_leb_write() 119 len, lnum, offs, err); in ubifs_leb_write() 126 int ubifs_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len) in ubifs_leb_change() argument 134 err = ubi_leb_change(c->ubi, lnum, buf, len); in ubifs_leb_change() 136 err = dbg_leb_change(c, lnum, buf, len); in ubifs_leb_change() [all …]
|
D | gc.c | 72 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, in switch_gc_head() 260 err = ubifs_tnc_has_node(c, &snod->key, 0, sleb->lnum, in sort_nodes() 306 int err, new_lnum = wbuf->lnum, new_offs = wbuf->offs + wbuf->used; in move_node() 313 err = ubifs_tnc_replace(c, &snod->key, sleb->lnum, in move_node() 337 if (wbuf->lnum == -1) { in move_nodes() 433 ubifs_add_dirt(c, wbuf->lnum, ubifs_auth_node_sz(c)); in move_nodes() 496 int err = 0, lnum = lp->lnum; in ubifs_garbage_collect_leb() local 500 ubifs_assert(c, c->gc_lnum != lnum); in ubifs_garbage_collect_leb() 501 ubifs_assert(c, wbuf->lnum != lnum); in ubifs_garbage_collect_leb() 505 dbg_gc("LEB %d is free, return it", lp->lnum); in ubifs_garbage_collect_leb() [all …]
|
D | replay.c | 46 int lnum; member 95 lp = ubifs_lpt_lookup_dirty(c, b->bud->lnum); in set_bud_lprops() 122 dbg_mnt("bud LEB %d was GC'd (%d free, %d dirty)", b->bud->lnum, in set_bud_lprops() 124 dbg_gc("bud LEB %d was GC'd (%d free, %d dirty)", b->bud->lnum, in set_bud_lprops() 136 b->bud->lnum, lp->free, lp->dirty, b->free, in set_bud_lprops() 148 b->bud->lnum, c->leb_size - b->free); in set_bud_lprops() 248 r->lnum, r->offs, r->len, r->deletion, r->sqnum); in apply_replay_entry() 254 err = ubifs_tnc_add_nm(c, &r->key, r->lnum, r->offs, in apply_replay_entry() 279 err = ubifs_tnc_add(c, &r->key, r->lnum, r->offs, in apply_replay_entry() 383 static int insert_node(struct ubifs_info *c, int lnum, int offs, int len, in insert_node() argument [all …]
|
/kernel/linux/linux-4.19/fs/ubifs/ |
D | log.c | 42 struct ubifs_bud *ubifs_search_bud(struct ubifs_info *c, int lnum) in ubifs_search_bud() argument 51 if (lnum < bud->lnum) in ubifs_search_bud() 53 else if (lnum > bud->lnum) in ubifs_search_bud() 71 struct ubifs_wbuf *ubifs_get_wbuf(struct ubifs_info *c, int lnum) in ubifs_get_wbuf() argument 84 if (lnum < bud->lnum) in ubifs_get_wbuf() 86 else if (lnum > bud->lnum) in ubifs_get_wbuf() 135 ubifs_assert(c, bud->lnum != b->lnum); in ubifs_add_bud() 136 if (bud->lnum < b->lnum) in ubifs_add_bud() 158 dbg_log("LEB %d:%d, jhead %s, bud_bytes %lld", bud->lnum, in ubifs_add_bud() 176 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) in ubifs_add_bud_to_log() argument [all …]
|
D | lpt_commit.c | 141 static void upd_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in upd_ltab() argument 144 lnum, c->ltab[lnum - c->lpt_first].free, in upd_ltab() 145 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in upd_ltab() 146 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); in upd_ltab() 147 c->ltab[lnum - c->lpt_first].free = free; in upd_ltab() 148 c->ltab[lnum - c->lpt_first].dirty += dirty; in upd_ltab() 161 static int alloc_lpt_leb(struct ubifs_info *c, int *lnum) in alloc_lpt_leb() argument 165 n = *lnum - c->lpt_first + 1; in alloc_lpt_leb() 171 *lnum = i + c->lpt_first; in alloc_lpt_leb() 181 *lnum = i + c->lpt_first; in alloc_lpt_leb() [all …]
|
D | tnc_commit.c | 38 struct ubifs_znode *znode, int lnum, int offs, int len) in make_idx_node() argument 52 br->lnum = cpu_to_le32(zbr->lnum); in make_idx_node() 55 if (!zbr->lnum || !zbr->len) { in make_idx_node() 66 znode->lnum = lnum; in make_idx_node() 78 zbr->lnum = lnum; in make_idx_node() 82 c->zroot.lnum = lnum; in make_idx_node() 113 static int fill_gap(struct ubifs_info *c, int lnum, int gap_start, int gap_end, in fill_gap() argument 136 lnum, gap_pos, len); in fill_gap() 156 lnum, gap_start, gap_end, gap_end - gap_start, written, pad_len); in fill_gap() 170 static int find_old_idx(struct ubifs_info *c, int lnum, int offs) in find_old_idx() argument [all …]
|
D | find.c | 42 int lnum; member 121 data->lnum = lprops->lnum; in scan_for_dirty_cb() 179 data.lnum = -1; in scan_for_dirty() 186 ubifs_assert(c, data.lnum >= c->main_first && data.lnum < c->leb_cnt); in scan_for_dirty() 187 c->lscan_lnum = data.lnum; in scan_for_dirty() 188 lprops = ubifs_lpt_lookup_dirty(c, data.lnum); in scan_for_dirty() 191 ubifs_assert(c, lprops->lnum == data.lnum); in scan_for_dirty() 334 lp->lnum, lp->free, lp->dirty, lp->flags); in ubifs_find_dirty_leb() 392 data->lnum = lprops->lnum; in scan_for_free_cb() 459 data.lnum = -1; in do_find_free_space() [all …]
|
D | scan.c | 69 int ubifs_scan_a_node(const struct ubifs_info *c, void *buf, int len, int lnum, in ubifs_scan_a_node() argument 78 dbg_scan("hit empty space at LEB %d:%d", lnum, offs); in ubifs_scan_a_node() 89 dbg_ntype(ch->node_type), lnum, offs); in ubifs_scan_a_node() 91 if (ubifs_check_node(c, buf, lnum, offs, quiet, 1)) in ubifs_scan_a_node() 104 lnum, offs); in ubifs_scan_a_node() 119 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); in ubifs_scan_a_node() 137 struct ubifs_scan_leb *ubifs_start_scan(const struct ubifs_info *c, int lnum, in ubifs_start_scan() argument 143 dbg_scan("scan LEB %d:%d", lnum, offs); in ubifs_start_scan() 149 sleb->lnum = lnum; in ubifs_start_scan() 153 err = ubifs_leb_read(c, lnum, sbuf + offs, offs, c->leb_size - offs, 0); in ubifs_start_scan() [all …]
|
D | recovery.c | 109 static int get_master_node(const struct ubifs_info *c, int lnum, void **pbuf, in get_master_node() argument 120 err = ubifs_leb_read(c, lnum, sbuf, 0, c->leb_size, 0); in get_master_node() 144 ret = ubifs_scan_a_node(c, buf, len, lnum, offs, 1); in get_master_node() 150 ret = ubifs_scan_a_node(c, buf, len, lnum, offs, 1); in get_master_node() 164 dbg_rcvry("found a master node at %d:%d", lnum, offs); in get_master_node() 175 dbg_rcvry("found corruption at %d:%d", lnum, offs); in get_master_node() 207 int err = 0, lnum = UBIFS_MST_LNUM, sz = c->mst_node_alsz; in write_rcvrd_mst_node() local 216 err = ubifs_leb_change(c, lnum, mst, sz); in write_rcvrd_mst_node() 219 err = ubifs_leb_change(c, lnum + 1, mst, sz); in write_rcvrd_mst_node() 440 static void clean_buf(const struct ubifs_info *c, void **buf, int lnum, in clean_buf() argument [all …]
|
D | io.c | 99 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs, in ubifs_leb_read() argument 104 err = ubi_read(c->ubi, lnum, buf, offs, len); in ubifs_leb_read() 111 len, lnum, offs, err); in ubifs_leb_read() 117 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, in ubifs_leb_write() argument 126 err = ubi_leb_write(c->ubi, lnum, buf, offs, len); in ubifs_leb_write() 128 err = dbg_leb_write(c, lnum, buf, offs, len); in ubifs_leb_write() 131 len, lnum, offs, err); in ubifs_leb_write() 138 int ubifs_leb_change(struct ubifs_info *c, int lnum, const void *buf, int len) in ubifs_leb_change() argument 146 err = ubi_leb_change(c->ubi, lnum, buf, len); in ubifs_leb_change() 148 err = dbg_leb_change(c, lnum, buf, len); in ubifs_leb_change() [all …]
|
D | replay.c | 56 int lnum; member 104 lp = ubifs_lpt_lookup_dirty(c, b->bud->lnum); in set_bud_lprops() 131 dbg_mnt("bud LEB %d was GC'd (%d free, %d dirty)", b->bud->lnum, in set_bud_lprops() 133 dbg_gc("bud LEB %d was GC'd (%d free, %d dirty)", b->bud->lnum, in set_bud_lprops() 145 b->bud->lnum, lp->free, lp->dirty, b->free, in set_bud_lprops() 157 b->bud->lnum, c->leb_size - b->free); in set_bud_lprops() 256 r->lnum, r->offs, r->len, r->deletion, r->sqnum); in apply_replay_entry() 262 err = ubifs_tnc_add_nm(c, &r->key, r->lnum, r->offs, in apply_replay_entry() 287 err = ubifs_tnc_add(c, &r->key, r->lnum, r->offs, in apply_replay_entry() 391 static int insert_node(struct ubifs_info *c, int lnum, int offs, int len, in insert_node() argument [all …]
|
D | gc.c | 88 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, in switch_gc_head() 274 err = ubifs_tnc_has_node(c, &snod->key, 0, sleb->lnum, in sort_nodes() 320 int err, new_lnum = wbuf->lnum, new_offs = wbuf->offs + wbuf->used; in move_node() 327 err = ubifs_tnc_replace(c, &snod->key, sleb->lnum, in move_node() 351 if (wbuf->lnum == -1) { in move_nodes() 470 int err = 0, lnum = lp->lnum; in ubifs_garbage_collect_leb() local 474 ubifs_assert(c, c->gc_lnum != lnum); in ubifs_garbage_collect_leb() 475 ubifs_assert(c, wbuf->lnum != lnum); in ubifs_garbage_collect_leb() 479 dbg_gc("LEB %d is free, return it", lp->lnum); in ubifs_garbage_collect_leb() 491 err = ubifs_change_one_lp(c, lp->lnum, c->leb_size, in ubifs_garbage_collect_leb() [all …]
|
D | lpt.c | 396 int lnum = nnode->nbranch[i].lnum; in ubifs_pack_nnode() local 398 if (lnum == 0) in ubifs_pack_nnode() 399 lnum = c->lpt_last + 1; in ubifs_pack_nnode() 400 pack_bits(c, &addr, &pos, lnum - c->lpt_first, c->lpt_lnum_bits); in ubifs_pack_nnode() 464 void ubifs_add_lpt_dirt(struct ubifs_info *c, int lnum, int dirty) in ubifs_add_lpt_dirt() argument 466 if (!dirty || !lnum) in ubifs_add_lpt_dirt() 469 lnum, dirty, c->ltab[lnum - c->lpt_first].dirty); in ubifs_add_lpt_dirt() 470 ubifs_assert(c, lnum >= c->lpt_first && lnum <= c->lpt_last); in ubifs_add_lpt_dirt() 471 c->ltab[lnum - c->lpt_first].dirty += dirty; in ubifs_add_lpt_dirt() 481 static void set_ltab(struct ubifs_info *c, int lnum, int free, int dirty) in set_ltab() argument [all …]
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | eba.c | 107 void ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, in ubi_eba_get_ldesc() argument 110 ldesc->lnum = lnum; in ubi_eba_get_ldesc() 111 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc() 212 int lnum) in ltree_lookup() argument 227 if (lnum < le->lnum) in ltree_lookup() 229 else if (lnum > le->lnum) in ltree_lookup() 251 int vol_id, int lnum) in ltree_add_entry() argument 262 le->lnum = lnum; in ltree_add_entry() 265 le1 = ltree_lookup(ubi, vol_id, lnum); in ltree_add_entry() 293 ubi_assert(lnum != le1->lnum); in ltree_add_entry() [all …]
|
D | kapi.c | 368 static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum, in leb_read_sanity_check() argument 375 if (vol_id < 0 || vol_id >= ubi->vtbl_slots || lnum < 0 || in leb_read_sanity_check() 376 lnum >= vol->used_ebs || offset < 0 || len < 0 || in leb_read_sanity_check() 384 if (lnum == vol->used_ebs - 1 && in leb_read_sanity_check() 422 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, in ubi_leb_read() argument 429 dbg_gen("read %d bytes from LEB %d:%d:%d", len, vol_id, lnum, offset); in ubi_leb_read() 431 err = leb_read_sanity_check(desc, lnum, offset, len); in ubi_leb_read() 438 err = ubi_eba_read_leb(ubi, vol, lnum, buf, offset, len, check); in ubi_leb_read() 462 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, in ubi_leb_read_sg() argument 469 dbg_gen("read %d bytes from LEB %d:%d:%d", len, vol_id, lnum, offset); in ubi_leb_read_sg() [all …]
|
/kernel/linux/linux-4.19/drivers/mtd/ubi/ |
D | eba.c | 120 void ubi_eba_get_ldesc(struct ubi_volume *vol, int lnum, in ubi_eba_get_ldesc() argument 123 ldesc->lnum = lnum; in ubi_eba_get_ldesc() 124 ldesc->pnum = vol->eba_tbl->entries[lnum].pnum; in ubi_eba_get_ldesc() 225 int lnum) in ltree_lookup() argument 240 if (lnum < le->lnum) in ltree_lookup() 242 else if (lnum > le->lnum) in ltree_lookup() 264 int vol_id, int lnum) in ltree_add_entry() argument 275 le->lnum = lnum; in ltree_add_entry() 278 le1 = ltree_lookup(ubi, vol_id, lnum); in ltree_add_entry() 306 ubi_assert(lnum != le1->lnum); in ltree_add_entry() [all …]
|
D | kapi.c | 381 static int leb_read_sanity_check(struct ubi_volume_desc *desc, int lnum, in leb_read_sanity_check() argument 388 if (vol_id < 0 || vol_id >= ubi->vtbl_slots || lnum < 0 || in leb_read_sanity_check() 389 lnum >= vol->used_ebs || offset < 0 || len < 0 || in leb_read_sanity_check() 397 if (lnum == vol->used_ebs - 1 && in leb_read_sanity_check() 435 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, in ubi_leb_read() argument 442 dbg_gen("read %d bytes from LEB %d:%d:%d", len, vol_id, lnum, offset); in ubi_leb_read() 444 err = leb_read_sanity_check(desc, lnum, offset, len); in ubi_leb_read() 451 err = ubi_eba_read_leb(ubi, vol, lnum, buf, offset, len, check); in ubi_leb_read() 475 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, in ubi_leb_read_sg() argument 482 dbg_gen("read %d bytes from LEB %d:%d:%d", len, vol_id, lnum, offset); in ubi_leb_read_sg() [all …]
|
/kernel/linux/linux-4.19/include/linux/mtd/ |
D | ubi.h | 250 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, 252 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, 254 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, 256 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, 258 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum); 259 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum); 260 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum); 261 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum); 263 int ubi_flush(int ubi_num, int vol_id, int lnum); 269 static inline int ubi_read(struct ubi_volume_desc *desc, int lnum, char *buf, in ubi_read() argument [all …]
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
D | ubi.h | 237 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, 239 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, 241 int ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, 243 int ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, 245 int ubi_leb_erase(struct ubi_volume_desc *desc, int lnum); 246 int ubi_leb_unmap(struct ubi_volume_desc *desc, int lnum); 247 int ubi_leb_map(struct ubi_volume_desc *desc, int lnum); 248 int ubi_is_mapped(struct ubi_volume_desc *desc, int lnum); 250 int ubi_flush(int ubi_num, int vol_id, int lnum); 256 static inline int ubi_read(struct ubi_volume_desc *desc, int lnum, char *buf, in ubi_read() argument [all …]
|