Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.10/include/linux/
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
88 static __always_inline void set_buffer_##name(struct buffer_head *bh) \ argument
93 static __always_inline void clear_buffer_##name(struct buffer_head *bh) \
97 static __always_inline int buffer_##name(const struct buffer_head *bh) \
106 static __always_inline int test_set_buffer_##name(struct buffer_head *bh) \
110 static __always_inline int test_clear_buffer_##name(struct buffer_head *bh) \
144 ((struct buffer_head *)page_private(page)); \
[all …]
Djbd2.h341 static inline struct buffer_head *jh2bh(struct journal_head *jh) in BUFFER_FNS()
346 static inline struct journal_head *bh2jh(struct buffer_head *bh) in bh2jh()
351 static inline void jbd_lock_bh_journal_head(struct buffer_head *bh) in jbd_lock_bh_journal_head()
356 static inline void jbd_unlock_bh_journal_head(struct buffer_head *bh) in jbd_unlock_bh_journal_head()
790 struct buffer_head *j_sb_buffer;
895 struct buffer_head *j_chkpt_bhs[JBD2_NR_BATCH];
1110 struct buffer_head **j_wbuf;
1117 struct buffer_head **j_fc_wbuf;
1274 struct buffer_head *bh,
1377 static inline void jbd2_file_log_bh(struct list_head *head, struct buffer_head *bh) in jbd2_file_log_bh()
[all …]
/Linux-v5.10/fs/ocfs2/
Drefcounttree.h31 struct buffer_head **ref_bh);
48 struct buffer_head *di_bh,
69 struct buffer_head *ref_root_bh,
76 struct buffer_head *ref_root_bh,
93 struct buffer_head *ref_root_bh,
97 int ocfs2_remove_refcount_tree(struct inode *inode, struct buffer_head *di_bh);
99 struct buffer_head *di_bh);
102 struct buffer_head *ref_root_bh,
111 struct buffer_head *s_bh,
114 struct buffer_head *t_bh,
[all …]
Dxattr.h38 int ocfs2_xattr_get_nolock(struct inode *, struct buffer_head *, int,
42 int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *,
48 int ocfs2_xattr_remove(struct inode *, struct buffer_head *);
53 struct buffer_head *,
60 int ocfs2_calc_xattr_init(struct inode *, struct buffer_head *,
72 struct buffer_head *vb_bh;
78 struct buffer_head *fe_bh,
80 struct buffer_head *ref_root_bh,
83 struct buffer_head *old_bh,
85 struct buffer_head *new_bh,
Dbuffer_head_io.h18 struct buffer_head *bh,
21 unsigned int nr, struct buffer_head *bhs[]);
31 struct buffer_head *bhs[], int flags,
33 struct buffer_head *bh));
36 struct buffer_head *bh);
42 struct buffer_head **bh, in ocfs2_read_block()
44 struct buffer_head *bh)) in ocfs2_read_block()
Dsuballoc.h17 struct buffer_head *,
26 struct buffer_head *ac_bh; /* file entry bh */
77 struct buffer_head *di_bh,
81 struct buffer_head *di_bh,
87 struct buffer_head *group_bh,
100 struct buffer_head *parent_fe_bh,
123 struct buffer_head *alloc_bh,
129 struct buffer_head *inode_alloc_bh,
133 struct buffer_head *bitmap_bh,
138 struct buffer_head *bitmap_bh,
[all …]
Ddir.h21 struct buffer_head *dl_leaf_bh; /* Unindexed leaf
26 struct buffer_head *dl_dx_root_bh; /* Root of indexed
29 struct buffer_head *dl_dx_leaf_bh; /* Indexed leaf block */
34 struct buffer_head *dl_prev_leaf_bh;/* Previous entry in
53 struct buffer_head *parent_fe_bh,
58 struct buffer_head *parent_fe_bh, in ocfs2_add_entry()
85 struct buffer_head *parent_fe_bh,
94 struct buffer_head *fe_bh,
98 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh);
Dfile.h35 struct buffer_head *fe_bh,
42 struct buffer_head *fe_bh,
45 struct buffer_head *di_bh,
48 struct buffer_head *di_bh,
50 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh,
52 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh,
62 struct buffer_head *bh);
70 struct buffer_head *di_bh, u64 byte_start,
Daops.h25 struct buffer_head *head,
30 struct buffer_head *bh));
44 struct buffer_head *di_bh, struct page *mmap_page);
47 struct buffer_head *di_bh);
48 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size);
51 struct buffer_head *bh_result, int create);
Dextent_map.h43 int ocfs2_overwrite_io(struct inode *inode, struct buffer_head *di_bh,
54 struct buffer_head *bhs[], int flags,
56 struct buffer_head *bh));
59 struct buffer_head *eb_bh,
63 struct buffer_head **bh, in ocfs2_read_virt_block()
65 struct buffer_head *bh)) in ocfs2_read_virt_block()
Dalloc.h44 struct buffer_head *et_root_bh;
59 struct buffer_head *bh);
62 struct buffer_head *bh);
69 struct buffer_head *bh);
72 struct buffer_head *bh);
80 struct buffer_head **bh);
159 struct buffer_head *di_bh);
214 struct buffer_head *tc_last_eb_bh;
221 struct buffer_head *di_bh);
222 int ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh,
[all …]
Duptodate.h57 struct buffer_head *bh);
59 struct buffer_head *bh);
61 struct buffer_head *bh);
63 struct buffer_head *bh);
68 struct buffer_head *bh);
Ddir.c61 struct buffer_head *parent_fe_bh,
64 struct buffer_head **new_bh);
136 struct buffer_head *bh, u16 rec_len) in ocfs2_init_dir_trailer()
154 struct buffer_head *dx_root_bh, in ocfs2_dx_dir_link_trailer()
155 struct buffer_head *dirdata_bh) in ocfs2_dx_dir_link_trailer()
301 struct buffer_head * bh, in ocfs2_check_dir_entry()
341 static inline int ocfs2_search_dirblock(struct buffer_head *bh, in ocfs2_search_dirblock()
391 static struct buffer_head *ocfs2_find_entry_id(const char *name, in ocfs2_find_entry_id()
397 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id()
421 struct buffer_head *bh) in ocfs2_validate_dir_block()
[all …]
Djournal.h53 struct buffer_head *j_bh; /* Journal disk inode block */
276 struct buffer_head *bh, int type);
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);
[all …]
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 */
113 int ocfs2_validate_quota_block(struct super_block *sb, struct buffer_head *bh);
115 struct buffer_head **bh);
/Linux-v5.10/fs/nilfs2/
Dsufile.h37 struct buffer_head *,
38 struct buffer_head *));
41 struct buffer_head *,
42 struct buffer_head *));
43 void nilfs_sufile_do_scrap(struct inode *, __u64, struct buffer_head *,
44 struct buffer_head *);
45 void nilfs_sufile_do_free(struct inode *, __u64, struct buffer_head *,
46 struct buffer_head *);
47 void nilfs_sufile_do_cancel_free(struct inode *, __u64, struct buffer_head *,
48 struct buffer_head *);
[all …]
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 *);
56 static inline struct buffer_head *
59 struct buffer_head *bh = page_buffers(page); in nilfs_page_get_nth_block()
Dalloc.h33 struct buffer_head **);
35 const struct buffer_head *, void *);
48 struct buffer_head *pr_desc_bh;
49 struct buffer_head *pr_bitmap_bh;
50 struct buffer_head *pr_entry_bh;
75 struct buffer_head *bh;
Dbtnode.h29 struct buffer_head *bh;
30 struct buffer_head *newbh;
34 struct buffer_head *nilfs_btnode_create_block(struct address_space *btnc,
37 int, struct buffer_head **, sector_t *);
38 void nilfs_btnode_delete(struct buffer_head *);
Dmdt.c31 struct buffer_head *bh, in nilfs_mdt_insert_new_block() argument
33 struct buffer_head *, void *)) in nilfs_mdt_insert_new_block()
67 struct buffer_head **out_bh, in nilfs_mdt_create_block() argument
69 struct buffer_head *, in nilfs_mdt_create_block()
74 struct buffer_head *bh; in nilfs_mdt_create_block()
115 int mode, int mode_flags, struct buffer_head **out_bh) in nilfs_mdt_submit_block()
117 struct buffer_head *bh; in nilfs_mdt_submit_block()
168 int readahead, struct buffer_head **out_bh) in nilfs_mdt_read_block()
170 struct buffer_head *first_bh, *bh; in nilfs_mdt_read_block()
243 struct buffer_head *, void *), in nilfs_mdt_get_block() argument
[all …]
Dmdt.h71 struct buffer_head *, void *),
72 struct buffer_head **);
75 struct buffer_head **out_bh);
91 int nilfs_mdt_freeze_buffer(struct inode *inode, struct buffer_head *bh);
92 struct buffer_head *nilfs_mdt_get_frozen_buffer(struct inode *inode,
93 struct buffer_head *bh);
/Linux-v5.10/fs/gfs2/
Dmeta_io.h14 static inline void gfs2_buffer_clear(struct buffer_head *bh) in gfs2_buffer_clear()
19 static inline void gfs2_buffer_clear_tail(struct buffer_head *bh, int head) in gfs2_buffer_clear_tail()
25 static inline void gfs2_buffer_copy_tail(struct buffer_head *to_bh, in gfs2_buffer_copy_tail()
27 struct buffer_head *from_bh, in gfs2_buffer_copy_tail()
51 extern struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno);
53 int rahead, struct buffer_head **bhp);
54 extern int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh);
55 extern struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno,
62 extern void gfs2_remove_from_journal(struct buffer_head *bh, int meta);
65 struct buffer_head **bhp);
[all …]
Dmeta_io.c35 struct buffer_head *bh, *head; in gfs2_aspace_writepage()
76 struct buffer_head *next = bh->b_this_page; in gfs2_aspace_writepage()
110 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf()
115 struct buffer_head *bh; in gfs2_getbuf()
158 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new()
178 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new()
180 struct buffer_head *bh; in gfs2_meta_new()
193 struct buffer_head *bh = page_buffers(page); in gfs2_meta_read_endio()
199 struct buffer_head *next = bh->b_this_page; in gfs2_meta_read_endio()
212 static void gfs2_submit_bhs(int op, int op_flags, struct buffer_head *bhs[], in gfs2_submit_bhs()
[all …]
/Linux-v5.10/fs/
Dbuffer.c55 static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh,
58 #define BH_ENTRY(list) list_entry((list), struct buffer_head, b_assoc_buffers)
60 inline void touch_buffer(struct buffer_head *bh) in touch_buffer()
67 void __lock_buffer(struct buffer_head *bh) in __lock_buffer()
73 void unlock_buffer(struct buffer_head *bh) in unlock_buffer()
89 struct buffer_head *head, *bh; in buffer_check_dirty_writeback()
120 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer()
126 static void buffer_io_error(struct buffer_head *bh, char *msg) in buffer_io_error()
142 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch()
157 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync()
[all …]
/Linux-v5.10/fs/affs/
Daffs.h57 struct buffer_head *i_ext_bh; /* bh of last extended block */
94 struct buffer_head *s_root_bh; /* Cached root block. */
100 struct buffer_head *s_bmap_bh;
137 extern int affs_insert_hash(struct inode *inode, struct buffer_head *bh);
138 extern int affs_remove_hash(struct inode *dir, struct buffer_head *rem_bh);
140 extern u32 affs_checksum_block(struct super_block *sb, struct buffer_head *bh);
141 extern void affs_fix_checksum(struct super_block *sb, struct buffer_head *bh);
228 static inline struct buffer_head *
236 static inline struct buffer_head *
244 static inline struct buffer_head *
[all …]

12345678910>>...13