Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/md/
H A Ddm-integrity.c659 unsigned *pl_index, unsigned *pl_offset) in page_list_location()
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()
658 page_list_location(struct dm_integrity_c *ic, unsigned section, unsigned offset, unsigned *pl_index, unsigned *pl_offset) page_list_location() argument
957 unsigned pl_index, pl_offset; rw_journal_sectors() local
1076 unsigned sector, pl_index, pl_offset; copy_from_journal() local
4322 unsigned sector, pl_index, pl_offset; dm_integrity_ctr() local
[all...]
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-integrity.c732 unsigned int *pl_index, unsigned int *pl_offset) in page_list_location()
741 *pl_offset = (sector << SECTOR_SHIFT) & (PAGE_SIZE - 1); in page_list_location()
747 unsigned int pl_index, pl_offset; in access_page_list() local
750 page_list_location(ic, section, offset, &pl_index, &pl_offset); in access_page_list()
753 *n_sectors = (PAGE_SIZE - pl_offset) >> SECTOR_SHIFT; in access_page_list()
757 return (struct journal_sector *)(va + pl_offset); in access_page_list()
898 unsigned int pl_index, pl_offset, section_index; in xor_journal() local
909 page_list_location(ic, section, 0, &pl_index, &pl_offset); in xor_journal()
911 atomic_add(roundup(pl_offset + n_bytes, PAGE_SIZE) >> PAGE_SHIFT, &comp->in_flight); in xor_journal()
934 this_step = min(n_bytes, (size_t)PAGE_SIZE - pl_offset); in xor_journal()
731 page_list_location(struct dm_integrity_c *ic, unsigned int section, unsigned int offset, unsigned int *pl_index, unsigned int *pl_offset) page_list_location() argument
1056 unsigned int pl_index, pl_offset; rw_journal_sectors() local
1178 unsigned int sector, pl_index, pl_offset; copy_from_journal() local
4611 unsigned int sector, pl_index, pl_offset; dm_integrity_ctr() local
[all...]

Completed in 8 milliseconds