40 #include <linux/hash.h>
41 #include <linux/slab.h>
74 struct buffer_head **out_bh)
76 struct buffer_head *bh;
83 if (buffer_uptodate(bh))
97 if (buffer_uptodate(bh)) {
102 if (!buffer_mapped(bh)) {
103 bh->b_bdev = inode->
i_sb->s_bdev;
104 set_buffer_mapped(bh);
141 __u64 vbn,
struct buffer_head **out_bh)
146 vbn ? : pbn, pbn,
READ, out_bh, &pbn);
155 if (!buffer_uptodate(bh))
157 if (buffer_dirty(bh))
161 clear_buffer_uptodate(bh);
191 while (!list_empty(head)) {