PKUOS - Pintos
Pintos source browser for PKU Operating System course
Data Fields
partition Struct Reference

A partition of a block device. More...

Collaboration diagram for partition:
Collaboration graph
[legend]

Data Fields

struct blockblock
 Underlying block device. More...
 
block_sector_t start
 First sector within device. More...
 

Detailed Description

A partition of a block device.

Definition at line 10 of file partition.c.

Field Documentation

◆ block

struct block* partition::block

Underlying block device.

Definition at line 12 of file partition.c.

Referenced by found_partition(), partition_read(), and partition_write().

◆ start

block_sector_t partition::start

First sector within device.

Definition at line 13 of file partition.c.

Referenced by found_partition(), partition_read(), and partition_write().


The documentation for this struct was generated from the following file: