Lines Matching full:av
363 * @av: layout volume attaching information
371 struct ubi_ainf_volume *av) argument
407 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) {
533 struct ubi_ainf_volume *av; local
589 av = ubi_find_av(ai, i);
590 if (!av || !av->leb_count) {
602 if (av->leb_count != av->used_ebs) {
608 av->vol_id, av->used_ebs - av->leb_count);
613 vol->used_ebs = av->used_ebs;
616 vol->used_bytes += av->last_data_size;
617 vol->last_eb_bytes = av->last_data_size;
660 * @av: volume attaching information
666 const struct ubi_ainf_volume *av) argument
670 if (av->highest_lnum >= vol->reserved_pebs) {
674 if (av->leb_count > vol->reserved_pebs) {
678 if (av->vol_type != vol->vol_type) {
682 if (av->used_ebs > vol->reserved_pebs) {
686 if (av->data_pad != vol->data_pad) {
694 ubi_dump_av(av);
713 struct ubi_ainf_volume *av; local
732 av = ubi_find_av(ai, i);
735 if (av)
736 ubi_remove_av(ai, av);
743 if (!av)
753 ubi_msg(ubi, "finish volume %d removal", av->vol_id);
754 ubi_remove_av(ai, av);
755 } else if (av) {
756 err = check_av(vol, av);
777 struct ubi_ainf_volume *av; local
792 av = ubi_find_av(ai, UBI_LAYOUT_VOLUME_ID);
793 if (!av) {
811 if (av->leb_count > UBI_LAYOUT_VOLUME_EBS) {
814 av->leb_count);
818 ubi->vtbl = process_lvol(ubi, ai, av);