Lines Matching refs:mapped_buffer
1616 void *mapped_buffer = kmap_atomic(spage->page); in scrub_write_page_to_dev_replace() local
1618 clear_page(mapped_buffer); in scrub_write_page_to_dev_replace()
1620 kunmap_atomic(mapped_buffer); in scrub_write_page_to_dev_replace()
1847 void *mapped_buffer; in scrub_checksum_tree_block() local
1856 mapped_buffer = kmap_atomic(page); in scrub_checksum_tree_block()
1857 h = (struct btrfs_header *)mapped_buffer; in scrub_checksum_tree_block()
1882 p = ((u8 *)mapped_buffer) + BTRFS_CSUM_SIZE; in scrub_checksum_tree_block()
1888 kunmap_atomic(mapped_buffer); in scrub_checksum_tree_block()
1896 mapped_buffer = kmap_atomic(page); in scrub_checksum_tree_block()
1898 p = mapped_buffer; in scrub_checksum_tree_block()
1915 void *mapped_buffer; in scrub_checksum_super() local
1926 mapped_buffer = kmap_atomic(page); in scrub_checksum_super()
1927 s = (struct btrfs_super_block *)mapped_buffer; in scrub_checksum_super()
1941 p = ((u8 *)mapped_buffer) + BTRFS_CSUM_SIZE; in scrub_checksum_super()
1947 kunmap_atomic(mapped_buffer); in scrub_checksum_super()
1955 mapped_buffer = kmap_atomic(page); in scrub_checksum_super()
1957 p = mapped_buffer; in scrub_checksum_super()