Home | History | Annotate | Download | only in sysinst

Lines Matching refs:mounted

277 	if (p->mounted == NULL)
281 return p->mounted[id];
293 if (p->mounted == NULL) {
294 p->mounted = calloc(p->parts->num_part, sizeof(char*));
295 if (p->mounted == NULL)
298 free(p->mounted[id]);
299 p->mounted[id] = strdup(path);
300 return p->mounted[id] != NULL;
2286 if (pm_i->mounted != NULL) {
2288 free(pm_i->mounted[i]);
2493 if (strlen(pm_i->bsdlabel[i].mounted) > 0) {
2494 /* Device is already mounted. So, doing mount_null */
2495 strlcpy(mnts[num_devs].dev, pm_i->bsdlabel[i].mounted, MOUNTLEN);
2540 if (strlen(pm_cur->bsdlabel[part_num].mounted) > 0)
2549 strlen(pm_cur->bsdlabel[part_num].mounted) < 1)
2555 pm_cur->bsdlabel[part_num].mounted[0] = '\0';
2557 strlcpy(pm_cur->bsdlabel[part_num].mounted, buf, MOUNTLEN);
2579 free(pm_cur->mounted[id]);
2580 pm_cur->mounted[id] = NULL;
2874 if (pm_cur->mounted != NULL &&
2875 pm_cur->mounted[part_num] != NULL &&
2876 pm_cur->mounted[part_num][0] != 0)