Home
last modified time | relevance | path

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

/drivers/target/
Dtarget_core_rd.c28 static inline struct rd_dev *RD_DEV(struct se_device *dev) in RD_DEV()
30 return container_of(dev, struct rd_dev, dev); in RD_DEV()
63 static u32 rd_release_sgl_table(struct rd_dev *rd_dev, struct rd_dev_sg_table *sg_table, in rd_release_sgl_table() argument
88 static void rd_release_device_space(struct rd_dev *rd_dev) in rd_release_device_space() argument
92 if (!rd_dev->sg_table_array || !rd_dev->sg_table_count) in rd_release_device_space()
95 page_count = rd_release_sgl_table(rd_dev, rd_dev->sg_table_array, in rd_release_device_space()
96 rd_dev->sg_table_count); in rd_release_device_space()
100 rd_dev->rd_host->rd_host_id, rd_dev->rd_dev_id, page_count, in rd_release_device_space()
101 rd_dev->sg_table_count, (unsigned long)page_count * PAGE_SIZE); in rd_release_device_space()
103 rd_dev->sg_table_array = NULL; in rd_release_device_space()
[all …]
Dtarget_core_rd.h33 struct rd_dev { struct