Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v4.19/include/linux/
Dbuffer_head.h50 struct buffer_head;
52 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate);
63 struct buffer_head { struct
65 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) \
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.h338 static inline struct buffer_head *jh2bh(struct journal_head *jh) in BUFFER_FNS()
343 static inline struct journal_head *bh2jh(struct buffer_head *bh) in bh2jh()
348 static inline void jbd_lock_bh_state(struct buffer_head *bh) in jbd_lock_bh_state()
353 static inline int jbd_trylock_bh_state(struct buffer_head *bh) in jbd_trylock_bh_state()
358 static inline int jbd_is_locked_bh_state(struct buffer_head *bh) in jbd_is_locked_bh_state()
363 static inline void jbd_unlock_bh_state(struct buffer_head *bh) in jbd_unlock_bh_state()
368 static inline void jbd_lock_bh_journal_head(struct buffer_head *bh) in jbd_lock_bh_journal_head()
373 static inline void jbd_unlock_bh_journal_head(struct buffer_head *bh) in jbd_unlock_bh_journal_head()
765 struct buffer_head *j_sb_buffer;
863 struct buffer_head *j_chkpt_bhs[JBD2_NR_BATCH];
[all …]
/Linux-v4.19/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()
54 extern struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno);
56 int rahead, struct buffer_head **bhp);
57 extern int gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh);
58 extern struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno,
65 extern void gfs2_remove_from_journal(struct buffer_head *bh, int meta);
68 struct buffer_head **bhp);
[all …]
Dmeta_io.c38 struct buffer_head *bh, *head; in gfs2_aspace_writepage()
79 struct buffer_head *next = bh->b_this_page; in gfs2_aspace_writepage()
113 struct buffer_head *gfs2_getbuf(struct gfs2_glock *gl, u64 blkno, int create) in gfs2_getbuf()
118 struct buffer_head *bh; in gfs2_getbuf()
161 static void meta_prep_new(struct buffer_head *bh) in meta_prep_new()
181 struct buffer_head *gfs2_meta_new(struct gfs2_glock *gl, u64 blkno) in gfs2_meta_new()
183 struct buffer_head *bh; in gfs2_meta_new()
196 struct buffer_head *bh = page_buffers(page); in gfs2_meta_read_endio()
202 struct buffer_head *next = bh->b_this_page; in gfs2_meta_read_endio()
215 static void gfs2_submit_bhs(int op, int op_flags, struct buffer_head *bhs[], in gfs2_submit_bhs()
[all …]
/Linux-v4.19/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);
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-v4.19/fs/ocfs2/
Dxattr.h46 int ocfs2_xattr_get_nolock(struct inode *, struct buffer_head *, int,
50 int ocfs2_xattr_set_handle(handle_t *, struct inode *, struct buffer_head *,
56 int ocfs2_xattr_remove(struct inode *, struct buffer_head *);
61 struct buffer_head *,
68 int ocfs2_calc_xattr_init(struct inode *, struct buffer_head *,
80 struct buffer_head *vb_bh;
86 struct buffer_head *fe_bh,
88 struct buffer_head *ref_root_bh,
91 struct buffer_head *old_bh,
93 struct buffer_head *new_bh,
Dbuffer_head_io.h32 struct buffer_head *bh,
35 unsigned int nr, struct buffer_head *bhs[]);
45 struct buffer_head *bhs[], int flags,
47 struct buffer_head *bh));
50 struct buffer_head *bh);
56 struct buffer_head **bh, in ocfs2_read_block()
58 struct buffer_head *bh)) in ocfs2_read_block()
Dsuballoc.h31 struct buffer_head *,
40 struct buffer_head *ac_bh; /* file entry bh */
91 struct buffer_head *di_bh,
95 struct buffer_head *di_bh,
101 struct buffer_head *group_bh,
114 struct buffer_head *parent_fe_bh,
137 struct buffer_head *alloc_bh,
143 struct buffer_head *inode_alloc_bh,
147 struct buffer_head *bitmap_bh,
152 struct buffer_head *bitmap_bh,
[all …]
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()
99 struct buffer_head *parent_fe_bh,
108 struct buffer_head *fe_bh,
112 int ocfs2_dx_dir_truncate(struct inode *dir, struct buffer_head *di_bh);
Dfile.h49 struct buffer_head *fe_bh,
56 struct buffer_head *fe_bh,
59 struct buffer_head *di_bh,
62 struct buffer_head *di_bh,
64 int ocfs2_extend_no_holes(struct inode *inode, struct buffer_head *di_bh,
66 int ocfs2_zero_extend(struct inode *inode, struct buffer_head *di_bh,
76 struct buffer_head *bh);
84 struct buffer_head *di_bh, u64 byte_start,
Drefcounttree.h39 struct buffer_head **ref_bh);
56 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,
Daops.h39 struct buffer_head *head,
44 struct buffer_head *bh));
58 struct buffer_head *di_bh, struct page *mmap_page);
61 struct buffer_head *di_bh);
62 int ocfs2_size_fits_inline_data(struct buffer_head *di_bh, u64 new_size);
65 struct buffer_head *bh_result, int create);
Dextent_map.h56 int ocfs2_overwrite_io(struct inode *inode, struct buffer_head *di_bh,
67 struct buffer_head *bhs[], int flags,
69 struct buffer_head *bh));
72 struct buffer_head *eb_bh,
76 struct buffer_head **bh, in ocfs2_read_virt_block()
78 struct buffer_head *bh)) in ocfs2_read_virt_block()
Dalloc.h58 struct buffer_head *et_root_bh;
73 struct buffer_head *bh);
76 struct buffer_head *bh);
83 struct buffer_head *bh);
86 struct buffer_head *bh);
94 struct buffer_head **bh);
173 struct buffer_head *di_bh);
228 struct buffer_head *tc_last_eb_bh;
235 struct buffer_head *di_bh);
236 int ocfs2_truncate_inline(struct inode *inode, struct buffer_head *di_bh,
[all …]
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);
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 …]
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-v4.19/fs/
Dbuffer.c51 static int submit_bh_wbc(int op, int op_flags, struct buffer_head *bh,
54 #define BH_ENTRY(list) list_entry((list), struct buffer_head, b_assoc_buffers)
56 inline void touch_buffer(struct buffer_head *bh) in touch_buffer()
63 void __lock_buffer(struct buffer_head *bh) in __lock_buffer()
69 void unlock_buffer(struct buffer_head *bh) in unlock_buffer()
85 struct buffer_head *head, *bh; in buffer_check_dirty_writeback()
116 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer()
130 static void buffer_io_error(struct buffer_head *bh, char *msg) in buffer_io_error()
146 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch()
161 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync()
[all …]
/Linux-v4.19/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