Lines Matching refs:start_byte
1289 static struct iopt_pages *iopt_alloc_pages(unsigned long start_byte, in iopt_alloc_pages() argument
1310 pages->npages = DIV_ROUND_UP(length + start_byte, PAGE_SIZE); in iopt_alloc_pages()
2019 int iopt_pages_rw_access(struct iopt_pages *pages, unsigned long start_byte, in iopt_pages_rw_access() argument
2022 unsigned long start_index = start_byte / PAGE_SIZE; in iopt_pages_rw_access()
2023 unsigned long last_index = (start_byte + length - 1) / PAGE_SIZE; in iopt_pages_rw_access()
2036 start_byte % PAGE_SIZE, data, length, in iopt_pages_rw_access()
2046 start_byte % PAGE_SIZE, data, in iopt_pages_rw_access()
2049 start_byte % PAGE_SIZE, data, length, in iopt_pages_rw_access()
2061 start_byte % PAGE_SIZE, data, in iopt_pages_rw_access()
2067 if (copy_to_user(pages->uptr + start_byte, data, length)) in iopt_pages_rw_access()
2070 if (copy_from_user(data, pages->uptr + start_byte, length)) in iopt_pages_rw_access()