Lines Matching defs:param

621 				       struct fs_parameter *param);
947 struct fs_parameter *param)
957 cifs_dbg(FYI, "CIFS: parsing cifs mount option '%s'\n", param->key);
963 if (param->type == fs_value_is_string && param->string[0] == 0) {
964 if (!strcmp("pass", param->key) || !strcmp("password", param->key)) {
967 } else if (!strcmp("user", param->key) || !strcmp("username", param->key)) {
974 opt = fs_parse(fc, smb3_fs_parameters, param, &result);
1266 switch (smb3_parse_devname(param->string, ctx)) {
1296 if (strlen(param->string) == 0) {
1302 if (strnlen(param->string, CIFS_MAX_USERNAME_LEN) >
1307 ctx->username = kstrdup(param->string, GFP_KERNEL);
1316 if (strlen(param->string) == 0)
1319 ctx->password = kstrdup(param->string, GFP_KERNEL);
1328 if (strlen(param->string) == 0)
1331 ctx->password2 = kstrdup(param->string, GFP_KERNEL);
1338 if (strlen(param->string) == 0) {
1343 param->string,
1344 strlen(param->string))) {
1345 pr_err("bad ip= option (%s)\n", param->string);
1351 if (strnlen(param->string, CIFS_MAX_DOMAINNAME_LEN)
1358 ctx->domainname = kstrdup(param->string, GFP_KERNEL);
1368 param->string, strlen(param->string))) {
1370 param->string);
1375 if (strnlen(param->string, 1024) >= 65) {
1380 if (strncasecmp(param->string, "default", 7) != 0) {
1382 ctx->iocharset = kstrdup(param->string, GFP_KERNEL);
1403 if (param->string[i] == 0)
1405 ctx->source_rfc1001_name[i] = param->string[i];
1410 if (i == RFC1001_NAME_LEN && param->string[i] != 0)
1424 if (param->string[i] == 0)
1426 ctx->target_rfc1001_name[i] = param->string[i];
1430 if (i == RFC1001_NAME_LEN && param->string[i] != 0)
1436 if (strncasecmp(param->string, "1", 1) == 0) {
1437 if (strlen(param->string) > 1) {
1439 param->string);
1450 if (cifs_parse_smb_version(fc, param->string, ctx, is_smb3) != 0)
1455 if (cifs_parse_security_flavors(fc, param->string, ctx) != 0)
1459 if (cifs_parse_cache_flavor(fc, param->string, ctx) != 0)
1629 if (parse_reparse_flavor(fc, param->string, ctx))