Changeset b7a4d06 in mainline for uspace/lib/label/include


Ignore:
Timestamp:
2015-07-18T12:55:12Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c43db5f
Parents:
70815a24
Message:

Most of extended (but not logical) partition support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/label/include/types/liblabel.h

    r70815a24 rb7a4d06  
    6868        /** Label type */
    6969        label_type_t ltype;
     70        /** Label flags */
     71        label_flags_t flags;
    7072        /** First block that can be allocated */
    7173        aoff64_t ablock0;
     
    7779        /** Partition index */
    7880        int index;
     81        /** Partition kind */
     82        label_pkind_t pkind;
    7983        /** Address of first block */
    8084        aoff64_t block0;
     
    8892        struct label *label;
    8993        /** Link to label_t.parts */
    90         link_t llabel;
     94        link_t lparts;
     95        /** Link to label_t.pri_parts */
     96        link_t lpri;
     97        /** Link to label_t.log_parts */
     98        link_t llog;
    9199        /** Index */
    92100        int index;
     
    109117        /** Number of blocks */
    110118        aoff64_t nblocks;
     119        /** Partition kind */
     120        label_pkind_t pkind;
    111121        /** Partition type */
    112122        uint64_t ptype;
     
    135145        /** Partitions */
    136146        list_t parts; /* of label_part_t */
     147        /** Primary partitions */
     148        list_t pri_parts; /* of label_part_t */
     149        /** Logical partitions */
     150        list_t log_parts; /* of label_part_t */
    137151        /** First block that can be allocated */
    138152        aoff64_t ablock0;
     
    141155        /** Number of primary partition entries */
    142156        int pri_entries;
     157        /** Index of extended partition or -1 if there is none */
     158        int ext_part_idx;
    143159        /** Block size */
    144160        size_t block_size;
Note: See TracChangeset for help on using the changeset viewer.