• Home
  • Raw
  • Download

Lines Matching refs:string

1130 	char *string;  in get_option_ul()  local
1132 string = match_strdup(args); in get_option_ul()
1133 if (string == NULL) in get_option_ul()
1135 rc = kstrtoul(string, 0, option); in get_option_ul()
1136 kfree(string); in get_option_ul()
1209 char *string = NULL; in cifs_parse_mount_options() local
1564 string = match_strdup(args); in cifs_parse_mount_options()
1565 if (string == NULL) in cifs_parse_mount_options()
1568 if (strnlen(string, MAX_USERNAME_SIZE) > in cifs_parse_mount_options()
1573 vol->username = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options()
1653 string = match_strdup(args); in cifs_parse_mount_options()
1654 if (string == NULL) in cifs_parse_mount_options()
1657 if (strnlen(string, INET6_ADDRSTRLEN) > in cifs_parse_mount_options()
1663 vol->UNCip = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options()
1671 string = match_strdup(args); in cifs_parse_mount_options()
1672 if (string == NULL) in cifs_parse_mount_options()
1675 temp_len = strnlen(string, 300); in cifs_parse_mount_options()
1686 strcpy(vol->UNC, string); in cifs_parse_mount_options()
1688 if (strncmp(string, "//", 2) == 0) { in cifs_parse_mount_options()
1691 } else if (strncmp(string, "\\\\", 2) != 0) { in cifs_parse_mount_options()
1699 string = match_strdup(args); in cifs_parse_mount_options()
1700 if (string == NULL) in cifs_parse_mount_options()
1703 if (strnlen(string, CIFS_MAX_DOMAINNAME_LEN) in cifs_parse_mount_options()
1710 vol->domainname = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options()
1719 string = match_strdup(args); in cifs_parse_mount_options()
1720 if (string == NULL) in cifs_parse_mount_options()
1725 string, strlen(string))) { in cifs_parse_mount_options()
1727 " srcaddr: %s\n", string); in cifs_parse_mount_options()
1732 string = match_strdup(args); in cifs_parse_mount_options()
1733 if (string == NULL) in cifs_parse_mount_options()
1736 temp_len = strnlen(string, 1024); in cifs_parse_mount_options()
1737 if (string[0] != '/') in cifs_parse_mount_options()
1751 if (string[0] != '/') { in cifs_parse_mount_options()
1753 strcpy(vol->prepath+1, string); in cifs_parse_mount_options()
1755 strcpy(vol->prepath, string); in cifs_parse_mount_options()
1759 string = match_strdup(args); in cifs_parse_mount_options()
1760 if (string == NULL) in cifs_parse_mount_options()
1763 if (strnlen(string, 1024) >= 65) { in cifs_parse_mount_options()
1769 if (strnicmp(string, "default", 7) != 0) { in cifs_parse_mount_options()
1770 vol->iocharset = kstrdup(string, in cifs_parse_mount_options()
1781 cFYI(1, "iocharset set to %s", string); in cifs_parse_mount_options()
1784 string = match_strdup(args); in cifs_parse_mount_options()
1785 if (string == NULL) in cifs_parse_mount_options()
1788 if (strnicmp(string, "TCP_NODELAY", 11) == 0) in cifs_parse_mount_options()
1792 string = match_strdup(args); in cifs_parse_mount_options()
1793 if (string == NULL) in cifs_parse_mount_options()
1805 if (string[i] == 0) in cifs_parse_mount_options()
1807 vol->source_rfc1001_name[i] = string[i]; in cifs_parse_mount_options()
1812 if (i == RFC1001_NAME_LEN && string[i] != 0) in cifs_parse_mount_options()
1819 string = match_strdup(args); in cifs_parse_mount_options()
1820 if (string == NULL) in cifs_parse_mount_options()
1834 if (string[i] == 0) in cifs_parse_mount_options()
1836 vol->target_rfc1001_name[i] = string[i]; in cifs_parse_mount_options()
1840 if (i == RFC1001_NAME_LEN && string[i] != 0) in cifs_parse_mount_options()
1845 string = match_strdup(args); in cifs_parse_mount_options()
1846 if (string == NULL) in cifs_parse_mount_options()
1849 if (strnicmp(string, "cifs", 4) == 0 || in cifs_parse_mount_options()
1850 strnicmp(string, "1", 1) == 0) { in cifs_parse_mount_options()
1859 string = match_strdup(args); in cifs_parse_mount_options()
1860 if (string == NULL) in cifs_parse_mount_options()
1863 if (cifs_parse_security_flavors(string, vol) != 0) in cifs_parse_mount_options()
1876 kfree(string); in cifs_parse_mount_options()
1877 string = NULL; in cifs_parse_mount_options()
1915 kfree(string); in cifs_parse_mount_options()