Home
last modified time | relevance | path

Searched refs:newhost (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/nvme/target/
H A Dfc.c1031 struct nvmet_fc_hostport *newhost, *host, *match = NULL; in nvmet_fc_alloc_hostport() local
1042 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 in nvmet_fc_alloc_hostport()
[all...]
/kernel/linux/linux-6.6/drivers/nvme/target/
H A Dfc.c1044 struct nvmet_fc_hostport *newhost, *match = NULL; in nvmet_fc_alloc_hostport() local
1068 newhost = kzalloc(sizeof(*newhost), GFP_KERNEL); in nvmet_fc_alloc_hostport()
1069 if (!newhost) { in nvmet_fc_alloc_hostport()
1079 kfree(newhost); in nvmet_fc_alloc_hostport()
1080 newhost = match; in nvmet_fc_alloc_hostport()
1082 newhost->tgtport = tgtport; in nvmet_fc_alloc_hostport()
1083 newhost->hosthandle = hosthandle; in nvmet_fc_alloc_hostport()
1084 INIT_LIST_HEAD(&newhost->host_list); in nvmet_fc_alloc_hostport()
1085 kref_init(&newhost in nvmet_fc_alloc_hostport()
[all...]

Completed in 6 milliseconds