| /onnv/onnv-gate/usr/src/cmd/fmli/oh/ |
| pathtitle.c | 65 register char *part; /* a component of the path */ local 68 /* replace part(s) of it by "..." */ 69 part = str + width / 2; 70 while (*part != '/' && part > str) 71 part--; 72 tcount = ++part - str; 83 if (part = strchr(&str[len - width + tcount + 3], '/')) /* abs */ 84 strcat(title, part); 87 part = &str[len] [all...] |
| /onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/ |
| pc_slice.h | 47 #define PC_SLICE_FLAG(mbr_ptr, part) \ 49 + (part << 4)) ) ) 51 #define PC_SLICE_HEAD(mbr_ptr, part) \ 53 + (part << 4)) ) ) 55 #define PC_SLICE_SEC(mbr_ptr, part) \ 57 + (part << 4)) ) ) 59 #define PC_SLICE_CYL(mbr_ptr, part) \ 61 + (part << 4)) ) ) 63 #define PC_SLICE_TYPE(mbr_ptr, part) \ 65 + (part << 4)) ) [all...] |
| /onnv/onnv-gate/usr/src/lib/libparted/common/libparted/labels/ |
| dvh.c | 33 /* Default size for volhdr part, same val as IRIX's fx uses */ 48 int swap; /* part num of swap, 0=none */ 49 int root; /* part num of root, 0=none */ 50 int boot; /* part num of boot, 0=none */ 183 PedPartition* part; local 194 part = ped_partition_new ( 197 if (!part) 199 part->num = PNUM_VOLHDR + 1; 200 constraint = ped_constraint_any (part->disk->dev); 203 if (!ped_disk_add_partition (disk, part, constraint) 225 PedPartition* part; local 247 PedPartition* part; local 326 PedPartition* part; local 375 PedPartition* part; local 471 PedPartition* part = ped_disk_get_partition (disk, i + 1); local 486 PedPartition* part = ped_disk_get_partition (disk, local 506 PedPartition* part; local 826 PedPartition* part; local [all...] |
| loop.c | 125 PedPartition* part; local 147 part = ped_partition_new (disk, 0, fs_type, geom->start, geom->end); 149 if (!part) 151 part->fs_type = fs_type; 153 if (!ped_disk_add_partition (disk, part, constraint_any)) 192 PedPartition* part; local 194 part = _ped_partition_alloc (disk, part_type, fs_type, start, end); 195 if (!part) 197 part->disk_specific = NULL; 198 return part; [all...] |
| dos.c | 409 partition_check_bios_geometry (PedPartition* part, PedCHSGeometry* bios_geom) 415 PED_ASSERT (part != NULL, return 0); 416 PED_ASSERT (part->disk != NULL, return 0); 417 PED_ASSERT (part->disk_specific != NULL, return 0); 418 dos_data = part->disk_specific; 423 disk = part->disk; 437 PedPartition* part = NULL; local 441 while ((part = ped_disk_next_partition (disk, part))) { 442 if (ped_partition_is_active (part)) { 706 PedPartition* part; local 805 PedPartition* part; local 844 PedPartition* part; local 1060 PedPartition* part; local 1115 PedPartition* part; local 1143 PedPartition* part; local 1188 PedPartition* part; local [all...] |
| pc98.c | 370 PedPartition* part; local 383 part = ped_partition_new (disk, 0, NULL, part_start, part_end); 384 if (!part) 386 pc98_data = part->disk_specific; 393 ped_partition_set_name (part, raw_part->name); 402 if (pc98_data->ipl_sector == part->geom.start) 405 part->num = i + 1; 407 if (!ped_disk_add_partition (disk, part, constraint_any)) 410 if (part->geom.start != part_start 411 || part->geom.end != part_end) 514 PedPartition* part; local 551 PedPartition* part; local [all...] |
| mac.c | 531 PedPartition* part; local 564 part = ped_partition_new (disk, 0, NULL, start, start + length - 1); 565 if (!part) 568 mac_part_data = part->disk_specific; 616 if (mac_part_data->boot_region_length < part->geom.length) { 626 if (mac_part_data->data_region_length < part->geom.length && 649 return part; 652 ped_partition_destroy (part); 756 PedPartition* part; local 816 part = _rawpart_analyse (&raw_part, disk, num) 1062 PedPartition* part; local 1134 PedPartition* part; local 1463 PedPartition* part = NULL; local [all...] |
| bsd.c | 295 PedPartition* part; local 307 part = ped_partition_new (disk, 0, NULL, start, end); 308 if (!part) 310 bsd_part_data = part->disk_specific; 312 part->num = i; 313 part->fs_type = ped_file_system_probe (&part->geom); 315 constraint_exact = ped_constraint_exact (&part->geom); 316 if (!ped_disk_add_partition (disk, part, constraint_exact)) 351 PedPartition* part; local 400 PedPartition* part; local [all...] |
| sun.c | 65 u_int32_t start_cylinder; /* where the part starts... */ 320 PedPartition* part; local 354 part = ped_partition_new (disk, 0, NULL, start, end); 355 if (!part) 358 sun_data = part->disk_specific; 364 part->num = i + 1; 365 part->fs_type = ped_file_system_probe (&part->geom); 367 constraint_exact = ped_constraint_exact (&part->geom); 368 if (!ped_disk_add_partition (disk, part, constraint_exact) 401 PedPartition* part; local 482 PedPartition* part; local [all...] |
| aix.c | 166 aix_partition_duplicate (const PedPartition* part) 176 aix_partition_destroy (PedPartition* part) 178 PED_ASSERT (part != NULL, return); 180 _ped_partition_free (part); 184 aix_partition_set_system (PedPartition* part, const PedFileSystemType* fs_type) 194 aix_partition_set_flag (PedPartition* part, PedPartitionFlag flag, int state) 204 aix_partition_get_flag (const PedPartition* part, PedPartitionFlag flag) 211 aix_partition_is_flag_available (const PedPartition* part, 225 aix_partition_align (PedPartition* part, const PedConstraint* constraint) 227 PED_ASSERT (part != NULL, return 0) [all...] |
| gpt.c | 752 PedPartition* part; local 756 part = ped_partition_new (disk, 0, NULL, 759 if (!part) 762 gpt_part_data = part->disk_specific; 788 return part; 913 PedPartition* part; local 919 part = _parse_part_entry (disk, &ptes[i]); 920 if (!part) 923 part->fs_type = ped_file_system_probe (&part->geom) 1055 PedPartition* part; local 1118 PedPartition* part; local 1145 PedPartition* part; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libast/common/string/ |
| strtoip4.c | 3 * This software is part of the ast package * 51 register int part; local 64 part = 0; 70 if ((c == 'x' || c == 'X') && !part) 85 part = 4; 91 part++; 93 if ((s - b) == 1 && c != '/' || part > 4) 95 if (old = part < 4) 96 while (part++ < 4) 102 part = 0 [all...] |
| /onnv/onnv-gate/usr/src/lib/libpkg/common/ |
| ckvolseq.c | 46 ckvolseq(char *dir, int part, int nparts) 51 if (part > 0) { 53 if (part == 1) { 83 part = (-part); 91 (void) snprintf(path, sizeof (path), "%s/root.%d", dir, part); 94 (void) snprintf(path, sizeof (path), "%s/reloc.%d", dir, part); 97 if (part == 1) { 99 dir, part);
|
| /onnv/onnv-gate/usr/src/lib/libparted/common/libparted/ |
| disk.c | 56 PedPartition* part); 58 PedPartition* part); 59 static int _disk_raw_remove (PedDisk* disk, PedPartition* part); 60 static int _disk_raw_add (PedDisk* disk, PedPartition* part); 71 /* pretend that "next" isn't part of the struct :-) */ 527 ped_partition_is_busy (const PedPartition* part) 529 PED_ASSERT (part != NULL, return 1); 531 return ped_architecture->disk_ops->partition_is_busy (part); 539 ped_partition_get_path (const PedPartition* part) 541 PED_ASSERT (part != NULL, return NULL) 978 PedPartition* part; local 1060 PedPartition* part; local 2256 PedPartition* part; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/ |
| labeltostring.c | 32 labeltostring(int part, blabel_t *value, int verbose) 42 labelfromstring(int part, char *label_string, blabel_t *value)
|
| /onnv/onnv-gate/usr/src/lib/libparted/common/include/parted/ |
| disk.h | 189 PedPartition* (*partition_duplicate) (const PedPartition* part); 190 void (*partition_destroy) (PedPartition* part); 191 int (*partition_set_system) (PedPartition* part, 194 PedPartition* part, 198 const PedPartition* part, 201 const PedPartition* part, 203 void (*partition_set_name) (PedPartition* part, const char* name); 204 const char* (*partition_get_name) (const PedPartition* part); 205 int (*partition_align) (PedPartition* part, 207 int (*partition_enumerate) (PedPartition* part); [all...] |
| /onnv/onnv-gate/usr/src/cmd/svr4pkg/pkginstall/ |
| pkgvolume.c | 47 pkgvolume(struct pkgdev *devp, char *pkg, int part, int nparts) 55 if (cpart == part) 57 cpart = part; 59 if (part == 1) { 69 if (ckvolseq(instdir, part, nparts)) { 83 if (n = pkgmount(devp, pkg, part, nparts, 1)) 86 if (ckvolseq(path, part, nparts) == 0)
|
| /onnv/onnv-gate/usr/src/cmd/man/src/util/nsgmls.src/include/ |
| ISO8859InputCodingSystem.h | 17 // part must be between 2 and 9 18 ISO8859InputCodingSystem(int part);
|
| /onnv/onnv-gate/usr/src/cmd/boot/mbr/ |
| mbr.c | 118 struct ipart *part = (struct ipart *)mboot->parts + i; local 120 if (part->bootid == 128) 124 if (setnew && part->systid == 0x82) { 125 part->systid = 0xbf; 127 } else if (setold && part->systid == 0xbf) { 128 part->systid = 0x82; 131 (part->systid == 0x82 || part->systid == 0xbf)) { 136 i + 1, part->systid, part->relsect, part->numsect) [all...] |
| /onnv/onnv-gate/usr/src/cmd/parted/ |
| parted.c | 117 static char* part_type_msg = N_("PART-TYPE is one of: primary, logical, " 186 _partition_warn_busy (PedPartition* part) 190 if (ped_partition_is_busy (part)) { 191 path = ped_partition_get_path (part); 272 * The prefered move is to the nearest allowed boundary of the part 279 PedPartition* part, PedSector* dist) 293 new_sect = part->geom.end + 1 + what; 301 new_sect = part->geom.start + what; 454 PedPartition* part = NULL; local 460 if (!command_line_get_partition (_("Partition number?"), disk, &part)) 641 PedPartition* part = NULL; local 687 PedPartition* part; local 860 PedPartition* part; local 1035 PedPartition* part = NULL; local 1124 PedPartition* part = NULL; local 1335 PedPartition* part = NULL; local 1404 PedPartition* part; local 1658 PedPartition* part; local 1764 PedPartition *part = NULL; local 1850 PedPartition* part = NULL; local 1896 PedPartition* part = NULL; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| watchpoint.c | 787 size_t part; local 796 if ((part = PAGESIZE - 798 part = count; 805 part, &len, S_READ); 807 part = vaddr - watch_uaddr; 811 * Copy the initial part, up to a watched address, if any. 813 if (part != 0) { 814 mapped = pr_mappage(watch_uaddr, part, S_READ, 1); 818 copyin_noerr(watch_uaddr, watch_kaddr, part); 821 pr_unmappage(watch_uaddr, part, S_READ, 1) 882 size_t part; local 985 size_t part; local 1099 size_t part; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/format/ |
| partition.h | 63 void set_vtoc_defaults(struct partition_info *part);
|
| /onnv/onnv-gate/usr/src/tools/ctf/stabs/common/ |
| forth.c | 182 char *curtype, *lpart, *part, *npart; local 187 part = strtok(fullname, "."); 197 /* First part - the struct name */ 198 if ((tid = find_type(part)) == CTF_ERR || 203 part, ctf_errmsg(ctf_errno(ctf)))); 206 /* Second (or more) part - the member name */ 213 if ((tid = find_member(ltid, part)) <= 0) { 216 part, lpart)); 222 part)); 228 * because we don't want to clobber part - we need it later [all...] |
| /onnv/onnv-gate/usr/src/lib/libparted/common/libparted/fs/amiga/ |
| asfs.c | 58 struct PartitionBlock * part; local 67 if (!(part = ped_malloc (PED_SECTOR_SIZE_DEFAULT*blocksize))) { 72 if (amiga_find_part(geom, part) != NULL) { 73 prealloc = PED_BE32_TO_CPU (part->de_PreAlloc) == 0 ? 74 1 : PED_BE32_TO_CPU (part->de_PreAlloc); 75 reserved = PED_BE32_TO_CPU (part->de_Reserved) == 0 ? 76 1 : PED_BE32_TO_CPU (part->de_Reserved); 77 blocksize = PED_BE32_TO_CPU (part->de_SizeBlock) 78 * PED_BE32_TO_CPU (part->de_SectorPerBlock) / 128; 80 ped_free (part); [all...] |
| /onnv/onnv-gate/usr/src/cmd/fmthard/ |
| fmthard.c | 472 int part; local 479 &part, &tag, &flag, &start, &size) != 5) { 483 if (part >= V_NUMPAR) { 486 data, part); 489 vtoc->v_part[part].p_tag = (ushort_t)tag; 490 vtoc->v_part[part].p_flag = (ushort_t)flag; 491 vtoc->v_part[part].p_start = start; 492 vtoc->v_part[part].p_size = size; 503 int part; local 510 &part, &tag, &flag, &start, &size) != 5) 534 int part; local 602 int part; local [all...] |