Searched refs:mapped_buffer (Results 1 – 1 of 1) sorted by relevance
1640 void *mapped_buffer = kmap_atomic(spage->page); in scrub_write_page_to_dev_replace() local1642 memset(mapped_buffer, 0, PAGE_CACHE_SIZE); in scrub_write_page_to_dev_replace()1644 kunmap_atomic(mapped_buffer); in scrub_write_page_to_dev_replace()1866 void *mapped_buffer; in scrub_checksum_tree_block() local1875 mapped_buffer = kmap_atomic(page); in scrub_checksum_tree_block()1876 h = (struct btrfs_header *)mapped_buffer; in scrub_checksum_tree_block()1901 p = ((u8 *)mapped_buffer) + BTRFS_CSUM_SIZE; in scrub_checksum_tree_block()1907 kunmap_atomic(mapped_buffer); in scrub_checksum_tree_block()1915 mapped_buffer = kmap_atomic(page); in scrub_checksum_tree_block()1917 p = mapped_buffer; in scrub_checksum_tree_block()[all …]