Searched refs:aeb (Results 1 - 8 of 8) sorted by relevance

/u-boot/drivers/mtd/ubi/
H A Dattach.c122 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
324 ubi_compare_lebs(struct ubi_device *ubi, const struct ubi_ainf_peb *aeb, int pnum, const struct ubi_vid_hdr *vid_hdr) argument
455 struct ubi_ainf_peb *aeb; local
634 struct ubi_ainf_peb *aeb; local
713 struct ubi_ainf_peb *aeb, *tmp_aeb; local
1070 struct ubi_ainf_peb *aeb; local
1139 struct ubi_ainf_peb *aeb; local
1169 struct ubi_ainf_peb *aeb, *aeb_tmp; local
1233 struct ubi_ainf_peb *aeb; local
1509 struct ubi_ainf_peb *aeb, *last_aeb; local
[all...]
H A Dfastmap.c150 struct ubi_ainf_peb *aeb; local
152 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL);
153 if (!aeb)
156 aeb->pnum = pnum;
157 aeb->ec = ec;
158 aeb->lnum = -1;
159 aeb->scrub = scrub;
160 aeb->copy_flag = aeb->sqnum = 0;
162 ai->ec_sum += aeb
237 assign_aeb_to_av(struct ubi_attach_info *ai, struct ubi_ainf_peb *aeb, struct ubi_ainf_volume *av) argument
282 struct ubi_ainf_peb *aeb, *victim; local
428 struct ubi_ainf_peb *aeb; local
582 struct ubi_ainf_peb *aeb; local
615 struct ubi_ainf_peb *aeb, *tmp_aeb, *_tmp_aeb; local
[all...]
H A Dvtbl.c378 struct ubi_ainf_peb *aeb; local
410 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) {
411 leb[aeb->lnum] = vzalloc(ubi->vtbl_size);
412 if (!leb[aeb->lnum]) {
417 err = ubi_io_read_data(ubi, leb[aeb->lnum], aeb->pnum, 0,
425 * aeb->scrub). If the data is not OK, the contents of
427 * aeb->scrub will be cleared in
430 aeb->scrub = 1;
H A Deba.c1300 struct ubi_ainf_peb *aeb; local
1341 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb)
1342 scan_eba[i][aeb->lnum] = aeb->pnum;
1348 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb)
1349 fm_eba[i][aeb->lnum] = aeb->pnum;
1392 struct ubi_ainf_peb *aeb; local
1425 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) {
1426 if (aeb
[all...]
H A Dwl.c1534 struct ubi_ainf_peb *aeb, *tmp; local
1556 list_for_each_entry_safe(aeb, tmp, &ai->erase, u.list) {
1563 e->pnum = aeb->pnum;
1564 e->ec = aeb->ec;
1566 if (schedule_erase(ubi, e, aeb->vol_id, aeb->lnum, 0)) {
1574 list_for_each_entry(aeb, &ai->free, u.list) {
1581 e->pnum = aeb->pnum;
1582 e->ec = aeb->ec;
1594 ubi_rb_for_each_entry(rb2, aeb,
[all...]
H A Ddebug.c179 * @aeb: the object to dump
182 void ubi_dump_aeb(const struct ubi_ainf_peb *aeb, int type) argument
185 pr_err("\tec %d\n", aeb->ec);
186 pr_err("\tpnum %d\n", aeb->pnum);
188 pr_err("\tlnum %d\n", aeb->lnum);
189 pr_err("\tscrub %d\n", aeb->scrub);
190 pr_err("\tsqnum %llu\n", aeb->sqnum);
H A Ddebug.h56 void ubi_dump_aeb(const struct ubi_ainf_peb *aeb, int type);
H A Dubi.h923 int ubi_compare_lebs(struct ubi_device *ubi, const struct ubi_ainf_peb *aeb,
1010 * @aeb: attaching eraseblock information
1014 struct ubi_ainf_peb *aeb,
1017 rb_erase(&aeb->u.rb, &av->root);
1018 list_add_tail(&aeb->u.list, list);
1013 ubi_move_aeb_to_list(struct ubi_ainf_volume *av, struct ubi_ainf_peb *aeb, struct list_head *list) argument

Completed in 132 milliseconds