Searched defs:partition (Results 1 - 25 of 28) sorted by relevance

12

/osnet-11/usr/src/grub/grub2/grub-core/partmap/
H A Dplan.c19 #include <grub/partition.h>
35 const grub_partition_t partition))
99 return grub_error (GRUB_ERR_BAD_PART_TABLE, "not a plan partition table");
33 plan_partition_map_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
H A Dbsdlabel.c1 /* bsdlabel.c - Read BSD style partition tables. */
20 #include <grub/partition.h>
46 const grub_partition_t partition))
107 /* disk->partition != NULL as 0 < delta */
108 partname = disk->partition ? grub_partition_get_name (disk->partition)
110 grub_util_warn (_("Discarding improperly nested partition (%s,%s,%s%d)"),
128 const grub_partition_t partition))
131 if (disk->partition && grub_strcmp (disk->partition
42 iterate_real(grub_disk_t disk, grub_disk_addr_t sector, int freebsd, struct grub_partition_map *pmap, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
125 bsdlabel_partition_map_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
150 netopenbsdlabel_partition_map_iterate(grub_disk_t disk, grub_uint8_t type, struct grub_partition_map *pmap, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
160 check_msdos(grub_disk_t dsk, const grub_partition_t partition) argument
201 netbsdlabel_partition_map_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
212 openbsdlabel_partition_map_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
[all...]
H A Ddvh.c19 #include <grub/partition.h>
68 const grub_partition_t partition))
86 return grub_error (GRUB_ERR_BAD_PART_TABLE, "not a dvh partition table");
91 /* Maybe another error value would be better, because partition
66 dvh_partition_map_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
H A Dmsdos.c1 /* pc.c - Read PC style partition tables. */
20 #include <grub/partition.h>
36 const grub_partition_t partition))
45 if (disk->partition && disk->partition->partmap == &grub_msdos_partition_map)
47 if (disk->partition->msdostype == GRUB_PC_PARTITION_TYPE_LINUX_MINIX)
48 delta = disk->partition->start;
103 grub_dprintf ("partition",
104 "partition %d: flag 0x%x, type 0x%x, start 0x%llx, len 0x%llx\n",
109 /* If this is a GPT partition, thi
33 grub_partition_msdos_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
[all...]
H A Dacorn.c1 /* acorn.c - Read Linux/ADFS partition tables. */
23 #include <grub/partition.h>
97 "Linux/ADFS partition map not found");
105 const grub_partition_t partition))
103 acorn_partition_map_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
H A Dapple.c1 /* apple.c - Read macintosh partition tables. */
23 #include <grub/partition.h>
32 /* The magic number to identify the partition map, it should have
40 /* The magic number to identify this as a partition, it should have
47 /* The size of the partition map in blocks. */
50 /* The first physical block of the partition. */
56 /* The partition name. */
59 /* The partition type. */
62 /* The first datablock of the partition. */
68 /* The status of the partition
103 apple_partition_map_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
[all...]
H A Dgpt.c23 #include <grub/partition.h>
52 const grub_partition_t partition))
73 return grub_error (GRUB_ERR_BAD_PART_TABLE, "no GPT partition map found");
99 /* Calculate the first block and the size of the partition. */
107 part.parent = disk->partition;
146 p2 = disk->partition;
147 disk->partition = p->parent;
151 disk->partition = p2;
154 disk->partition = p2;
156 /* If there's an embed region, it is in a dedicated partition
49 gpt_partition_map_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
[all...]
H A Damiga.c1 /* amiga.c - Read amiga partition tables (RDB). */
23 #include <grub/partition.h>
92 const grub_partition_t partition))
119 "Amiga partition map not found");
121 /* The end of the partition list is marked using "-1". */
134 "invalid Amiga partition map");
135 /* Calculate the first block and the size of the partition. */
89 amiga_partition_map_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
H A Dsun.c1 /* sun.c - Read SUN style partition tables. */
21 #include <grub/partition.h>
91 const grub_partition_t partition))
109 return grub_error (GRUB_ERR_BAD_PART_TABLE, "not a sun partition table");
114 /* Maybe another error value would be better, because partition
89 sun_partition_map_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
H A Dsunpc.c1 /* sunpc.c - Read SUN PC style partition tables. */
21 #include <grub/partition.h>
78 int (*hook) (grub_disk_t disk, const grub_partition_t partition,
106 "not a sun_pc partition table");
115 /* Maybe another error value would be better, because partition
151 int (*hook) (grub_disk_t disk, const grub_partition_t partition))
207 * This partition is invalid since its span is beyond the
208 * containing msdos partition parent.
212 "area, sunpc partition %d (size 0x%llx) is being ignored "
214 "partition
77 sun_pc_partition_map_iterate_extended(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition, const struct grub_sun_pc_partition_descriptor *sunpc_partition)) argument
150 sun_pc_partition_map_iterate(grub_disk_t disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Ddevice.c27 #include <grub/partition.h>
96 const grub_partition_t partition);
148 int iterate_partition (grub_disk_t disk, const grub_partition_t partition) argument
159 part_name = grub_partition_get_name (partition);
H A Dpartition.c21 #include <grub/partition.h>
32 * Checks that disk->partition contains part. This function assumes that the
33 * start of part is relative to the start of disk->partition. Returns 1 if
34 * disk->partition is null.
40 if (disk->partition == NULL)
43 if (part->start + part->len > disk->partition->len)
47 partname = grub_partition_get_name (disk->partition);
48 grub_dprintf ("partition", "sub-partition %s%d of (%s,%s) ends after parent.\n",
51 grub_util_warn (_("Discarding improperly nested partition (
70 find_func(grub_disk_t dsk, const grub_partition_t partition) argument
166 grub_partition_iterate(struct grub_disk *disk, int (*hook) (grub_disk_t disk, const grub_partition_t partition)) argument
174 part_iterate(grub_disk_t dsk, const grub_partition_t partition) argument
224 grub_partition_get_name(const grub_partition_t partition) argument
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dgptsync.c26 #include <grub/partition.h>
67 struct grub_partition *partition; local
113 return grub_error (GRUB_ERR_BAD_PART_TABLE, "no GPT partition map found");
130 partition = grub_partition_probe (dev->disk, args[i]);
133 if (! partition)
136 return grub_error (GRUB_ERR_UNKNOWN_DEVICE, "no such partition");
139 if (partition->start + partition->len > 0xffffffff)
148 if (first_sector > partition->start)
149 first_sector = partition
[all...]
H A Dsearch.c33 #include <grub/partition.h>
170 auto int part_hook (grub_disk_t disk, const grub_partition_t partition);
171 int part_hook (grub_disk_t disk, const grub_partition_t partition) argument
176 partition_name = grub_partition_get_name (partition);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/solaris_x86/
H A Dsolaris_x86.c30 * partition can be identified as "solaris".
64 (V_NUMPAR * sizeof (struct partition)) + \
71 struct partition { struct
72 unsigned short p_tag; /* ID tag of partition */
74 long p_start; /* start sector no of partition */
75 long p_size; /* # of blocks in partition */
86 struct partition v_part[V_NUMPAR]; /* partition headers */
87 int32_t timestamp[V_NUMPAR]; /* partition timestamp (unsupported) */
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dpartition.c44 #include "partition.h"
96 * we just get the active solaris partition.
133 * If this is a slice desc. we need the first active solaris partition
134 * and if there isn't one then we need the first solaris partition.
158 /* we found a solaris partition to use */
195 * format so that it refers to the fdisk partition
198 * physical disk partition.
255 * Look for the partition by the partition number (which is not too useful).
262 descriptor_t *partition local
[all...]
/osnet-11/usr/src/lib/libadutils/common/
H A Dadutils_impl.h65 /* A set of DSs for a given AD partition */
72 adutils_ad_partition_t partition; /* Data or global catalog? */ member in struct:adutils_ad
/osnet-11/usr/src/grub/grub2/grub-core/kern/ieee1275/
H A Dopenfw.c366 IEEE1275 bindings: "[partition][,[filename]]". */
401 OpenBOOT traditionally uses alphabetical partition
442 char *partition = grub_ieee1275_parse_args (path, GRUB_PARSE_PARTITION); local
445 if (partition && partition[0])
447 unsigned int partno = grub_strtoul (partition, 0, 0);
450 /* GRUB partition 1 is OF partition 0. */
458 grub_free (partition);
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/pc/
H A Dplan9.c26 #include <grub/partition.h>
117 const grub_partition_t partition);
119 const grub_partition_t partition)
135 if (grub_strcmp (partition->partmap->name, "plan") == 0)
137 unsigned ptr = partition->index + sizeof ("part ") - 1;
139 disk->partition = partition->parent;
147 disk->partition = 0;
161 if (grub_strcmp (partition->partmap->name, "msdos") == 0)
163 switch (partition
118 fill_partition(grub_disk_t disk, const grub_partition_t partition) argument
[all...]
/osnet-11/usr/src/grub/grub2/include/grub/
H A Ddisk.h119 /* The partition information. This is machine-specific. */
120 struct grub_partition *partition; member in struct:grub_disk
/osnet-11/usr/src/grub/grub2/include/grub/i386/
H A Dnetbsd_bootinfo.h85 grub_uint32_t partition; member in struct:grub_netbsd_btinfo_bootdisk
/osnet-11/usr/src/grub/grub-0.97/lib/
H A Ddevice.c804 /dev/rd/c<controller>d<logical drive>p<partition>.
856 a whole disk is not consistent with the one for a partition of the
870 write_to_partition (char **map, int drive, int partition, argument
876 if ((partition & 0x00FF00) != 0x00FF00)
878 /* If the partition is a BSD partition, it is difficult to
892 sprintf (dev + strlen(dev), "%d", ((partition >> 16) & 0xFF) + 1);
894 /* Open the partition. */
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Dbsd.c46 #define BSD_FS_UNUSED 0 /* disklabel unused partition entry ID */
72 struct _BSDRawPartition { /* the partition table */
73 uint32_t p_size; /* number of sectors in partition */
116 /* file system and partition information: */
170 BSDRawLabel *partition; local
181 partition = (BSDRawLabel *) ((char *) label + BSD_LABEL_OFFSET);
186 bool found = PED_LE32_TO_CPU (partition->d_magic) == BSD_DISKMAGIC;
584 _("Unable to satisfy all constraints on the partition."));
595 /* never change the partition numbers */
/osnet-11/usr/src/grub/grub2/grub-core/kern/emu/
H A Dhostdisk.c25 #include <grub/partition.h>
649 /* Cache of partition start sectors for each disk. */
799 with the one for a partition of the disk. */
805 part_start = grub_partition_get_start (disk->partition);
808 if (disk->partition && sector >= part_start
836 /* Open the partition. */
998 /* Split pre-partition and partition reads. */
999 if (disk->partition && sector < disk->partition
1905 find_partition(grub_disk_t dsk __attribute__ ((unused)), const grub_partition_t partition) argument
[all...]
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c101 /* The register ESI should contain the address of the partition to be
120 /* these are the translated numbers for the open partition */
310 * Check partition boundaries
320 * Get the read to the beginning of a partition.
385 embed a Stage 1.5 into a partition instead of a MBR, use system
451 /* Turn on the active flag for the partition SAVED_PARTITION in the
464 /* If the partition is not a primary partition, the active flag is
476 /* If the partition is an extended partition, settin
588 next_partition(unsigned long drive, unsigned long dest, unsigned long *partition, int *type, unsigned long *start, unsigned long *len, unsigned long *offset, int *entry, unsigned long *ext_offset, char *buf) argument
1023 int partition = dev & 0xFFFFFF; local
[all...]

Completed in 67 milliseconds

12