Home
last modified time | relevance | path

Searched refs:read_label (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/format/
H A Dlabel.h41 int read_label(int, struct dk_label *);
H A Dmenu_fdisk.c638 status = read_label(fd, &update_label);
H A Dlabel.c467 read_label(int fd, struct dk_label *label) in read_label() function
H A Dmenu_command.c2157 status = read_label(cur_file, &p_label); in c_verify()
H A Dstartup.c1913 status = read_label(search_file, &search_label); in add_device_to_disklist()
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c4593 char *read_label; local
4645 read_label = (char *)calloc(sectsiz, 1);
4646 if (read_label == NULL) {
4651 bytes = read(Dev, read_label, sectsiz);
4659 if (memcmp(disk_label, read_label, sectsiz) != 0) {
4685 free(read_label);
4712 free(read_label);
4720 bytes = read(Dev, read_label, sectsiz);
4728 if (memcmp(disk_label, read_label, sectsiz) != 0) {
4743 free(read_label);