/haiku/src/system/boot/platform/atari_m68k/ |
H A D | devices.cpp | 1198 dprintf("boot partition offset: %lld\n", offset); 1201 boot::Partition *partition = NULL; local 1202 while ((partition = (boot::Partition *)iterator.Next()) != NULL) { 1203 TRACE(("partition offset = %lld, size = %lld\n", partition->offset, partition->size)); 1204 // search for the partition that contains the partition 1206 if (offset >= partition->offset 1207 && offset < partition [all...] |
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | checksumfs.cpp | 793 checksumfs_identify_partition(int fd, partition_data* partition, argument 796 if ((uint64)partition->size < kCheckSumFSMinSize) 809 if (!superBlock->Check((uint64)partition->size / B_PAGE_SIZE)) 818 checksumfs_scan_partition(int fd, partition_data* partition, void* cookie) argument 822 partition->status = B_PARTITION_VALID; 823 partition->flags |= B_PARTITION_FILE_SYSTEM; 824 partition->content_size = superBlock->TotalBlocks() * B_PAGE_SIZE; 825 partition->block_size = B_PAGE_SIZE; 826 partition->content_name = strdup(superBlock->Name()); 827 if (partition 835 checksumfs_free_identify_partition_cookie(partition_data* partition, void* cookie) argument 869 checksumfs_set_content_name(int fd, partition_id partition, const char* name, disk_job_id job) argument 878 checksumfs_initialize(int fd, partition_id partition, const char* name, const char* parameters, off_t partitionSize, disk_job_id job) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | dosfs.cpp | 284 vol->total_sectors = read16(buf, 0x13); // partition size 385 /* check that the partition is large enough to contain the file system */ 390 dprintf("dosfs: volume extends past end of partition, mounting read-only\n"); 670 dosfs_identify_partition(int fd, partition_data *partition, void **_cookie) argument 720 // partition size 753 dosfs_scan_partition(int fd, partition_data *partition, void *_cookie) argument 756 partition->status = B_PARTITION_VALID; 757 partition->flags |= B_PARTITION_FILE_SYSTEM; 758 partition->content_size = cookie->total_sectors * cookie->bytes_per_sector; 759 partition 769 dosfs_free_identify_partition_cookie(partition_data *partition, void *_cookie) argument 1220 dosfs_get_supported_operations(partition_data* partition, uint32 mask) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/ |
H A D | kernel_interface.cpp | 56 fs_identify_partition(int fd, partition_data* partition, void** _cookie) argument 80 // This value overrides the Intel partition identifier. 86 fs_scan_partition(int fd, partition_data* partition, void* _cookie) argument 91 partition->status = B_PARTITION_VALID; 92 partition->flags |= B_PARTITION_FILE_SYSTEM; 93 partition->content_size = sle64_to_cpu(cookie->boot.number_of_sectors) 95 partition->block_size = le16_to_cpu(cookie->boot.bpb.bytes_per_sector); 106 partition->content_name = strdup(ntVolume->vol_name); 108 partition->content_name = strdup(""); 112 return partition 117 fs_free_identify_partition_cookie(partition_data* partition, void* _cookie) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 80 btrfs_identify_partition(int fd, partition_data* partition, void** _cookie) argument 96 btrfs_scan_partition(int fd, partition_data* partition, void* _cookie) argument 100 partition->status = B_PARTITION_VALID; 101 partition->flags |= B_PARTITION_FILE_SYSTEM; 102 partition->content_size = cookie->super_block.TotalSize(); 103 partition->block_size = cookie->super_block.BlockSize(); 104 partition->content_name = strdup(cookie->super_block.label); 105 if (partition->content_name == NULL) 113 btrfs_free_identify_partition_cookie(partition_data* partition, void* _cookie) argument 1057 btrfs_get_supported_operations(partition_data* partition, uint3 argument [all...] |
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | Icb.cpp | 109 fPartition(address.partition()), 115 TRACE(("Icb::Icb: volume = %p, address(block = %" B_PRIu32 ", partition = " 117 address.partition(), address.length())); 396 "%" B_PRIu32 ", partition: %d, length: %" B_PRIu32 ", type: %d)\n", 397 pos, extent.block(), extent.partition(), extent.length(),
|
H A D | UdfStructures.h | 393 logical_block_address(uint16 partition = 0, uint32 block = 0); 396 uint16 partition() const { return B_LENDIAN_TO_HOST_INT16(_partition); } function in struct:logical_block_address 399 void set_partition(uint16 partition) { _partition = B_HOST_TO_LENDIAN_INT16(partition); } argument 402 uint32 _block; //!< Block location relative to start of corresponding partition 403 uint16 _partition; //!< Numeric partition id within logical volume 487 long_address(uint16 partition = 0, uint32 block = 0, uint32 length = 0, 504 uint16 partition() const { return _location.partition(); } function in struct:long_address 525 void set_partition(uint16 partition) { _locatio argument 530 set_to(uint32 block, uint16 partition, uint32 length = 1, uint8 type = EXTENT_TYPE_RECORDED, uint16 flags = 0, uint32 unique_id = 0) argument [all...] |
H A D | UdfStructures.cpp | 135 return "partition descriptor"; 164 return "partition integrity entry"; 474 PRINT(("partition: %d\n", partition())); 477 logical_block_address::logical_block_address(uint16 partition, uint32 block) argument 479 set_partition(partition); 487 long_address::long_address(uint16 partition, uint32 block, uint32 length, argument 490 set_partition(partition); 503 PRINT(("partition: %d\n", partition())); [all...] |
/haiku/src/tools/fs_shell/ |
H A D | syscalls.h | 76 const char *partition, const char *name,
|
/haiku/src/bin/ |
H A D | eject.cpp | 53 virtual bool Visit(BPartition* partition, int32 level) { return false; } argument
|
/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | kernel_interface.cpp | 31 xfs_identify_partition(int fd, partition_data *partition, void **_cookie) argument 38 xfs_scan_partition(int fd, partition_data *partition, void *_cookie) argument 45 xfs_free_identify_partition_cookie(partition_data *partition, void *_cookie) argument 667 xfs_get_supported_operations(partition_data *partition, uint32 mask) argument 832 /* shadow partition modification */
|
/haiku/src/kits/storage/disk_device/ |
H A D | PartitionDelegate.cpp | 23 BPartition::Delegate::Delegate(BPartition* partition) argument 25 fPartition(partition), 89 TRACE(" failed to create partition handle for partition %ld, disk " 370 TRACE(" no partition handle!\n"); 456 // TODO: This won't suffice. If this partition had children, we have
|
/haiku/src/system/boot/loader/ |
H A D | menu.cpp | 1372 Partition* partition; local 1373 if (gRoot->GetPartitionFor(volume, &partition) != B_OK) 1377 if (partition->content_type == NULL 1378 || strcmp(partition->content_type, kPartitionTypeFAT32) != 0) { 1391 " (%s, offset %s, size %s)", partition->content_type, 1392 size_to_string(partition->offset, offsetBuffer, 1394 size_to_string(partition->size, sizeBuffer,
|
/haiku/src/system/kernel/fs/ |
H A D | vfs.cpp | 168 KPartition* partition; member in struct:fs_mount 3011 kprintf(" partition: %p\n", mount->partition); 3030 set_debug_variable("_partition", (addr_t)mount->partition); 7364 // get the partition 7366 KPartition* partition = NULL; local 7376 // get a corresponding partition from the DDM 7377 partition = ddm->RegisterPartition(normalizedDevice.Path()); 7378 if (partition == NULL) { 7385 partition 7695 KPartition* partition = mount->partition; local [all...] |
/haiku/src/add-ons/kernel/file_systems/cdda/ |
H A D | kernel_interface.cpp | 1391 cdda_identify_partition(int fd, partition_data* partition, void** _cookie) argument 1400 // partition, which may not be the whole CD, and if any are audio, 1401 // claim the partition. 1404 uint64 sessionStartLBA = partition->offset / partition->block_size; 1406 + (partition->size / partition->block_size); 1444 cdda_scan_partition(int fd, partition_data* partition, void* _cookie) argument 1448 partition->status = B_PARTITION_VALID; 1449 partition 1474 cdda_free_identify_partition_cookie(partition_data* partition, void* _cookie) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | kernel_interface.cpp | 52 ext2_identify_partition(int fd, partition_data *partition, void **_cookie) argument 71 ext2_scan_partition(int fd, partition_data *partition, void *_cookie) argument 75 partition->status = B_PARTITION_VALID; 76 partition->flags |= B_PARTITION_FILE_SYSTEM; 77 partition->content_size = cookie->super_block.NumBlocks( 81 partition->block_size = 1UL << cookie->super_block.BlockShift(); 82 partition->content_name = strdup(cookie->super_block.name); 83 if (partition->content_name == NULL) 91 ext2_free_identify_partition_cookie(partition_data* partition, void* _cookie) argument
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | Volume.cpp | 93 Volume::Identify(int fd, partition_data *partition) argument 138 UpdateName(fsVolume->partition);
|
/haiku/headers/private/kernel/disk_device_manager/ |
H A D | KPartition.h | 28 //! \brief Class representing a single partition. 107 // access to C style partition data 143 status_t AddChild(KPartition *partition, int32 index = -1); 162 // The partition will load it too, hence it won't be unloaded before
|
/haiku/src/system/kernel/vm/ |
H A D | VMAnonymousCache.cpp | 1386 virtual bool VisitPre(KPartition* partition) argument 1388 if (!partition->ContainsFileSystem()) 1392 partition->GetPath(&path); 1395 if (strcmp(fVolumeInfo.name, partition->ContentName()) == 0) 1399 if (fVolumeInfo.capacity == partition->Size()) 1402 partition->DiskSystem()->ShortName()) == 0) { 1406 fBestPartition = partition; 1683 dprintf("%s: Can't find configured swap partition '%s'\n", 1697 dprintf("%s: Can't mount configured swap partition '%s'\n",
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | kernel_interface.cpp | 124 bfs_identify_partition(int fd, partition_data* partition, void** _cookie) argument 143 bfs_scan_partition(int fd, partition_data* partition, void* _cookie) argument 147 partition->status = B_PARTITION_VALID; 148 partition->flags |= B_PARTITION_FILE_SYSTEM; 149 partition->content_size = cookie->super_block.NumBlocks() 151 partition->block_size = cookie->super_block.BlockSize(); 152 partition->content_name = strdup(cookie->super_block.name); 153 if (partition->content_name == NULL) 161 bfs_free_identify_partition_cookie(partition_data* partition, void* _cookie) argument 2352 bfs_get_supported_operations(partition_data* partition, uint3 argument [all...] |
/haiku/src/apps/installer/ |
H A D | InstallerWindow.cpp | 449 "up partitions and format at least one partition with the " 506 "Unknown partition name")); 514 "Unknown partition name")); 697 // partition here. 762 label = B_TRANSLATE_COMMENT("<none>", "No partition available"); 768 // Disable any unsuitable target items, check if at least one partition 775 // Prevent the user from having picked the same partition as source 791 label = B_TRANSLATE_COMMENT("<none>", "No partition available"); 803 "Haiku has to be installed on a partition that uses " 808 "This operating system has to be installed on a partition " 874 BPartition *partition; local [all...] |
/haiku/headers/os/drivers/pcmcia/ |
H A D | cistpl.h | 510 u_int partition; member in struct:cistpl_device_geo_t::__anon267
|
/haiku/src/apps/bootmanager/ |
H A D | bootman.S | 682 db 'Not a bootable partition', 0x00 696 ; db size of partition name 0-terminated string 697 ; db 0-terminated string with partition name
|
/haiku/src/bin/pcmcia-cs/ |
H A D | dump_cis.c | 463 "partition 0x%x interleave 0x%x\n", indent, 466 geo->geo[i].partition, geo->geo[i].interleave);
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/ |
H A D | HaikuKernelVolume.cpp | 50 fVolume.partition = -1;
|