Lines Matching full:partition

36 /* maximum number of partition entries supported by search */
48 #define BOOT_PART_TYPE "U-Boot" /* primary boot partition type */
63 lbaint_t start; /* # of first block in partition */
64 lbaint_t size; /* number of blocks in partition */
66 uchar name[PART_NAME_LEN]; /* partition name */
76 uchar sys_ind; /* partition type */
109 * part_get_info_whole_disk() - get partition info for the special case of
110 * a partition occupying the entire disk.
119 * blk_get_device_by_str() - Get a block device given its interface/hw partition
126 * of a device - each hardware partition is effectively a separately
130 * different hardware partition is selected.
132 * When a hardware partition number is given, the block device switches to
133 * that hardware partition.
136 * @dev_str: Device and optional hw partition. This can either be a string
138 * and hardware partition number (e.g. "2.4") for devices that
147 * blk_get_device_part_str() - Get a block device and partition
150 * a partition and returns information about it.
154 * <hw_part> is the optional hardware partition number and
155 * <part> is the partition number
166 * If the partition string is empty then the first partition is used. If the
167 * partition string is "auto" then the first bootable partition is used.
170 * @dev_part_str: Device and partition string
172 * @info: Returns partition information
173 * @allow_whole_dev: true to allow the user to select partition 0
175 * partition number >= 1
176 * @return partition number, or -1 on error
184 * part_get_info_by_name() - Search for a partition by name
189 * @param info - returns the disk partition info
191 * @return - the partition number on match (starting on 1), -1 on no match,
198 * part_get_info_by_name_strict() - Search for a partition by name
204 * @param info - returns the disk partition info
206 * @return - the partition number on match (starting on 1), -1 on no match,
212 * part_set_generic_name() - create generic partition like hda1 or sdb2
214 * Helper function for partition tables, which don't hold partition names
215 * (DOS, ISO). Generates partition name out of the device type and partition
219 * @part_num: partition number for which the name is generated
253 * We don't support printing partition information in SPL.
270 * get_info() - Get information about a partition
273 * @part: Partition number (1 = first)
274 * @info: Returns partition information
280 * print() - Print partition information
287 * test() - Test if a device contains this partition type
290 * @return 0 if the block device appears to contain this partition
296 /* Declare a new U-Boot partition 'driver' */
305 * write_gpt_table() - Write the GUID Partition Table to disk
309 * @param gpt_e - pointer to GPT partition table entries
317 * gpt_fill_pte(): Fill the GPT partition table entry
321 * @param gpt_e - GPT partition table entries
345 * gpt_restore(): Restore GPT partition table
379 * and partition table entries (PTE)
385 * @param gpt_pte - pointer to GPT partition table enties read from medium
398 * and size of the partition is checked.
401 * @param partitions - partition data read from '$partitions' env variable
404 * @param gpt_pte - pointer to GPT partition table enties read from medium