Home
last modified time | relevance | path

Searched refs:aeb (Results 1 – 13 of 13) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dattach.c117 struct ubi_ainf_peb *aeb; in add_to_list() local
129 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in add_to_list()
130 if (!aeb) in add_to_list()
133 aeb->pnum = pnum; in add_to_list()
134 aeb->vol_id = vol_id; in add_to_list()
135 aeb->lnum = lnum; in add_to_list()
136 aeb->ec = ec; in add_to_list()
138 list_add(&aeb->u.list, list); in add_to_list()
140 list_add_tail(&aeb->u.list, list); in add_to_list()
157 struct ubi_ainf_peb *aeb; in add_corrupted() local
[all …]
H A Dfastmap.c145 struct ubi_ainf_peb *aeb; in add_aeb() local
147 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in add_aeb()
148 if (!aeb) in add_aeb()
151 aeb->pnum = pnum; in add_aeb()
152 aeb->ec = ec; in add_aeb()
153 aeb->lnum = -1; in add_aeb()
154 aeb->scrub = scrub; in add_aeb()
155 aeb->copy_flag = aeb->sqnum = 0; in add_aeb()
157 ai->ec_sum += aeb->ec; in add_aeb()
160 if (ai->max_ec < aeb->ec) in add_aeb()
[all …]
H A Deba.c1297 struct ubi_ainf_peb *aeb; in self_check_eba() local
1338 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) in self_check_eba()
1339 scan_eba[i][aeb->lnum] = aeb->pnum; in self_check_eba()
1345 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) in self_check_eba()
1346 fm_eba[i][aeb->lnum] = aeb->pnum; in self_check_eba()
1389 struct ubi_ainf_peb *aeb; in ubi_eba_init() local
1422 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) { in ubi_eba_init()
1423 if (aeb->lnum >= vol->reserved_pebs) in ubi_eba_init()
1428 ubi_move_aeb_to_list(av, aeb, &ai->erase); in ubi_eba_init()
1430 vol->eba_tbl[aeb->lnum] = aeb->pnum; in ubi_eba_init()
H A Ddebug.c178 void ubi_dump_aeb(const struct ubi_ainf_peb *aeb, int type) in ubi_dump_aeb() argument
181 pr_err("\tec %d\n", aeb->ec); in ubi_dump_aeb()
182 pr_err("\tpnum %d\n", aeb->pnum); in ubi_dump_aeb()
184 pr_err("\tlnum %d\n", aeb->lnum); in ubi_dump_aeb()
185 pr_err("\tscrub %d\n", aeb->scrub); in ubi_dump_aeb()
186 pr_err("\tsqnum %llu\n", aeb->sqnum); in ubi_dump_aeb()
H A Dvtbl.c374 struct ubi_ainf_peb *aeb; local
406 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) {
407 leb[aeb->lnum] = vzalloc(ubi->vtbl_size);
408 if (!leb[aeb->lnum]) {
413 err = ubi_io_read_data(ubi, leb[aeb->lnum], aeb->pnum, 0,
426 aeb->scrub = 1;
H A Dwl.c1532 struct ubi_ainf_peb *aeb, *tmp; local
1554 list_for_each_entry_safe(aeb, tmp, &ai->erase, u.list) {
1561 e->pnum = aeb->pnum;
1562 e->ec = aeb->ec;
1564 if (schedule_erase(ubi, e, aeb->vol_id, aeb->lnum, 0)) {
1572 list_for_each_entry(aeb, &ai->free, u.list) {
1579 e->pnum = aeb->pnum;
1580 e->ec = aeb->ec;
1592 ubi_rb_for_each_entry(rb2, aeb, &av->root, u.rb) {
1599 e->pnum = aeb->pnum;
[all …]
H A Dubi.h918 int ubi_compare_lebs(struct ubi_device *ubi, const struct ubi_ainf_peb *aeb,
1009 struct ubi_ainf_peb *aeb, in ubi_move_aeb_to_list() argument
1012 rb_erase(&aeb->u.rb, &av->root); in ubi_move_aeb_to_list()
1013 list_add_tail(&aeb->u.list, list); in ubi_move_aeb_to_list()
H A Ddebug.h50 void ubi_dump_aeb(const struct ubi_ainf_peb *aeb, int type);
/openbmc/qemu/tests/unit/
H A Dtest-qobject-input-visitor.c818 AltEnumBool *aeb; in test_visitor_in_alternate_number() local
827 visit_type_AltEnumBool(v, NULL, &aeb, &err); in test_visitor_in_alternate_number()
829 qapi_free_AltEnumBool(aeb); in test_visitor_in_alternate_number()
858 visit_type_AltEnumBool(v, NULL, &aeb, &err); in test_visitor_in_alternate_number()
860 qapi_free_AltEnumBool(aeb); in test_visitor_in_alternate_number()
H A Dtest-keyval.c699 AltEnumBool *aeb; in test_keyval_visit_alternate() local
716 visit_type_AltEnumBool(v, "c", &aeb, &err); in test_keyval_visit_alternate()
/openbmc/qemu/target/s390x/tcg/
H A Dfpu_helper.c218 uint64_t HELPER(aeb)(CPUS390XState *env, uint64_t f1, uint64_t f2) in HELPER() argument
H A Dinsn-data.h.inc35 F(0xb30a, AEBR, RRE, Z, e1, e2, new, e1, aeb, f32, IF_BFP)
38 F(0xed0a, AEB, RXE, Z, e1, m2_32u, new, e1, aeb, f32, IF_BFP)
/openbmc/qemu/target/s390x/
H A Dhelper.h40 DEF_HELPER_FLAGS_3(aeb, TCG_CALL_NO_WG, i64, env, i64, i64)