Home
last modified time | relevance | path

Searched refs:part_info (Results 1 – 25 of 35) sorted by relevance

12

/external/u-boot/common/
Dandroid_ab.c83 const disk_partition_t *part_info, in ab_control_create_from_disk() argument
89 if (abc_offset % part_info->blksz) { in ab_control_create_from_disk()
93 abc_offset /= part_info->blksz; in ab_control_create_from_disk()
96 part_info->blksz); in ab_control_create_from_disk()
97 if (abc_offset + abc_blocks > part_info->size) { in ab_control_create_from_disk()
100 abc_offset + abc_blocks, part_info->size); in ab_control_create_from_disk()
103 *abc = malloc_cache_aligned(abc_blocks * part_info->blksz); in ab_control_create_from_disk()
107 ret = blk_dread(dev_desc, part_info->start + abc_offset, abc_blocks, in ab_control_create_from_disk()
133 const disk_partition_t *part_info, in ab_control_store() argument
139 part_info->blksz; in ab_control_store()
[all …]
/external/u-boot/cmd/
Djffs2.c131 extern int cramfs_check (struct part_info *info);
132 extern int cramfs_load (char *loadoffset, struct part_info *info, char *filename);
133 extern int cramfs_ls (struct part_info *info, char *filename);
134 extern int cramfs_info (struct part_info *info);
257 static inline u32 get_part_sector_size_nor(struct mtdids *id, struct part_info *part) in get_part_sector_size_nor()
308 static inline u32 get_part_sector_size(struct mtdids *id, struct part_info *part) in get_part_sector_size()
340 struct part_info *part; in mtdparts_init()
345 sizeof(struct part_info) + in mtdparts_init()
352 sizeof(struct part_info) + sizeof(struct mtdids)); in mtdparts_init()
355 part = (struct part_info *)(id + 1); in mtdparts_init()
[all …]
Dmtdparts.c141 extern void jffs2_free_cache(struct part_info *part);
155 static struct part_info* mtd_part_info(struct mtd_device *dev, unsigned int part_num);
233 struct part_info *part; in index_partitions()
329 static int part_validate_eraseblock(struct mtdids *id, struct part_info *part) in part_validate_eraseblock()
416 static int part_validate(struct mtdids *id, struct part_info *part) in part_validate()
452 static int part_del(struct mtd_device *dev, struct part_info *part) in part_del()
465 struct part_info *curr_pi; in part_del()
499 struct part_info *part_tmp; in part_delall()
503 part_tmp = list_entry(entry, struct part_info, link); in part_delall()
517 static int part_sort_add(struct mtd_device *dev, struct part_info *part) in part_sort_add()
[all …]
Dcramfs.c76 extern int cramfs_check (struct part_info *info);
77 extern int cramfs_load (char *loadoffset, struct part_info *info, char *filename);
78 extern int cramfs_ls (struct part_info *info, char *filename);
79 extern int cramfs_info (struct part_info *info);
103 struct part_info part; in do_cramfs_load()
168 struct part_info part; in do_cramfs_ls()
Dread.c21 disk_partition_t part_info; in do_read() local
53 if (part_get_info(dev_desc, part, &part_info)) { in do_read()
57 offset = part_info.start; in do_read()
58 limit = part_info.size; in do_read()
Dab_select.c14 disk_partition_t part_info; in do_ab_select() local
22 &dev_desc, &part_info) < 0) { in do_ab_select()
26 ret = ab_select_slot(dev_desc, &part_info); in do_ab_select()
/external/u-boot/drivers/fastboot/
Dfb_getvar.c106 disk_partition_t part_info; in getvar_get_part_info() local
108 r = fastboot_mmc_get_part_info(part_name, &dev_desc, &part_info, in getvar_get_part_info()
111 *size = part_info.size; in getvar_get_part_info()
113 struct part_info *part_info; in getvar_get_part_info() local
115 r = fastboot_nand_get_part_info(part_name, &part_info, response); in getvar_get_part_info()
117 *size = part_info->size; in getvar_get_part_info()
222 disk_partition_t part_info; in getvar_partition_type() local
224 r = fastboot_mmc_get_part_info(part_name, &dev_desc, &part_info, in getvar_partition_type()
Dfb_nand.c19 struct part_info *part;
34 struct part_info **part, in fb_nand_lookup()
67 static int _fb_nand_erase(struct mtd_info *mtd, struct part_info *part) in _fb_nand_erase()
90 static int _fb_nand_write(struct mtd_info *mtd, struct part_info *part, in _fb_nand_write()
156 struct part_info **part_info, char *response) in fastboot_nand_get_part_info() argument
160 return fb_nand_lookup(part_name, &mtd, part_info, response); in fastboot_nand_get_part_info()
174 struct part_info *part; in fastboot_nand_flash_write()
238 struct part_info *part; in fastboot_nand_erase()
/external/u-boot/common/spl/
Dspl_ext.c18 disk_partition_t part_info = {}; in spl_load_image_ext() local
22 if (part_get_info(block_dev, partition, &part_info)) { in spl_load_image_ext()
27 ext4fs_set_blk_dev(block_dev, &part_info); in spl_load_image_ext()
72 disk_partition_t part_info = {}; in spl_load_image_ext_os() local
75 if (part_get_info(block_dev, partition, &part_info)) { in spl_load_image_ext_os()
80 ext4fs_set_blk_dev(block_dev, &part_info); in spl_load_image_ext_os()
/external/arm-trusted-firmware/drivers/st/io/
Dio_stm32image.c72 if (stm32image_dev.part_info[i].binary_type == binary_type) { in get_part_idx_by_binary_type()
95 memcpy(stm32image_dev.part_info[i].name, in stm32image_dev_open()
96 device_info->part_info[i].name, MAX_PART_NAME_SIZE); in stm32image_dev_open()
97 stm32image_dev.part_info[i].binary_type = in stm32image_dev_open()
98 device_info->part_info[i].binary_type; in stm32image_dev_open()
99 stm32image_dev.part_info[i].part_offset = in stm32image_dev_open()
100 device_info->part_info[i].part_offset; in stm32image_dev_open()
101 stm32image_dev.part_info[i].bkp_offset = in stm32image_dev_open()
102 device_info->part_info[i].bkp_offset; in stm32image_dev_open()
158 current_part = &stm32image_dev.part_info[idx]; in stm32image_partition_open()
/external/u-boot/include/jffs2/
Djffs2_1pass.h1 u32 jffs2_1pass_ls(struct part_info *part,const char *fname);
2 u32 jffs2_1pass_load(char *dest, struct part_info *part,const char *fname);
3 u32 jffs2_1pass_info(struct part_info *part);
Djffs2.h216 u32 jffs2_1pass_ls(struct part_info *part,const char *fname);
217 u32 jffs2_1pass_load(char *dest, struct part_info *part,const char *fname);
218 u32 jffs2_1pass_info(struct part_info *part);
Dload_kernel.h32 struct part_info { struct
67 u8 *part_num, struct part_info **part);
/external/u-boot/fs/reiserfs/
Ddev.c15 static disk_partition_t *part_info; variable
21 part_info = info; in reiserfs_set_blk_dev()
26 return fs_devread(reiserfs_blk_desc, part_info, sector, byte_offset, in reiserfs_devread()
/external/u-boot/fs/zfs/
Ddev.c17 static disk_partition_t *part_info; variable
22 part_info = info; in zfs_set_blk_dev()
28 return fs_devread(zfs_blk_desc, part_info, sector, byte_offset, in zfs_devread()
/external/u-boot/fs/ext4/
Ddev.c36 static disk_partition_t *part_info; variable
43 part_info = info; in ext4fs_set_blk_dev()
52 return fs_devread(get_fs()->dev_desc, part_info, sector, byte_offset, in ext4fs_devread()
/external/autotest/client/cros/faft/utils/
Dkernel_handler.py77 part_info = {}
79 part_info['device'] = device
80 part_info['version'] = self._get_version(device)
81 part_info['datakey_version'] = self._get_datakey_version(device)
82 self.partition_map[label] = part_info
/external/u-boot/fs/cramfs/
Dcramfs.c55 static int cramfs_read_super (struct part_info *info) in cramfs_read_super()
237 int cramfs_load (char *loadoffset, struct part_info *info, char *filename) in cramfs_load()
256 static int cramfs_list_inode (struct part_info *info, unsigned long offset) in cramfs_list_inode()
296 int cramfs_ls (struct part_info *info, char *filename) in cramfs_ls()
345 int cramfs_info (struct part_info *info) in cramfs_info()
371 int cramfs_check (struct part_info *info) in cramfs_check()
/external/u-boot/include/
Dfb_nand.h20 struct part_info **part_info, char *response);
Dandroid_ab.h32 int ab_select_slot(struct blk_desc *dev_desc, disk_partition_t *part_info);
Dfb_mmc.h19 disk_partition_t *part_info, char *response);
/external/u-boot/disk/
Dpart.c695 disk_partition_t *part_info) in part_get_info_by_dev_and_name() argument
717 if (part_get_info_by_name(*dev_desc, part_str, part_info) < 0) { in part_get_info_by_dev_and_name()
727 disk_partition_t *part_info) in part_get_info_by_dev_and_name_or_num() argument
731 dev_desc, part_info)) in part_get_info_by_dev_and_name_or_num()
738 dev_desc, part_info, 1) < 0) { in part_get_info_by_dev_and_name_or_num()
/external/u-boot/fs/jffs2/
Djffs2_1pass.c149 static struct part_info *current_part;
642 jffs2_free_cache(struct part_info *part) in jffs2_free_cache()
656 jffs_init_1pass_list(struct part_info *part) in jffs_init_1pass_list()
1203 jffs2_1pass_rescan_needed(struct part_info *part) in jffs2_1pass_rescan_needed()
1263 static int jffs2_sum_process_sum_data(struct part_info *part, uint32_t offset, in jffs2_sum_process_sum_data()
1333 int jffs2_sum_scan_sumnode(struct part_info *part, uint32_t offset, in jffs2_sum_scan_sumnode()
1471 jffs2_1pass_build_lists(struct part_info * part) in jffs2_1pass_build_lists()
1850 jffs2_get_list(struct part_info * part, const char *who) in jffs2_get_list()
1867 jffs2_1pass_ls(struct part_info * part, const char *fname) in jffs2_1pass_ls()
1893 jffs2_1pass_load(char *dest, struct part_info * part, const char *fname) in jffs2_1pass_load()
[all …]
/external/arm-trusted-firmware/include/drivers/st/
Dio_stm32image.h25 struct stm32image_part_info part_info[STM32_PART_NUM]; member
/external/u-boot/arch/arm/mach-mediatek/mt7623/
Dpreloader.h89 union lk_hdr *part_info; member

12