Home
last modified time | relevance | path

Searched full:volumes (Results 1 – 25 of 99) sorted by relevance

1234

/openbmc/u-boot/common/spl/
H A Dspl_ubi.c19 struct ubispl_load volumes[2]; in spl_ubi_load_image() local
49 volumes[0].vol_id = CONFIG_SPL_UBI_LOAD_KERNEL_ID; in spl_ubi_load_image()
50 volumes[0].load_addr = (void *)CONFIG_SYS_LOAD_ADDR; in spl_ubi_load_image()
51 volumes[1].vol_id = CONFIG_SPL_UBI_LOAD_ARGS_ID; in spl_ubi_load_image()
52 volumes[1].load_addr = (void *)CONFIG_SYS_SPL_ARGS_ADDR; in spl_ubi_load_image()
54 ret = ubispl_load_volumes(&info, volumes, 2); in spl_ubi_load_image()
56 header = (struct image_header *)volumes[0].load_addr; in spl_ubi_load_image()
65 volumes[0].vol_id = CONFIG_SPL_UBI_LOAD_MONITOR_ID; in spl_ubi_load_image()
66 volumes[0].load_addr = (void *)header; in spl_ubi_load_image()
68 ret = ubispl_load_volumes(&info, volumes, 1); in spl_ubi_load_image()
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DVolumeCollection_v1.xml48 …redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes</String>
49 …ce/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String>
50 … <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes</String>
51 …v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String>
52 … <String>/redfish/v1/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String>
56 <String>/redfish/v1/Storage/{StorageId}/Volumes</String>
57 …tems/{ComputerSystemId}/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String>
61 <String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes</String>
62 …dfish/v1/StorageServices/{StorageServiceId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes</String>
66 <String>/redfish/v1/StorageServices/{StorageServiceId}/Volumes</String>
[all …]
H A DDriveCollection_v1.xml60 …<String>/redfish/v1/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/Prov…
63 …<String>/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySour…
67 …<String>/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/CapacitySources/{Capacit…
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DVolumeCollection.json93 … "/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes",
94 …onService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes",
95 "/redfish/v1/ResourceBlocks/{ResourceBlockId}/Storage/{StorageId}/Volumes",
96 …edfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes",
97 "/redfish/v1/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes",
101 "/redfish/v1/Storage/{StorageId}/Volumes",
102 …/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes",
106 "/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes",
107 … "/redfish/v1/StorageServices/{StorageServiceId}/ConsistencyGroups/{ConsistencyGroupId}/Volumes",
111 "/redfish/v1/StorageServices/{StorageServiceId}/Volumes",
[all …]
H A DStorageController.v1_10_0.json122 … "description": "An array of links to volumes that are attached to this controller instance.",
145 …s action attaches referenced namespaces or volumes to the storage controller. Attached namespaces…
146 …or volumes to the storage controller. For NVMe, namespaces are modeled as `Volume` resources. Se…
149 "description": "The namespaces or volumes to attach to the storage controller.",
153 … of links to resources of type `Volume` that represent the namespaces or volumes to attach to the …
243 … action detaches referenced namespaces or volumes from the storage controller. Detached namespace…
244 …ach referenced namespaces or volumes from the storage controller. Services shall remove the detac…
247 … "description": "The namespaces or volumes to detach from the storage controller.",
251 … of links to resources of type `Volume` that represent the namespaces or volumes to detach from th…
304 … "description": "An array of links to volumes that are attached to this controller instance.",
[all …]
H A DStorage.v1_20_0.json57 "Disabled": "Do not automatically create volumes.",
58 "NonRAID": "Automatically create non-RAID volumes.",
59 "RAID0": "Automatically create RAID0 volumes.",
60 "RAID1": "Automatically create RAID1 volumes."
348 …"description": "The set of volumes in this storage subsystem that are not assigned to a physical f…
352 …ntain an array of links to resources of type `Volume` that represent the volumes in this storage s…
607 … "The percentage of controller resources used for performing a data consistency check on volumes.",
608 …all contain the percentage of controller resources used for checking data consistency on volumes.",
619 … "description": "The percentage of controller resources used for rebuilding/repairing volumes.",
620 … "This property shall contain the percentage of controller resources used for rebuilding volumes.",
[all …]
H A DDriveCollection.json96 …"/redfish/v1/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingDr…
99 …"/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{Ca…
103 …"/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/CapacitySources/{CapacitySource…
/openbmc/u-boot/drivers/mtd/ubi/
H A Dubi-media.h72 * table of the UBI image. In this case, one of the volumes (e.g., the one
85 * Compatibility constants used by internal volumes.
224 * There are 2 sorts of volumes in UBI: user volumes and internal volumes.
225 * Internal volumes are not seen from outside and are used for various internal
227 * layout volume. Internal volumes are the main mechanism of UBI extensions.
229 * volumes have their own reserved range of IDs.
231 * The @compat field is only used for internal volumes and contains the "degree
232 * of their compatibility". It is always zero for user volumes. This field
242 * eraseblock if this is a static volume. In case of dynamic volumes, it does
248 * The @data_size field is used only for static volumes because UBI has to know
[all …]
H A Dvmt.c59 * out that the volume was removed from the @ubi->volumes array.
73 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show()
170 if (!ubi->volumes[i]) { in ubi_create_volume()
189 if (ubi->volumes[vol_id]) { in ubi_create_volume()
196 if (ubi->volumes[i] && in ubi_create_volume()
197 ubi->volumes[i]->name_len == req->name_len && in ubi_create_volume()
198 !strcmp(ubi->volumes[i]->name, req->name)) { in ubi_create_volume()
305 ubi->volumes[vol_id] = vol; in ubi_create_volume()
362 ubi_assert(vol == ubi->volumes[vol_id]); in ubi_remove_volume()
376 ubi->volumes[vol_id] = NULL; in ubi_remove_volume()
[all …]
H A Dvtbl.c30 * information about how much data static volumes contain.
66 * ubi_update_layout_vol - helper for updatting layout volumes on flash
74 layout_vol = ubi->volumes[vol_id2idx(ubi, UBI_LAYOUT_VOLUME_ID)]; in ubi_update_layout_vol()
119 * ubi_vtbl_rename_volumes - rename UBI volumes in the volume table.
123 * This function re-names multiple volumes specified in @req in the volume
268 ubi_err(ubi, "volumes %d and %d have the same name \"%s\"",
518 * init_volumes - initialize volume information for existing volumes.
523 * This function allocates volume description objects for existing volumes.
569 ubi_assert(!ubi->volumes[i]);
570 ubi->volumes[i] = vol;
[all …]
/openbmc/u-boot/include/mtd/
H A Dubi-user.h32 * UBI volumes are created via the %UBI_IOCMKVOL ioctl command of UBI character
50 * UBI volumes re-name
53 * To re-name several volumes atomically at one go, the %UBI_IOCRNVOL command
125 * Block devices on UBI volumes
157 /* Re-name volumes */
199 /* Maximum amount of UBI volumes that can be re-named at one go */
218 * eraseblocks on dynamic volumes
286 * This structure is used by user-space programs when creating new volumes. The
287 * @used_bytes field is only necessary when creating static volumes.
321 * Re-sizing is possible for both dynamic and static volumes. But while dynamic
[all …]
/openbmc/libbej/test/json/
H A Ddrive_oem.json84 "Volumes": [ array
86 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Volumes/1"
89 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Volumes/2"
92 "@odata.id": "/redfish/v1/Systems/1/Storage/1/Volumes/3"
/openbmc/u-boot/include/
H A Dubispl.h28 * Defines the maximum number of volumes in which UBISPL is
31 * want to load from the SPL anyway. So the volumes which can be
81 * ubispl_load_volumes - Scan flash and load volumes
83 * @lovls: Pointer to array of volumes to load
/openbmc/u-boot/doc/
H A DREADME.ubi64 UBI: max. allowed volumes: 128
66 UBI: number of internal volumes: 1
67 UBI: number of user volumes: 1
131 UBI: max. allowed volumes: 128
133 UBI: number of internal volumes: 1
134 UBI: number of user volumes: 1
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DStorageController.v1_10_0.json122 … "description": "An array of links to volumes that are attached to this controller instance.",
145 …s action attaches referenced namespaces or volumes to the storage controller. Attached namespaces…
146 …or volumes to the storage controller. For NVMe, namespaces are modeled as `Volume` resources. Se…
149 "description": "The namespaces or volumes to attach to the storage controller.",
153 … of links to resources of type `Volume` that represent the namespaces or volumes to attach to the …
243 … action detaches referenced namespaces or volumes from the storage controller. Detached namespace…
244 …ach referenced namespaces or volumes from the storage controller. Services shall remove the detac…
247 … "description": "The namespaces or volumes to detach from the storage controller.",
251 … of links to resources of type `Volume` that represent the namespaces or volumes to detach from th…
304 … "description": "An array of links to volumes that are attached to this controller instance.",
[all …]
H A DStorage.v1_20_0.json57 "Disabled": "Do not automatically create volumes.",
58 "NonRAID": "Automatically create non-RAID volumes.",
59 "RAID0": "Automatically create RAID0 volumes.",
60 "RAID1": "Automatically create RAID1 volumes."
348 …"description": "The set of volumes in this storage subsystem that are not assigned to a physical f…
352 …ntain an array of links to resources of type `Volume` that represent the volumes in this storage s…
607 … "The percentage of controller resources used for performing a data consistency check on volumes.",
608 …all contain the percentage of controller resources used for checking data consistency on volumes.",
619 … "description": "The percentage of controller resources used for rebuilding/repairing volumes.",
620 … "This property shall contain the percentage of controller resources used for rebuilding volumes.",
[all …]
H A DDriveCollection.json96 "/redfish/v1/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingDrives",
99 "/redfish/v1/Systems/{ComputerSystemId}/Storage/{StorageId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingDrives",
103 "/redfish/v1/StorageServices/{StorageServiceId}/Volumes/{VolumeId}/CapacitySources/{CapacitySourceId}/ProvidingDrives"
/openbmc/u-boot/include/linux/mtd/
H A Dubi.h52 * @corrupted: non-zero if the volume is corrupted (static volumes only)
61 * The @corrupted flag is only relevant to static volumes and is always zero
82 * volumes and contain the number of bytes stored in this static volume and how
83 * many eraseblock this data occupies. In case of dynamic volumes, the
161 * Volumes of this UBI device may have smaller logical eraseblock size if their
227 /* UBI descriptor given to users when they open UBI volumes */
/openbmc/u-boot/cmd/
H A Dubi.c43 if (!ubi->volumes[i]) in display_volume_info()
45 ubi_dump_vol_info(ubi->volumes[i]); in display_volume_info()
62 ubi_msg("max. allowed volumes: %d", ubi->vtbl_slots); in display_ubi_info()
64 ubi_msg("number of internal volumes: %d", UBI_INT_VOL_COUNT); in display_ubi_info()
65 ubi_msg("number of user volumes: %d", in display_ubi_info()
94 if (!ubi->volumes[i]) in ubi_check()
97 if (!ubi_check_volumename(ubi->volumes[i], name)) in ubi_check()
184 vol = ubi->volumes[i]; in ubi_find_volume()
223 ubi->volumes[vol->vol_id]->eba_tbl = NULL; in ubi_remove_vol()
224 ubi->volumes[vol->vol_id] = NULL; in ubi_remove_vol()
/openbmc/docs/architecture/code-update/
H A Demmc-storage-design.md46 Logical Volumes in the Alternatives section below).
96 the remaining of the flash. Store the dual kernel volumes in the UBI
166 - Logical Volumes:
179 logical volumes, instead of fixed-size partitions. This provides flexibility
182 volumes in the single eMMC device.
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-crypto/cryptsetup/
H A Dcryptsetup_2.7.5.bb1 SUMMARY = "Manage plain dm-crypt and LUKS encrypted volumes"
3 device-mapper mappings. These include plain dm-crypt volumes and \
4 LUKS volumes. The difference is that LUKS uses a metadata header \
/openbmc/qemu/tests/functional/
H A Dtest_aarch64_sbsaref.py20 Flash volumes generated using:
41 fd.truncate(256 << 20) # Expand volumes to 256MiB
/openbmc/openpower-pnor-code-mgmt/ubi/
H A Dobmc-flash-bios-cleanup.service2 Description=Clean up UBI volumes unattached to a Host version
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/
H A DVolume.interface.yaml3 interface only supports LUKS encrypted volumes, but it can be extended in
4 the future to support other types of volumes, as well.
/openbmc/phosphor-bmc-code-mgmt/bmc/ubi/
H A Dobmc-flash-bmc-cleanup.service.in2 Description=Clean up UBI volumes unattached to a BMC version after DeleteAll

1234