Home
last modified time | relevance | path

Searched defs:partition (Results 1 – 25 of 136) sorted by relevance

123456

/haiku/src/system/kernel/disk_device_manager/
H A DKPartitionListener.cpp19 KPartitionListener::OffsetChanged(KPartition *partition, off_t offset) in OffsetChanged()
25 KPartitionListener::SizeChanged(KPartition *partition, off_t size) in SizeChanged()
31 KPartitionListener::ContentSizeChanged(KPartition *partition, off_t size) in ContentSizeChanged()
37 KPartitionListener::BlockSizeChanged(KPartition *partition, uint32 blockSize) in BlockSizeChanged()
43 KPartitionListener::IndexChanged(KPartition *partition, int32 index) in IndexChanged()
49 KPartitionListener::StatusChanged(KPartition *partition, uint32 status) in StatusChanged()
55 KPartitionListener::FlagsChanged(KPartition *partition, uint32 flags) in FlagsChanged()
61 KPartitionListener::NameChanged(KPartition *partition, const char *name) in NameChanged()
67 KPartitionListener::ContentNameChanged(KPartition *partition, const char *name) in ContentNameChanged()
73 KPartitionListener::TypeChanged(KPartition *partition, const char *type) in TypeChanged()
[all …]
H A DKFileSystem.cpp58 KFileSystem::Identify(KPartition *partition, void **cookie) in Identify()
74 KFileSystem::Scan(KPartition *partition, void *cookie) in Scan()
90 KFileSystem::FreeIdentifyCookie(KPartition *partition, void *cookie) in FreeIdentifyCookie()
100 KFileSystem::FreeContentCookie(KPartition *partition) in FreeContentCookie()
110 KFileSystem::Defragment(KPartition* partition, disk_job_id job) in Defragment()
119 KFileSystem::Repair(KPartition* partition, bool checkOnly, disk_job_id job) in Repair()
128 KFileSystem::Resize(KPartition* partition, off_t size, disk_job_id job) in Resize()
149 KFileSystem::Move(KPartition* partition, off_t offset, disk_job_id job) in Move()
158 KFileSystem::SetContentName(KPartition* partition, const char* name, in SetContentName()
184 KFileSystem::SetContentParameters(KPartition* partition, in SetContentParameters()
[all …]
H A DKDiskSystem.cpp173 KDiskSystem::Identify(KPartition *partition, void **cookie) in Identify()
182 KDiskSystem::Scan(KPartition *partition, void *cookie) in Scan()
191 KDiskSystem::FreeIdentifyCookie(KPartition *partition, void *cookie) in FreeIdentifyCookie()
199 KDiskSystem::FreeCookie(KPartition *partition) in FreeCookie()
207 KDiskSystem::FreeContentCookie(KPartition *partition) in FreeContentCookie()
215 KDiskSystem::Defragment(KPartition* partition, disk_job_id job) in Defragment()
224 KDiskSystem::Repair(KPartition* partition, bool checkOnly, disk_job_id job) in Repair()
233 KDiskSystem::Resize(KPartition* partition, off_t size, disk_job_id job) in Resize()
251 KDiskSystem::Move(KPartition* partition, off_t offset, disk_job_id job) in Move()
269 KDiskSystem::SetName(KPartition* partition, const char* name, disk_job_id job) in SetName()
[all …]
H A DKPartitioningSystem.cpp65 KPartitioningSystem::Identify(KPartition *partition, void **cookie) in Identify()
87 KPartitioningSystem::Scan(KPartition *partition, void *cookie) in Scan()
103 KPartitioningSystem::FreeIdentifyCookie(KPartition *partition, void *cookie) in FreeIdentifyCookie()
114 KPartitioningSystem::FreeCookie(KPartition *partition) in FreeCookie()
127 KPartitioningSystem::FreeContentCookie(KPartition *partition) in FreeContentCookie()
141 KPartitioningSystem::Repair(KPartition* partition, bool checkOnly, in Repair()
152 KPartitioningSystem::Resize(KPartition* partition, off_t size, disk_job_id job) in Resize()
204 KPartitioningSystem::Move(KPartition* partition, off_t offset, disk_job_id job) in Move()
285 KPartitioningSystem::SetContentName(KPartition* partition, const char* name, in SetContentName()
368 KPartitioningSystem::SetContentParameters(KPartition* partition, in SetContentParameters()
[all …]
H A Ddisk_device_manager.cpp100 if (KPartition* partition = manager->RegisterPartition(path)) { in find_partition() local
121 KPartition* partition = manager->FindPartition(partitionID); in get_partition() local
130 KPartition* partition = manager->FindPartition(partitionID); in get_parent_partition() local
141 if (KPartition* partition = manager->FindPartition(partitionID)) { in get_child_partition() local
153 KPartition* partition = manager->FindPartition(partitionID); in open_partition() local
171 if (KPartition* partition = manager->FindPartition(partitionID)) { in create_child_partition() local
191 if (KPartition* partition = manager->FindPartition(partitionID)) { in delete_partition() local
211 KPartition* partition = manager->RegisterPartition(partitionID); in scan_partition() local
226 KPartition* partition = manager->RegisterPartition(partitionID); in get_default_partition_content_name() local
H A DKPartitionVisitor.cpp18 KPartitionVisitor::VisitPre(KPartition *partition) in VisitPre()
25 KPartitionVisitor::VisitPost(KPartition *partition) in VisitPost()
/haiku/src/kits/storage/disk_device/
H A DDiskDeviceList.cpp283 if (BPartition *partition = device->VisitEachDescendant(visitor)) in VisitEachPartition() local
307 BPartition *partition = NULL; in VisitEachMountedPartition() local
337 BPartition *partition = NULL; in VisitEachMountablePartition() local
390 BDiskDeviceList::MountPointMoved(BPartition *partition) in MountPointMoved()
403 BDiskDeviceList::PartitionMounted(BPartition *partition) in PartitionMounted()
416 BDiskDeviceList::PartitionUnmounted(BPartition *partition) in PartitionUnmounted()
429 BDiskDeviceList::PartitionInitialized(BPartition *partition) in PartitionInitialized()
442 BDiskDeviceList::PartitionResized(BPartition *partition) in PartitionResized()
455 BDiskDeviceList::PartitionMoved(BPartition *partition) in PartitionMoved()
468 BDiskDeviceList::PartitionCreated(BPartition *partition) in PartitionCreated()
[all …]
H A DDiskDeviceJobGenerator.cpp69 BPartition* partition; member
90 BPartition* partition; member
190 DiskDeviceJobGenerator::_GenerateCleanupJobs(BPartition* partition) in _GenerateCleanupJobs()
221 DiskDeviceJobGenerator::_GeneratePlacementJobs(BPartition* partition) in _GeneratePlacementJobs()
258 DiskDeviceJobGenerator::_GenerateChildPlacementJobs(BPartition* partition) in _GenerateChildPlacementJobs()
372 BPartition* partition) in _GenerateRemainingJobs()
485 DiskDeviceJobGenerator::_GetMutablePartition(BPartition* partition) in _GetMutablePartition()
497 DiskDeviceJobGenerator::_GenerateInitializeJob(BPartition* partition) in _GenerateInitializeJob()
521 DiskDeviceJobGenerator::_GenerateUninitializeJob(BPartition* partition) in _GenerateUninitializeJob()
542 DiskDeviceJobGenerator::_GenerateSetContentNameJob(BPartition* partition) in _GenerateSetContentNameJob()
[all …]
/haiku/src/add-ons/kernel/partitioning_systems/gpt/
H A Dgpt.cpp48 block_align(partition_data* partition, off_t offset, bool upwards) in block_align()
78 efi_gpt_identify_partition(int fd, partition_data* partition, void** _cookie) in efi_gpt_identify_partition()
103 efi_gpt_scan_partition(int fd, partition_data* partition, void* _cookie) in efi_gpt_scan_partition()
158 efi_gpt_free_identify_partition_cookie(partition_data* partition, void* _cookie) in efi_gpt_free_identify_partition_cookie()
165 efi_gpt_free_partition_content_cookie(partition_data* partition) in efi_gpt_free_partition_content_cookie()
173 efi_gpt_get_supported_operations(partition_data* partition, uint32 mask) in efi_gpt_get_supported_operations()
188 efi_gpt_get_supported_child_operations(partition_data* partition, in efi_gpt_get_supported_child_operations()
199 efi_gpt_is_sub_system_for(partition_data* partition) in efi_gpt_is_sub_system_for()
207 efi_gpt_validate_resize(partition_data* partition, off_t* size) in efi_gpt_validate_resize()
242 efi_gpt_validate_resize_child(partition_data* partition, partition_data* child, in efi_gpt_validate_resize_child()
[all …]
/haiku/headers/private/kernel/platform/next_m68k/
H A Ddisklabel.h52 struct partition { struct
53 int p_base; /* base sector# of partition */
54 int p_size; /* #sectors in partition */
55 short p_bsize; /* block size in bytes */
56 short p_fsize; /* frag size in bytes */
57 char p_opt; /* 's'pace/'t'ime optimization pref */
58 short p_cpg; /* cylinders per group */
59 short p_density; /* bytes per inode density */
60 char p_minfree; /* minfree (%) */
61 char p_newfs; /* run newfs during init */
[all …]
/haiku/src/tests/system/kernel/file_corruption/disk_system/
H A Dchecksumfs.cpp74 CheckSumFSAddOn::CreatePartitionHandle(BMutablePartition* partition, in CreatePartitionHandle()
95 CheckSumFSAddOn::CanInitialize(const BMutablePartition* partition) in CanInitialize()
104 const BMutablePartition* partition, BPartitionParameterEditor** _editor) in GetInitializationParameterEditor()
113 CheckSumFSAddOn::ValidateInitialize(const BMutablePartition* partition, in ValidateInitialize()
132 CheckSumFSAddOn::Initialize(BMutablePartition* partition, const char* name, in Initialize()
167 BMutablePartition* partition) in CheckSumFSPartitionHandle()
/haiku/src/tests/system/kernel/disk_device_manager/
H A DKPartitionTest.cpp64 KPartition partition; in TestPartitionWithoutFilesystemReturnsBadValue() local
79 KPartition partition; in TestPartitionContentNameUsedFirst() local
95 KPartition partition; in TestPartitionNameUsedSecond() local
111 KPartition partition; in TestPartitionWithoutAnyNameIsNotRoot() local
127 KPartition partition; in TestPartitionNameWithSlashesRemoved() local
143 KPartition partition; in TestPartitionMountPointExists() local
/haiku/src/add-ons/kernel/partitioning_systems/intel/
H A Dwrite_support.cpp70 pm_get_supported_operations(partition_data* partition, uint32 mask) in pm_get_supported_operations()
93 pm_get_supported_child_operations(partition_data* partition, in pm_get_supported_child_operations()
105 pm_is_sub_system_for(partition_data* partition) in pm_is_sub_system_for()
112 get_partition_from_offset_ep(partition_data* partition, off_t offset, in get_partition_from_offset_ep()
148 validate_resize(partition_data* partition, off_t* size) in validate_resize()
186 pm_validate_resize(partition_data* partition, off_t* size) in pm_validate_resize()
204 get_sibling_partitions_pm(partition_data* partition, in get_sibling_partitions_pm()
245 get_sibling_partitions_ep(partition_data* partition, in get_sibling_partitions_ep()
281 validate_resize_child(partition_data* partition, partition_data* child, in validate_resize_child()
319 pm_validate_resize_child(partition_data* partition, partition_data* child, in pm_validate_resize_child()
[all …]
H A Dintel.cpp100 pm_identify_partition(int fd, partition_data* partition, void** cookie) in pm_identify_partition()
165 pm_scan_partition(int fd, partition_data* partition, void* cookie) in pm_scan_partition()
249 pm_free_partition_cookie(partition_data* partition) in pm_free_partition_cookie()
260 pm_free_partition_content_cookie(partition_data* partition) in pm_free_partition_content_cookie()
288 ep_identify_partition(int fd, partition_data* partition, void** cookie) in ep_identify_partition()
317 ep_scan_partition(int fd, partition_data* partition, void* cookie) in ep_scan_partition()
392 ep_free_identify_partition_cookie(partition_data* partition, void* cookie) in ep_free_identify_partition_cookie()
400 ep_free_partition_cookie(partition_data* partition) in ep_free_partition_cookie()
410 ep_free_partition_content_cookie(partition_data* partition) in ep_free_partition_content_cookie()
/haiku/src/add-ons/disk_systems/fat/
H A DFATAddOn.cpp57 FATAddOn::CreatePartitionHandle(BMutablePartition* partition, in CreatePartitionHandle()
77 FATAddOn::CanInitialize(const BMutablePartition* partition) in CanInitialize()
84 FATAddOn::ValidateInitialize(const BMutablePartition* partition, BString* name, in ValidateInitialize()
100 FATAddOn::Initialize(BMutablePartition* partition, const char* name, in Initialize()
144 FATPartitionHandle::FATPartitionHandle(BMutablePartition* partition) in FATPartitionHandle()
/haiku/src/add-ons/disk_systems/gpt/
H A DGPTDiskAddOn.cpp73 GPTDiskAddOn::CreatePartitionHandle(BMutablePartition* partition, in CreatePartitionHandle()
93 GPTDiskAddOn::CanInitialize(const BMutablePartition* partition) in CanInitialize()
103 GPTDiskAddOn::ValidateInitialize(const BMutablePartition* partition, in ValidateInitialize()
119 GPTDiskAddOn::Initialize(BMutablePartition* partition, const char* name, in Initialize()
/haiku/src/add-ons/disk_systems/ntfs/
H A DNTFSAddOn.cpp58 NTFSAddOn::CreatePartitionHandle(BMutablePartition* partition, in CreatePartitionHandle()
78 NTFSAddOn::CanInitialize(const BMutablePartition* partition) in CanInitialize()
85 NTFSAddOn::ValidateInitialize(const BMutablePartition* partition, BString* name, in ValidateInitialize()
101 NTFSAddOn::Initialize(BMutablePartition* partition, const char* name, in Initialize()
145 NTFSPartitionHandle::NTFSPartitionHandle(BMutablePartition* partition) in NTFSPartitionHandle()
/haiku/src/system/boot/loader/file_systems/amiga_ffs/
H A DVolume.cpp24 Volume::Volume(boot::Partition *partition) in Volume()
104 amiga_ffs_identify_file_system(boot::Partition *partition) in amiga_ffs_identify_file_system()
113 amiga_ffs_get_file_system(boot::Partition *partition, ::Directory **_root) in amiga_ffs_get_file_system()
/haiku/src/add-ons/disk_systems/btrfs/
H A DBTRFSAddOn.cpp72 BTRFSAddOn::CreatePartitionHandle(BMutablePartition* partition, in CreatePartitionHandle()
92 BTRFSAddOn::CanInitialize(const BMutablePartition* partition) in CanInitialize()
102 BTRFSAddOn::ValidateInitialize(const BMutablePartition* partition, in ValidateInitialize()
127 BTRFSAddOn::Initialize(BMutablePartition* partition, const char* name, in Initialize()
177 BTRFSPartitionHandle::BTRFSPartitionHandle(BMutablePartition* partition) in BTRFSPartitionHandle()
/haiku/src/system/boot/loader/file_systems/bfs/
H A Dbfs.cpp33 Volume::Volume(boot::Partition *partition) in Volume()
138 bfs_identify_file_system(boot::Partition *partition) in bfs_identify_file_system()
147 bfs_get_file_system(boot::Partition *partition, ::Directory **_root) in bfs_get_file_system()
/haiku/src/add-ons/kernel/partitioning_systems/apple/
H A Dapple.cpp58 apple_partition_map &partition) in get_next_partition()
111 apple_identify_partition(int fd, partition_data *partition, void **_cookie) in apple_identify_partition()
144 apple_scan_partition(int fd, partition_data *partition, void *_cookie) in apple_scan_partition()
190 apple_free_identify_partition_cookie(partition_data *partition, void *_cookie) in apple_free_identify_partition_cookie()
/haiku/src/add-ons/disk_systems/bfs/
H A DBFSAddOn.cpp85 BFSAddOn::CreatePartitionHandle(BMutablePartition* partition, in CreatePartitionHandle()
104 BFSAddOn::CanInitialize(const BMutablePartition* partition) in CanInitialize()
111 BFSAddOn::ValidateInitialize(const BMutablePartition* partition, BString* name, in ValidateInitialize()
150 BFSAddOn::Initialize(BMutablePartition* partition, const char* name, in Initialize()
206 BFSPartitionHandle::BFSPartitionHandle(BMutablePartition* partition) in BFSPartitionHandle()
/haiku/src/add-ons/disk_systems/intel/
H A DPartitionMapAddOn.cpp72 PartitionMapAddOn::CreatePartitionHandle(BMutablePartition* partition, in CreatePartitionHandle()
91 PartitionMapAddOn::CanInitialize(const BMutablePartition* partition) in CanInitialize()
101 PartitionMapAddOn::ValidateInitialize(const BMutablePartition* partition, in ValidateInitialize()
118 PartitionMapAddOn::Initialize(BMutablePartition* partition, const char* name, in Initialize()
154 PartitionMapHandle::PartitionMapHandle(BMutablePartition* partition) in PartitionMapHandle()
171 BMutablePartition* partition = Partition(); in Init() local
212 BMutablePartition* partition = Partition(); in SupportedOperations() local
326 PrimaryPartition* partition = (PrimaryPartition*)child->ChildCookie(); in SetParameters() local
536 BMutablePartition* partition = Partition(); in CreateChild() local
/haiku/src/add-ons/kernel/partitioning_systems/amiga/
H A Damiga_rdb.cpp79 partition_block &partition) in get_next_partition()
150 amiga_rdb_identify_partition(int fd, partition_data *partition, void **_cookie) in amiga_rdb_identify_partition()
162 amiga_rdb_scan_partition(int fd, partition_data *partition, void *_cookie) in amiga_rdb_scan_partition()
212 amiga_rdb_free_identify_partition_cookie(partition_data *partition, in amiga_rdb_free_identify_partition_cookie()
/haiku/src/add-ons/kernel/file_systems/udf/
H A DVolume.cpp131 PhysicalPartition *partition in Mount() local
184 MetadataPartition *partition in Mount() local
344 Partition *partition = _GetPartition(address.partition()); in MapBlock() local
386 Volume::_SetPartition(uint number, Partition *partition) in _SetPartition()

123456