Home | History | Annotate | Download | only in client

Lines Matching defs:spec

756 	char *delimp, *hostp, *spec;
761 error = vfs_getopt(opts, "from", (void **)&spec, &speclen);
768 if (*spec == '[' && (delimp = strchr(spec + 1, ']')) != NULL &&
770 hostp = spec + 1;
771 spec = delimp + 2;
773 } else if ((delimp = strrchr(spec, ':')) != NULL) {
774 hostp = spec;
775 spec = delimp + 1;
776 } else if ((delimp = strrchr(spec, '@')) != NULL) {
791 for (speclen = strlen(spec);
792 speclen > 1 && spec[speclen - 1] == '/';
794 spec[speclen - 1] = '\0';
795 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) {
796 printf("%s: %s:%s: name too long", __func__, hostp, spec);
809 memmove(nam + len + offset, spec, speclen);
835 strlcpy(dirpath, spec, dirpathsize);