Home
last modified time | relevance | path

Searched refs:partnum (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dmenu_partition.c475 print_efi_partition(struct dk_gpt *map, int partnum, int want_header) in print_efi_partition() argument
493 fmt_print(" %d ", partnum); in print_efi_partition()
494 s = find_string(ptag_choices, (int)map->efi_parts[partnum].p_tag); in print_efi_partition()
500 s = find_string(pflag_choices, (int)map->efi_parts[partnum].p_flag); in print_efi_partition()
508 secsize = map->efi_parts[partnum].p_size; in print_efi_partition()
510 fmt_print("%16llu", map->efi_parts[partnum].p_start); in print_efi_partition()
514 fmt_print("%16llu", map->efi_parts[partnum].p_start); in print_efi_partition()
526 if ((map->efi_parts[partnum].p_start + secsize - 1) == UINT_MAX64) { in print_efi_partition()
530 map->efi_parts[partnum].p_start + secsize - 1); in print_efi_partition()
540 print_partition(struct partition_info *pinfo, int partnum, int want_header) in print_partition() argument
[all …]
H A Dmenu_partition.h58 void print_partition(struct partition_info *pinfo, int partnum,
60 void print_efi_partition(struct dk_gpt *map, int partnum,
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c84 static gboolean dos_to_dev(char *path, char **devpath, int *partnum);
85 static gboolean is_dos_path(char *path, int *partnum);
1402 is_dos_path(char *path, int *partnum) in is_dos_path() argument
1409 return ((*partnum = atoi(p + 1)) != 0); in is_dos_path()
1413 dos_to_dev(char *path, char **devpath, int *partnum) in dos_to_dev() argument
1420 if ((*partnum = atoi(p + 1)) == 0) { in dos_to_dev()