disk.h (c9ee39a3f255b62cbf106f4e5a704bcefdef017b) | disk.h (17276525fa1a28028f7ca423f365d5081cbe9a97) |
---|---|
1/*- 2 * Copyright (c) 2011 Google, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 97 unchanged lines hidden (view full) --- 106extern int disk_read(struct disk_devdesc *, void *, uint64_t, u_int); 107extern int disk_write(struct disk_devdesc *, void *, uint64_t, u_int); 108extern int ptblread(void *, void *, size_t, uint64_t); 109 110/* 111 * Print information about slices on a disk. 112 */ 113extern int disk_print(struct disk_devdesc *, char *, int); | 1/*- 2 * Copyright (c) 2011 Google, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 97 unchanged lines hidden (view full) --- 106extern int disk_read(struct disk_devdesc *, void *, uint64_t, u_int); 107extern int disk_write(struct disk_devdesc *, void *, uint64_t, u_int); 108extern int ptblread(void *, void *, size_t, uint64_t); 109 110/* 111 * Print information about slices on a disk. 112 */ 113extern int disk_print(struct disk_devdesc *, char *, int); |
114extern int disk_parsedev(struct disk_devdesc *, const char *, const char **); | 114extern int disk_parsedev(struct devdesc **, const char *, const char **); |
115 116char *disk_fmtdev(struct devdesc *vdev); 117 118#endif /* _DISK_H */ | 115 116char *disk_fmtdev(struct devdesc *vdev); 117 118#endif /* _DISK_H */ |