Home
last modified time | relevance | path

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

1234567891011

/linux-2.4.37.9/fs/fat/
Dbuffer.c21 struct buffer_head *fat_bread(struct super_block *sb, int block) in fat_bread()
25 struct buffer_head *fat_getblk(struct super_block *sb, int block) in fat_getblk()
29 void fat_brelse (struct super_block *sb, struct buffer_head *bh) in fat_brelse()
36 struct buffer_head *bh) in fat_mark_buffer_dirty()
42 struct buffer_head *bh, in fat_set_uptodate()
47 int fat_is_uptodate(struct super_block *sb, struct buffer_head *bh) in fat_is_uptodate()
55 struct buffer_head *bh[32]) in fat_ll_rw_block()
60 struct buffer_head *default_fat_bread(struct super_block *sb, int block) in default_fat_bread()
65 struct buffer_head *default_fat_getblk(struct super_block *sb, int block) in default_fat_getblk()
70 void default_fat_brelse(struct super_block *sb, struct buffer_head *bh) in default_fat_brelse()
[all …]
Dcvf.c24 struct buffer_head *default_fat_bread(struct super_block *,int);
25 struct buffer_head *default_fat_getblk(struct super_block *, int);
26 void default_fat_brelse(struct super_block *, struct buffer_head *);
27 void default_fat_mark_buffer_dirty (struct super_block *, struct buffer_head *);
28 void default_fat_set_uptodate (struct super_block *, struct buffer_head *,int);
29 int default_fat_is_uptodate(struct super_block *, struct buffer_head *);
32 struct buffer_head *bh[32]);
/linux-2.4.37.9/fs/udf/
Dudfdecl.h50 struct buffer_head;
63 struct buffer_head *sbh;
64 struct buffer_head *ebh;
109 extern struct buffer_head * udf_expand_dir_adinicb(struct inode *, int *, int *);
110 extern struct buffer_head * udf_getblk(struct inode *, long, int, int *);
111 extern struct buffer_head * udf_bread(struct inode *, int, int, int *);
118 …uct inode *, int, lb_addr *, uint32_t *, lb_addr *, uint32_t *, uint32_t *, struct buffer_head **);
119 extern int8_t udf_add_aext(struct inode *, lb_addr *, int *, lb_addr, uint32_t, struct buffer_head
120 extern int8_t udf_write_aext(struct inode *, lb_addr, int *, lb_addr, uint32_t, struct buffer_head
121 extern int8_t udf_insert_aext(struct inode *, lb_addr, int, lb_addr, uint32_t, struct buffer_head *…
[all …]
/linux-2.4.37.9/mm/
Dhighmem.c215 static inline void copy_from_high_bh (struct buffer_head *to, in copy_from_high_bh()
216 struct buffer_head *from) in copy_from_high_bh()
228 static inline void copy_to_high_bh_irq (struct buffer_head *to, in copy_to_high_bh_irq()
229 struct buffer_head *from) in copy_to_high_bh_irq()
244 static inline void bounce_end_io (struct buffer_head *bh, int uptodate) in bounce_end_io()
247 struct buffer_head *bh_orig = (struct buffer_head *)(bh->b_private); in bounce_end_io()
302 struct buffer_head * bh = kmem_cache_alloc(bh_cachep, SLAB_ATOMIC); in init_emergency_pool()
319 static void bounce_end_io_write (struct buffer_head *bh, int uptodate) in bounce_end_io_write()
324 static void bounce_end_io_read (struct buffer_head *bh, int uptodate) in bounce_end_io_read()
326 struct buffer_head *bh_orig = (struct buffer_head *)(bh->b_private); in bounce_end_io_read()
[all …]
/linux-2.4.37.9/fs/
Dbuffer.c64 #define BH_ENTRY(list) list_entry((list), struct buffer_head, b_inode_buffers)
71 static struct buffer_head **hash_table;
74 static struct buffer_head *lru_list[NR_LIST];
82 static struct buffer_head * unused_list;
89 static void __refile_buffer(struct buffer_head *);
133 static inline int write_buffer_delay(struct buffer_head *bh) in write_buffer_delay()
147 static inline void write_buffer(struct buffer_head *bh) in write_buffer()
163 void fastcall unlock_buffer(struct buffer_head *bh) in unlock_buffer()
185 void __wait_on_buffer(struct buffer_head * bh) in __wait_on_buffer()
221 void end_buffer_io_sync(struct buffer_head *bh, int uptodate) in end_buffer_io_sync()
[all …]
/linux-2.4.37.9/include/linux/
Djbd.h258 void buffer_assertion_failure(struct buffer_head *bh);
302 static inline int buffer_jbd(struct buffer_head *bh) in buffer_jbd()
307 static inline struct buffer_head *jh2bh(struct journal_head *jh) in jh2bh()
312 static inline struct journal_head *bh2jh(struct buffer_head *bh) in bh2jh()
555 struct buffer_head * j_sb_buffer;
704 void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate);
770 extern int journal_get_write_access (handle_t *, struct buffer_head *);
771 extern int journal_get_create_access (handle_t *, struct buffer_head *);
772 extern int journal_get_undo_access (handle_t *, struct buffer_head *);
774 struct buffer_head *, int async);
[all …]
Dfat_cvf.h13 struct buffer_head* (*cvf_bread) (struct super_block*sb,int block);
14 struct buffer_head* (*cvf_getblk) (struct super_block*sb,int block);
15 void (*cvf_brelse) (struct super_block *sb,struct buffer_head *bh);
17 struct buffer_head *bh);
19 struct buffer_head *bh,
21 int (*cvf_is_uptodate) (struct super_block *sb,struct buffer_head *bh);
25 struct buffer_head *bh[32]);
Dfs.h246 struct buffer_head { struct
248 struct buffer_head *b_next; /* Hash queue list */ argument
259 struct buffer_head *b_next_free;/* lru/free list linkage */ argument
260 struct buffer_head *b_prev_free;/* doubly linked list of buffers */ argument
261 struct buffer_head *b_this_page;/* circular list of buffers in one page */ argument
262 struct buffer_head *b_reqnext; /* request queue */ argument
264 struct buffer_head **b_pprev; /* doubly linked list of hash-queue */ argument
267 void (*b_end_io)(struct buffer_head *bh, int uptodate); /* I/O completion */ argument
276 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate); argument
277 void init_buffer(struct buffer_head *, bh_end_io_t *, void *);
[all …]
Dblkdev.h46 struct buffer_head * bh;
47 struct buffer_head * bhtail;
56 struct buffer_head *bh,
64 typedef int (make_request_fn) (request_queue_t *q, int rw, struct buffer_head *bh);
186 extern struct buffer_head *create_bounce(int, struct buffer_head *);
187 extern inline struct buffer_head *blk_queue_bounce(request_queue_t *q, int rw, in blk_queue_bounce()
188 struct buffer_head *bh) in blk_queue_bounce()
236 extern void generic_make_request(int rw, struct buffer_head * bh);
250 extern int blk_seg_merge_ok(struct buffer_head *, struct buffer_head *);
Dlocks.h15 extern void __wait_on_buffer(struct buffer_head *);
17 static inline void wait_on_buffer(struct buffer_head * bh) in wait_on_buffer()
23 static inline void lock_buffer(struct buffer_head * bh) in lock_buffer()
29 extern void FASTCALL(unlock_buffer(struct buffer_head *bh));
Dext2_fs_sb.h41 struct buffer_head * s_sbh; /* Buffer containing the super block */
43 struct buffer_head ** s_group_desc;
47 struct buffer_head * s_inode_bitmap[EXT2_MAX_GROUP_LOADED];
49 struct buffer_head * s_block_bitmap[EXT2_MAX_GROUP_LOADED];
Dmsdos_fs.h236 extern struct buffer_head *fat_bread(struct super_block *sb, int block);
237 extern struct buffer_head *fat_getblk(struct super_block *sb, int block);
238 extern void fat_brelse(struct super_block *sb, struct buffer_head *bh);
239 extern void fat_mark_buffer_dirty(struct super_block *sb, struct buffer_head *bh);
240 extern void fat_set_uptodate(struct super_block *sb, struct buffer_head *bh,
242 extern int fat_is_uptodate(struct super_block *sb, struct buffer_head *bh);
244 struct buffer_head *bh[32]);
266 extern int fat_add_entries(struct inode *dir, int slots, struct buffer_head **bh,
276 struct buffer_head *bh_result, int create);
305 extern struct buffer_head *fat_extend_dir(struct inode *inode);
[all …]
Dext3_fs_sb.h46 struct buffer_head * s_sbh; /* Buffer containing the super block */
48 struct buffer_head ** s_group_desc;
52 struct buffer_head * s_inode_bitmap[EXT3_MAX_GROUP_LOADED];
54 struct buffer_head * s_block_bitmap[EXT3_MAX_GROUP_LOADED];
Dreiserfs_fs.h1078 static inline int entry_length (const struct buffer_head * bh, in entry_length()
1109 struct buffer_head * de_bh;
1204 struct buffer_head * pe_buffer; /* Pointer to the buffer at the path in the tree. */
1416 struct buffer_head * L[MAX_HEIGHT]; /* array of left neighbors of nodes in the path */
1417 struct buffer_head * R[MAX_HEIGHT]; /* array of right neighbors of nodes in the path*/
1418 struct buffer_head * FL[MAX_HEIGHT]; /* array of fathers of the left neighbors */
1419 struct buffer_head * FR[MAX_HEIGHT]; /* array of fathers of the right neighbors */
1420 …struct buffer_head * CFL[MAX_HEIGHT]; /* array of common parents of center node and its left …
1421 …struct buffer_head * CFR[MAX_HEIGHT]; /* array of common parents of center node and its right…
1423 …struct buffer_head * FEB[MAX_FEB_SIZE]; /* array of empty buffers. Number of buffers in array equa…
[all …]
Damigaffs.h29 static inline struct buffer_head *
37 static inline struct buffer_head *
45 static inline struct buffer_head *
48 struct buffer_head *bh; in affs_getzeroblk()
60 static inline struct buffer_head *
63 struct buffer_head *bh; in affs_getemptyblk()
74 affs_brelse(struct buffer_head *bh) in affs_brelse()
82 affs_adjust_checksum(struct buffer_head *bh, u32 val) in affs_adjust_checksum()
88 affs_adjust_bitmapchecksum(struct buffer_head *bh, u32 val) in affs_adjust_bitmapchecksum()
Dext3_jbd.h90 struct buffer_head *bh, in ext3_journal_abort_handle()
109 handle_t *handle, struct buffer_head *bh) in __ext3_journal_get_undo_access()
119 handle_t *handle, struct buffer_head *bh) in __ext3_journal_get_write_access()
129 handle_t *handle, struct buffer_head *bh, int async) in __ext3_journal_dirty_data()
138 ext3_journal_forget(handle_t *handle, struct buffer_head *bh) in ext3_journal_forget()
145 unsigned long blocknr, struct buffer_head *bh) in __ext3_journal_revoke()
155 handle_t *handle, struct buffer_head *bh) in __ext3_journal_get_create_access()
165 handle_t *handle, struct buffer_head *bh) in __ext3_journal_dirty_metadata()
/linux-2.4.37.9/fs/reiserfs/
Dbuffer2.c24 void wait_buffer_until_released (const struct buffer_head * bh) in wait_buffer_until_released()
51 struct buffer_head * reiserfs_bread (struct super_block *super, int n_block, int n_size) in reiserfs_bread()
53 struct buffer_head *result; in reiserfs_bread()
63 struct buffer_head * journal_bread (struct super_block *s, int block) in journal_bread()
68 struct buffer_head * journal_getblk (struct super_block *s, int block) in journal_getblk()
73 struct buffer_head * journal_get_hash_table (struct super_block *s, int block) in journal_get_hash_table()
Dprints.c132 static void sprintf_block_head (char * buf, struct buffer_head * bh) in sprintf_block_head()
139 static void sprintf_buffer_head (char * buf, struct buffer_head * bh) in sprintf_buffer_head()
228 sprintf_block_head (p, va_arg(args, struct buffer_head *)); in prepare_error_buf()
231 sprintf_buffer_head (p, va_arg(args, struct buffer_head *)); in prepare_error_buf()
370 struct buffer_head * bh; in print_path()
381 struct buffer_head * bh; in print_path()
399 static int print_internal (struct buffer_head * bh, int first, int last) in print_internal()
437 static int print_leaf (struct buffer_head * bh, int print_mode, int first, int last) in print_leaf()
499 static int print_super_block (struct buffer_head * bh) in print_super_block()
547 static int print_desc_block (struct buffer_head * bh) in print_desc_block()
[all …]
/linux-2.4.37.9/drivers/ide/raid/
Dataraid.h42 int (*make_request) (request_queue_t *q, int rw, struct buffer_head * bh);
55 struct buffer_head *parent;
65 extern struct buffer_head *ataraid_get_bhead(void);
67 extern void ataraid_end_request(struct buffer_head *bh, int uptodate);
/linux-2.4.37.9/fs/sysv/
Dsuper.c49 struct buffer_head *bh1 = sb->sv_bh1; in detected_xenix()
50 struct buffer_head *bh2 = sb->sv_bh2; in detected_xenix()
81 struct buffer_head *bh1 = sb->sv_bh1; in detected_sysv4()
82 struct buffer_head *bh2 = sb->sv_bh2; in detected_sysv4()
109 struct buffer_head *bh1 = sb->sv_bh1; in detected_sysv2()
110 struct buffer_head *bh2 = sb->sv_bh2; in detected_sysv2()
137 struct buffer_head *bh1 = sb->sv_bh1; in detected_coherent()
159 struct buffer_head *bh2 = sb->sv_bh2; in detected_v7()
178 static int detect_xenix (struct super_block *sb, struct buffer_head *bh) in detect_xenix()
193 static int detect_sysv (struct super_block *sb, struct buffer_head *bh) in detect_sysv()
[all …]
/linux-2.4.37.9/fs/jbd/
Drecovery.c44 static int scan_revoke_records(journal_t *, struct buffer_head *,
50 void journal_brelse_array(struct buffer_head *b[], int n) in journal_brelse_array()
75 struct buffer_head *bh; in do_readahead()
77 struct buffer_head * bufs[MAXBUF]; in do_readahead()
132 static int jread(struct buffer_head **bhp, journal_t *journal, in jread()
137 struct buffer_head *bh; in jread()
182 static int count_tags(struct buffer_head *bh, int size) in count_tags()
327 struct buffer_head * bh; in do_one_pass()
363 struct buffer_head * obh; in do_one_pass()
364 struct buffer_head * nbh; in do_one_pass()
[all …]
/linux-2.4.37.9/include/linux/raid/
Draid1.h43 struct buffer_head *freebh;
85 struct buffer_head *master_bh;
86 struct buffer_head *mirror_bh_list;
87 struct buffer_head bh_req;
Draid5.h131 struct buffer_head *bh_cache[MD_SB_DISKS]; /* buffered copy */
132 struct buffer_head *bh_read[MD_SB_DISKS]; /* read request buffers of the MD device */
133 struct buffer_head *bh_write[MD_SB_DISKS]; /* write request buffers of the MD device */
134 …struct buffer_head *bh_written[MD_SB_DISKS]; /* write request buffers of the MD device that have b…
/linux-2.4.37.9/fs/affs/
Dfile.c38 static struct buffer_head *affs_alloc_extblock(struct inode *inode, struct buffer_head *bh, u32 ext…
39 static inline struct buffer_head *affs_get_extblock(struct inode *inode, u32 ext);
40 static struct buffer_head *affs_get_extblock_slow(struct inode *inode, u32 ext);
41 static int affs_get_block(struct inode *inode, long block, struct buffer_head *bh_result, int creat…
89 struct buffer_head *bh; in affs_grow_extcache()
155 static struct buffer_head *
156 affs_alloc_extblock(struct inode *inode, struct buffer_head *bh, u32 ext) in affs_alloc_extblock()
159 struct buffer_head *new_bh; in affs_alloc_extblock()
193 static inline struct buffer_head *
197 struct buffer_head *bh = AFFS_INODE->i_ext_bh; in affs_get_extblock()
[all …]
/linux-2.4.37.9/fs/minix/
Dbitmap.c22 static unsigned long count_free(struct buffer_head *map[], unsigned numblocks, __u32 numbits) in count_free()
25 struct buffer_head *bh; in count_free()
55 struct buffer_head * bh; in minix_free_block()
85 struct buffer_head * bh; in minix_new_block()
122 minix_V1_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V1_raw_inode()
146 minix_V2_raw_inode(struct super_block *sb, ino_t ino, struct buffer_head **bh) in minix_V2_raw_inode()
174 struct buffer_head *bh; in minix_clear_inode()
198 struct buffer_head * bh; in minix_free_inode()
223 struct buffer_head * bh; in minix_new_inode()

1234567891011