Home
last modified time | relevance | path

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

12345678910>>...13

/linux-5.19.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) \
137 static __always_inline void set_buffer_uptodate(struct buffer_head *bh) in BUFFER_FNS()
[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()
800 struct buffer_head *j_sb_buffer;
907 struct buffer_head *j_chkpt_bhs[JBD2_NR_BATCH];
1145 struct buffer_head **j_wbuf;
1152 struct buffer_head **j_fc_wbuf;
1309 struct buffer_head *bh,
1420 static inline void jbd2_file_log_bh(struct list_head *head, struct buffer_head *bh) in jbd2_file_log_bh()
[all …]
/linux-5.19.10/fs/ocfs2/
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 …]
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,
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()
Dsuballoc.h15 struct buffer_head *,
24 struct buffer_head *ac_bh; /* file entry bh */
75 struct buffer_head *di_bh,
79 struct buffer_head *di_bh,
85 struct buffer_head *group_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,
[all …]
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);
Dfile.h33 struct buffer_head *fe_bh,
40 struct buffer_head *fe_bh,
43 struct buffer_head *di_bh,
46 struct buffer_head *di_bh,
48 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh,
50 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh,
63 struct buffer_head *bh);
71 struct buffer_head *di_bh, u64 byte_start,
Daops.h23 struct buffer_head *head,
28 struct buffer_head *bh));
42 struct buffer_head *di_bh, struct page *mmap_page);
45 struct buffer_head *di_bh);
46 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size);
49 struct buffer_head *bh_result, int create);
Dalloc.h42 struct buffer_head *et_root_bh;
57 struct buffer_head *bh);
60 struct buffer_head *bh);
67 struct buffer_head *bh);
70 struct buffer_head *bh);
78 struct buffer_head **bh);
157 struct buffer_head *di_bh);
212 struct buffer_head *tc_last_eb_bh;
219 struct buffer_head *di_bh);
220 int ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh,
[all …]
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()
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);
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()
339 static inline int ocfs2_search_dirblock(struct buffer_head *bh, in ocfs2_search_dirblock()
389 static struct buffer_head *ocfs2_find_entry_id(const char *name, in ocfs2_find_entry_id()
395 struct buffer_head *di_bh = NULL; in ocfs2_find_entry_id()
419 struct buffer_head *bh) in ocfs2_validate_dir_block()
[all …]
Djournal.h51 struct buffer_head *j_bh; /* Journal disk inode block */
275 struct buffer_head *bh, int type);
278 struct buffer_head *bh, int type);
281 struct buffer_head *bh, int type);
284 struct buffer_head *bh, int type);
287 struct buffer_head *bh, int type);
290 struct buffer_head *bh, int type);
293 struct buffer_head *bh, int type);
296 struct buffer_head *bh, int type);
299 struct buffer_head *bh, int type);
[all …]
/linux-5.19.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()
53 extern struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno);
55 int rahead, struct buffer_head **bhp);
56 extern int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh);
57 extern struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno,
64 extern void gfs2_remove_from_journal(struct buffer_head *bh, int meta);
67 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()
114 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf()
119 struct buffer_head *bh; in gfs2_getbuf()
166 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new()
186 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new()
188 struct buffer_head *bh; in gfs2_meta_new()
201 struct buffer_head *bh = page_buffers(page); in gfs2_meta_read_endio()
207 struct buffer_head *next = bh->b_this_page; in gfs2_meta_read_endio()
220 static void gfs2_submit_bhs(int op, int op_flags, struct buffer_head *bhs[], in gfs2_submit_bhs()
[all …]
/linux-5.19.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 *);
55 static inline struct buffer_head *
58 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;
35 struct buffer_head *nilfs_btnode_create_block(struct address_space *btnc,
38 int, struct buffer_head **, sector_t *);
39 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.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);
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()
/linux-5.19.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-5.19.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);
234 static inline struct buffer_head *
242 static inline struct buffer_head *
250 static inline struct buffer_head *
[all …]

12345678910>>...13