Changeset View
Changeset View
Standalone View
Standalone View
stand/common/disk.h
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Lines | |||||
extern int disk_read(struct disk_devdesc *, void *, uint64_t, u_int); | extern int disk_read(struct disk_devdesc *, void *, uint64_t, u_int); | ||||
extern int disk_write(struct disk_devdesc *, void *, uint64_t, u_int); | extern int disk_write(struct disk_devdesc *, void *, uint64_t, u_int); | ||||
extern int ptblread(void *, void *, size_t, uint64_t); | extern int ptblread(void *, void *, size_t, uint64_t); | ||||
/* | /* | ||||
* Print information about slices on a disk. | * Print information about slices on a disk. | ||||
*/ | */ | ||||
extern int disk_print(struct disk_devdesc *, char *, int); | extern int disk_print(struct disk_devdesc *, char *, int); | ||||
extern int disk_parsedev(struct disk_devdesc *, const char *, const char **); | extern int disk_parsedev(struct devdesc **, const char *, const char **); | ||||
char *disk_fmtdev(struct devdesc *vdev); | char *disk_fmtdev(struct devdesc *vdev); | ||||
#endif /* _DISK_H */ | #endif /* _DISK_H */ |