Lines Matching defs:pl_offset
735 unsigned int *pl_index, unsigned int *pl_offset)
744 *pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
750 unsigned int pl_index, pl_offset;
753 page_list_location(ic, section, offset, &pl_index, &pl_offset);
756 *n_sectors = (PAGE_SIZE - pl_offset) >> SECTOR_SHIFT;
760 return (struct journal_sector *)(va + pl_offset);
901 unsigned int pl_index, pl_offset, section_index;
912 page_list_location(ic, section, 0, &pl_index, &pl_offset);
914 atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight);
937 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset);
942 async_xor(dst_page, src_pages, pl_offset, 2, this_step, &submit);
945 pl_offset = 0;
1061 unsigned int pl_index, pl_offset;
1071 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
1079 io_req.mem.offset = pl_offset;
1183 unsigned int sector, pl_index, pl_offset;
1195 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
1200 io_req.mem.offset = pl_offset;
5441 unsigned int sector, pl_index, pl_offset;
5451 pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1);
5453 bbs->bitmap = lowmem_page_address(ic->journal[pl_index].page) + pl_offset;