Lines Matching +defs:val +defs:path
69 static char root_pathbuf[NFS_MAXPATHLEN]; /* the root's path */
141 nfsmountroot(char *path, struct nfs_file *filep)
156 (rpcproc_t)MOUNTPROC_MNT, xdr_path, (caddr_t)&path,
161 root_hostname, path);
221 * Root path Required.
234 * Optional Bootfile path.
317 nfs3mountroot(char *path, struct nfs_file *filep)
337 (rpcproc_t)MOUNTPROC_MNT, xdr_path, (caddr_t)&path,
345 root_hostname, path);
387 nfs4init(char *path, uint16_t nfs_port)
444 error = lookup(path, &rootpath, TRUE);
447 printf("boot: lookup %s failed\n", path);
566 char *opts, *val;
669 switch (getsubopt(&opts, optlist, &val)) {
671 if (val == NULL || !isdigit(*val))
673 nfs_readsize = atoi(val);
676 if (val == NULL || !isdigit(*val))
678 ival = atoi(val);
683 if (val == NULL || !isdigit(*val))
685 nfs_version = atoi(val);
688 if (val == NULL || isdigit(*val))
690 if ((strncmp(val, "udp", 3) == 0))
696 if (val == NULL || !isdigit(*val))
698 nfs_port = atoi(val);