Lines Matching refs:rd_page
384 table = rd_get_sg_table(dev, req->rd_page); in rd_MEMCPY_read()
388 table_sg_end = (table->page_end_offset - req->rd_page); in rd_MEMCPY_read()
390 sg_s = &table->sg_table[req->rd_page - table->page_start_offset]; in rd_MEMCPY_read()
394 req->rd_page, req->rd_offset); in rd_MEMCPY_read()
461 " i: %u, j: %u\n", req->rd_page, in rd_MEMCPY_read()
471 if (++req->rd_page <= table->page_end_offset) { in rd_MEMCPY_read()
474 req->rd_page); in rd_MEMCPY_read()
480 req->rd_page); in rd_MEMCPY_read()
482 table = rd_get_sg_table(dev, req->rd_page); in rd_MEMCPY_read()
507 table = rd_get_sg_table(dev, req->rd_page); in rd_MEMCPY_write()
511 table_sg_end = (table->page_end_offset - req->rd_page); in rd_MEMCPY_write()
512 sg_d = &table->sg_table[req->rd_page - table->page_start_offset]; in rd_MEMCPY_write()
517 req->rd_page, req->rd_offset); in rd_MEMCPY_write()
584 " i: %u, j: %u\n", req->rd_page, in rd_MEMCPY_write()
594 if (++req->rd_page <= table->page_end_offset) { in rd_MEMCPY_write()
597 req->rd_page); in rd_MEMCPY_write()
603 req->rd_page); in rd_MEMCPY_write()
605 table = rd_get_sg_table(dev, req->rd_page); in rd_MEMCPY_write()
626 req->rd_page = (task->task_lba * DEV_ATTRIB(dev)->block_size) / PAGE_SIZE; in rd_MEMCPY_do_task()
665 table = rd_get_sg_table(dev, req->rd_page); in rd_DIRECT_with_offset()
669 table_sg_end = (table->page_end_offset - req->rd_page); in rd_DIRECT_with_offset()
670 sg_s = &table->sg_table[req->rd_page - table->page_start_offset]; in rd_DIRECT_with_offset()
675 task->task_lba, req->rd_size, req->rd_page, req->rd_offset); in rd_DIRECT_with_offset()
711 req->rd_page, req->rd_size, offset_length, j, se_mem, in rd_DIRECT_with_offset()
724 if (++req->rd_page <= table->page_end_offset) { in rd_DIRECT_with_offset()
727 req->rd_page); in rd_DIRECT_with_offset()
733 req->rd_page); in rd_DIRECT_with_offset()
735 table = rd_get_sg_table(dev, req->rd_page); in rd_DIRECT_with_offset()
768 table = rd_get_sg_table(dev, req->rd_page); in rd_DIRECT_without_offset()
772 sg_s = &table->sg_table[req->rd_page - table->page_start_offset]; in rd_DIRECT_without_offset()
777 task->task_lba, req->rd_size, req->rd_page); in rd_DIRECT_without_offset()
795 " se_page: %p se_off: %u se_len: %u\n", req->rd_page, in rd_DIRECT_without_offset()
806 if (++req->rd_page <= table->page_end_offset) { in rd_DIRECT_without_offset()
809 req->rd_page); in rd_DIRECT_without_offset()
815 req->rd_page); in rd_DIRECT_without_offset()
817 table = rd_get_sg_table(dev, req->rd_page); in rd_DIRECT_without_offset()
852 req->rd_page = ((task->task_lba * DEV_ATTRIB(task->se_dev)->block_size) / in rd_DIRECT_do_se_mem_map()