Searched refs:diskinfo (Results 1 – 5 of 5) sorted by relevance
/external/syslinux/com32/lib/syslinux/ |
D | disk.c | 74 int disk_get_params(int disk, struct disk_info *const diskinfo) in disk_get_params() argument 80 memset(diskinfo, 0, sizeof *diskinfo); in disk_get_params() 81 diskinfo->disk = disk; in disk_get_params() 82 diskinfo->bps = SECTOR; in disk_get_params() 95 diskinfo->ebios = 1; in disk_get_params() 103 if (diskinfo->ebios) { in disk_get_params() 116 diskinfo->lbacnt = eparam->lbacnt; in disk_get_params() 118 diskinfo->bps = eparam->bps; in disk_get_params() 137 rv = diskinfo->ebios ? 0 : -1; in disk_get_params() 141 diskinfo->spt = 0x3f & outreg.ecx.b[0]; in disk_get_params() [all …]
|
/external/libchrome/base/process/ |
D | process_metrics_linux.cc | 833 bool GetSystemDiskInfo(SystemDiskInfo* diskinfo) { in GetSystemDiskInfo() argument 851 diskinfo->reads = 0; in GetSystemDiskInfo() 852 diskinfo->reads_merged = 0; in GetSystemDiskInfo() 853 diskinfo->sectors_read = 0; in GetSystemDiskInfo() 854 diskinfo->read_time = 0; in GetSystemDiskInfo() 855 diskinfo->writes = 0; in GetSystemDiskInfo() 856 diskinfo->writes_merged = 0; in GetSystemDiskInfo() 857 diskinfo->sectors_written = 0; in GetSystemDiskInfo() 858 diskinfo->write_time = 0; in GetSystemDiskInfo() 859 diskinfo->io = 0; in GetSystemDiskInfo() [all …]
|
D | process_metrics.h | 376 BASE_EXPORT bool GetSystemDiskInfo(SystemDiskInfo* diskinfo);
|
/external/syslinux/com32/chain/ |
D | chain.c | 68 struct disk_info diskinfo; in find_by_sig() local 72 if (disk_get_params(drive, &diskinfo)) in find_by_sig() 74 if (!(iter = pi_begin(&diskinfo, opt.piflags))) in find_by_sig() 95 struct disk_info diskinfo; in find_by_guid() local 99 if (disk_get_params(drive, &diskinfo)) in find_by_guid() 101 if (!(iter = pi_begin(&diskinfo, opt.piflags))) in find_by_guid() 124 struct disk_info diskinfo; in find_by_label() local 128 if (disk_get_params(drive, &diskinfo)) in find_by_label() 130 if (!(iter = pi_begin(&diskinfo, opt.piflags))) in find_by_label() 276 struct disk_info diskinfo; in find_dp() local [all …]
|
/external/syslinux/com32/include/syslinux/ |
D | disk.h | 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,
|