• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/diskdev_cmds-576/fsck.tproj/

Lines Matching refs:part

122 void dump_part (part_t* part);
168 part_t *part;
172 fprintf (stderr, "disk->part: %p\n", disk->part);
175 part = disk->part;
176 if (part) {
179 while (part) {
180 dump_part (part);
181 part = part->next;
187 void dump_part (part_t* part) {
188 fprintf (stderr, "**********dumping partition entry %p**********\n", part);
189 fprintf (stderr, "part->next: %p\n", part->next);
190 fprintf (stderr, "part->name: %s\n", part->name);
191 fprintf (stderr, "part->fsname: %s\n", part->fsname);
192 fprintf (stderr, "part->vfstype: %s\n\n", part->vfstype);
193 fprintf (stderr, "**********done dumping partition entry %p**********\n\n\n", part);
316 part_t *part = NULL;
324 for (part = badlist; part; part = part->next) {
325 fprintf(stderr, "%s (%s)%s", part->name, part->fsname, part->next ? ", " : "\n");
385 * NOTE: On Mac OSX, LibInfo, part of Libsystem is in charge of vending us a valid
403 part_t part;
407 disk.part = ∂
410 part.next = NULL;
411 part.name = name;
412 part.vfstype = fsp->fs_vfstype;
530 disk->part->name, disk->part->fsname,
540 badlist = disk->part;
541 disk->part = disk->part->next;
547 part_t *temp_part = disk->part;
548 disk->part = disk->part->next;
559 if (disk->part == NULL) {
564 if (disk->part) {
580 if (nextdisk->part != NULL && nextdisk->pid == 0) {
651 part_t *part = disk->part;
661 char* filesys = part->name;
662 char* vfstype = part->vfstype;
1064 /* Initialize 'part' and 'next' to NULL for now */
1065 disk->part = NULL;
1081 part_t *part;
1086 ppt = &(disk->part);
1093 for (part = disk->part; part; ppt = &part->next, part = part->next) {
1094 if (strcmp(part->name, name) == 0) {
1105 part = *ppt;
1106 if ((part->name = malloc(strlen(name) + 1)) == NULL) {
1112 (void)strcpy(part->name, name);
1113 if ((part->fsname = malloc(strlen(fsname) + 1)) == NULL) {
1117 (void)strcpy(part->fsname, fsname);
1118 part->next = NULL;
1119 part->vfstype = strdup(vfstype);
1120 if (part->vfstype == NULL) {
1129 void destroy_part (part_t *part) {
1130 if (part->name) {
1131 free (part->name);
1134 if (part->fsname) {
1135 free (part->fsname);
1138 if (part->vfstype) {
1139 free (part->vfstype);
1142 free (part);