• Home
  • Raw
  • Download

Lines Matching refs:option

1222 static int nfs_get_option_str(substring_t args[], char **option)  in nfs_get_option_str()  argument
1224 kfree(*option); in nfs_get_option_str()
1225 *option = match_strdup(args); in nfs_get_option_str()
1226 return !*option; in nfs_get_option_str()
1229 static int nfs_get_option_ul(substring_t args[], unsigned long *option) in nfs_get_option_ul() argument
1237 rc = kstrtoul(string, 10, option); in nfs_get_option_ul()
1243 static int nfs_get_option_ul_bound(substring_t args[], unsigned long *option, in nfs_get_option_ul_bound() argument
1248 ret = nfs_get_option_ul(args, option); in nfs_get_option_ul_bound()
1251 if (*option < l_bound || *option > u_bound) in nfs_get_option_ul_bound()
1282 unsigned long option; in nfs_parse_mount_options() local
1393 if (nfs_get_option_ul(args, &option) || in nfs_parse_mount_options()
1394 option > USHRT_MAX) in nfs_parse_mount_options()
1396 mnt->nfs_server.port = option; in nfs_parse_mount_options()
1399 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1401 mnt->rsize = option; in nfs_parse_mount_options()
1404 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1406 mnt->wsize = option; in nfs_parse_mount_options()
1409 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1411 mnt->bsize = option; in nfs_parse_mount_options()
1414 if (nfs_get_option_ul_bound(args, &option, 1, INT_MAX)) in nfs_parse_mount_options()
1416 mnt->timeo = option; in nfs_parse_mount_options()
1419 if (nfs_get_option_ul_bound(args, &option, 0, INT_MAX)) in nfs_parse_mount_options()
1421 mnt->retrans = option; in nfs_parse_mount_options()
1424 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1426 mnt->acregmin = option; in nfs_parse_mount_options()
1429 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1431 mnt->acregmax = option; in nfs_parse_mount_options()
1434 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1436 mnt->acdirmin = option; in nfs_parse_mount_options()
1439 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1441 mnt->acdirmax = option; in nfs_parse_mount_options()
1444 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1447 mnt->acdirmin = mnt->acdirmax = option; in nfs_parse_mount_options()
1450 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1452 mnt->namlen = option; in nfs_parse_mount_options()
1455 if (nfs_get_option_ul(args, &option) || in nfs_parse_mount_options()
1456 option > USHRT_MAX) in nfs_parse_mount_options()
1458 mnt->mount_server.port = option; in nfs_parse_mount_options()
1461 if (nfs_get_option_ul(args, &option) || in nfs_parse_mount_options()
1462 option < NFS_MNT_VERSION || in nfs_parse_mount_options()
1463 option > NFS_MNT3_VERSION) in nfs_parse_mount_options()
1465 mnt->mount_server.version = option; in nfs_parse_mount_options()
1468 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1470 if (option > NFS4_MAX_MINOR_VERSION) in nfs_parse_mount_options()
1472 mnt->minorversion = option; in nfs_parse_mount_options()
1604 if (nfs_get_option_ul_bound(args, &option, 1, NFS_MAX_CONNECTIONS)) in nfs_parse_mount_options()
1606 mnt->nfs_server.nconnect = option; in nfs_parse_mount_options()