Lines Matching refs:pl_offset
742 unsigned *pl_index, unsigned *pl_offset) in page_list_location() argument
751 *pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1); in page_list_location()
757 unsigned pl_index, pl_offset; in access_page_list() local
760 page_list_location(ic, section, offset, &pl_index, &pl_offset); in access_page_list()
763 *n_sectors = (PAGE_SIZE - pl_offset) >> SECTOR_SHIFT; in access_page_list()
767 return (struct journal_sector *)(va + pl_offset); in access_page_list()
906 unsigned pl_index, pl_offset, section_index; in xor_journal() local
917 page_list_location(ic, section, 0, &pl_index, &pl_offset); in xor_journal()
919 atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight); in xor_journal()
941 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset); in xor_journal()
946 async_xor(dst_page, src_pages, pl_offset, 2, this_step, &submit); in xor_journal()
949 pl_offset = 0; in xor_journal()
1060 unsigned pl_index, pl_offset; in rw_journal_sectors() local
1070 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1); in rw_journal_sectors()
1078 io_req.mem.offset = pl_offset; in rw_journal_sectors()
1181 unsigned sector, pl_index, pl_offset; in copy_from_journal() local
1193 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1); in copy_from_journal()
1198 io_req.mem.offset = pl_offset; in copy_from_journal()
4489 unsigned sector, pl_index, pl_offset; in dm_integrity_ctr() local
4499 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1); in dm_integrity_ctr()
4501 bbs->bitmap = lowmem_page_address(ic->journal[pl_index].page) + pl_offset; in dm_integrity_ctr()