| /onnv-gate/usr/src/lib/libparted/common/include/parted/ |
| H A D | filesys.h | 29 typedef struct _PedFileSystem PedFileSystem; typedef 44 PedFileSystem* (*open) (PedGeometry* geom); 45 PedFileSystem* (*create) (PedGeometry* geom, PedTimer* timer); 46 int (*close) (PedFileSystem* fs); 47 int (*check) (PedFileSystem* fs, PedTimer* timer); 48 PedFileSystem* (*copy) (const PedFileSystem* fs, PedGeometry* geom, 50 int (*resize) (PedFileSystem* fs, PedGeometry* geom, PedTimer* timer); 53 PedConstraint* (*get_resize_constraint) (const PedFileSystem* fs); 54 PedConstraint* (*get_copy_constraint) (const PedFileSystem* fs, 95 extern PedFileSystem* ped_file_system_open (PedGeometry* geom); [all …]
|
| /onnv-gate/usr/src/lib/libparted/common/libparted/fs/fat/ |
| H A D | fatio.h | 24 extern int fat_read_fragments (PedFileSystem* fs, char* buf, FatFragment frag, 26 extern int fat_write_fragments (PedFileSystem* fs, char* buf, FatFragment frag, 28 extern int fat_write_sync_fragments (PedFileSystem* fs, char* buf, 31 extern int fat_read_fragment (PedFileSystem* fs, char* buf, FatFragment frag); 32 extern int fat_write_fragment (PedFileSystem* fs, char* buf, FatFragment frag); 33 extern int fat_write_sync_fragment (PedFileSystem* fs, char* buf, 36 extern int fat_read_clusters (PedFileSystem* fs, char* buf, FatCluster cluster, 38 extern int fat_write_clusters (PedFileSystem* fs, char* buf, FatCluster cluster, 40 extern int fat_write_sync_clusters (PedFileSystem* fs, char* buf, 43 extern int fat_read_cluster (PedFileSystem* fs, char *buf, FatCluster cluster); [all …]
|
| H A D | calc.h | 29 extern int fat_check_resize_geometry (const PedFileSystem* fs, 52 fat_calc_align_sectors (const PedFileSystem* new_fs, 53 const PedFileSystem* old_fs); 56 fat_is_sector_in_clusters (const PedFileSystem* fs, PedSector sector); 59 fat_cluster_to_frag (const PedFileSystem* fs, FatCluster cluster); 62 fat_frag_to_cluster (const PedFileSystem* fs, FatFragment frag); 65 fat_frag_to_sector (const PedFileSystem* fs, FatFragment frag); 68 fat_sector_to_frag (const PedFileSystem* fs, PedSector sector); 71 fat_cluster_to_sector (const PedFileSystem* fs, FatCluster cluster); 74 fat_sector_to_cluster (const PedFileSystem* fs, PedSector sector);
|
| H A D | fatio.c | 34 fat_read_fragments (PedFileSystem* fs, char* buf, FatFragment frag, in fat_read_fragments() 47 fat_read_fragment (PedFileSystem* fs, char* buf, FatFragment frag) in fat_read_fragment() 53 fat_write_fragments (PedFileSystem* fs, char* buf, FatFragment frag, in fat_write_fragments() 66 fat_write_fragment (PedFileSystem* fs, char* buf, FatFragment frag) in fat_write_fragment() 72 fat_write_sync_fragments (PedFileSystem* fs, char* buf, FatFragment frag, in fat_write_sync_fragments() 83 fat_write_sync_fragment (PedFileSystem* fs, char* buf, FatFragment frag) in fat_write_sync_fragment() 89 fat_read_clusters (PedFileSystem* fs, char *buf, FatCluster cluster, in fat_read_clusters() 104 fat_read_cluster (PedFileSystem* fs, char *buf, FatCluster cluster) in fat_read_cluster() 110 fat_write_clusters (PedFileSystem* fs, char *buf, FatCluster cluster, in fat_write_clusters() 125 fat_write_cluster (PedFileSystem* fs, char *buf, FatCluster cluster) in fat_write_cluster() [all …]
|
| H A D | fat.c | 26 PedFileSystem* 29 PedFileSystem* fs; in fat_alloc() 31 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem)); in fat_alloc() 56 fat_alloc_buffers (PedFileSystem* fs) in fat_alloc_buffers() 78 fat_free_buffers (PedFileSystem* fs) in fat_free_buffers() 87 fat_free (PedFileSystem* fs) in fat_free() 95 fat_set_frag_sectors (PedFileSystem* fs, PedSector frag_sectors) in fat_set_frag_sectors() 115 PedFileSystem* fs; in fat_probe() 190 _init_fats (PedFileSystem* fs) in _init_fats() 212 PedFileSystem* [all …]
|
| H A D | count.h | 47 extern int fat_collect_cluster_info (PedFileSystem *fs); 48 extern FatClusterFlag fat_get_cluster_flag (PedFileSystem* fs, 50 extern PedSector fat_get_cluster_usage (PedFileSystem* fs, FatCluster cluster); 51 extern FatClusterFlag fat_get_fragment_flag (PedFileSystem* fs, 53 extern int fat_is_fragment_active (PedFileSystem* fs, FatFragment frag);
|
| H A D | fat.h | 157 extern void fat_print (const PedFileSystem* fs); 159 extern PedFileSystem* fat_alloc (const PedGeometry* geom); 160 extern void fat_free (PedFileSystem* fs); 161 extern int fat_alloc_buffers (PedFileSystem* fs); 162 extern void fat_free_buffers (PedFileSystem* fs); 164 extern int fat_resize (PedFileSystem* fs, PedGeometry* geom, PedTimer* timer); 166 extern int fat_set_frag_sectors (PedFileSystem* fs, PedSector frag_sectors);
|
| H A D | traverse.h | 27 PedFileSystem* fs; 44 extern FatTraverseInfo* fat_traverse_begin (PedFileSystem* fs, 57 PedFileSystem* fs); 60 PedFileSystem* fs, FatCluster cluster); 71 PedFileSystem* fs);
|
| H A D | bootsector.h | 132 int fat_boot_sector_analyse (FatBootSector* bs, PedFileSystem* fs); 134 int fat_boot_sector_generate (FatBootSector* bs, const PedFileSystem* fs); 135 int fat_boot_sector_write (const FatBootSector* bs, PedFileSystem* fs); 137 int fat_info_sector_read (FatInfoSector* is, const PedFileSystem* fs); 138 int fat_info_sector_generate (FatInfoSector* is, const PedFileSystem* fs); 139 int fat_info_sector_write (const FatInfoSector* is, PedFileSystem* fs);
|
| H A D | context.h | 31 PedFileSystem* old_fs; 32 PedFileSystem* new_fs; 52 extern FatOpContext* fat_op_context_new (PedFileSystem* new_fs, 53 PedFileSystem* old_fs);
|
| H A D | count.c | 95 print_chain (PedFileSystem* fs, FatCluster start) in print_chain() 130 flag_traverse_fat (PedFileSystem* fs, const char* chain_name, FatCluster start, in flag_traverse_fat() 219 PedFileSystem* fs = trav_info->fs; in flag_traverse_dir() 296 _mark_bad_clusters (PedFileSystem* fs) in _mark_bad_clusters() 314 fat_collect_cluster_info (PedFileSystem* fs) { in fat_collect_cluster_info() 341 fat_get_cluster_flag (PedFileSystem* fs, FatCluster cluster) in fat_get_cluster_flag() 349 fat_get_cluster_usage (PedFileSystem* fs, FatCluster cluster) in fat_get_cluster_usage() 365 fat_get_fragment_flag (PedFileSystem* fs, FatFragment frag) in fat_get_fragment_flag() 388 fat_is_fragment_active (PedFileSystem* fs, FatFragment frag) in fat_is_fragment_active()
|
| H A D | calc.c | 103 fat_check_resize_geometry (const PedFileSystem* fs, in fat_check_resize_geometry() 318 fat_calc_align_sectors (const PedFileSystem* new_fs, in fat_calc_align_sectors() 319 const PedFileSystem* old_fs) in fat_calc_align_sectors() 363 fat_is_sector_in_clusters (const PedFileSystem* fs, PedSector sector) in fat_is_sector_in_clusters() 373 fat_cluster_to_frag (const PedFileSystem* fs, FatCluster cluster) in fat_cluster_to_frag() 384 fat_frag_to_cluster (const PedFileSystem* fs, FatFragment frag) in fat_frag_to_cluster() 394 fat_frag_to_sector (const PedFileSystem* fs, FatFragment frag) in fat_frag_to_sector() 404 fat_sector_to_frag (const PedFileSystem* fs, PedSector sector) in fat_sector_to_frag() 414 fat_cluster_to_sector (const PedFileSystem* fs, FatCluster cluster) in fat_cluster_to_sector() 426 fat_sector_to_cluster (const PedFileSystem* fs, PedSector sector) in fat_sector_to_cluster()
|
| H A D | table.h | 46 extern int fat_table_read (FatTable* ft, const PedFileSystem* fs, 48 extern int fat_table_write (const FatTable* ft, PedFileSystem* fs, 50 extern int fat_table_write_all (const FatTable* ft, PedFileSystem* fs); 59 PedFileSystem* fs);
|
| /onnv-gate/usr/src/lib/libparted/common/libparted/fs/linux_swap/ |
| H A D | linux_swap.c | 73 static PedFileSystem* swap_open (PedGeometry* geom); 74 static int swap_close (PedFileSystem* fs); 79 PedFileSystem* fs; in swap_probe() 109 PedFileSystem* fs; in swap_clobber() 131 swap_init (PedFileSystem* fs, int fresh) in swap_init() 148 static PedFileSystem* 151 PedFileSystem* fs; in swap_alloc() 154 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem)); in swap_alloc() 192 swap_free (PedFileSystem* fs) in swap_free() 204 static PedFileSystem* [all …]
|
| /onnv-gate/usr/src/lib/libparted/common/libparted/fs/ntfs/ |
| H A D | ntfs.c | 79 static PedFileSystem* 82 PedFileSystem* fs; in ntfs_open() 86 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem)); in ntfs_open() 196 PedFileSystem* 200 PedFileSystem* fs = NULL; in ntfs_create() 234 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem)); in ntfs_create() 251 ntfs_close (PedFileSystem *fs) in ntfs_close() 266 ntfs_check(PedFileSystem *fs, PedTimer *timer) in ntfs_check() 312 static PedFileSystem* 313 ntfs_copy(const PedFileSystem *fs, PedGeometry *geom, PedTimer *timer) in ntfs_copy() [all …]
|
| /onnv-gate/usr/src/lib/libparted/common/libparted/fs/hfs/ |
| H A D | advfs_plus.h | 37 hfsplus_read_bad_blocks (const PedFileSystem *fs); 40 hfsplus_is_bad_block (const PedFileSystem *fs, unsigned int fblock); 43 hfsplus_get_empty_end (const PedFileSystem *fs); 46 hfsplus_get_min_size (const PedFileSystem *fs); 49 hfsplus_find_start_pack (const PedFileSystem *fs, unsigned int fblock);
|
| H A D | advfs.h | 37 hfs_read_bad_blocks (const PedFileSystem *fs); 40 hfs_is_bad_block (const PedFileSystem *fs, unsigned int fblock); 43 hfs_get_empty_end (const PedFileSystem *fs); 46 hfs_find_start_pack (const PedFileSystem *fs, unsigned int fblock);
|
| H A D | journal.h | 29 hfsj_replay_journal(PedFileSystem* fs); 32 hfsj_update_jib(PedFileSystem* fs, uint32_t block); 35 hfsj_update_jl(PedFileSystem* fs, uint32_t block);
|
| H A D | reloc_plus.h | 29 hfsplus_update_vh (PedFileSystem *fs); 32 hfsplus_pack_free_space_from_block (PedFileSystem *fs, unsigned int fblock,
|
| H A D | reloc.h | 29 hfs_update_mdb (PedFileSystem *fs); 32 hfs_pack_free_space_from_block (PedFileSystem *fs, unsigned int fblock,
|
| H A D | hfs.c | 81 static PedFileSystem* 85 PedFileSystem* fs; in hfs_open() 97 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem)); in hfs_open() 152 hfs_close (PedFileSystem *fs) in hfs_close() 169 hfs_get_resize_constraint (const PedFileSystem *fs) in hfs_get_resize_constraint() 193 hfs_resize (PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) in hfs_resize() 378 hfsplus_close (PedFileSystem *fs) in hfsplus_close() 401 static PedFileSystem* 405 PedFileSystem* fs; in hfsplus_open() 414 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem)); in hfsplus_open() [all …]
|
| H A D | reloc.c | 46 hfs_effect_move_extent (PedFileSystem *fs, unsigned int *ptr_fblock, in hfs_effect_move_extent() 162 hfs_update_mdb (PedFileSystem *fs) in hfs_update_mdb() 181 hfs_do_move (PedFileSystem* fs, unsigned int *ptr_src, in hfs_do_move() 268 hfs_save_allocation(PedFileSystem* fs) in hfs_save_allocation() 289 hfs_move_extent_starting_at (PedFileSystem *fs, unsigned int *ptr_fblock, in hfs_move_extent_starting_at() 318 hfs_cache_from_mdb(HfsCPrivateCache* cache, PedFileSystem* fs, in hfs_cache_from_mdb() 362 hfs_cache_from_catalog(HfsCPrivateCache* cache, PedFileSystem* fs, in hfs_cache_from_catalog() 457 hfs_cache_from_extent(HfsCPrivateCache* cache, PedFileSystem* fs, in hfs_cache_from_extent() 555 hfs_cache_extents(PedFileSystem *fs, PedTimer* timer) in hfs_cache_extents() 585 hfs_pack_free_space_from_block (PedFileSystem *fs, unsigned int fblock, in hfs_pack_free_space_from_block()
|
| /onnv-gate/usr/src/lib/libparted/common/libparted/fs/ext2/ |
| H A D | interface.c | 103 static PedFileSystem* 106 PedFileSystem* fs; in _ext2_open() 110 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem)); in _ext2_open() 136 static PedFileSystem* 139 PedFileSystem* fs; in _ext2_create() 143 fs = (PedFileSystem*) ped_malloc (sizeof (PedFileSystem)); in _ext2_create() 169 _ext2_close (PedFileSystem *fs) in _ext2_close() 182 _ext2_check (PedFileSystem *fs, PedTimer* timer) in _ext2_check() 191 _ext2_resize (PedFileSystem* fs, PedGeometry* geom, PedTimer* timer) in _ext2_resize() 247 _ext2_get_resize_constraint (const PedFileSystem* fs) in _ext2_get_resize_constraint()
|
| /onnv-gate/usr/src/lib/libparted/common/libparted/fs/reiserfs/ |
| H A D | reiserfs.c | 252 static PedFileSystem *reiserfs_open(PedGeometry *geom) in reiserfs_open() 254 PedFileSystem *fs; in reiserfs_open() 272 if (!(fs = (PedFileSystem *) ped_malloc(sizeof(PedFileSystem)))) in reiserfs_open() 294 static PedFileSystem *reiserfs_create(PedGeometry *geom, PedTimer *timer) in reiserfs_create() 298 PedFileSystem *fs; in reiserfs_create() 335 if (!(fs = (PedFileSystem *) ped_malloc(sizeof(PedFileSystem)))) in reiserfs_create() 356 static int reiserfs_close(PedFileSystem *fs) in reiserfs_close() 387 static int reiserfs_check(PedFileSystem *fs, PedTimer *timer) in reiserfs_check() 455 static int reiserfs_resize(PedFileSystem *fs, PedGeometry *geom, in reiserfs_resize() 540 static PedConstraint *reiserfs_get_resize_constraint(const PedFileSystem * in reiserfs_get_resize_constraint() [all …]
|
| /onnv-gate/usr/src/lib/libparted/common/libparted/ |
| H A D | filesys.c | 137 PedFileSystem* fs; in _test_open() 368 PedFileSystem* 372 PedFileSystem* fs; in ped_file_system_open() 432 PedFileSystem* 436 PedFileSystem* fs; in ped_file_system_create() 472 ped_file_system_close (PedFileSystem* fs) in ped_file_system_close() 497 ped_file_system_check (PedFileSystem* fs, PedTimer* timer) in ped_file_system_check() 562 static PedFileSystem* 563 _raw_copy_and_resize (const PedFileSystem* fs, PedGeometry* geom, in _raw_copy_and_resize() 566 PedFileSystem* new_fs; in _raw_copy_and_resize() [all …]
|