Home
last modified time | relevance | path

Searched refs:pl_offset (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-integrity.c659 unsigned *pl_index, unsigned *pl_offset) in page_list_location() argument
668 *pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1); in page_list_location()
674 unsigned pl_index, pl_offset; in access_page_list() local
677 page_list_location(ic, section, offset, &pl_index, &pl_offset); in access_page_list()
680 *n_sectors = (PAGE_SIZE - pl_offset) >> SECTOR_SHIFT; in access_page_list()
684 return (struct journal_sector *)(va + pl_offset); in access_page_list()
804 unsigned pl_index, pl_offset, section_index; in xor_journal() local
815 page_list_location(ic, section, 0, &pl_index, &pl_offset); in xor_journal()
817 atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight); in xor_journal()
839 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset); in xor_journal()
[all …]