Lines Matching refs:username
1902 vol->username = NULL; in cifs_parse_mount_options()
1915 kfree(vol->username); in cifs_parse_mount_options()
1916 vol->username = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options()
1917 if (!vol->username) in cifs_parse_mount_options()
2620 vol->username ? vol->username : "", in match_session()
2623 if ((vol->username && strlen(vol->username) != 0) && in match_session()
2866 vol->username = kstrndup(payload, len, GFP_KERNEL); in cifs_set_cifscreds()
2867 if (!vol->username) { in cifs_set_cifscreds()
2873 cifs_dbg(FYI, "%s: username=%s\n", __func__, vol->username); in cifs_set_cifscreds()
2879 kfree(vol->username); in cifs_set_cifscreds()
2880 vol->username = NULL; in cifs_set_cifscreds()
2890 kfree(vol->username); in cifs_set_cifscreds()
2891 vol->username = NULL; in cifs_set_cifscreds()
2907 kfree(vol->username); in cifs_set_cifscreds()
2908 vol->username = NULL; in cifs_set_cifscreds()
2998 if (volume_info->username) { in cifs_get_smb_ses()
2999 ses->user_name = kstrdup(volume_info->username, GFP_KERNEL); in cifs_get_smb_ses()
3895 kfree(volume_info->username); in cleanup_volume_info_contents()
4012 kfree(volume_info->username); in cifs_setup_volume_info()
4013 volume_info->username = NULL; in cifs_setup_volume_info()
4014 } else if (volume_info->username) { in cifs_setup_volume_info()
4016 cifs_dbg(FYI, "Username: %s\n", volume_info->username); in cifs_setup_volume_info()
4645 kfree(vol_info->username); in cifs_construct_tcon()