Searched refs:PED_SECTOR_SIZE_DEFAULT (Results 1 - 22 of 22) sorted by relevance
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/fs/hfs/ |
H A D | journal.c | 74 uint8_t buf[PED_SECTOR_SIZE_DEFAULT]; 82 binsect = HFS_32_TO_CPU(priv_data->vh->block_size, is_le) / PED_SECTOR_SIZE_DEFAULT; 88 offset = (uint64_t)block * PED_SECTOR_SIZE_DEFAULT * binsect; 113 buf = ((uint8_t*)buf) + PED_SECTOR_SIZE_DEFAULT; 137 blhdr_nbsect = HFS_32_TO_CPU(jh->blhdr_size, is_le) / PED_SECTOR_SIZE_DEFAULT; 139 ped_malloc (blhdr_nbsect * PED_SECTOR_SIZE_DEFAULT); 142 start = HFS_64_TO_CPU(jh->start, is_le) / PED_SECTOR_SIZE_DEFAULT; 163 if (size % PED_SECTOR_SIZE_DEFAULT) { 177 size / PED_SECTOR_SIZE_DEFAULT, 188 size / PED_SECTOR_SIZE_DEFAULT); [all...] |
H A D | probe.c | 46 if (dev->sector_size != PED_SECTOR_SIZE_DEFAULT) { 52 (int)PED_SECTOR_SIZE_DEFAULT ); 65 uint8_t buf[PED_SECTOR_SIZE_DEFAULT]; 83 * (PED_BE32_TO_CPU (mdb->block_size) / PED_SECTOR_SIZE_DEFAULT ))); 84 max = search + (PED_BE32_TO_CPU (mdb->block_size) / PED_SECTOR_SIZE_DEFAULT); 104 uint8_t buf[PED_SECTOR_SIZE_DEFAULT]; 140 * ( PED_BE32_TO_CPU (vh->block_size) / PED_SECTOR_SIZE_DEFAULT ) 143 / PED_SECTOR_SIZE_DEFAULT ) + 2; 157 * ( PED_BE32_TO_CPU (vh->block_size) / PED_SECTOR_SIZE_DEFAULT ) 195 uint8_t buf[PED_SECTOR_SIZE_DEFAULT]; [all...] |
H A D | hfs.c | 68 uint8_t buf[PED_SECTOR_SIZE_DEFAULT]; 70 memset (buf, 0, PED_SECTOR_SIZE_DEFAULT); 84 uint8_t buf[PED_SECTOR_SIZE_DEFAULT]; 117 / PED_SECTOR_SIZE_DEFAULT); 123 / PED_SECTOR_SIZE_DEFAULT); 129 + PED_SECTOR_SIZE_DEFAULT * 8 - 1 ) 130 / (PED_SECTOR_SIZE_DEFAULT * 8) ) ) 195 uint8_t buf[PED_SECTOR_SIZE_DEFAULT]; 223 / PED_SECTOR_SIZE_DEFAULT; 299 + PED_SECTOR_SIZE_DEFAULT * [all...] |
H A D | reloc.c | 101 / PED_SECTOR_SIZE_DEFAULT); 166 uint8_t node[PED_SECTOR_SIZE_DEFAULT]; 185 uint8_t node[PED_SECTOR_SIZE_DEFAULT]; 233 && ref->ref_offset < PED_SECTOR_SIZE_DEFAULT, 275 + PED_SECTOR_SIZE_DEFAULT * 8 - 1 ) 276 / (PED_SECTOR_SIZE_DEFAULT * 8); 367 uint8_t node[PED_SECTOR_SIZE_DEFAULT]; 388 (node+(PED_SECTOR_SIZE_DEFAULT-2))))); 401 *((uint16_t*)(node+(PED_SECTOR_SIZE_DEFAULT - 2*i))))); 408 >= PED_SECTOR_SIZE_DEFAULT [all...] |
H A D | advfs.c | 83 uint8_t node[PED_SECTOR_SIZE_DEFAULT]; 94 (node+(PED_SECTOR_SIZE_DEFAULT-2)))))); 111 (node+(PED_SECTOR_SIZE_DEFAULT - 2*i))))); 115 >= PED_SECTOR_SIZE_DEFAULT 301 / PED_SECTOR_SIZE_DEFAULT);
|
H A D | reloc_plus.c | 104 / PED_SECTOR_SIZE_DEFAULT); 135 block/(PED_SECTOR_SIZE_DEFAULT*8)); 141 block/(PED_SECTOR_SIZE_DEFAULT*8)); 169 uint8_t node[PED_SECTOR_SIZE_DEFAULT]; 284 PED_ASSERT(PED_SECTOR_SIZE_DEFAULT * ref->sect_by_block 331 + PED_SECTOR_SIZE_DEFAULT * 8 - 1 ) / (PED_SECTOR_SIZE_DEFAULT * 8); 340 priv_data->alloc_map + i * PED_SECTOR_SIZE_DEFAULT, 478 uint8_t node_1[PED_SECTOR_SIZE_DEFAULT]; 505 size = bsize / PED_SECTOR_SIZE_DEFAULT; [all...] |
H A D | advfs_plus.c | 76 uint8_t node_1[PED_SECTOR_SIZE_DEFAULT]; 95 size = (bsize = PED_BE16_TO_CPU (header->node_size)) / PED_SECTOR_SIZE_DEFAULT; 312 / PED_SECTOR_SIZE_DEFAULT ); 336 / PED_SECTOR_SIZE_DEFAULT;
|
H A D | file_plus.c | 115 / PED_SECTOR_SIZE_DEFAULT; 224 b += phy_area.sector_count * PED_SECTOR_SIZE_DEFAULT; 267 b += phy_area.sector_count * PED_SECTOR_SIZE_DEFAULT;
|
H A D | cache.c | 168 (unsigned) PED_SECTOR_SIZE_DEFAULT * sbb ? 170 (unsigned) PED_SECTOR_SIZE_DEFAULT * sbb;
|
H A D | file.c | 108 / PED_SECTOR_SIZE_DEFAULT;
|
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/fs/reiserfs/ |
H A D | geom_dal.c | 32 (dal->block_size / PED_SECTOR_SIZE_DEFAULT); 42 k = dal->block_size / PED_SECTOR_SIZE_DEFAULT; 56 k = dal->block_size / PED_SECTOR_SIZE_DEFAULT;
|
H A D | reiserfs.c | 220 / PED_SECTOR_SIZE_DEFAULT; 481 PED_SECTOR_SIZE_DEFAULT)); 568 (reiserfs_fs_block_size(fs_info) / PED_SECTOR_SIZE_DEFAULT); 599 (geom->length / (reiserfs_fs_block_size(src_fs) / PED_SECTOR_SIZE_DEFAULT));
|
/opensolaris-onvv-gate/usr/src/lib/libparted/common/include/parted/ |
H A D | unit.h | 34 #define PED_SECTOR_SIZE_DEFAULT 512LL macro
|
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/fs/amiga/ |
H A D | apfs.c | 53 if (!(part = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) { 67 if (!(block = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) {
|
H A D | asfs.c | 67 if (!(part = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) { 83 if (!(block = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) {
|
H A D | amiga.c | 166 if (end > PED_SECTOR_SIZE_DEFAULT) end = PED_SECTOR_SIZE_DEFAULT; 274 if (!(rdb = ped_malloc (PED_SECTOR_SIZE_DEFAULT))) {
|
H A D | affs.c | 60 if (!(part = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) { 75 if (!(block = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) {
|
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/arch/ |
H A D | solaris.c | 124 dev->sector_size = PED_SECTOR_SIZE_DEFAULT; 125 dev->phys_sector_size = PED_SECTOR_SIZE_DEFAULT; 140 if (dev->sector_size != PED_SECTOR_SIZE_DEFAULT) { 1009 PED_ASSERT(dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0, return (0)); 1036 PED_ASSERT(dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0, return (0)); 1129 PED_ASSERT(dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0, return (0)); 1175 diobuf = memalign((size_t)PED_SECTOR_SIZE_DEFAULT, write_length); 1236 PED_ASSERT(dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0, 1248 diobuf = memalign(PED_SECTOR_SIZE_DEFAULT, count * dev->sector_size);
|
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/labels/ |
H A D | rdb.c | 139 if (end > PED_SECTOR_SIZE_DEFAULT) end = PED_SECTOR_SIZE_DEFAULT; 355 if (!(disk->disk_specific = ped_malloc (PED_SECTOR_SIZE_DEFAULT))) { 366 rdb->rdb_BlockBytes = PED_CPU_TO_BE32 (PED_SECTOR_SIZE_DEFAULT); 452 if ((rdb=RDSK(ped_malloc(PED_SECTOR_SIZE_DEFAULT)))==NULL) 493 PED_ASSERT(disk->dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0, 656 if (!(rdb = ped_malloc (PED_SECTOR_SIZE_DEFAULT))) 666 0, PED_SECTOR_SIZE_DEFAULT - pb_size); 668 memcpy (RDSK(disk->disk_specific), rdb, PED_SECTOR_SIZE_DEFAULT); 693 if (!(block = ped_malloc (PED_SECTOR_SIZE_DEFAULT))) { [all...] |
H A D | bsd.c | 192 PED_ASSERT(dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0, return 0);
|
H A D | dos.c | 466 PED_ASSERT (part->disk->dev->sector_size % PED_SECTOR_SIZE_DEFAULT == 0,
|
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/fs/fat/ |
H A D | bootsector.c | 61 || PED_LE16_TO_CPU (bs->sector_size) % PED_SECTOR_SIZE_DEFAULT) {
|
Completed in 191 milliseconds