Lines Matching refs:option

1166 static int nfs_get_option_str(substring_t args[], char **option)  in nfs_get_option_str()  argument
1168 kfree(*option); in nfs_get_option_str()
1169 *option = match_strdup(args); in nfs_get_option_str()
1170 return !*option; in nfs_get_option_str()
1173 static int nfs_get_option_ul(substring_t args[], unsigned long *option) in nfs_get_option_ul() argument
1181 rc = kstrtoul(string, 10, option); in nfs_get_option_ul()
1223 unsigned long option; in nfs_parse_mount_options() local
1329 if (nfs_get_option_ul(args, &option) || in nfs_parse_mount_options()
1330 option > USHRT_MAX) in nfs_parse_mount_options()
1332 mnt->nfs_server.port = option; in nfs_parse_mount_options()
1335 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1337 mnt->rsize = option; in nfs_parse_mount_options()
1340 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1342 mnt->wsize = option; in nfs_parse_mount_options()
1345 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1347 mnt->bsize = option; in nfs_parse_mount_options()
1350 if (nfs_get_option_ul(args, &option) || option == 0) in nfs_parse_mount_options()
1352 mnt->timeo = option; in nfs_parse_mount_options()
1355 if (nfs_get_option_ul(args, &option) || option == 0) in nfs_parse_mount_options()
1357 mnt->retrans = option; in nfs_parse_mount_options()
1360 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1362 mnt->acregmin = option; in nfs_parse_mount_options()
1365 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1367 mnt->acregmax = option; in nfs_parse_mount_options()
1370 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1372 mnt->acdirmin = option; in nfs_parse_mount_options()
1375 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1377 mnt->acdirmax = option; in nfs_parse_mount_options()
1380 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1383 mnt->acdirmin = mnt->acdirmax = option; in nfs_parse_mount_options()
1386 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1388 mnt->namlen = option; in nfs_parse_mount_options()
1391 if (nfs_get_option_ul(args, &option) || in nfs_parse_mount_options()
1392 option > USHRT_MAX) in nfs_parse_mount_options()
1394 mnt->mount_server.port = option; in nfs_parse_mount_options()
1397 if (nfs_get_option_ul(args, &option) || in nfs_parse_mount_options()
1398 option < NFS_MNT_VERSION || in nfs_parse_mount_options()
1399 option > NFS_MNT3_VERSION) in nfs_parse_mount_options()
1401 mnt->mount_server.version = option; in nfs_parse_mount_options()
1404 if (nfs_get_option_ul(args, &option)) in nfs_parse_mount_options()
1406 if (option > NFS4_MAX_MINOR_VERSION) in nfs_parse_mount_options()
1408 mnt->minorversion = option; in nfs_parse_mount_options()