• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/partitions/

Lines Matching refs:partition

8  *  in the early extended-partition checks and added DM partitions
13 * /dev/hda *must* have a "DOS" type 0x51 partition in the first slot (hda1).
17 * Check partition table on IDE disks for common CHS translations
29 * the nr_sects and start_sect partition table entries are
43 static inline int is_extended_partition(struct partition *p)
66 struct partition *pt = (struct partition *) (p + 0x1be);
76 /* Assume the partition table is valid if Linux partitions exists */
95 * Create devices for each logical partition in an extended partition.
97 * a partition table with two entries. The first entry
98 * is the real data partition (with a start relative to the partition
99 * table start). The second is a pointer to the next logical partition
100 * (with a start relative to the entire extended partition).
101 * We do not create a Linux partition for the partition tables, but
105 /* Fix 3TB partition can't be detected issue */
115 struct partition *p;
119 /* Fix 3TB partition can't be detected issue */
125 without finding a data partition */
143 p = (struct partition *) (data + 0x1be);
146 * Usually, the first entry is the real data partition,
147 * the 2nd entry is the next extended partition, or empty,
149 * However, DRDOS sometimes has the extended partition as
150 * the first entry (when the data partition is empty),
155 * First process the data partition(s)
159 /* Fix 3TB partition can't be detected issue */
169 /* Fix 3TB partition can't be detected issue */
195 * Next, process the (first) extended partition, if present.
199 * It should be a link to the next logical partition.
248 * one; must add the offset of the current partition */
261 * dos-like partition. See parse_extended() for more information.
293 /* full parent partition, we have it already */
341 * dos-like partition. See parse_extended() for more information.
389 struct partition *p;
396 p = (struct partition *)(data + 0x1be);
398 /* The first sector of a Minix partition can have either
408 /* add each partition in use */
439 struct partition *p;
459 * partition table. Reject this in case the boot indicator
462 p = (struct partition *) (data + 0x1be);
471 p = (struct partition *) (data + 0x1be);
480 p = (struct partition *) (data + 0x1be);
491 /* Fix 3TB partition can't be detected issue */
503 extended partition, but leave room for LILO */
522 p = (struct partition *) (0x1be + data);