Searched refs:newhost (Results 1 – 1 of 1) sorted by relevance
1018 struct nvmet_fc_hostport *newhost, *match = NULL; in nvmet_fc_alloc_hostport() local1036 newhost = kzalloc(sizeof(*newhost), GFP_KERNEL); in nvmet_fc_alloc_hostport()1037 if (!newhost) in nvmet_fc_alloc_hostport()1044 kfree(newhost); in nvmet_fc_alloc_hostport()1045 newhost = match; in nvmet_fc_alloc_hostport()1048 newhost->tgtport = tgtport; in nvmet_fc_alloc_hostport()1049 newhost->hosthandle = hosthandle; in nvmet_fc_alloc_hostport()1050 INIT_LIST_HEAD(&newhost->host_list); in nvmet_fc_alloc_hostport()1051 kref_init(&newhost->ref); in nvmet_fc_alloc_hostport()1053 list_add_tail(&newhost->host_list, &tgtport->host_list); in nvmet_fc_alloc_hostport()[all …]