Lines Matching refs:pl_offset
732 unsigned int *pl_index, unsigned int *pl_offset)
741 *pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
747 unsigned int pl_index, pl_offset;
750 page_list_location(ic, section, offset, &pl_index, &pl_offset);
753 *n_sectors = (PAGE_SIZE - pl_offset) >> SECTOR_SHIFT;
757 return (struct journal_sector *)(va + pl_offset);
898 unsigned int pl_index, pl_offset, section_index;
909 page_list_location(ic, section, 0, &pl_index, &pl_offset);
911 atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight);
934 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset);
939 async_xor(dst_page, src_pages, pl_offset, 2, this_step, &submit);
942 pl_offset = 0;
1056 unsigned int pl_index, pl_offset;
1066 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
1074 io_req.mem.offset = pl_offset;
1178 unsigned int sector, pl_index, pl_offset;
1190 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
1195 io_req.mem.offset = pl_offset;
4611 unsigned int sector, pl_index, pl_offset;
4621 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
4623 bbs->bitmap = lowmem_page_address(ic->journal[pl_index].page) + pl_offset;