Lines Matching defs:disk
31 * @file disk.c
41 #include <syslinux/disk.h>
68 * Query disk parameters and EBIOS availability for a particular disk.
70 * @v disk The INT 0x13 disk drive number to process
74 int disk_get_params(int disk, struct disk_info *const diskinfo)
81 diskinfo->disk = disk;
88 inreg.edx.b[0] = disk;
102 /* Get extended disk parameters if ebios == 1 */
106 inreg.edx.b[0] = disk;
126 * Get disk parameters the old way - really only useful for hard
132 inreg.edx.b[0] = disk;
164 * @v diskinfo The disk drive to read from
196 inreg->edx.b[0] = diskinfo->disk;
204 * @v diskinfo The disk drive to read from
238 inreg->edx.b[0] = diskinfo->disk;
246 * Get disk block(s) and return a malloc'd buffer.
248 * @v diskinfo The disk drive to read from
253 * Uses the disk number and information from diskinfo. Read count sectors
291 * Write disk block(s).
293 * @v diskinfo The disk drive to write to
299 * Uses the disk number and information from diskinfo.
300 * Write sector(s) to a disk drive, starting at lba.
337 * Write disk blocks and verify they were written.
339 * @v diskinfo The disk drive to write to
345 * Uses the disk number and information from diskinfo.
346 * Writes sectors to a disk drive starting at lba, then reads them back
412 * portions of a GPT disk/partition GUID for a string representation.
582 printf("GPT disk GUID ________ : {%s}\n", guid_text);