Searched refs:disk_info (Results 1 – 13 of 13) sorted by relevance
/external/vboot_reference/firmware/lib/ |
D | vboot_api_kernel.c | 75 VbDiskInfo* disk_info = NULL; in VbTryLoadKernel() local 85 if (VBERROR_SUCCESS != VbExDiskGetInfo(&disk_info, &disk_count, in VbTryLoadKernel() 106 if (512 != disk_info[i].bytes_per_lba || in VbTryLoadKernel() 107 16 > disk_info[i].lba_count || in VbTryLoadKernel() 108 get_info_flags != (disk_info[i].flags & ~VB_DISK_FLAG_EXTERNAL_GPT)) { in VbTryLoadKernel() 111 disk_info[i].bytes_per_lba, in VbTryLoadKernel() 112 disk_info[i].lba_count, in VbTryLoadKernel() 113 disk_info[i].flags)); in VbTryLoadKernel() 116 p->disk_handle = disk_info[i].handle; in VbTryLoadKernel() 117 p->bytes_per_lba = disk_info[i].bytes_per_lba; in VbTryLoadKernel() [all …]
|
/external/syslinux/com32/include/syslinux/ |
D | disk.h | 51 struct disk_info { struct 173 extern int disk_get_params(int disk, struct disk_info *const diskinfo); 174 extern void *disk_read_sectors(const struct disk_info *const diskinfo, 176 extern int disk_write_sectors(const struct disk_info *const diskinfo, 178 extern int disk_write_verify_sectors(const struct disk_info *const diskinfo,
|
/external/syslinux/com32/hdt/ |
D | hdt-cli-disk.c | 110 struct driveinfo *d = &hardware->disk_info[i]; in main_show_disk() 116 if (!hardware->disk_info[i].cbios) { in main_show_disk() 166 if (hardware->disk_info[drive - 0x80].cbios) { in main_show_disks() 194 if (!hardware->disk_info[i].cbios) in disks_summary() 198 struct driveinfo *d = &hardware->disk_info[i]; in disks_summary()
|
D | hdt-dump-disks.c | 81 struct driveinfo *d = &hardware->disk_info[i]; in show_disk() 129 if (hardware->disk_info[drive - 0x80].cbios) { in dump_disks()
|
D | hdt-common.c | 219 memset(hardware->disk_info, 0, sizeof(hardware->disk_info)); in init_hardware() 404 hardware->disk_info[i].disk = drive; in detect_disks() 405 err = get_drive_parameters(&hardware->disk_info[i]); in detect_disks() 411 if (err == -1 || !hardware->disk_info[i].cbios) in detect_disks() 415 hardware->mbr_ids[i] = get_mbr_id(&hardware->disk_info[i]); in detect_disks()
|
D | hdt-menu-disk.c | 159 struct driveinfo *d = (struct driveinfo *)hardware->disk_info; in compute_disk_module() 247 if (!hardware->disk_info[drive - 0x80].cbios) in compute_disks()
|
D | hdt-common.h | 186 struct driveinfo disk_info[256]; /* Disk Information */ member
|
/external/syslinux/com32/lib/syslinux/ |
D | disk.c | 74 int disk_get_params(int disk, struct disk_info *const diskinfo) in disk_get_params() 171 static void *ebios_setup(const struct disk_info *const diskinfo, com32sys_t *inreg, in ebios_setup() 211 static void *chs_setup(const struct disk_info *const diskinfo, com32sys_t *inreg, in chs_setup() 256 void *disk_read_sectors(const struct disk_info *const diskinfo, uint64_t lba, in disk_read_sectors() 302 int disk_write_sectors(const struct disk_info *const diskinfo, uint64_t lba, in disk_write_sectors() 349 int disk_write_verify_sectors(const struct disk_info *const diskinfo, in disk_write_verify_sectors()
|
/external/syslinux/com32/chain/ |
D | partiter.h | 71 struct disk_info di; 103 struct part_iter *pi_begin(const struct disk_info *, int flags);
|
D | partiter.c | 84 const struct disk_info *di, int flags in pi_ctor() 98 const struct disk_info *di, int flags, in pi_dos_ctor() 124 const struct disk_info *di, int flags, in pi_gpt_ctor() 539 static struct disk_gpt_header *try_gpt_hdr(const struct disk_info *di, int sec) in try_gpt_hdr() 561 static struct disk_gpt_part_entry *try_gpt_list(const struct disk_info *di, const struct disk_gpt_h… in try_gpt_list() 599 static int notsane_gpt_hdr(const struct disk_info *di, const struct disk_gpt_header *gpth, int flag… in notsane_gpt_hdr() 634 struct part_iter *pi_begin(const struct disk_info *di, int flags) in pi_begin()
|
D | chain.c | 68 struct disk_info diskinfo; in find_by_sig() 95 struct disk_info diskinfo; in find_by_guid() 124 struct disk_info diskinfo; in find_by_label() 276 struct disk_info diskinfo; in find_dp()
|
D | utility.h | 50 void lba2chs(disk_chs *dst, const struct disk_info *di, uint64_t lba, int mode);
|
D | utility.c | 95 void lba2chs(disk_chs *dst, const struct disk_info *di, uint64_t lba, int mode) in lba2chs()
|