| 1 |
#ifndef BLKID_TOPOLOGY_H |
| 2 |
#define BLKID_TOPOLOGY_H |
| 3 |
|
| 4 |
#include "blkidP.h" |
| 5 |
|
| 6 |
extern int blkid_topology_set_alignment_offset(blkid_probe pr, int val); |
| 7 |
extern int blkid_topology_set_minimum_io_size(blkid_probe pr, unsigned long val); |
| 8 |
extern int blkid_topology_set_optimal_io_size(blkid_probe pr, unsigned long val); |
| 9 |
extern int blkid_topology_set_physical_sector_size(blkid_probe pr, unsigned long val); |
| 10 |
extern int blkid_topology_set_dax(blkid_probe pr, unsigned long val); |
| 11 |
extern int blkid_topology_set_diskseq(blkid_probe pr, uint64_t val); |
| 12 |
|
| 13 |
/* |
| 14 |
* topology probers |
| 15 |
*/ |
| 16 |
#ifdef __linux__ |
| 17 |
extern const struct blkid_idinfo ioctl_tp_idinfo; |
| 18 |
extern const struct blkid_idinfo md_tp_idinfo; |
| 19 |
extern const struct blkid_idinfo evms_tp_idinfo; |
| 20 |
extern const struct blkid_idinfo sysfs_tp_idinfo; |
| 21 |
extern const struct blkid_idinfo dm_tp_idinfo; |
| 22 |
extern const struct blkid_idinfo lvm_tp_idinfo; |
| 23 |
#endif |
| 24 |
|
| 25 |
#endif /* BLKID_TOPOLOGY_H */ |
| 26 |
|