Lines Matching full:av
362 * @av: layout volume attaching information
370 struct ubi_ainf_volume *av) argument
406 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) {
532 struct ubi_ainf_volume *av; local
588 av = ubi_find_av(ai, i);
589 if (!av || !av->leb_count) {
601 if (av->leb_count != av->used_ebs) {
607 av->vol_id, av->used_ebs - av->leb_count);
612 vol->used_ebs = av->used_ebs;
615 vol->used_bytes += av->last_data_size;
616 vol->last_eb_bytes = av->last_data_size;
659 * @av: volume attaching information
665 const struct ubi_ainf_volume *av) argument
669 if (av->highest_lnum >= vol->reserved_pebs) {
673 if (av->leb_count > vol->reserved_pebs) {
677 if (av->vol_type != vol->vol_type) {
681 if (av->used_ebs > vol->reserved_pebs) {
685 if (av->data_pad != vol->data_pad) {
693 ubi_dump_av(av);
712 struct ubi_ainf_volume *av; local
731 av = ubi_find_av(ai, i);
734 if (av)
735 ubi_remove_av(ai, av);
742 if (!av)
752 ubi_msg(ubi, "finish volume %d removal", av->vol_id);
753 ubi_remove_av(ai, av);
754 } else if (av) {
755 err = check_av(vol, av);
776 struct ubi_ainf_volume *av; local
791 av = ubi_find_av(ai, UBI_LAYOUT_VOLUME_ID);
792 if (!av) {
810 if (av->leb_count > UBI_LAYOUT_VOLUME_EBS) {
813 av->leb_count);
817 ubi->vtbl = process_lvol(ubi, ai, av);