Searched refs:bh_sum (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/fs/nilfs2/ |
H A D | recovery.c | 196 struct buffer_head *bh_sum; nilfs_read_log_header() local 198 bh_sum = __bread(nilfs->ns_bdev, start_blocknr, nilfs->ns_blocksize); nilfs_read_log_header() 199 if (bh_sum) nilfs_read_log_header() 200 *sum = (struct nilfs_segment_summary *)bh_sum->b_data; nilfs_read_log_header() 201 return bh_sum; nilfs_read_log_header() 208 * @bh_sum: buffer head of summary block 212 struct buffer_head *bh_sum, nilfs_validate_log() 234 if (nilfs_compute_checksum(nilfs, bh_sum, &crc, sizeof(sum->ss_datasum), nilfs_validate_log() 236 bh_sum->b_blocknr, nblock)) nilfs_validate_log() 584 struct buffer_head *bh_sum = NULL; nilfs_do_roll_forward() local 607 brelse(bh_sum); nilfs_do_roll_forward() 608 bh_sum = nilfs_read_log_header(nilfs, pseg_start, &sum); nilfs_do_roll_forward() 609 if (!bh_sum) { nilfs_do_roll_forward() 614 ret = nilfs_validate_log(nilfs, seg_seq, bh_sum, sum); nilfs_do_roll_forward() 689 brelse(bh_sum); nilfs_do_roll_forward() 816 struct buffer_head *bh_sum = NULL; nilfs_search_super_root() local 844 brelse(bh_sum); nilfs_search_super_root() 846 bh_sum = nilfs_read_log_header(nilfs, pseg_start, &sum); nilfs_search_super_root() 847 if (!bh_sum) nilfs_search_super_root() 850 ret = nilfs_validate_log(nilfs, seg_seq, bh_sum, sum); nilfs_search_super_root() 953 brelse(bh_sum); nilfs_search_super_root() 961 brelse(bh_sum); nilfs_search_super_root() 211 nilfs_validate_log(struct the_nilfs *nilfs, u64 seg_seq, struct buffer_head *bh_sum, struct nilfs_segment_summary *sum) nilfs_validate_log() argument
|
H A D | segbuf.c | 160 struct buffer_head *bh_sum; nilfs_segbuf_fill_in_segsum() local 162 bh_sum = list_entry(segbuf->sb_segsum_buffers.next, nilfs_segbuf_fill_in_segsum() 164 raw_sum = (struct nilfs_segment_summary *)bh_sum->b_data; nilfs_segbuf_fill_in_segsum()
|
Completed in 79 milliseconds