• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/usr.sbin/bsdinstall/partedit/

Lines Matching refs:text

589 			items[0].text = gc->lg_val;
593 items[3].text = gc->lg_val;
602 items[2].text = md->fstab->fs_file;
609 items[1].text = sizestr;
618 if (strcmp(items[2].text, "/") == 0 && !is_fs_bootable(scheme,
619 items[0].text)) {
623 items[0].text);
632 if (strchr(items[3].text, '/') != NULL) {
644 if (hadlabel || items[3].text[0] != '\0')
645 gctl_ro_param(r, "label", -1, items[3].text);
646 gctl_ro_param(r, "type", -1, items[0].text);
655 newfs_command(items[0].text, newfs, 1);
656 set_default_part_metadata(pp->lg_name, scheme, items[0].text,
657 items[2].text, (strcmp(oldtype, items[0].text) != 0) ?
661 if (strcmp(oldtype, items[0].text) != 0 && cp != NULL)
663 if (strcmp(oldtype, items[0].text) != 0 && strcmp(items[0].text,
669 free(items[i].text);
744 /* Get VFS from text after freebsd-, if possible */
1063 items[1].text = sizestr;
1067 items[0].text = "freebsd";
1074 items[0].text = (char *)default_type;
1076 items[1].text = (char *)default_size;
1078 items[2].text = (char *)default_mountpoint;
1081 strncpy(options_fstype, items[0].text,
1097 strncpy(options_fstype, items[0].text,
1108 if (strcmp(options_fstype, items[0].text) != 0) {
1109 strncpy(options_fstype, items[0].text, sizeof(options_fstype));
1114 if (strlen(items[1].text) > 0) {
1115 if (expand_number(items[1].text, &bytes) != 0) {
1126 if (strchr(items[3].text, '/') != NULL) {
1133 if (strcmp(items[0].text, "freebsd-ufs") == 0 &&
1134 items[2].text[0] != '/') {
1154 if (strcmp(items[0].text, "freebsd") == 0 &&
1155 strlen(items[2].text) > 0) {
1164 if (strcmp(items[2].text, "/") == 0 && !is_scheme_bootable(scheme)) {
1177 if (strcmp(items[2].text, "/") == 0 && !is_fs_bootable(scheme,
1178 items[0].text)) {
1182 items[0].text);
1195 if ((strcmp(items[0].text, "freebsd") == 0 ||
1196 strcmp(items[2].text, "/") == 0) && bootpart_size(scheme) > 0) {
1216 gctl_ro_param(r, "type", -1, items[0].text);
1221 if (items[3].text[0] != '\0')
1222 gctl_ro_param(r, "label", -1, items[3].text);
1248 if (strcmp(items[0].text, "freebsd") == 0)
1252 items[0].text, items[2].text, newfs);
1256 free(items[i].text);