/src/sbin/mount_nfs/ |
getnfsargs.c | 115 char *hostp, *delimp; local in function:getnfsargs 120 if ((delimp = strchr(spec, '@')) != NULL) { 121 hostp = delimp + 1; 122 } else if ((delimp = strrchr(spec, ':')) != NULL) { 124 spec = delimp + 1; 129 *delimp = '\0';
|
getnfsargs_small.c | 195 char *hostp, *delimp; local in function:getnfsargs 202 if ((delimp = strchr(spec, '@')) != NULL) { 203 hostp = delimp + 1; 204 } else if ((delimp = strrchr(spec, ':')) != NULL) { 206 spec = delimp + 1; 211 *delimp = '\0';
|
/src/sbin/umount/ |
umount.c | 261 char *delimp; local in function:umountfs 264 if ((delimp = strrchr(name, ':')) != NULL) { 265 int len = delimp - name;
|
/src/sys/fs/nfs/client/ |
nfs_clvfsops.c | 756 char *delimp, *hostp, *spec; local in function:nfs_mount_parse_from 768 if (*spec == '[' && (delimp = strchr(spec + 1, ']')) != NULL && 769 *(delimp + 1) == ':') { 771 spec = delimp + 2; 773 } else if ((delimp = strrchr(spec, ':')) != NULL) { 775 spec = delimp + 1; 776 } else if ((delimp = strrchr(spec, '@')) != NULL) { 779 hostp = delimp + 1; 784 *delimp = '\0';
|