Searched refs:pl_offset (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/md/ ! |
D | dm-integrity.c | 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() [all …]
|