Lines Matching +full:partition +full:-
1 /* SPDX-License-Identifier: Apache-2.0 */
30 * @param[in] backend - The backend context used to process the request
31 * @param[in] offset - The absolute offset into the flash device as
40 backend(backend), partition(((struct vpnor_data*)backend->priv) in Request()
41 ->vpnor->table->partition(offset)), in Request()
42 base(partition.data.base << backend->block_size_shift), in Request()
43 offset(offset - base) in Request()
59 /** @brief Returns the partition file path associated with the offset.
61 * The search strategy for the partition file depends on the value of the
66 * 1. Depending on the partition type,tries to open the file
67 * from the associated partition(RW/PRSV/RO).
69 * partition(RW/PRSV/RO) then tries to read the file from
70 * the read only partition.
71 * 1b. if the file not found in the read only partition then
76 * 1. Depending on the partition type tries to open the file
77 * from the associated partition.
78 * 1a. if file not found in the corresponding partition(RW/PRSV)
79 * then copy the file from the read only partition to the (RW/PRSV)
80 * partition depending on the partition type.
81 * 1b. if the file not found in the read only partition then throw
84 * @param[in] flags - The flags that will be used to open the file. Must
87 * Post-condition: The file described by the returned path exists
94 const pnor_partition& partition; member in openpower::virtual_pnor::Request