Lines Matching refs:username
1589 vol->username = NULL; in cifs_parse_mount_options()
1602 kfree(vol->username); in cifs_parse_mount_options()
1603 vol->username = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options()
1604 if (!vol->username) in cifs_parse_mount_options()
2237 vol->username ? vol->username : "", in match_session()
2240 if ((vol->username && strlen(vol->username) != 0) && in match_session()
2391 vol->username = kstrndup(payload, len, GFP_KERNEL); in cifs_set_cifscreds()
2392 if (!vol->username) { in cifs_set_cifscreds()
2398 cifs_dbg(FYI, "%s: username=%s\n", __func__, vol->username); in cifs_set_cifscreds()
2404 kfree(vol->username); in cifs_set_cifscreds()
2405 vol->username = NULL; in cifs_set_cifscreds()
2415 kfree(vol->username); in cifs_set_cifscreds()
2416 vol->username = NULL; in cifs_set_cifscreds()
2494 if (volume_info->username) { in cifs_get_smb_ses()
2495 ses->user_name = kstrdup(volume_info->username, GFP_KERNEL); in cifs_get_smb_ses()
3273 kfree(volume_info->username); in cleanup_volume_info_contents()
3390 kfree(volume_info->username); in cifs_setup_volume_info()
3391 volume_info->username = NULL; in cifs_setup_volume_info()
3392 } else if (volume_info->username) { in cifs_setup_volume_info()
3394 cifs_dbg(FYI, "Username: %s\n", volume_info->username); in cifs_setup_volume_info()
3949 kfree(vol_info->username); in cifs_construct_tcon()