Searched refs:pl_offset (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/md/ |
D | dm-integrity.c | 642 unsigned *pl_index, unsigned *pl_offset) in page_list_location() argument 651 *pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1); in page_list_location() 657 unsigned pl_index, pl_offset; in access_page_list() local 660 page_list_location(ic, section, offset, &pl_index, &pl_offset); in access_page_list() 663 *n_sectors = (PAGE_SIZE - pl_offset) >> SECTOR_SHIFT; in access_page_list() 667 return (struct journal_sector *)(va + pl_offset); in access_page_list() 787 unsigned pl_index, pl_offset, section_index; in xor_journal() local 798 page_list_location(ic, section, 0, &pl_index, &pl_offset); in xor_journal() 800 atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight); in xor_journal() 822 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset); in xor_journal() [all …]
|