Lines Matching refs:physarray
7229 free_physarray(char **physarray, int n) argument
7234 assert(physarray);
7240 free(physarray[i]);
7242 free(physarray);
7248 zfs_get_physical(char *special, char ***physarray, int *n) argument
7344 *physarray = s_calloc(*n, sizeof (char *));
7361 (*physarray)[i++] = s_strdup(dsk);
7459 ufs_get_physical(char *special, char ***physarray, int *n) argument
7538 *physarray = s_calloc(1, sizeof (char *));
7539 (*physarray)[0] = s_strdup(comp1);
7559 *physarray = s_calloc(i, sizeof (char *));
7573 free_physarray(*physarray, *n);
7577 (*physarray)[i++] = s_strdup(comp4);
7589 get_physical(char *menu_root, char ***physarray, int *n) argument
7596 assert(physarray);
7599 *physarray = NULL;
7617 *physarray = s_calloc(1, sizeof (char *));
7618 (*physarray)[0] = special;
7624 ret = zfs_get_physical(special, physarray, n);
7626 ret = ufs_get_physical(special, physarray, n);
7641 BAM_DPRINTF((D_GET_PHYSICAL_RET, fcn, (*physarray)[i]));
7695 char **physarray; local
7704 ret = get_physical(menu_root, &physarray, &n);
7711 assert(physarray);
7716 assert(strncmp(physarray[i], "/dev/dsk/",
7718 strncmp(physarray[i], "/dev/rdsk/",
7721 BAM_DPRINTF((D_CHECK_ON_BOOTDISK, fcn, physarray[i]));
7722 if (is_bootdisk(osroot, physarray[i])) {
7724 BAM_DPRINTF((D_IS_ON_BOOTDISK, fcn, physarray[i]));
7728 free_physarray(physarray, n);