libparted 3.6
Loading...
Searching...
No Matches
Functions
pt-tools.h File Reference

Go to the source code of this file.

Functions

int ptt_clear_sectors (PedDevice *dev, PedSector start, PedSector count)
 
int ptt_geom_clear_sectors (PedGeometry *geom, PedSector start, PedSector count)
 
int ptt_partition_max_length (char const *pt_type, PedSector *max)
 
int ptt_partition_max_start_len (char const *label_type, const PedPartition *part)
 
int ptt_partition_max_start_sector (char const *pt_type, PedSector *max)
 
int ptt_read_sector (PedDevice const *dev, PedSector sector_num, void **buf)
 
int ptt_read_sectors (PedDevice const *dev, PedSector start_sector, PedSector n_sectors, void **buf)
 
int ptt_write_sector (PedDisk const *disk, void const *buf, size_t buflen)
 

Function Documentation

◆ ptt_clear_sectors()

int ptt_clear_sectors ( PedDevice dev,
PedSector  start,
PedSector  count 
)

◆ ptt_geom_clear_sectors()

int ptt_geom_clear_sectors ( PedGeometry geom,
PedSector  start,
PedSector  count 
)

◆ ptt_partition_max_length()

int ptt_partition_max_length ( char const *  pt_type,
PedSector max 
)

◆ ptt_partition_max_start_len()

int ptt_partition_max_start_len ( char const *  label_type,
const PedPartition part 
)

◆ ptt_partition_max_start_sector()

int ptt_partition_max_start_sector ( char const *  pt_type,
PedSector max 
)

◆ ptt_read_sector()

int ptt_read_sector ( PedDevice const *  dev,
PedSector  sector_num,
void **  buf 
)

◆ ptt_read_sectors()

int ptt_read_sectors ( PedDevice const *  dev,
PedSector  start_sector,
PedSector  n_sectors,
void **  buf 
)

◆ ptt_write_sector()

int ptt_write_sector ( PedDisk const *  disk,
void const *  buf,
size_t  buflen 
)