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

/linux-4.1.27/drivers/target/
H A Dtarget_core_file.h45 struct fd_host *fd_host; member in struct:fd_dev
48 struct fd_host { struct
H A Dtarget_core_file.c55 struct fd_host *fd_host; fd_attach_hba() local
57 fd_host = kzalloc(sizeof(struct fd_host), GFP_KERNEL); fd_attach_hba()
58 if (!fd_host) { fd_attach_hba()
59 pr_err("Unable to allocate memory for struct fd_host\n"); fd_attach_hba()
63 fd_host->fd_host_id = host_id; fd_attach_hba()
65 hba->hba_ptr = fd_host; fd_attach_hba()
71 hba->hba_id, fd_host->fd_host_id); fd_attach_hba()
78 struct fd_host *fd_host = hba->hba_ptr; fd_detach_hba() local
81 " Target Core\n", hba->hba_id, fd_host->fd_host_id); fd_detach_hba()
83 kfree(fd_host); fd_detach_hba()
90 struct fd_host *fd_host = hba->hba_ptr; fd_alloc_device() local
98 fd_dev->fd_host = fd_host; fd_alloc_device()
108 struct fd_host *fd_host = dev->se_hba->hba_ptr; fd_configure_device() local
233 fd_dev->fd_dev_id = fd_host->fd_host_dev_id_count++; fd_configure_device()
237 " %llu total bytes\n", fd_host->fd_host_id, fd_dev->fd_dev_id, fd_configure_device()

Completed in 50 milliseconds