Home
last modified time | relevance | path

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

123456789

/linux/include/linux/
H A Dbuffer_head.h47 struct buffer_head;
49 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate);
60 struct buffer_head { struct
62 struct buffer_head *b_this_page;/* circular list of page's buffers */ argument
91 static __always_inline void set_buffer_##name(struct buffer_head *bh) \ argument
96 static __always_inline void clear_buffer_##name(struct buffer_head *bh) \
100 static __always_inline int buffer_##name(const struct buffer_head *bh) \
109 static __always_inline int test_set_buffer_##name(struct buffer_head *bh) \
113 static __always_inline int test_clear_buffer_##name(struct buffer_head *bh) \
140 static __always_inline void set_buffer_uptodate(struct buffer_head *bh) in BUFFER_FNS()
[all …]
/linux/fs/ocfs2/
H A Drefcounttree.h29 struct buffer_head **ref_bh);
46 struct buffer_head *di_bh,
67 struct buffer_head *ref_root_bh,
74 struct buffer_head *ref_root_bh,
91 struct buffer_head *ref_root_bh,
95 int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh);
97 struct buffer_head *di_bh);
100 struct buffer_head *ref_root_bh,
109 struct buffer_head *s_bh,
112 struct buffer_head *t_bh,
[all …]
H A Dxattr.h36 int ocfs2_xattr_get_nolock(struct inode *, struct buffer_head *, int,
40 int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *,
46 int ocfs2_xattr_remove(struct inode *, struct buffer_head *);
51 struct buffer_head *,
58 int ocfs2_calc_xattr_init(struct inode *, struct buffer_head *,
70 struct buffer_head *vb_bh;
76 struct buffer_head *fe_bh,
78 struct buffer_head *ref_root_bh,
81 struct buffer_head *old_bh,
83 struct buffer_head *new_bh,
H A Dsuballoc.h15 struct buffer_head *,
24 struct buffer_head *ac_bh; /* file entry bh */
76 struct buffer_head *di_bh,
80 struct buffer_head *di_bh,
88 struct buffer_head *group_bh,
103 struct buffer_head *parent_fe_bh,
126 struct buffer_head *alloc_bh,
132 struct buffer_head *inode_alloc_bh,
136 struct buffer_head *bitmap_bh,
141 struct buffer_head *bitmap_bh,
[all …]
H A Ddir.h19 struct buffer_head *dl_leaf_bh; /* Unindexed leaf
24 struct buffer_head *dl_dx_root_bh; /* Root of indexed
27 struct buffer_head *dl_dx_leaf_bh; /* Indexed leaf block */
32 struct buffer_head *dl_prev_leaf_bh;/* Previous entry in
51 struct buffer_head *parent_fe_bh,
56 struct buffer_head *parent_fe_bh, in ocfs2_add_entry()
83 struct buffer_head *parent_fe_bh,
92 struct buffer_head *fe_bh,
96 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh);
H A Dbuffer_head_io.h16 struct buffer_head *bh,
19 unsigned int nr, struct buffer_head *bhs[]);
29 struct buffer_head *bhs[], int flags,
31 struct buffer_head *bh));
34 struct buffer_head *bh);
40 struct buffer_head **bh, in ocfs2_read_block()
42 struct buffer_head *bh)) in ocfs2_read_block()
H A Dfile.h34 struct buffer_head *fe_bh,
41 struct buffer_head *fe_bh,
44 struct buffer_head *di_bh,
47 struct buffer_head *di_bh,
49 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh,
51 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh,
64 struct buffer_head *bh);
72 struct buffer_head *di_bh, u64 byte_start,
H A Ddir.c59 struct buffer_head *parent_fe_bh,
62 struct buffer_head **new_bh);
134 struct buffer_head *bh, u16 rec_len) in ocfs2_init_dir_trailer()
152 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_link_trailer()
153 struct buffer_head *dirdata_bh) in ocfs2_dx_dir_link_trailer()
299 struct buffer_head *bh, in ocfs2_check_dir_entry()
357 static inline int ocfs2_search_dirblock(struct buffer_head *bh, in ocfs2_search_dirblock()
408 static struct buffer_head *ocfs2_find_entry_id(const char *name, in ocfs2_find_entry_id()
414 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id()
438 struct buffer_head *bh) in ocfs2_validate_dir_block()
[all …]
H A Dextent_map.h41 int ocfs2_overwrite_io(struct inode *inode, struct buffer_head *di_bh,
52 struct buffer_head *bhs[], int flags,
54 struct buffer_head *bh));
57 struct buffer_head *eb_bh,
61 struct buffer_head **bh, in ocfs2_read_virt_block()
63 struct buffer_head *bh)) in ocfs2_read_virt_block()
H A Djournal.h51 struct buffer_head *j_bh; /* Journal disk inode block */
279 struct buffer_head *bh, int type);
282 struct buffer_head *bh, int type);
285 struct buffer_head *bh, int type);
288 struct buffer_head *bh, int type);
291 struct buffer_head *bh, int type);
294 struct buffer_head *bh, int type);
297 struct buffer_head *bh, int type);
300 struct buffer_head *bh, int type);
303 struct buffer_head *bh, int type);
[all …]
H A Duptodate.h55 struct buffer_head *bh);
57 struct buffer_head *bh);
59 struct buffer_head *bh);
61 struct buffer_head *bh);
66 struct buffer_head *bh);
H A Dquota.h59 …struct buffer_head *dqi_gqi_bh; /* Buffer head with global quota file inode - set only if inode lo…
62 struct buffer_head *dqi_lqi_bh; /* Buffer head with local quota file inode */
63 struct buffer_head *dqi_libh; /* Buffer with local information header */
80 struct buffer_head *qc_headerbh; /* Buffer head with chunk header */
112 int ocfs2_validate_quota_block(struct super_block *sb, struct buffer_head *bh);
114 struct buffer_head **bh);
H A Drefcounttree.c50 struct buffer_head *ref_root_bh;
74 struct buffer_head *bh) in ocfs2_validate_refcount_block()
126 struct buffer_head **bh) in ocfs2_read_refcount_block()
129 struct buffer_head *tmp = *bh; in ocfs2_read_refcount_block()
330 struct buffer_head *ref_root_bh = NULL; in ocfs2_get_refcount_tree()
399 struct buffer_head *di_bh = NULL; in ocfs2_get_refcount_block()
448 struct buffer_head **ref_bh) in ocfs2_lock_refcount_tree()
452 struct buffer_head *ref_root_bh = NULL; in ocfs2_lock_refcount_tree()
552 struct buffer_head *di_bh) in ocfs2_create_refcount_tree()
560 struct buffer_head *new_bh = NULL; in ocfs2_create_refcount_tree()
[all …]
H A Dblockcheck.h35 struct buffer_head **bhs, int nr,
38 struct buffer_head **bhs, int nr,
47 void ocfs2_block_check_compute_bhs(struct buffer_head **bhs, int nr,
49 int ocfs2_block_check_validate_bhs(struct buffer_head **bhs, int nr,
/linux/fs/
H A Dbuffer.c57 static void submit_bh_wbc(blk_opf_t opf, struct buffer_head *bh,
60 #define BH_ENTRY(list) list_entry((list), struct buffer_head, b_assoc_buffers)
62 inline void touch_buffer(struct buffer_head *bh) in touch_buffer()
69 void __lock_buffer(struct buffer_head *bh) in __lock_buffer()
75 void unlock_buffer(struct buffer_head *bh) in unlock_buffer()
91 struct buffer_head *head, *bh; in buffer_check_dirty_writeback()
121 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer()
127 static void buffer_io_error(struct buffer_head *bh, char *msg) in buffer_io_error()
143 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch()
158 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync()
[all …]
/linux/fs/nilfs2/
H A Dmdt.c31 struct buffer_head *bh, in nilfs_mdt_insert_new_block() argument
33 struct buffer_head *, void *)) in nilfs_mdt_insert_new_block()
70 struct buffer_head **out_bh, in nilfs_mdt_create_block() argument
72 struct buffer_head *, in nilfs_mdt_create_block()
77 struct buffer_head *bh; in nilfs_mdt_create_block()
117 struct buffer_head **out_bh) in nilfs_mdt_submit_block()
119 struct buffer_head *bh; in nilfs_mdt_submit_block()
171 int readahead, struct buffer_head **out_bh) in nilfs_mdt_read_block()
173 struct buffer_head *first_bh, *bh; in nilfs_mdt_read_block()
247 struct buffer_head *, void *), in nilfs_mdt_get_block() argument
[all …]
H A Dbtnode.h29 struct buffer_head *bh;
30 struct buffer_head *newbh;
35 struct buffer_head *nilfs_btnode_create_block(struct address_space *btnc,
38 blk_opf_t, struct buffer_head **, sector_t *);
39 void nilfs_btnode_delete(struct buffer_head *);
H A Dmdt.h69 struct buffer_head *, void *),
70 struct buffer_head **);
73 struct buffer_head **out_bh);
89 int nilfs_mdt_freeze_buffer(struct inode *inode, struct buffer_head *bh);
90 struct buffer_head *nilfs_mdt_get_frozen_buffer(struct inode *inode,
91 struct buffer_head *bh);
H A Dsegbuf.h77 struct buffer_head *sb_super_root;
98 (list_entry((head)->next, struct buffer_head, b_assoc_buffers))
100 (list_entry((bh)->b_assoc_buffers.next, struct buffer_head, \
118 struct buffer_head **);
136 struct buffer_head *bh) in nilfs_segbuf_add_segsum_buffer()
145 struct buffer_head *bh) in nilfs_segbuf_add_payload_buffer()
153 struct buffer_head *bh) in nilfs_segbuf_add_file_buffer()
H A Dpage.c28 static struct buffer_head *__nilfs_get_folio_block(struct folio *folio, in __nilfs_get_folio_block()
34 struct buffer_head *bh = folio_buffers(folio); in __nilfs_get_folio_block()
46 struct buffer_head *nilfs_grab_buffer(struct inode *inode, in nilfs_grab_buffer()
54 struct buffer_head *bh; in nilfs_grab_buffer()
74 void nilfs_forget_buffer(struct buffer_head *bh) in nilfs_forget_buffer()
100 void nilfs_copy_buffer(struct buffer_head *dbh, struct buffer_head *sbh) in nilfs_copy_buffer()
105 struct buffer_head *bh; in nilfs_copy_buffer()
142 struct buffer_head *bh, *head; in nilfs_folio_buffers_clean()
155 struct buffer_head *bh, *head; in nilfs_folio_bug()
200 struct buffer_head *dbh, *dbufs, *sbh; in nilfs_copy_folio()
[all …]
H A Dsufile.c84 struct buffer_head *bh) in nilfs_sufile_segment_usage_offset()
92 struct buffer_head **bhp) in nilfs_sufile_get_header_block()
106 int create, struct buffer_head **bhp) in nilfs_sufile_get_segment_usage_block()
120 static void nilfs_sufile_mod_counter(struct buffer_head *header_bh, in nilfs_sufile_mod_counter()
171 struct buffer_head *, in nilfs_sufile_updatev() argument
172 struct buffer_head *)) in nilfs_sufile_updatev()
174 struct buffer_head *header_bh, *bh; in nilfs_sufile_updatev()
238 struct buffer_head *, in nilfs_sufile_update() argument
239 struct buffer_head *)) in nilfs_sufile_update()
241 struct buffer_head *header_bh, *bh; in nilfs_sufile_update()
[all …]
H A Dpage.h35 struct buffer_head *nilfs_grab_buffer(struct inode *, struct address_space *,
37 void nilfs_forget_buffer(struct buffer_head *);
38 void nilfs_copy_buffer(struct buffer_head *, struct buffer_head *);
H A Dbtnode.c47 struct buffer_head *
51 struct buffer_head *bh; in nilfs_btnode_create_block()
89 struct buffer_head **pbh, sector_t *submit_ptr) in nilfs_btnode_submit_block()
91 struct buffer_head *bh; in nilfs_btnode_submit_block()
159 void nilfs_btnode_delete(struct buffer_head *bh) in nilfs_btnode_delete()
212 struct buffer_head *obh, *nbh; in nilfs_btnode_prepare_change_key()
288 struct buffer_head *obh = ctxt->bh, *nbh = ctxt->newbh; in nilfs_btnode_commit_change_key()
339 struct buffer_head *nbh = ctxt->newbh; in nilfs_btnode_abort_change_key()
/linux/fs/minix/
H A Dminix.h37 struct buffer_head ** s_imap;
38 struct buffer_head ** s_zmap;
39 struct buffer_head * s_sbh;
49 struct minix_inode *minix_V1_raw_inode(struct super_block *, ino_t, struct buffer_head **);
50 struct minix2_inode *minix_V2_raw_inode(struct super_block *, ino_t, struct buffer_head **);
65 extern int V1_minix_get_block(struct inode *, long, struct buffer_head *, int);
66 extern int V2_minix_get_block(struct inode *, long, struct buffer_head *, int);
/linux/fs/jbd2/
H A Drevoke.c124 struct buffer_head **, int *,
126 static void flush_descriptor(journal_t *, struct buffer_head *, int);
327 struct buffer_head *bh_in) in jbd2_journal_revoke()
329 struct buffer_head *bh = NULL; in jbd2_journal_revoke()
355 struct buffer_head *bh2; in jbd2_journal_revoke()
430 struct buffer_head *bh = jh2bh(jh); in jbd2_journal_cancel_revoke()
468 struct buffer_head *bh2; in jbd2_journal_cancel_revoke()
496 struct buffer_head *bh; in jbd2_clear_buffer_revoked_flags()
534 struct buffer_head *descriptor; in jbd2_journal_write_revoke_records()
573 struct buffer_head **descriptorp, in write_one_revoke_record()
[all …]

123456789