Lines Matching refs:h
27 struct node_header *h = &n->header; in node_prepare_for_write() local
29 h->blocknr = cpu_to_le64(dm_block_location(b)); in node_prepare_for_write()
30 h->csum = cpu_to_le32(dm_bm_checksum(&h->flags, in node_prepare_for_write()
42 struct node_header *h = &n->header; in node_check() local
47 if (dm_block_location(b) != le64_to_cpu(h->blocknr)) { in node_check()
49 le64_to_cpu(h->blocknr), dm_block_location(b)); in node_check()
53 csum_disk = cpu_to_le32(dm_bm_checksum(&h->flags, in node_check()
56 if (csum_disk != h->csum) { in node_check()
58 le32_to_cpu(csum_disk), le32_to_cpu(h->csum)); in node_check()
62 value_size = le32_to_cpu(h->value_size); in node_check()
65 (sizeof(__le64) + value_size) * le32_to_cpu(h->max_entries) > block_size) { in node_check()
70 if (le32_to_cpu(h->nr_entries) > le32_to_cpu(h->max_entries)) { in node_check()
78 flags = le32_to_cpu(h->flags); in node_check()