Home
last modified time | relevance | path

Searched refs:volumes (Results 1 – 12 of 12) sorted by relevance

/drivers/mtd/ubi/
Dvmt.c79 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show()
182 if (!ubi->volumes[i]) { in ubi_create_volume()
201 if (ubi->volumes[vol_id]) { in ubi_create_volume()
208 if (ubi->volumes[i] && in ubi_create_volume()
209 ubi->volumes[i]->name_len == req->name_len && in ubi_create_volume()
210 !strcmp(ubi->volumes[i]->name, req->name)) { in ubi_create_volume()
276 ubi->volumes[vol_id] = vol; in ubi_create_volume()
321 ubi->volumes[vol_id] = NULL; in ubi_create_volume()
354 ubi_assert(vol == ubi->volumes[vol_id]); in ubi_remove_volume()
368 ubi->volumes[vol_id] = NULL; in ubi_remove_volume()
[all …]
Dvtbl.c81 layout_vol = ubi->volumes[vol_id2idx(ubi, UBI_LAYOUT_VOLUME_ID)]; in ubi_update_layout_vol()
575 ubi_assert(!ubi->volumes[i]); in init_volumes()
576 ubi->volumes[i] = vol; in init_volumes()
653 ubi_assert(!ubi->volumes[i]); in init_volumes()
654 ubi->volumes[vol_id2idx(ubi, vol->vol_id)] = vol; in init_volumes()
752 vol = ubi->volumes[i]; in check_attaching_info()
865 ubi_fastmap_destroy_checkmap(ubi->volumes[i]); in ubi_read_volume_table()
866 kfree(ubi->volumes[i]); in ubi_read_volume_table()
867 ubi->volumes[i] = NULL; in ubi_read_volume_table()
DKconfig6 logical volumes on top of MTD devices, hides some complexities of
84 devices on top of UBI volumes: for each UBI volumes an MTD device is
91 bool "Read-only block devices on top of UBI volumes"
96 devices will be layered on top of UBI volumes, which means that the
99 volumes in read-only mode (e.g., ext4), but it is probably most
Dbuild.c213 if (!ubi->volumes[i]) in ubi_notify_all()
216 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all()
434 if (ubi->volumes[i]) in kill_volumes()
435 ubi_free_volume(ubi, ubi->volumes[i]); in kill_volumes()
483 if (ubi->volumes[i]) { in uif_init()
484 err = ubi_add_volume(ubi, ubi->volumes[i]); in uif_init()
528 ubi_eba_replace_table(ubi->volumes[i], NULL); in ubi_free_internal_volumes()
529 ubi_fastmap_destroy_checkmap(ubi->volumes[i]); in ubi_free_internal_volumes()
530 kfree(ubi->volumes[i]); in ubi_free_internal_volumes()
748 struct ubi_volume *vol = ubi->volumes[vol_id]; in autoresize()
Dattach.c121 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; in find_or_add_av()
157 rb_insert_color(&av->rb, &ai->volumes); in find_or_add_av()
766 rb_erase(&av->rb, &ai->volumes); in ubi_remove_av()
1351 rb = ai->volumes.rb_node; in destroy_ai()
1427 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) { in scan_all()
1475 ai->volumes = RB_ROOT; in alloc_ai()
1686 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) { in self_check_ai()
1800 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) { in self_check_ai()
1888 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) in self_check_ai()
Deba.c903 struct ubi_volume *vol = ubi->volumes[idx]; in recover_peb()
1328 vol = ubi->volumes[idx]; in ubi_eba_copy_leb()
1533 vol = ubi->volumes[i]; in self_check_eba()
1584 if (!ubi->volumes[i]) in self_check_eba()
1624 vol = ubi->volumes[i]; in ubi_eba_init()
1689 if (!ubi->volumes[i]) in ubi_eba_init()
1691 ubi_eba_replace_table(ubi->volumes[i], NULL); in ubi_eba_init()
Dmisc.c65 struct ubi_volume *vol = ubi->volumes[vol_id]; in ubi_check_volume()
Dkapi.c166 vol = ubi->volumes[vol_id]; in ubi_open_volume()
271 struct ubi_volume *vol = ubi->volumes[i]; in ubi_open_volume_nm()
Dubi.h572 struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT]; member
767 struct rb_root volumes; member
Dfastmap.c217 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; in assign_aeb_to_av()
386 ubi_rb_for_each_entry(node, av, &ai->volumes, rb) { in unmap_peb()
540 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) in count_fastmap_pebs()
1293 vol = ubi->volumes[i]; in ubi_write_fastmap()
Dwl.c1635 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) {
/drivers/md/
DKconfig344 Allow volume managers to mirror logical volumes, also