Lines Matching refs:username
1633 vol->username = NULL; in cifs_parse_mount_options()
1646 kfree(vol->username); in cifs_parse_mount_options()
1647 vol->username = kstrdup(string, GFP_KERNEL); in cifs_parse_mount_options()
1648 if (!vol->username) in cifs_parse_mount_options()
2281 vol->username ? vol->username : "", in match_session()
2284 if ((vol->username && strlen(vol->username) != 0) && in match_session()
2436 vol->username = kstrndup(payload, len, GFP_KERNEL); in cifs_set_cifscreds()
2437 if (!vol->username) { in cifs_set_cifscreds()
2443 cifs_dbg(FYI, "%s: username=%s\n", __func__, vol->username); in cifs_set_cifscreds()
2449 kfree(vol->username); in cifs_set_cifscreds()
2450 vol->username = NULL; in cifs_set_cifscreds()
2460 kfree(vol->username); in cifs_set_cifscreds()
2461 vol->username = NULL; in cifs_set_cifscreds()
2539 if (volume_info->username) { in cifs_get_smb_ses()
2540 ses->user_name = kstrdup(volume_info->username, GFP_KERNEL); in cifs_get_smb_ses()
3354 kfree(volume_info->username); in cleanup_volume_info_contents()
3471 kfree(volume_info->username); in cifs_setup_volume_info()
3472 volume_info->username = NULL; in cifs_setup_volume_info()
3473 } else if (volume_info->username) { in cifs_setup_volume_info()
3475 cifs_dbg(FYI, "Username: %s\n", volume_info->username); in cifs_setup_volume_info()
4041 kfree(vol_info->username); in cifs_construct_tcon()