Lines Matching +full:partition +full:-
1 /* SPDX-License-Identifier: Apache-2.0 */
28 * @param[in] ctx - The mbox context used to process the request
29 * @param[in] offset - The absolute offset into the flash device as
38 ctx(ctx), partition(ctx->vpnor->table->partition(offset)), in Request()
39 base(partition.data.base << ctx->block_size_shift), in Request()
40 offset(offset - base) in Request()
63 << std::hex << offset << " exceeds the partition size 0x" in write()
64 << std::hex << (partition.data.size << ctx->block_size_shift); in write()
89 /** @brief Returns the partition file path associated with the offset.
91 * The search strategy for the partition file depends on the value of the
96 * 1. Depending on the partition type,tries to open the file
97 * from the associated partition(RW/PRSV/RO).
99 * partition(RW/PRSV/RO) then tries to read the file from
100 * the read only partition.
101 * 1b. if the file not found in the read only partition then
106 * 1. Depending on the partition type tries to open the file
107 * from the associated partition.
108 * 1a. if file not found in the corresponding partition(RW/PRSV)
109 * then copy the file from the read only partition to the (RW/PRSV)
110 * partition depending on the partition type.
111 * 1b. if the file not found in the read only partition then throw
114 * @param[in] flags - The flags that will be used to open the file. Must
117 * Post-condition: The file described by the returned path exists
123 /** @brief Fill dst with the content of the partition relative to offset.
125 * @param[in] offset - The pnor offset(bytes).
126 * @param[out] dst - The buffer to fill with partition data
127 * @param[in] len - The length of the destination buffer
133 const pnor_partition& partition; member in openpower::virtual_pnor::Request