Lines Matching defs:param

587 				       struct fs_parameter *param);
901 struct fs_parameter *param)
911 cifs_dbg(FYI, "CIFS: parsing cifs mount option '%s'\n", param->key);
917 if (param->type == fs_value_is_string && param->string[0] == 0) {
918 if (!strcmp("pass", param->key) || !strcmp("password", param->key)) {
921 } else if (!strcmp("user", param->key) || !strcmp("username", param->key)) {
928 opt = fs_parse(fc, smb3_fs_parameters, param, &result);
1215 switch (smb3_parse_devname(param->string, ctx)) {
1245 if (strlen(param->string) == 0) {
1251 if (strnlen(param->string, CIFS_MAX_USERNAME_LEN) >
1256 ctx->username = kstrdup(param->string, GFP_KERNEL);
1265 if (strlen(param->string) == 0)
1268 ctx->password = kstrdup(param->string, GFP_KERNEL);
1275 if (strlen(param->string) == 0) {
1280 param->string,
1281 strlen(param->string))) {
1282 pr_err("bad ip= option (%s)\n", param->string);
1288 if (strnlen(param->string, CIFS_MAX_DOMAINNAME_LEN)
1295 ctx->domainname = kstrdup(param->string, GFP_KERNEL);
1305 param->string, strlen(param->string))) {
1307 param->string);
1312 if (strnlen(param->string, 1024) >= 65) {
1317 if (strncasecmp(param->string, "default", 7) != 0) {
1319 ctx->iocharset = kstrdup(param->string, GFP_KERNEL);
1340 if (param->string[i] == 0)
1342 ctx->source_rfc1001_name[i] = param->string[i];
1347 if (i == RFC1001_NAME_LEN && param->string[i] != 0)
1361 if (param->string[i] == 0)
1363 ctx->target_rfc1001_name[i] = param->string[i];
1367 if (i == RFC1001_NAME_LEN && param->string[i] != 0)
1373 if (strncasecmp(param->string, "1", 1) == 0) {
1374 if (strlen(param->string) > 1) {
1376 param->string);
1387 if (cifs_parse_smb_version(fc, param->string, ctx, is_smb3) != 0)
1392 if (cifs_parse_security_flavors(fc, param->string, ctx) != 0)
1396 if (cifs_parse_cache_flavor(fc, param->string, ctx) != 0)