Home
last modified time | relevance | path

Searched refs:buffer_head (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/linux-3.4.99/include/linux/
Dbuffer_head.h46 struct buffer_head;
48 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate);
59 struct buffer_head { struct
61 struct buffer_head *b_this_page;/* circular list of page's buffers */ argument
82 static inline void set_buffer_##name(struct buffer_head *bh) \
86 static inline void clear_buffer_##name(struct buffer_head *bh) \
90 static inline int buffer_##name(const struct buffer_head *bh) \
99 static inline int test_set_buffer_##name(struct buffer_head *bh) \
103 static inline int test_clear_buffer_##name(struct buffer_head *bh) \
135 ((struct buffer_head *)page_private(page)); \
[all …]
Djbd_common.h28 static inline struct buffer_head *jh2bh(struct journal_head *jh) in BUFFER_FNS()
33 static inline struct journal_head *bh2jh(struct buffer_head *bh) in bh2jh()
38 static inline void jbd_lock_bh_state(struct buffer_head *bh) in jbd_lock_bh_state()
43 static inline int jbd_trylock_bh_state(struct buffer_head *bh) in jbd_trylock_bh_state()
48 static inline int jbd_is_locked_bh_state(struct buffer_head *bh) in jbd_is_locked_bh_state()
53 static inline void jbd_unlock_bh_state(struct buffer_head *bh) in jbd_unlock_bh_state()
58 static inline void jbd_lock_bh_journal_head(struct buffer_head *bh) in jbd_lock_bh_journal_head()
63 static inline void jbd_unlock_bh_journal_head(struct buffer_head *bh) in jbd_unlock_bh_journal_head()
/linux-3.4.99/fs/gfs2/
Dmeta_io.h17 static inline void gfs2_buffer_clear(struct buffer_head *bh) in gfs2_buffer_clear()
22 static inline void gfs2_buffer_clear_tail(struct buffer_head *bh, int head) in gfs2_buffer_clear_tail()
28 static inline void gfs2_buffer_copy_tail(struct buffer_head *to_bh, in gfs2_buffer_copy_tail()
30 struct buffer_head *from_bh, in gfs2_buffer_copy_tail()
53 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno);
55 int flags, struct buffer_head **bhp);
56 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh);
57 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create);
59 void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh,
62 void gfs2_remove_from_journal(struct buffer_head *bh, struct gfs2_trans *tr,
[all …]
Dmeta_io.c38 struct buffer_head *bh, *head; in gfs2_aspace_writepage()
80 struct buffer_head *next = bh->b_this_page; in gfs2_aspace_writepage()
127 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf()
132 struct buffer_head *bh; in gfs2_getbuf()
172 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new()
192 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new()
194 struct buffer_head *bh; in gfs2_meta_new()
211 struct buffer_head **bhp) in gfs2_meta_read()
214 struct buffer_head *bh; in gfs2_meta_read()
252 int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) in gfs2_meta_wait()
[all …]
/linux-3.4.99/fs/nilfs2/
Dsufile.h50 struct buffer_head *,
51 struct buffer_head *));
54 struct buffer_head *,
55 struct buffer_head *));
56 void nilfs_sufile_do_scrap(struct inode *, __u64, struct buffer_head *,
57 struct buffer_head *);
58 void nilfs_sufile_do_free(struct inode *, __u64, struct buffer_head *,
59 struct buffer_head *);
60 void nilfs_sufile_do_cancel_free(struct inode *, __u64, struct buffer_head *,
61 struct buffer_head *);
[all …]
Dalloc.h47 struct buffer_head **);
49 const struct buffer_head *, void *);
60 struct buffer_head *pr_desc_bh;
61 struct buffer_head *pr_bitmap_bh;
62 struct buffer_head *pr_entry_bh;
85 struct buffer_head *bh;
Dpage.h49 struct buffer_head *nilfs_grab_buffer(struct inode *, struct address_space *,
51 void nilfs_forget_buffer(struct buffer_head *);
52 void nilfs_copy_buffer(struct buffer_head *, struct buffer_head *);
69 static inline struct buffer_head *
72 struct buffer_head *bh = page_buffers(page); in nilfs_page_get_nth_block()
Dbtnode.h36 struct buffer_head *bh;
37 struct buffer_head *newbh;
41 struct buffer_head *nilfs_btnode_create_block(struct address_space *btnc,
44 struct buffer_head **, sector_t *);
45 void nilfs_btnode_delete(struct buffer_head *);
Dmdt.c42 struct buffer_head *bh, in nilfs_mdt_insert_new_block() argument
44 struct buffer_head *, void *)) in nilfs_mdt_insert_new_block()
75 struct buffer_head **out_bh, in nilfs_mdt_create_block() argument
77 struct buffer_head *, in nilfs_mdt_create_block()
82 struct buffer_head *bh; in nilfs_mdt_create_block()
123 int mode, struct buffer_head **out_bh) in nilfs_mdt_submit_block()
125 struct buffer_head *bh; in nilfs_mdt_submit_block()
174 int readahead, struct buffer_head **out_bh) in nilfs_mdt_read_block()
176 struct buffer_head *first_bh, *bh; in nilfs_mdt_read_block()
244 struct buffer_head *, void *), in nilfs_mdt_get_block() argument
[all …]
Dsufile.c79 struct buffer_head *bh, void *kaddr) in nilfs_sufile_block_get_segment_usage()
87 struct buffer_head **bhp) in nilfs_sufile_get_header_block()
94 int create, struct buffer_head **bhp) in nilfs_sufile_get_segment_usage_block()
108 static void nilfs_sufile_mod_counter(struct buffer_head *header_bh, in nilfs_sufile_mod_counter()
163 struct buffer_head *, in nilfs_sufile_updatev() argument
164 struct buffer_head *)) in nilfs_sufile_updatev()
166 struct buffer_head *header_bh, *bh; in nilfs_sufile_updatev()
230 struct buffer_head *, in nilfs_sufile_update() argument
231 struct buffer_head *)) in nilfs_sufile_update()
233 struct buffer_head *header_bh, *bh; in nilfs_sufile_update()
[all …]
/linux-3.4.99/fs/ocfs2/
Dxattr.h48 int ocfs2_xattr_get_nolock(struct inode *, struct buffer_head *, int,
52 int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *,
58 int ocfs2_xattr_remove(struct inode *, struct buffer_head *);
63 struct buffer_head *,
70 int ocfs2_calc_xattr_init(struct inode *, struct buffer_head *,
82 struct buffer_head *vb_bh;
88 struct buffer_head *fe_bh,
90 struct buffer_head *ref_root_bh,
93 struct buffer_head *old_bh,
95 struct buffer_head *new_bh,
Dbuffer_head_io.h31 void ocfs2_end_buffer_io_sync(struct buffer_head *bh,
35 struct buffer_head *bh,
38 unsigned int nr, struct buffer_head *bhs[]);
48 struct buffer_head *bhs[], int flags,
50 struct buffer_head *bh));
53 struct buffer_head *bh);
59 struct buffer_head **bh, in ocfs2_read_block()
61 struct buffer_head *bh)) in ocfs2_read_block()
Ddir.h35 struct buffer_head *dl_leaf_bh; /* Unindexed leaf
40 struct buffer_head *dl_dx_root_bh; /* Root of indexed
43 struct buffer_head *dl_dx_leaf_bh; /* Indexed leaf block */
48 struct buffer_head *dl_prev_leaf_bh;/* Previous entry in
67 struct buffer_head *parent_fe_bh,
72 struct buffer_head *parent_fe_bh, in ocfs2_add_entry()
100 struct buffer_head *parent_fe_bh,
109 struct buffer_head *fe_bh,
113 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh);
Dsuballoc.h31 struct buffer_head *,
40 struct buffer_head *ac_bh; /* file entry bh */
98 struct buffer_head *parent_fe_bh,
121 struct buffer_head *alloc_bh,
127 struct buffer_head *inode_alloc_bh,
131 struct buffer_head *bitmap_bh,
136 struct buffer_head *bitmap_bh,
188 struct buffer_head *bh);
195 u64 gd_blkno, struct buffer_head **bh);
210 struct buffer_head *parent_fe_bh,
Drefcounttree.h39 struct buffer_head **ref_bh);
56 struct file *filep, struct buffer_head *di_bh,
77 struct buffer_head *ref_root_bh,
84 struct buffer_head *ref_root_bh,
101 struct buffer_head *ref_root_bh,
105 int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh);
107 struct buffer_head *di_bh);
110 struct buffer_head *ref_root_bh,
Duptodate.h71 struct buffer_head *bh);
73 struct buffer_head *bh);
75 struct buffer_head *bh);
77 struct buffer_head *bh);
82 struct buffer_head *bh);
Dalloc.h58 struct buffer_head *et_root_bh;
72 struct buffer_head *bh);
75 struct buffer_head *bh);
82 struct buffer_head *bh);
85 struct buffer_head *bh);
93 struct buffer_head **bh);
173 struct buffer_head *di_bh);
226 struct buffer_head *tc_last_eb_bh;
233 struct buffer_head *di_bh);
234 int ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh,
[all …]
Daops.h37 struct buffer_head *head,
42 struct buffer_head *bh));
52 struct buffer_head *di_bh, struct page *mmap_page);
55 struct buffer_head *di_bh);
56 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size);
59 struct buffer_head *bh_result, int create);
Dquota.h53 …struct buffer_head *dqi_gqi_bh; /* Buffer head with global quota file inode - set only if inode lo…
56 struct buffer_head *dqi_lqi_bh; /* Buffer head with local quota file inode */
57 struct buffer_head *dqi_libh; /* Buffer with local information header */
74 struct buffer_head *qc_headerbh; /* Buffer head with chunk header */
107 int ocfs2_validate_quota_block(struct super_block *sb, struct buffer_head *bh);
109 struct buffer_head **bh);
Dfile.h49 struct buffer_head *fe_bh,
55 struct buffer_head *di_bh,
57 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh,
59 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh,
69 struct buffer_head *bh);
Ddir.c79 struct buffer_head *parent_fe_bh,
82 struct buffer_head **new_bh);
154 struct buffer_head *bh, u16 rec_len) in ocfs2_init_dir_trailer()
172 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_link_trailer()
173 struct buffer_head *dirdata_bh) in ocfs2_dx_dir_link_trailer()
319 struct buffer_head * bh, in ocfs2_check_dir_entry()
359 static inline int ocfs2_search_dirblock(struct buffer_head *bh, in ocfs2_search_dirblock()
409 static struct buffer_head *ocfs2_find_entry_id(const char *name, in ocfs2_find_entry_id()
415 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id()
439 struct buffer_head *bh) in ocfs2_validate_dir_block()
[all …]
/linux-3.4.99/fs/
Dbuffer.c47 #define BH_ENTRY(list) list_entry((list), struct buffer_head, b_assoc_buffers)
50 init_buffer(struct buffer_head *bh, bh_end_io_t *handler, void *private) in init_buffer()
63 void __lock_buffer(struct buffer_head *bh) in __lock_buffer()
70 void unlock_buffer(struct buffer_head *bh) in unlock_buffer()
83 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer()
98 static int quiet_error(struct buffer_head *bh) in quiet_error()
106 static void buffer_io_error(struct buffer_head *bh) in buffer_io_error()
122 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch()
137 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync()
144 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync()
[all …]
/linux-3.4.99/fs/affs/
Daffs.h64 struct buffer_head *i_ext_bh; /* bh of last extended block */
101 struct buffer_head *s_root_bh; /* Cached root block. */
107 struct buffer_head *s_bmap_bh;
133 extern int affs_insert_hash(struct inode *inode, struct buffer_head *bh);
134 extern int affs_remove_hash(struct inode *dir, struct buffer_head *rem_bh);
136 extern u32 affs_checksum_block(struct super_block *sb, struct buffer_head *bh);
137 extern void affs_fix_checksum(struct super_block *sb, struct buffer_head *bh);
211 static inline struct buffer_head *
219 static inline struct buffer_head *
227 static inline struct buffer_head *
[all …]
/linux-3.4.99/fs/ext3/
Dext3_jbd.c8 struct buffer_head *bh) in __ext3_journal_get_undo_access()
17 struct buffer_head *bh) in __ext3_journal_get_write_access()
26 struct buffer_head *bh) in __ext3_journal_forget()
35 unsigned long blocknr, struct buffer_head *bh) in __ext3_journal_revoke()
44 handle_t *handle, struct buffer_head *bh) in __ext3_journal_get_create_access()
53 handle_t *handle, struct buffer_head *bh) in __ext3_journal_dirty_metadata()
/linux-3.4.99/fs/udf/
Dudfdecl.h80 struct buffer_head;
94 struct buffer_head *sbh;
95 struct buffer_head *ebh;
117 struct buffer_head *bh;
126 struct buffer_head *bh = UDF_SB(sb)->s_lvid_bh; in udf_updated_lvid()
149 extern struct buffer_head *udf_expand_dir_adinicb(struct inode *, int *, int *);
150 extern struct buffer_head *udf_bread(struct inode *, int, int, int *);
170 extern struct buffer_head *udf_tgetblk(struct super_block *, int);
171 extern struct buffer_head *udf_tread(struct super_block *, int);
176 extern struct buffer_head *udf_read_tagged(struct super_block *, uint32_t,
[all …]

12345678910>>...14