Lines Matching refs:partition
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)
720 // partition size
753 dosfs_scan_partition(int fd, partition_data *partition, void *_cookie)
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->block_size = cookie->bytes_per_sector;
760 partition->content_name = strdup(cookie->name);
761 if (partition->content_name == NULL)
769 dosfs_free_identify_partition_cookie(partition_data *partition, void *_cookie)
1220 dosfs_get_supported_operations(partition_data* partition, uint32 mask)
1223 // TODO: We should at least check the partition size.
1398 /* shadow partition modification */