| /linux/include/linux/ |
| H A D | buffer_head.h | 47 struct buffer_head; 59 struct buffer_head { struct 61 struct buffer_head *b_this_page;/* circular list of page's buffers */ argument 86 static __always_inline void set_buffer_##name(struct buffer_head *bh) \ argument 91 static __always_inline void clear_buffer_##name(struct buffer_head *bh) \ 95 static __always_inline int buffer_##name(const struct buffer_head *bh) \ 104 static __always_inline int test_set_buffer_##name(struct buffer_head *bh) \ 108 static __always_inline int test_clear_buffer_##name(struct buffer_head *bh) \ 135 static __always_inline void set_buffer_uptodate(struct buffer_head *bh) in BUFFER_FNS() 156 static __always_inline void clear_buffer_uptodate(struct buffer_head *bh) in clear_buffer_uptodate() [all …]
|
| H A D | jbd2.h | 328 static inline struct buffer_head *jh2bh(struct journal_head *jh) in BUFFER_FNS() 333 static inline struct journal_head *bh2jh(struct buffer_head *bh) in bh2jh() 338 static inline void jbd_lock_bh_journal_head(struct buffer_head *bh) in jbd_lock_bh_journal_head() 343 static inline void jbd_unlock_bh_journal_head(struct buffer_head *bh) in jbd_unlock_bh_journal_head() 788 struct buffer_head *j_sb_buffer; 890 struct buffer_head *j_chkpt_bhs[JBD2_NR_BATCH]; 1142 struct buffer_head **j_wbuf; 1149 struct buffer_head **j_fc_wbuf; 1305 struct buffer_head *bh, 1431 static inline void jbd2_file_log_bh(struct list_head *head, struct buffer_head *bh) in jbd2_file_log_bh() [all …]
|
| /linux/fs/ocfs2/ |
| H A D | refcounttree.h | 29 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 D | xattr.h | 36 int ocfs2_xattr_get_nolock(struct inode *, struct buffer_head *, int, 40 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 *, 75 struct buffer_head *vb_bh; 81 struct buffer_head *fe_bh, 83 struct buffer_head *ref_root_bh, 86 struct buffer_head *old_bh, 88 struct buffer_head *new_bh,
|
| H A D | suballoc.h | 15 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 D | dir.h | 19 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 D | buffer_head_io.h | 16 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 D | file.h | 34 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 D | extent_map.h | 41 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 D | uptodate.h | 55 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 D | quota.h | 59 …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 D | blockcheck.h | 35 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,
|
| H A D | buffer_head_io.c | 38 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, in ocfs2_write_block() 90 unsigned int nr, struct buffer_head *bhs[]) in ocfs2_read_blocks_sync() 94 struct buffer_head *bh; in ocfs2_read_blocks_sync() 192 struct buffer_head *bhs[], int flags, in ocfs2_read_blocks() 194 struct buffer_head *bh)) in ocfs2_read_blocks() 198 struct buffer_head *bh; in ocfs2_read_blocks() 426 struct buffer_head *bh) in ocfs2_write_super_or_backup()
|
| /linux/fs/ |
| H A D | buffer.c | 57 #define BH_ENTRY(list) list_entry((list), struct buffer_head, b_assoc_buffers) 59 inline void touch_buffer(struct buffer_head *bh) in touch_buffer() 66 void __lock_buffer(struct buffer_head *bh) in __lock_buffer() 72 void unlock_buffer(struct buffer_head *bh) in unlock_buffer() 86 struct buffer_head *head, *bh; in buffer_check_dirty_writeback() 116 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer() 122 static void buffer_io_error(struct buffer_head *bh, char *msg) in buffer_io_error() 144 bool bio_endio_bh(struct bio *bio, struct buffer_head **bhp) in bio_endio_bh() 147 struct buffer_head *bh = bio->bi_private; in bio_endio_bh() 166 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync() [all …]
|
| /linux/fs/affs/ |
| H A D | affs.h | 10 #include <linux/buffer_head.h> 55 struct buffer_head *i_ext_bh; /* bh of last extended block */ 92 struct buffer_head *s_root_bh; /* Cached root block. */ 98 struct buffer_head *s_bmap_bh; 136 extern int affs_insert_hash(struct inode *inode, struct buffer_head *bh); 137 extern int affs_remove_hash(struct inode *dir, struct buffer_head *rem_bh); 139 extern u32 affs_checksum_block(struct super_block *sb, struct buffer_head *bh); 140 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 * [all...] |
| /linux/fs/nilfs2/ |
| H A D | btnode.h | 29 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 D | mdt.h | 69 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 D | segbuf.h | 77 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 D | page.h | 13 #include <linux/buffer_head.h> 35 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 D | nilfs.h | 62 struct buffer_head *i_bh; /* 284 extern int nilfs_get_block(struct inode *, sector_t, struct buffer_head *, int); 299 extern void nilfs_update_inode(struct inode *, struct buffer_head *, int); 307 int nilfs_load_inode_block(struct inode *inode, struct buffer_head **pbh); 364 nilfs_read_super_block(struct super_block *, u64, int, struct buffer_head **); 382 struct buffer_head **); 384 struct buffer_head **); 385 int nilfs_gccache_wait_and_mark_dirty(struct buffer_head *);
|
| /linux/fs/minix/ |
| H A D | minix.h | 38 struct buffer_head ** s_imap; 39 struct buffer_head ** s_zmap; 40 struct buffer_head * s_sbh; 50 struct minix_inode *minix_V1_raw_inode(struct super_block *, ino_t, struct buffer_head **); 51 struct minix2_inode *minix_V2_raw_inode(struct super_block *, ino_t, struct buffer_head **); 67 extern int V1_minix_get_block(struct inode *, long, struct buffer_head *, int); 68 extern int V2_minix_get_block(struct inode *, long, struct buffer_head *, int);
|
| H A D | bitmap.c | 27 static __u32 count_free(struct buffer_head *map[], unsigned blocksize, __u32 numbits) in count_free() 46 struct buffer_head *bh; in minix_free_block() 78 struct buffer_head *bh = sbi->s_zmap[i]; in minix_new_block() 107 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode() 131 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode() 160 struct buffer_head *bh = NULL; in minix_clear_inode() 187 struct buffer_head *bh; in minix_free_inode() 218 struct buffer_head * bh; in minix_new_inode()
|
| /linux/fs/omfs/ |
| H A D | dir.c | 24 static struct buffer_head *omfs_get_bucket(struct inode *dir, in omfs_get_bucket() 34 static struct buffer_head *omfs_scan_list(struct inode *dir, u64 block, in omfs_scan_list() 38 struct buffer_head *bh; in omfs_scan_list() 67 static struct buffer_head *omfs_find_entry(struct inode *dir, in omfs_find_entry() 70 struct buffer_head *bh; in omfs_find_entry() 87 struct buffer_head *bh; in omfs_make_empty() 117 struct buffer_head *bh; in omfs_add_link() 163 struct buffer_head *bh, *bh2; in omfs_delete_entry() 219 struct buffer_head *bh; in omfs_dir_is_empty() 297 struct buffer_head *bh; in omfs_lookup() [all …]
|
| /linux/fs/jbd2/ |
| H A D | commit.c | 34 struct buffer_head *bh; in journal_end_buffer_io_sync() 36 struct buffer_head *orig_bh = bh->b_private; in journal_end_buffer_io_sync() 63 static void release_buffer_page(struct buffer_head *bh) in release_buffer_page() 90 static void jbd2_commit_block_csum_set(journal_t *j, struct buffer_head *bh) in jbd2_commit_block_csum_set() 116 struct buffer_head **cbh, in journal_submit_commit_record() 120 struct buffer_head *bh; in journal_submit_commit_record() 165 struct buffer_head *bh) in journal_wait_on_commit_record() 328 static __u32 jbd2_checksum_data(__u32 crc32_sum, struct buffer_head *bh) in jbd2_checksum_data() 349 struct buffer_head *bh, __u32 sequence) in jbd2_block_tag_csum_set() 381 struct buffer_head *descriptor; in jbd2_journal_commit_transaction() [all …]
|
| /linux/fs/qnx4/ |
| H A D | namei.c | 27 struct buffer_head *bh, unsigned long *offset) in qnx4_match() 50 static struct buffer_head *qnx4_find_entry(int len, struct inode *dir, in qnx4_find_entry() 54 struct buffer_head *bh; in qnx4_find_entry() 93 struct buffer_head *bh; in qnx4_lookup()
|