Lines Matching refs:pl_offset
659 unsigned *pl_index, unsigned *pl_offset)
668 *pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
674 unsigned pl_index, pl_offset;
677 page_list_location(ic, section, offset, &pl_index, &pl_offset);
680 *n_sectors = (PAGE_SIZE - pl_offset) >> SECTOR_SHIFT;
684 return (struct journal_sector *)(va + pl_offset);
804 unsigned pl_index, pl_offset, section_index;
815 page_list_location(ic, section, 0, &pl_index, &pl_offset);
817 atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight);
839 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset);
844 async_xor(dst_page, src_pages, pl_offset, 2, this_step, &submit);
847 pl_offset = 0;
957 unsigned pl_index, pl_offset;
967 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
976 io_req.mem.offset = pl_offset;
1076 unsigned sector, pl_index, pl_offset;
1088 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
1094 io_req.mem.offset = pl_offset;
4322 unsigned sector, pl_index, pl_offset;
4332 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
4334 bbs->bitmap = lowmem_page_address(ic->journal[pl_index].page) + pl_offset;