HomeSort by relevance Sort by last modified time
    Searched refs:disk_info (Results 1 - 16 of 16) sorted by null

  /system/core/libdiskconfig/include/diskconfig/
diskconfig.h 89 struct disk_info { struct
113 struct disk_info *load_diskconfig(const char *fn, char *path_override);
114 int dump_disk_config(struct disk_info *dinfo);
115 int apply_disk_config(struct disk_info *dinfo, int test);
116 char *find_part_device(struct disk_info *dinfo, const char *name);
117 int process_disk_config(struct disk_info *dinfo);
118 struct part_info *find_part(struct disk_info *dinfo, const char *name);
123 struct write_list *config_mbr(struct disk_info *dinfo);
124 char *find_mbr_part(struct disk_info *dinfo, const char *name);
  /system/core/libdiskconfig/
dump_diskconfig.c 29 struct disk_info *dinfo;
diskconfig.c 92 load_partitions(cnode *root, struct disk_info *dinfo)
138 struct disk_info *
141 struct disk_info *dinfo;
147 if (!(dinfo = malloc(sizeof(struct disk_info)))) {
148 ALOGE("Could not malloc disk_info");
151 memset(dinfo, 0, sizeof(struct disk_info));
270 validate(struct disk_info *dinfo)
386 validate_and_config(struct disk_info *dinfo, int *fd, struct write_list **lst)
418 process_disk_config(struct disk_info *dinfo)
433 apply_disk_config(struct disk_info *dinfo, int test
    [all...]
config_mbr.c 70 mk_pri_pentry(struct disk_info *dinfo, struct part_info *pinfo, int pnum,
140 mk_ext_pentry(struct disk_info *dinfo, struct part_info *pinfo, uint32_t *lba,
231 config_mbr(struct disk_info *dinfo)
320 find_mbr_part(struct disk_info *dinfo, const char *name)
  /external/syslinux/com32/chain/
partiter.h 71 struct disk_info di;
103 struct part_iter *pi_begin(const struct disk_info *, int flags);
utility.h 50 void lba2chs(disk_chs *dst, const struct disk_info *di, uint64_t lba, int mode);
partiter.c 84 const struct disk_info *di, int flags
98 const struct disk_info *di, int flags,
124 const struct disk_info *di, int flags,
539 static struct disk_gpt_header *try_gpt_hdr(const struct disk_info *di, int sec)
561 static struct disk_gpt_part_entry *try_gpt_list(const struct disk_info *di, const struct disk_gpt_header *gpth, int alt)
599 static int notsane_gpt_hdr(const struct disk_info *di, const struct disk_gpt_header *gpth, int flags)
634 struct part_iter *pi_begin(const struct disk_info *di, int flags)
chain.c 68 struct disk_info diskinfo;
95 struct disk_info diskinfo;
124 struct disk_info diskinfo;
276 struct disk_info diskinfo;
utility.c 95 void lba2chs(disk_chs *dst, const struct disk_info *di, uint64_t lba, int mode)
  /external/syslinux/com32/hdt/
hdt-cli-disk.c 110 struct driveinfo *d = &hardware->disk_info[i];
116 if (!hardware->disk_info[i].cbios) {
166 if (hardware->disk_info[drive - 0x80].cbios) {
194 if (!hardware->disk_info[i].cbios)
198 struct driveinfo *d = &hardware->disk_info[i];
hdt-dump-disks.c 81 struct driveinfo *d = &hardware->disk_info[i];
129 if (hardware->disk_info[drive - 0x80].cbios) {
hdt-menu-disk.c 159 struct driveinfo *d = (struct driveinfo *)hardware->disk_info;
247 if (!hardware->disk_info[drive - 0x80].cbios)
hdt-common.c 219 memset(hardware->disk_info, 0, sizeof(hardware->disk_info));
404 hardware->disk_info[i].disk = drive;
405 err = get_drive_parameters(&hardware->disk_info[i]);
411 if (err == -1 || !hardware->disk_info[i].cbios)
415 hardware->mbr_ids[i] = get_mbr_id(&hardware->disk_info[i]);
  /external/syslinux/com32/include/syslinux/
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/vboot_reference/firmware/lib/
vboot_api_kernel.c 75 VbDiskInfo* disk_info = NULL; local
85 if (VBERROR_SUCCESS != VbExDiskGetInfo(&disk_info, &disk_count,
106 if (512 != disk_info[i].bytes_per_lba ||
107 16 > disk_info[i].lba_count ||
108 get_info_flags != (disk_info[i].flags & ~VB_DISK_FLAG_EXTERNAL_GPT)) {
111 disk_info[i].bytes_per_lba,
112 disk_info[i].lba_count,
113 disk_info[i].flags));
116 p->disk_handle = disk_info[i].handle;
117 p->bytes_per_lba = disk_info[i].bytes_per_lba
466 VbDiskInfo *disk_info = NULL; local
    [all...]
  /external/syslinux/com32/lib/syslinux/
disk.c 74 int disk_get_params(int disk, struct disk_info *const diskinfo)
171 static void *ebios_setup(const struct disk_info *const diskinfo, com32sys_t *inreg,
211 static void *chs_setup(const struct disk_info *const diskinfo, com32sys_t *inreg,
256 void *disk_read_sectors(const struct disk_info *const diskinfo, uint64_t lba,
302 int disk_write_sectors(const struct disk_info *const diskinfo, uint64_t lba,
349 int disk_write_verify_sectors(const struct disk_info *const diskinfo,

Completed in 416 milliseconds