Home
last modified time | relevance | path

Searched refs:disk_info (Results 1 – 13 of 13) sorted by relevance

/external/vboot_reference/firmware/lib/
Dvboot_api_kernel.c75 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/
Ddisk.h51 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/
Dhdt-cli-disk.c110 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()
Dhdt-dump-disks.c81 struct driveinfo *d = &hardware->disk_info[i]; in show_disk()
129 if (hardware->disk_info[drive - 0x80].cbios) { in dump_disks()
Dhdt-common.c219 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()
Dhdt-menu-disk.c159 struct driveinfo *d = (struct driveinfo *)hardware->disk_info; in compute_disk_module()
247 if (!hardware->disk_info[drive - 0x80].cbios) in compute_disks()
Dhdt-common.h186 struct driveinfo disk_info[256]; /* Disk Information */ member
/external/syslinux/com32/lib/syslinux/
Ddisk.c74 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/
Dpartiter.h71 struct disk_info di;
103 struct part_iter *pi_begin(const struct disk_info *, int flags);
Dpartiter.c84 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()
Dchain.c68 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()
Dutility.h50 void lba2chs(disk_chs *dst, const struct disk_info *di, uint64_t lba, int mode);
Dutility.c95 void lba2chs(disk_chs *dst, const struct disk_info *di, uint64_t lba, int mode) in lba2chs()