Searched refs:newhost (Results 1 – 1 of 1) sorted by relevance
1031 struct nvmet_fc_hostport *newhost, *host, *match = NULL; in nvmet_fc_alloc_hostport() local1042 newhost = kzalloc(sizeof(*newhost), GFP_KERNEL); in nvmet_fc_alloc_hostport()1043 if (!newhost) { in nvmet_fc_alloc_hostport()1059 newhost->tgtport = tgtport; in nvmet_fc_alloc_hostport()1060 newhost->hosthandle = hosthandle; in nvmet_fc_alloc_hostport()1061 INIT_LIST_HEAD(&newhost->host_list); in nvmet_fc_alloc_hostport()1062 kref_init(&newhost->ref); in nvmet_fc_alloc_hostport()1074 kfree(newhost); in nvmet_fc_alloc_hostport()1075 newhost = NULL; in nvmet_fc_alloc_hostport()1079 list_add_tail(&newhost->host_list, &tgtport->host_list); in nvmet_fc_alloc_hostport()[all …]