• Home
  • Raw
  • Download

Lines Matching refs:value

801 	char *value;  in cifs_parse_mount_options()  local
852 if ((value = strchr(data, '=')) != NULL) in cifs_parse_mount_options()
853 *value++ = '\0'; in cifs_parse_mount_options()
861 if (!value) { in cifs_parse_mount_options()
865 } else if (!*value) { in cifs_parse_mount_options()
869 if (strnlen(value, 200) < 200) { in cifs_parse_mount_options()
870 vol->username = value; in cifs_parse_mount_options()
876 if (!value) { in cifs_parse_mount_options()
879 } else if (value[0] == 0) { in cifs_parse_mount_options()
884 if (value[1] != separator[0]) { in cifs_parse_mount_options()
889 temp_len = strlen(value); in cifs_parse_mount_options()
903 if ((value[temp_len] == 0) && in cifs_parse_mount_options()
904 (value[temp_len+1] == separator[0])) { in cifs_parse_mount_options()
906 value[temp_len] = separator[0]; in cifs_parse_mount_options()
908 while (value[temp_len] != 0) { in cifs_parse_mount_options()
909 if (value[temp_len] == separator[0]) { in cifs_parse_mount_options()
910 if (value[temp_len+1] == in cifs_parse_mount_options()
922 if (value[temp_len] == 0) { in cifs_parse_mount_options()
925 value[temp_len] = 0; in cifs_parse_mount_options()
927 options = value + temp_len + 1; in cifs_parse_mount_options()
939 vol->password[j] = value[i]; in cifs_parse_mount_options()
940 if (value[i] == separator[0] in cifs_parse_mount_options()
941 && value[i+1] == separator[0]) { in cifs_parse_mount_options()
954 strcpy(vol->password, value); in cifs_parse_mount_options()
957 if (!value || !*value) { in cifs_parse_mount_options()
959 } else if (strnlen(value, 35) < 35) { in cifs_parse_mount_options()
960 vol->UNCip = value; in cifs_parse_mount_options()
967 if (!value || !*value) { in cifs_parse_mount_options()
970 } else if (strnicmp(value, "krb5i", 5) == 0) { in cifs_parse_mount_options()
973 } else if (strnicmp(value, "krb5p", 5) == 0) { in cifs_parse_mount_options()
978 } else if (strnicmp(value, "krb5", 4) == 0) { in cifs_parse_mount_options()
980 } else if (strnicmp(value, "ntlmv2i", 7) == 0) { in cifs_parse_mount_options()
983 } else if (strnicmp(value, "ntlmv2", 6) == 0) { in cifs_parse_mount_options()
985 } else if (strnicmp(value, "ntlmi", 5) == 0) { in cifs_parse_mount_options()
988 } else if (strnicmp(value, "ntlm", 4) == 0) { in cifs_parse_mount_options()
991 } else if (strnicmp(value, "nontlm", 6) == 0) { in cifs_parse_mount_options()
995 } else if (strnicmp(value, "lanman", 6) == 0) { in cifs_parse_mount_options()
998 } else if (strnicmp(value, "none", 4) == 0) { in cifs_parse_mount_options()
1001 cERROR(1, ("bad security option: %s", value)); in cifs_parse_mount_options()
1007 if (!value || !*value) { in cifs_parse_mount_options()
1012 if ((temp_len = strnlen(value, 300)) < 300) { in cifs_parse_mount_options()
1016 strcpy(vol->UNC, value); in cifs_parse_mount_options()
1032 if (!value || !*value) { in cifs_parse_mount_options()
1038 if (strnlen(value, 256) < 256) { in cifs_parse_mount_options()
1039 vol->domainname = value; in cifs_parse_mount_options()
1047 if (!value || !*value) { in cifs_parse_mount_options()
1052 if ((temp_len = strnlen(value, 1024)) < 1024) { in cifs_parse_mount_options()
1053 if (value[0] != '/') in cifs_parse_mount_options()
1058 if (value[0] != '/') { in cifs_parse_mount_options()
1060 strcpy(vol->prepath+1, value); in cifs_parse_mount_options()
1062 strcpy(vol->prepath, value); in cifs_parse_mount_options()
1069 if (!value || !*value) { in cifs_parse_mount_options()
1074 if (strnlen(value, 65) < 65) { in cifs_parse_mount_options()
1075 if (strnicmp(value, "default", 7)) in cifs_parse_mount_options()
1076 vol->iocharset = value; in cifs_parse_mount_options()
1079 cFYI(1, ("iocharset set to %s", value)); in cifs_parse_mount_options()
1086 if (value && *value) { in cifs_parse_mount_options()
1088 simple_strtoul(value, &value, 0); in cifs_parse_mount_options()
1092 if (value && *value) { in cifs_parse_mount_options()
1094 simple_strtoul(value, &value, 0); in cifs_parse_mount_options()
1098 if (value && *value) { in cifs_parse_mount_options()
1100 simple_strtoul(value, &value, 0); in cifs_parse_mount_options()
1103 if (value && *value) { in cifs_parse_mount_options()
1105 simple_strtoul(value, &value, 0); in cifs_parse_mount_options()
1108 if (value && *value) { in cifs_parse_mount_options()
1110 simple_strtoul(value, &value, 0); in cifs_parse_mount_options()
1113 if (value && *value) { in cifs_parse_mount_options()
1115 simple_strtoul(value, &value, 0); in cifs_parse_mount_options()
1118 if (value && *value) { in cifs_parse_mount_options()
1120 simple_strtoul(value, &value, 0); in cifs_parse_mount_options()
1123 if (value && *value) { in cifs_parse_mount_options()
1125 simple_strtoul(value, &value, 0); in cifs_parse_mount_options()
1128 if (value && *value) { in cifs_parse_mount_options()
1130 simple_strtoul(value, &value, 0); in cifs_parse_mount_options()
1133 if (!value || !*value || (*value == ' ')) { in cifs_parse_mount_options()
1143 if (value[i] == 0) in cifs_parse_mount_options()
1147 value[i]; in cifs_parse_mount_options()
1151 if ((i == 15) && (value[i] != 0)) in cifs_parse_mount_options()
1157 if (!value || !*value || (*value == ' ')) { in cifs_parse_mount_options()
1170 if (value[i] == 0) in cifs_parse_mount_options()
1174 value[i]; in cifs_parse_mount_options()
1178 if ((i == 15) && (value[i] != 0)) in cifs_parse_mount_options()
1306 if (!value || !*value) { in cifs_parse_mount_options()
1308 } else if (strnlen(value, 49) == 48) { in cifs_parse_mount_options()
1309 vol->in6_addr = value; in cifs_parse_mount_options()
1342 value = strpbrk(vol->UNC+2, "/\\"); in cifs_parse_mount_options()
1343 if (value) in cifs_parse_mount_options()
1344 *value = '\\'; in cifs_parse_mount_options()