Lines Matching refs:username
1793 vol->username = NULL; in cifs_parse_mount_options()
1806 kfree(vol->username); in cifs_parse_mount_options()
1807 vol->username = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options()
1808 if (!vol->username) in cifs_parse_mount_options()
2511 vol->username ? vol->username : "", in match_session()
2514 if ((vol->username && strlen(vol->username) != 0) && in match_session()
2755 vol->username = kstrndup(payload, len, GFP_KERNEL); in cifs_set_cifscreds()
2756 if (!vol->username) { in cifs_set_cifscreds()
2762 cifs_dbg(FYI, "%s: username=%s\n", __func__, vol->username); in cifs_set_cifscreds()
2768 kfree(vol->username); in cifs_set_cifscreds()
2769 vol->username = NULL; in cifs_set_cifscreds()
2779 kfree(vol->username); in cifs_set_cifscreds()
2780 vol->username = NULL; in cifs_set_cifscreds()
2865 if (volume_info->username) { in cifs_get_smb_ses()
2866 ses->user_name = kstrdup(volume_info->username, GFP_KERNEL); in cifs_get_smb_ses()
3752 kfree(volume_info->username); in cleanup_volume_info_contents()
3869 kfree(volume_info->username); in cifs_setup_volume_info()
3870 volume_info->username = NULL; in cifs_setup_volume_info()
3871 } else if (volume_info->username) { in cifs_setup_volume_info()
3873 cifs_dbg(FYI, "Username: %s\n", volume_info->username); in cifs_setup_volume_info()
4501 kfree(vol_info->username); in cifs_construct_tcon()