Searched defs:aeb (Results 1 - 7 of 7) sorted by relevance
/drivers/mtd/ubi/ |
H A D | debug.c | 185 * @aeb: the object to dump 188 void ubi_dump_aeb(const struct ubi_ainf_peb *aeb, int type) argument 191 pr_err("\tec %d\n", aeb->ec); 192 pr_err("\tpnum %d\n", aeb->pnum); 194 pr_err("\tlnum %d\n", aeb->lnum); 195 pr_err("\tscrub %d\n", aeb->scrub); 196 pr_err("\tsqnum %llu\n", aeb->sqnum);
|
H A D | eba.c | 1232 struct ubi_ainf_peb *aeb; local 1273 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) 1274 scan_eba[i][aeb->lnum] = aeb->pnum; 1280 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) 1281 fm_eba[i][aeb->lnum] = aeb->pnum; 1324 struct ubi_ainf_peb *aeb; local 1357 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) { 1358 if (aeb [all...] |
H A D | vtbl.c | 379 struct ubi_ainf_peb *aeb; local 411 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) { 412 leb[aeb->lnum] = vzalloc(ubi->vtbl_size); 413 if (!leb[aeb->lnum]) { 418 err = ubi_io_read_data(ubi, leb[aeb->lnum], aeb->pnum, 0, 426 * aeb->scrub). If the data is not OK, the contents of 428 * aeb->scrub will be cleared in 431 aeb->scrub = 1;
|
H A D | attach.c | 122 struct ubi_ainf_peb *aeb; local 134 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); 135 if (!aeb) 138 aeb->pnum = pnum; 139 aeb->vol_id = vol_id; 140 aeb->lnum = lnum; 141 aeb->ec = ec; 143 list_add(&aeb->u.list, list); 145 list_add_tail(&aeb->u.list, list); 162 struct ubi_ainf_peb *aeb; local 322 ubi_compare_lebs(struct ubi_device *ubi, const struct ubi_ainf_peb *aeb, int pnum, const struct ubi_vid_hdr *vid_hdr) argument 453 struct ubi_ainf_peb *aeb; local 632 struct ubi_ainf_peb *aeb; local 710 struct ubi_ainf_peb *aeb, *tmp_aeb; local 1066 struct ubi_ainf_peb *aeb; local 1135 struct ubi_ainf_peb *aeb; local 1165 struct ubi_ainf_peb *aeb, *aeb_tmp; local 1230 struct ubi_ainf_peb *aeb; local 1501 struct ubi_ainf_peb *aeb, *last_aeb; local [all...] |
H A D | fastmap.c | 80 struct ubi_ainf_peb *aeb; local 82 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); 83 if (!aeb) 86 aeb->pnum = pnum; 87 aeb->ec = ec; 88 aeb->lnum = -1; 89 aeb->scrub = scrub; 90 aeb->copy_flag = aeb->sqnum = 0; 92 ai->ec_sum += aeb 164 assign_aeb_to_av(struct ubi_attach_info *ai, struct ubi_ainf_peb *aeb, struct ubi_ainf_volume *av) argument 209 struct ubi_ainf_peb *aeb, *victim; local 355 struct ubi_ainf_peb *aeb; local 515 struct ubi_ainf_peb *aeb; local 548 struct ubi_ainf_peb *aeb, *tmp_aeb, *_tmp_aeb; local [all...] |
H A D | wl.c | 1879 struct ubi_ainf_peb *aeb, *tmp; local 1903 list_for_each_entry_safe(aeb, tmp, &ai->erase, u.list) { 1910 e->pnum = aeb->pnum; 1911 e->ec = aeb->ec; 1914 if (schedule_erase(ubi, e, aeb->vol_id, aeb->lnum, 0)) { 1923 list_for_each_entry(aeb, &ai->free, u.list) { 1930 e->pnum = aeb->pnum; 1931 e->ec = aeb->ec; 1944 ubi_rb_for_each_entry(rb2, aeb, [all...] |
H A D | ubi.h | 859 int ubi_compare_lebs(struct ubi_device *ubi, const struct ubi_ainf_peb *aeb, 906 * @aeb: attaching eraseblock information 910 struct ubi_ainf_peb *aeb, 913 rb_erase(&aeb->u.rb, &av->root); 914 list_add_tail(&aeb->u.list, list); 909 ubi_move_aeb_to_list(struct ubi_ainf_volume *av, struct ubi_ainf_peb *aeb, struct list_head *list) argument
|
Completed in 182 milliseconds