Searched refs:rd_dev (Results 1 – 2 of 2) sorted by relevance
99 static void rd_release_device_space(struct rd_dev *rd_dev) in rd_release_device_space() argument106 if (!rd_dev->sg_table_array || !rd_dev->sg_table_count) in rd_release_device_space()109 sg_table = rd_dev->sg_table_array; in rd_release_device_space()111 for (i = 0; i < rd_dev->sg_table_count; i++) { in rd_release_device_space()128 rd_dev->rd_host->rd_host_id, rd_dev->rd_dev_id, page_count, in rd_release_device_space()129 rd_dev->sg_table_count, (unsigned long)page_count * PAGE_SIZE); in rd_release_device_space()132 rd_dev->sg_table_array = NULL; in rd_release_device_space()133 rd_dev->sg_table_count = 0; in rd_release_device_space()141 static int rd_build_device_space(struct rd_dev *rd_dev) in rd_build_device_space() argument150 if (rd_dev->rd_page_count <= 0) { in rd_build_device_space()[all …]
38 struct rd_dev *rd_dev; member50 struct rd_dev { struct