Searched refs:volumes (Results 1 - 13 of 13) sorted by relevance
/u-boot/common/spl/ |
H A D | spl_ubi.c | 20 struct ubispl_load volumes[2]; local 50 volumes[0].vol_id = CONFIG_SPL_UBI_LOAD_KERNEL_ID; 51 volumes[0].load_addr = (void *)CONFIG_SYS_LOAD_ADDR; 52 volumes[1].vol_id = CONFIG_SPL_UBI_LOAD_ARGS_ID; 53 volumes[1].load_addr = (void *)CONFIG_SPL_PAYLOAD_ARGS_ADDR; 55 ret = ubispl_load_volumes(&info, volumes, 2); 57 header = (struct legacy_img_hdr *)volumes[0].load_addr; 67 volumes[0].vol_id = -1; 68 strncpy(volumes[0].name, 72 volumes[ [all...] |
/u-boot/fs/btrfs/ |
H A D | Makefile | 7 common/rbtree-utils.o extent-cache.o volumes.o root-tree.o
|
/u-boot/cmd/ |
H A D | ubi.c | 47 if (!ubi->volumes[i]) 49 ubi_dump_vol_info(ubi->volumes[i]); 66 ubi_msg("max. allowed volumes: %d", ubi->vtbl_slots); 68 ubi_msg("number of internal volumes: %d", UBI_INT_VOL_COUNT); 69 ubi_msg("number of user volumes: %d", 96 if (!ubi->volumes[i]) 98 if (ubi->volumes[i]->vol_id >= UBI_INTERNAL_VOL_START) 101 ubi->volumes[i]->vol_id, 102 ubi->volumes[i]->name); 114 if (!ubi->volumes[ [all...] |
/u-boot/drivers/mtd/ubi/ |
H A D | vtbl.c | 30 * information about how much data static volumes contain. 70 * ubi_update_layout_vol - helper for updatting layout volumes on flash 78 layout_vol = ubi->volumes[vol_id2idx(ubi, UBI_LAYOUT_VOLUME_ID)]; 123 * ubi_vtbl_rename_volumes - rename UBI volumes in the volume table. 127 * This function re-names multiple volumes specified in @req in the volume 272 ubi_err(ubi, "volumes %d and %d have the same name \"%s\"", 522 * init_volumes - initialize volume information for existing volumes. 527 * This function allocates volume description objects for existing volumes. 576 ubi_assert(!ubi->volumes[i]); 577 ubi->volumes[ [all...] |
H A D | misc.c | 49 * failure. Dynamic volumes are not checked and zero is returned immediately. 55 struct ubi_volume *vol = ubi->volumes[vol_id];
|
H A D | vmt.c | 61 * out that the volume was removed from the @ubi->volumes array. 75 if (!ubi->volumes[vol->vol_id]) { 175 if (!ubi->volumes[i]) { 194 if (ubi->volumes[vol_id]) { 201 if (ubi->volumes[i] && 202 ubi->volumes[i]->name_len == req->name_len && 203 !strcmp(ubi->volumes[i]->name, req->name)) { 314 ubi->volumes[vol_id] = vol; 371 ubi_assert(vol == ubi->volumes[vol_id]); 385 ubi->volumes[vol_i [all...] |
H A D | build.c | 201 * ubi_notify_all - send a notification to all volumes. 206 * This function walks all volumes of UBI device @ubi and sends the @ntype 225 * change @ubi->volumes, we do not have to lock 228 if (!ubi->volumes[i]) 231 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); 247 * ubi_enumerate_volumes - send "add" notification for all existing volumes. 250 * This function walks all UBI devices and volumes and sends the 477 * kill_volumes - destroy all user volumes. 485 if (ubi->volumes[i]) 486 ubi_free_volume(ubi, ubi->volumes[ [all...] |
H A D | attach.c | 15 * object. Information about volumes is represented by &struct ubi_ainf_volume 16 * objects which are kept in volume RB-tree with root at the @volumes field. 263 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; 298 rb_insert_color(&av->rb, &ai->volumes); 609 struct rb_node *p = ai->volumes.rb_node; 644 rb_erase(&av->rb, &ai->volumes); 1191 rb = ai->volumes.rb_node; 1268 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) { 1315 ai->volumes = RB_ROOT; 1518 ubi_rb_for_each_entry(rb1, av, &ai->volumes, r [all...] |
H A D | eba.c | 72 * volumes have no compatibility flags, so %0 is returned. 359 * bytes. The @check flag only makes sense for static volumes and forces 382 * with 0xFF bytes. The exception is static volumes for which 556 struct ubi_volume *vol = ubi->volumes[idx]; 787 * volumes. This function returns zero in case of success and a negative error 1083 vol = ubi->volumes[idx]; 1316 vol = ubi->volumes[i]; 1367 if (!ubi->volumes[i]) 1405 vol = ubi->volumes[i]; 1468 if (!ubi->volumes[ [all...] |
H A D | fastmap.c | 193 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; 224 rb_insert_color(&av->rb, &ai->volumes); 242 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; 378 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; 430 for (node = rb_first(&ai->volumes); node; node = rb_next(node)) { 593 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) 744 /* Iterate over all volumes and read their EBA table */ 1264 vol = ubi->volumes[i];
|
H A D | kapi.c | 161 vol = ubi->volumes[vol_id]; 264 /* Walk all volumes of this UBI device */ 266 struct ubi_volume *vol = ubi->volumes[i]; 412 * stores the data at @buf. When reading from static volumes, @check specifies 416 * read speed. The @check argument is ignored for dynamic volumes. 422 * o for both static and dynamic volumes if MTD driver has detected a data 424 * o for static volumes in case of data CRC mismatch. 815 * already existing volumes 839 * We are going to walk all UBI devices and all volumes, and 840 * notify the user about existing volumes b [all...] |
H A D | ubi.h | 301 * @corrupted: %1 if the volume is corrupted (static volumes only) 308 * Since UBI protects only static volumes, this field is not relevant to 309 * dynamic volumes - it is user's responsibility to assure their data 425 * @vol_count: number of volumes in this UBI device 426 * @volumes: volumes of this UBI device 427 * @volumes_lock: protects @volumes, @rsvd_pebs, @avail_pebs, beb_rsvd_pebs, 540 struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT]; member in struct:ubi_device 672 * static volumes) 675 * size in case of dynamic volumes) 730 struct rb_root volumes; member in struct:ubi_attach_info [all...] |
H A D | wl.c | 13 * eraseblocks, volumes, etc. From this sub-system's perspective all physical 1593 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) {
|
Completed in 185 milliseconds