Lines Matching refs:option

1169 static int nfs_get_option_str(substring_t args[], char **option)  in nfs_get_option_str()  argument
1171 kfree(*option); in nfs_get_option_str()
1172 *option = match_strdup(args); in nfs_get_option_str()
1173 return !*option; in nfs_get_option_str()
1176 static int nfs_get_option_ul(substring_t args[], unsigned long *option) in nfs_get_option_ul() argument
1184 rc = kstrtoul(string, 10, option); in nfs_get_option_ul()
1226 unsigned long option; in nfs_parse_mount_options() local
1332 if (nfs_get_option_ul(args, &option) || in nfs_parse_mount_options()
1333 option > USHRT_MAX) in nfs_parse_mount_options()
1335 mnt->nfs_server.port = option; in nfs_parse_mount_options()
1338 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1340 mnt->rsize = option; in nfs_parse_mount_options()
1343 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1345 mnt->wsize = option; in nfs_parse_mount_options()
1348 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1350 mnt->bsize = option; in nfs_parse_mount_options()
1353 if (nfs_get_option_ul(args, &option) || option == 0) in nfs_parse_mount_options()
1355 mnt->timeo = option; in nfs_parse_mount_options()
1358 if (nfs_get_option_ul(args, &option) || option == 0) in nfs_parse_mount_options()
1360 mnt->retrans = option; in nfs_parse_mount_options()
1363 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1365 mnt->acregmin = option; in nfs_parse_mount_options()
1368 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1370 mnt->acregmax = option; in nfs_parse_mount_options()
1373 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1375 mnt->acdirmin = option; in nfs_parse_mount_options()
1378 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1380 mnt->acdirmax = option; in nfs_parse_mount_options()
1383 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1386 mnt->acdirmin = mnt->acdirmax = option; in nfs_parse_mount_options()
1389 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1391 mnt->namlen = option; in nfs_parse_mount_options()
1394 if (nfs_get_option_ul(args, &option) || in nfs_parse_mount_options()
1395 option > USHRT_MAX) in nfs_parse_mount_options()
1397 mnt->mount_server.port = option; in nfs_parse_mount_options()
1400 if (nfs_get_option_ul(args, &option) || in nfs_parse_mount_options()
1401 option < NFS_MNT_VERSION || in nfs_parse_mount_options()
1402 option > NFS_MNT3_VERSION) in nfs_parse_mount_options()
1404 mnt->mount_server.version = option; in nfs_parse_mount_options()
1407 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1409 if (option > NFS4_MAX_MINOR_VERSION) in nfs_parse_mount_options()
1411 mnt->minorversion = option; in nfs_parse_mount_options()