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

/linux-4.1.27/fs/btrfs/
H A Dscrub.c1550 void *mapped_buffer; scrub_recheck_block_checksum() local
1556 mapped_buffer = kmap_atomic(sblock->pagev[0]->page); scrub_recheck_block_checksum()
1557 h = (struct btrfs_header *)mapped_buffer; scrub_recheck_block_checksum()
1573 mapped_buffer = kmap_atomic(sblock->pagev[0]->page); scrub_recheck_block_checksum()
1579 ((u8 *)mapped_buffer) + BTRFS_CSUM_SIZE, scrub_recheck_block_checksum()
1582 crc = btrfs_csum_data(mapped_buffer, crc, PAGE_SIZE); scrub_recheck_block_checksum()
1584 kunmap_atomic(mapped_buffer); scrub_recheck_block_checksum()
1590 mapped_buffer = kmap_atomic(sblock->pagev[page_num]->page); scrub_recheck_block_checksum()
1694 void *mapped_buffer = kmap_atomic(spage->page); scrub_write_page_to_dev_replace() local
1696 memset(mapped_buffer, 0, PAGE_CACHE_SIZE); scrub_write_page_to_dev_replace()
1698 kunmap_atomic(mapped_buffer); scrub_write_page_to_dev_replace()
1909 void *mapped_buffer; scrub_checksum_tree_block() local
1920 mapped_buffer = kmap_atomic(page); scrub_checksum_tree_block()
1921 h = (struct btrfs_header *)mapped_buffer; scrub_checksum_tree_block()
1945 p = ((u8 *)mapped_buffer) + BTRFS_CSUM_SIZE; scrub_checksum_tree_block()
1951 kunmap_atomic(mapped_buffer); scrub_checksum_tree_block()
1959 mapped_buffer = kmap_atomic(page); scrub_checksum_tree_block()
1961 p = mapped_buffer; scrub_checksum_tree_block()
1978 void *mapped_buffer; scrub_checksum_super() local
1989 mapped_buffer = kmap_atomic(page); scrub_checksum_super()
1990 s = (struct btrfs_super_block *)mapped_buffer; scrub_checksum_super()
2004 p = ((u8 *)mapped_buffer) + BTRFS_CSUM_SIZE; scrub_checksum_super()
2010 kunmap_atomic(mapped_buffer); scrub_checksum_super()
2018 mapped_buffer = kmap_atomic(page); scrub_checksum_super()
2020 p = mapped_buffer; scrub_checksum_super()

Completed in 100 milliseconds