Home
last modified time | relevance | path

Searched refs:rd_host (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/target/
Dtarget_core_rd.c52 struct rd_host *rd_host; in rd_attach_hba() local
54 rd_host = kzalloc(sizeof(struct rd_host), GFP_KERNEL); in rd_attach_hba()
55 if (!rd_host) { in rd_attach_hba()
60 rd_host->rd_host_id = host_id; in rd_attach_hba()
62 hba->hba_ptr = rd_host; in rd_attach_hba()
69 rd_host->rd_host_id, RD_MAX_SECTORS); in rd_attach_hba()
76 struct rd_host *rd_host = hba->hba_ptr; in rd_detach_hba() local
79 " Generic Target Core\n", hba->hba_id, rd_host->rd_host_id); in rd_detach_hba()
81 kfree(rd_host); in rd_detach_hba()
118 rd_dev->rd_host->rd_host_id, rd_dev->rd_dev_id, page_count, in rd_release_device_space()
[all …]
Dtarget_core_rd.h57 struct rd_host *rd_host; member
60 struct rd_host { struct