Searched refs:bh (Results 1 - 25 of 720) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/hpfs/
H A Dbuffer.c33 struct buffer_head *bh; local
37 *bhp = bh = sb_bread(s, secno);
38 if (bh != NULL)
39 return bh->b_data;
50 struct buffer_head *bh; local
55 if ((*bhp = bh = sb_getblk(s, secno)) != NULL) {
56 if (!buffer_uptodate(bh)) wait_on_buffer(bh);
57 set_buffer_uptodate(bh);
58 return bh
70 struct buffer_head *bh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/hpfs/
H A Dbuffer.c33 struct buffer_head *bh; local
37 *bhp = bh = sb_bread(s, secno);
38 if (bh != NULL)
39 return bh->b_data;
50 struct buffer_head *bh; local
55 if ((*bhp = bh = sb_getblk(s, secno)) != NULL) {
56 if (!buffer_uptodate(bh)) wait_on_buffer(bh);
57 set_buffer_uptodate(bh);
58 return bh
70 struct buffer_head *bh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ocfs2/
H A Dbuffer_head_io.c42 * Bits on bh->b_state used by ocfs2.
53 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, argument
58 mlog_entry("(bh->b_blocknr = %llu, ci=%p)\n",
59 (unsigned long long)bh->b_blocknr, ci);
61 BUG_ON(bh->b_blocknr < OCFS2_SUPER_BLOCK_BLKNO);
62 BUG_ON(buffer_jbd(bh));
74 lock_buffer(bh);
75 set_buffer_uptodate(bh);
78 clear_buffer_dirty(bh);
80 get_bh(bh); /* fo
107 struct buffer_head *bh; local
179 ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr, struct buffer_head *bhs[], int flags, int (*validate)(struct super_block *sb, struct buffer_head *bh)) argument
186 struct buffer_head *bh; local
405 ocfs2_write_super_or_backup(struct ocfs2_super *osb, struct buffer_head *bh) argument
[all...]
H A Dbuffer_head_io.h31 void ocfs2_end_buffer_io_sync(struct buffer_head *bh,
35 struct buffer_head *bh,
50 struct buffer_head *bh));
53 struct buffer_head *bh);
59 struct buffer_head **bh,
61 struct buffer_head *bh))
65 if (bh == NULL) {
66 printk("ocfs2: bh == NULL\n");
71 status = ocfs2_read_blocks(ci, off, 1, bh, 0, validate);
58 ocfs2_read_block(struct ocfs2_caching_info *ci, u64 off, struct buffer_head **bh, int (*validate)(struct super_block *sb, struct buffer_head *bh)) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ocfs2/
H A Dbuffer_head_io.c42 * Bits on bh->b_state used by ocfs2.
53 int ocfs2_write_block(struct ocfs2_super *osb, struct buffer_head *bh, argument
58 mlog_entry("(bh->b_blocknr = %llu, ci=%p)\n",
59 (unsigned long long)bh->b_blocknr, ci);
61 BUG_ON(bh->b_blocknr < OCFS2_SUPER_BLOCK_BLKNO);
62 BUG_ON(buffer_jbd(bh));
74 lock_buffer(bh);
75 set_buffer_uptodate(bh);
78 clear_buffer_dirty(bh);
80 get_bh(bh); /* fo
107 struct buffer_head *bh; local
179 ocfs2_read_blocks(struct ocfs2_caching_info *ci, u64 block, int nr, struct buffer_head *bhs[], int flags, int (*validate)(struct super_block *sb, struct buffer_head *bh)) argument
186 struct buffer_head *bh; local
405 ocfs2_write_super_or_backup(struct ocfs2_super *osb, struct buffer_head *bh) argument
[all...]
H A Dbuffer_head_io.h31 void ocfs2_end_buffer_io_sync(struct buffer_head *bh,
35 struct buffer_head *bh,
50 struct buffer_head *bh));
53 struct buffer_head *bh);
59 struct buffer_head **bh,
61 struct buffer_head *bh))
65 if (bh == NULL) {
66 printk("ocfs2: bh == NULL\n");
71 status = ocfs2_read_blocks(ci, off, 1, bh, 0, validate);
58 ocfs2_read_block(struct ocfs2_caching_info *ci, u64 off, struct buffer_head **bh, int (*validate)(struct super_block *sb, struct buffer_head *bh)) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ext3/
H A Dext3_jbd.c8 struct buffer_head *bh)
10 int err = journal_get_undo_access(handle, bh);
12 ext3_journal_abort_handle(where, __func__, bh, handle,err);
17 struct buffer_head *bh)
19 int err = journal_get_write_access(handle, bh);
21 ext3_journal_abort_handle(where, __func__, bh, handle,err);
26 struct buffer_head *bh)
28 int err = journal_forget(handle, bh);
30 ext3_journal_abort_handle(where, __func__, bh, handle,err);
35 unsigned long blocknr, struct buffer_head *bh)
7 __ext3_journal_get_undo_access(const char *where, handle_t *handle, struct buffer_head *bh) argument
16 __ext3_journal_get_write_access(const char *where, handle_t *handle, struct buffer_head *bh) argument
25 __ext3_journal_forget(const char *where, handle_t *handle, struct buffer_head *bh) argument
34 __ext3_journal_revoke(const char *where, handle_t *handle, unsigned long blocknr, struct buffer_head *bh) argument
43 __ext3_journal_get_create_access(const char *where, handle_t *handle, struct buffer_head *bh) argument
52 __ext3_journal_dirty_metadata(const char *where, handle_t *handle, struct buffer_head *bh) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ext3/
H A Dext3_jbd.c8 struct buffer_head *bh)
10 int err = journal_get_undo_access(handle, bh);
12 ext3_journal_abort_handle(where, __func__, bh, handle,err);
17 struct buffer_head *bh)
19 int err = journal_get_write_access(handle, bh);
21 ext3_journal_abort_handle(where, __func__, bh, handle,err);
26 struct buffer_head *bh)
28 int err = journal_forget(handle, bh);
30 ext3_journal_abort_handle(where, __func__, bh, handle,err);
35 unsigned long blocknr, struct buffer_head *bh)
7 __ext3_journal_get_undo_access(const char *where, handle_t *handle, struct buffer_head *bh) argument
16 __ext3_journal_get_write_access(const char *where, handle_t *handle, struct buffer_head *bh) argument
25 __ext3_journal_forget(const char *where, handle_t *handle, struct buffer_head *bh) argument
34 __ext3_journal_revoke(const char *where, handle_t *handle, unsigned long blocknr, struct buffer_head *bh) argument
43 __ext3_journal_get_create_access(const char *where, handle_t *handle, struct buffer_head *bh) argument
52 __ext3_journal_dirty_metadata(const char *where, handle_t *handle, struct buffer_head *bh) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/gfs2/
H A Dmeta_io.c37 struct buffer_head *bh, *head; local
46 bh = head;
49 if (!buffer_mapped(bh))
59 lock_buffer(bh);
60 } else if (!trylock_buffer(bh)) {
64 if (test_clear_buffer_dirty(bh)) {
65 mark_buffer_async_write(bh);
67 unlock_buffer(bh);
69 } while ((bh = bh
132 struct buffer_head *bh; local
172 meta_prep_new(struct buffer_head *bh) argument
194 struct buffer_head *bh; local
214 struct buffer_head *bh; local
252 gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) argument
278 gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, int meta) argument
307 gfs2_remove_from_journal(struct buffer_head *bh, struct gfs2_trans *tr, int meta) argument
352 struct buffer_head *bh; local
386 struct buffer_head *bh; local
419 struct buffer_head *first_bh, *bh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/gfs2/
H A Dmeta_io.c37 struct buffer_head *bh, *head; local
46 bh = head;
49 if (!buffer_mapped(bh))
59 lock_buffer(bh);
60 } else if (!trylock_buffer(bh)) {
64 if (test_clear_buffer_dirty(bh)) {
65 mark_buffer_async_write(bh);
67 unlock_buffer(bh);
69 } while ((bh = bh
132 struct buffer_head *bh; local
172 meta_prep_new(struct buffer_head *bh) argument
194 struct buffer_head *bh; local
214 struct buffer_head *bh; local
252 gfs2_meta_wait(struct gfs2_sbd *sdp, struct buffer_head *bh) argument
278 gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, int meta) argument
307 gfs2_remove_from_journal(struct buffer_head *bh, struct gfs2_trans *tr, int meta) argument
352 struct buffer_head *bh; local
386 struct buffer_head *bh; local
419 struct buffer_head *first_bh, *bh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/jbd/
H A Dcommit.c27 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) argument
29 BUFFER_TRACE(bh, "");
31 set_buffer_uptodate(bh);
33 clear_buffer_uptodate(bh);
34 unlock_buffer(bh);
51 static void release_buffer_page(struct buffer_head *bh) argument
55 if (buffer_dirty(bh))
57 if (atomic_read(&bh->b_count) != 1)
59 page = bh->b_page;
70 __brelse(bh);
84 release_data_buffer(struct buffer_head *bh) argument
98 inverted_lock(journal_t *journal, struct buffer_head *bh) argument
119 struct buffer_head *bh; local
195 struct buffer_head *bh; local
405 struct buffer_head *bh = jh2bh(jh); local
453 struct buffer_head *bh; local
559 struct buffer_head *bh; local
672 struct buffer_head *bh = wbuf[i]; local
707 struct buffer_head *bh; local
763 struct buffer_head *bh; local
824 struct buffer_head *bh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/jbd/
H A Dcommit.c27 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) argument
29 BUFFER_TRACE(bh, "");
31 set_buffer_uptodate(bh);
33 clear_buffer_uptodate(bh);
34 unlock_buffer(bh);
51 static void release_buffer_page(struct buffer_head *bh) argument
55 if (buffer_dirty(bh))
57 if (atomic_read(&bh->b_count) != 1)
59 page = bh->b_page;
70 __brelse(bh);
84 release_data_buffer(struct buffer_head *bh) argument
98 inverted_lock(journal_t *journal, struct buffer_head *bh) argument
119 struct buffer_head *bh; local
195 struct buffer_head *bh; local
405 struct buffer_head *bh = jh2bh(jh); local
453 struct buffer_head *bh; local
559 struct buffer_head *bh; local
672 struct buffer_head *bh = wbuf[i]; local
707 struct buffer_head *bh; local
763 struct buffer_head *bh; local
824 struct buffer_head *bh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/squashfs/
H A Dblock.c49 struct buffer_head *bh; local
51 bh = sb_bread(sb, *cur_index);
52 if (bh == NULL)
56 *length = (unsigned char) bh->b_data[*offset];
57 put_bh(bh);
58 bh = sb_bread(sb, ++(*cur_index));
59 if (bh == NULL)
61 *length |= (unsigned char) bh->b_data[0] << 8;
64 *length = (unsigned char) bh->b_data[*offset] |
65 (unsigned char) bh
93 struct buffer_head **bh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/ext4/
H A Dext4_jbd2.c10 handle_t *handle, struct buffer_head *bh)
15 err = jbd2_journal_get_undo_access(handle, bh);
17 ext4_journal_abort_handle(where, line, __func__, bh,
24 handle_t *handle, struct buffer_head *bh)
29 err = jbd2_journal_get_write_access(handle, bh);
31 ext4_journal_abort_handle(where, line, __func__, bh,
42 * "bh" may be NULL: a metadata block may have been freed from memory
51 struct buffer_head *bh, ext4_fsblk_t blocknr)
58 BUFFER_TRACE(bh, "enter");
60 jbd_debug(4, "forgetting bh
9 __ext4_journal_get_undo_access(const char *where, unsigned int line, handle_t *handle, struct buffer_head *bh) argument
23 __ext4_journal_get_write_access(const char *where, unsigned int line, handle_t *handle, struct buffer_head *bh) argument
49 __ext4_forget(const char *where, unsigned int line, handle_t *handle, int is_metadata, struct inode *inode, struct buffer_head *bh, ext4_fsblk_t blocknr) argument
104 __ext4_journal_get_create_access(const char *where, unsigned int line, handle_t *handle, struct buffer_head *bh) argument
118 __ext4_handle_dirty_metadata(const char *where, unsigned int line, handle_t *handle, struct inode *inode, struct buffer_head *bh) argument
155 struct buffer_head *bh = EXT4_SB(sb)->s_sbh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/ext4/
H A Dext4_jbd2.c10 handle_t *handle, struct buffer_head *bh)
15 err = jbd2_journal_get_undo_access(handle, bh);
17 ext4_journal_abort_handle(where, line, __func__, bh,
24 handle_t *handle, struct buffer_head *bh)
29 err = jbd2_journal_get_write_access(handle, bh);
31 ext4_journal_abort_handle(where, line, __func__, bh,
42 * "bh" may be NULL: a metadata block may have been freed from memory
51 struct buffer_head *bh, ext4_fsblk_t blocknr)
58 BUFFER_TRACE(bh, "enter");
60 jbd_debug(4, "forgetting bh
9 __ext4_journal_get_undo_access(const char *where, unsigned int line, handle_t *handle, struct buffer_head *bh) argument
23 __ext4_journal_get_write_access(const char *where, unsigned int line, handle_t *handle, struct buffer_head *bh) argument
49 __ext4_forget(const char *where, unsigned int line, handle_t *handle, int is_metadata, struct inode *inode, struct buffer_head *bh, ext4_fsblk_t blocknr) argument
104 __ext4_journal_get_create_access(const char *where, unsigned int line, handle_t *handle, struct buffer_head *bh) argument
118 __ext4_handle_dirty_metadata(const char *where, unsigned int line, handle_t *handle, struct inode *inode, struct buffer_head *bh) argument
155 struct buffer_head *bh = EXT4_SB(sb)->s_sbh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/squashfs/
H A Dblock.c49 struct buffer_head *bh; local
51 bh = sb_bread(sb, *cur_index);
52 if (bh == NULL)
56 *length = (unsigned char) bh->b_data[*offset];
57 put_bh(bh);
58 bh = sb_bread(sb, ++(*cur_index));
59 if (bh == NULL)
61 *length |= (unsigned char) bh->b_data[0] << 8;
64 *length = (unsigned char) bh->b_data[*offset] |
65 (unsigned char) bh
93 struct buffer_head **bh; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/
H A Dbuffer.c50 init_buffer(struct buffer_head *bh, bh_end_io_t *handler, void *private) argument
52 bh->b_end_io = handler;
53 bh->b_private = private;
60 struct buffer_head *bh local
64 bd = bh->b_bdev;
71 void __lock_buffer(struct buffer_head *bh) argument
73 wait_on_bit_lock(&bh->b_state, BH_Lock, sync_buffer,
78 void unlock_buffer(struct buffer_head *bh) argument
80 clear_bit_unlock(BH_Lock, &bh->b_state);
82 wake_up_bit(&bh
91 __wait_on_buffer(struct buffer_head * bh) argument
106 quiet_error(struct buffer_head *bh) argument
114 buffer_io_error(struct buffer_head *bh) argument
130 __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) argument
145 end_buffer_read_sync(struct buffer_head *bh, int uptodate) argument
152 end_buffer_write_sync(struct buffer_head *bh, int uptodate) argument
191 struct buffer_head *bh; local
308 end_buffer_async_read(struct buffer_head *bh, int uptodate) argument
370 end_buffer_async_write(struct buffer_head *bh, int uptodate) argument
443 mark_buffer_async_read(struct buffer_head *bh) argument
449 mark_buffer_async_write_endio(struct buffer_head *bh, bh_end_io_t *handler) argument
456 mark_buffer_async_write(struct buffer_head *bh) argument
467 __remove_assoc_queue(struct buffer_head *bh) argument
493 struct buffer_head *bh; local
579 struct buffer_head *bh = __find_get_block(bdev, bblock + 1, blocksize); local
587 mark_buffer_dirty_inode(struct buffer_head *bh, struct inode *inode) argument
640 struct buffer_head *bh = head; local
677 struct buffer_head *bh; local
793 struct buffer_head *bh = BH_ENTRY(list->next); local
817 struct buffer_head *bh, *head; local
879 struct buffer_head *bh, *tail; local
898 struct buffer_head *bh = head; local
926 struct buffer_head *bh; local
1027 struct buffer_head * bh; local
1077 mark_buffer_dirty(struct buffer_head *bh) argument
1125 __bforget(struct buffer_head *bh) argument
1140 __bread_slow(struct buffer_head *bh) argument
1198 bh_lru_install(struct buffer_head *bh) argument
1251 struct buffer_head *bh = lru->bhs[i]; local
1279 struct buffer_head *bh = lookup_bh_lru(bdev, block, size); local
1295 struct buffer_head *bh = __find_get_block(bdev, block, size); local
1309 struct buffer_head *bh = __getblk(bdev, block, size); local
1329 struct buffer_head *bh = __getblk(bdev, block, size); local
1360 set_bh_page(struct buffer_head *bh, struct page *page, unsigned long offset) argument
1378 discard_buffer(struct buffer_head * bh) argument
1408 struct buffer_head *head, *bh, *next; local
1450 struct buffer_head *bh, *head, *tail; local
1551 struct buffer_head *bh, *head; local
1718 struct buffer_head *head, *bh; local
1760 struct buffer_head *bh, *head, *wait[2], **wait_bh=wait; local
1842 struct buffer_head *bh, *head; local
1995 struct buffer_head *bh, *head; local
2039 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; local
2320 end_buffer_read_nobh(struct buffer_head *bh, int uptodate) argument
2332 struct buffer_head *bh; local
2362 struct buffer_head *head, *bh; local
2502 struct buffer_head *bh; local
2666 struct buffer_head *bh; local
2800 struct buffer_head *bh = bio->bi_private; local
2814 submit_bh(int rw, struct buffer_head * bh) argument
2891 struct buffer_head *bh = bhs[i]; local
2915 write_dirty_buffer(struct buffer_head *bh, int rw) argument
2933 __sync_dirty_buffer(struct buffer_head *bh, int rw) argument
2957 sync_dirty_buffer(struct buffer_head *bh) argument
2983 buffer_busy(struct buffer_head *bh) argument
2993 struct buffer_head *bh; local
3055 struct buffer_head *bh = buffers_to_free; local
3151 free_buffer_head(struct buffer_head *bh) argument
3190 bh_uptodate_or_lock(struct buffer_head *bh) argument
3208 bh_submit_read(struct buffer_head *bh) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/
H A Dbuffer.c50 init_buffer(struct buffer_head *bh, bh_end_io_t *handler, void *private) argument
52 bh->b_end_io = handler;
53 bh->b_private = private;
60 struct buffer_head *bh local
64 bd = bh->b_bdev;
71 void __lock_buffer(struct buffer_head *bh) argument
73 wait_on_bit_lock(&bh->b_state, BH_Lock, sync_buffer,
78 void unlock_buffer(struct buffer_head *bh) argument
80 clear_bit_unlock(BH_Lock, &bh->b_state);
82 wake_up_bit(&bh
91 __wait_on_buffer(struct buffer_head * bh) argument
106 quiet_error(struct buffer_head *bh) argument
114 buffer_io_error(struct buffer_head *bh) argument
130 __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) argument
145 end_buffer_read_sync(struct buffer_head *bh, int uptodate) argument
152 end_buffer_write_sync(struct buffer_head *bh, int uptodate) argument
191 struct buffer_head *bh; local
308 end_buffer_async_read(struct buffer_head *bh, int uptodate) argument
370 end_buffer_async_write(struct buffer_head *bh, int uptodate) argument
443 mark_buffer_async_read(struct buffer_head *bh) argument
449 mark_buffer_async_write_endio(struct buffer_head *bh, bh_end_io_t *handler) argument
456 mark_buffer_async_write(struct buffer_head *bh) argument
467 __remove_assoc_queue(struct buffer_head *bh) argument
493 struct buffer_head *bh; local
579 struct buffer_head *bh = __find_get_block(bdev, bblock + 1, blocksize); local
587 mark_buffer_dirty_inode(struct buffer_head *bh, struct inode *inode) argument
640 struct buffer_head *bh = head; local
677 struct buffer_head *bh; local
793 struct buffer_head *bh = BH_ENTRY(list->next); local
817 struct buffer_head *bh, *head; local
879 struct buffer_head *bh, *tail; local
898 struct buffer_head *bh = head; local
926 struct buffer_head *bh; local
1027 struct buffer_head * bh; local
1077 mark_buffer_dirty(struct buffer_head *bh) argument
1125 __bforget(struct buffer_head *bh) argument
1140 __bread_slow(struct buffer_head *bh) argument
1198 bh_lru_install(struct buffer_head *bh) argument
1251 struct buffer_head *bh = lru->bhs[i]; local
1279 struct buffer_head *bh = lookup_bh_lru(bdev, block, size); local
1295 struct buffer_head *bh = __find_get_block(bdev, block, size); local
1309 struct buffer_head *bh = __getblk(bdev, block, size); local
1329 struct buffer_head *bh = __getblk(bdev, block, size); local
1360 set_bh_page(struct buffer_head *bh, struct page *page, unsigned long offset) argument
1378 discard_buffer(struct buffer_head * bh) argument
1408 struct buffer_head *head, *bh, *next; local
1450 struct buffer_head *bh, *head, *tail; local
1551 struct buffer_head *bh, *head; local
1718 struct buffer_head *head, *bh; local
1760 struct buffer_head *bh, *head, *wait[2], **wait_bh=wait; local
1842 struct buffer_head *bh, *head; local
1995 struct buffer_head *bh, *head; local
2039 struct buffer_head *bh, *head, *arr[MAX_BUF_PER_PAGE]; local
2320 end_buffer_read_nobh(struct buffer_head *bh, int uptodate) argument
2332 struct buffer_head *bh; local
2362 struct buffer_head *head, *bh; local
2502 struct buffer_head *bh; local
2666 struct buffer_head *bh; local
2800 struct buffer_head *bh = bio->bi_private; local
2814 submit_bh(int rw, struct buffer_head * bh) argument
2891 struct buffer_head *bh = bhs[i]; local
2915 write_dirty_buffer(struct buffer_head *bh, int rw) argument
2933 __sync_dirty_buffer(struct buffer_head *bh, int rw) argument
2957 sync_dirty_buffer(struct buffer_head *bh) argument
2983 buffer_busy(struct buffer_head *bh) argument
2993 struct buffer_head *bh; local
3055 struct buffer_head *bh = buffers_to_free; local
3151 free_buffer_head(struct buffer_head *bh) argument
3190 bh_uptodate_or_lock(struct buffer_head *bh) argument
3208 bh_submit_read(struct buffer_head *bh) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/nilfs2/
H A Dpage.c49 struct buffer_head *bh; local
55 bh = nilfs_page_get_nth_block(page, block - first_block);
57 touch_buffer(bh);
58 wait_on_buffer(bh);
59 return bh;
69 void nilfs_mark_buffer_dirty(struct buffer_head *bh) argument
71 if (!buffer_dirty(bh) && !test_set_buffer_dirty(bh))
72 __set_page_dirty_nobuffers(bh->b_page);
83 struct buffer_head *bh, *ob local
127 nilfs_forget_buffer(struct buffer_head *bh) argument
157 struct buffer_head *bh; local
195 struct buffer_head *bh, *head; local
228 struct buffer_head *bh, *head; local
251 struct buffer_head *bh, *head, *tail; local
475 struct buffer_head *bh, *head; local
504 struct buffer_head *bh, *head; local
[all...]
H A Dbtnode.c76 struct buffer_head *bh; local
78 bh = nilfs_grab_buffer(inode, btnc, blocknr, 1 << BH_NILFS_Node);
79 if (unlikely(!bh))
82 if (unlikely(buffer_mapped(bh) || buffer_uptodate(bh) ||
83 buffer_dirty(bh))) {
84 brelse(bh);
87 memset(bh->b_data, 0, 1 << inode->i_blkbits);
88 bh->b_bdev = NILFS_I_NILFS(inode)->ns_bdev;
89 bh
102 struct buffer_head *bh; local
171 nilfs_btnode_delete(struct buffer_head *bh) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/nilfs2/
H A Dpage.c49 struct buffer_head *bh; local
55 bh = nilfs_page_get_nth_block(page, block - first_block);
57 touch_buffer(bh);
58 wait_on_buffer(bh);
59 return bh;
69 void nilfs_mark_buffer_dirty(struct buffer_head *bh) argument
71 if (!buffer_dirty(bh) && !test_set_buffer_dirty(bh))
72 __set_page_dirty_nobuffers(bh->b_page);
83 struct buffer_head *bh, *ob local
127 nilfs_forget_buffer(struct buffer_head *bh) argument
157 struct buffer_head *bh; local
195 struct buffer_head *bh, *head; local
228 struct buffer_head *bh, *head; local
251 struct buffer_head *bh, *head, *tail; local
475 struct buffer_head *bh, *head; local
504 struct buffer_head *bh, *head; local
[all...]
H A Dbtnode.c76 struct buffer_head *bh; local
78 bh = nilfs_grab_buffer(inode, btnc, blocknr, 1 << BH_NILFS_Node);
79 if (unlikely(!bh))
82 if (unlikely(buffer_mapped(bh) || buffer_uptodate(bh) ||
83 buffer_dirty(bh))) {
84 brelse(bh);
87 memset(bh->b_data, 0, 1 << inode->i_blkbits);
88 bh->b_bdev = NILFS_I_NILFS(inode)->ns_bdev;
89 bh
102 struct buffer_head *bh; local
171 nilfs_btnode_delete(struct buffer_head *bh) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Dbuffer_head.h24 BH_Uptodate_Lock,/* Used by the first bh in a page, to serialise
49 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate);
63 struct page *b_page; /* the page this bh is mapped to */
83 static inline void set_buffer_##name(struct buffer_head *bh) \
85 set_bit(BH_##bit, &(bh)->b_state); \
87 static inline void clear_buffer_##name(struct buffer_head *bh) \
89 clear_bit(BH_##bit, &(bh)->b_state); \
91 static inline int buffer_##name(const struct buffer_head *bh) \
93 return test_bit(BH_##bit, &(bh)->b_state); \
100 static inline int test_set_buffer_##name(struct buffer_head *bh) \
251 get_bh(struct buffer_head *bh) argument
256 put_bh(struct buffer_head *bh) argument
262 brelse(struct buffer_head *bh) argument
268 bforget(struct buffer_head *bh) argument
299 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) argument
307 wait_on_buffer(struct buffer_head *bh) argument
314 trylock_buffer(struct buffer_head *bh) argument
319 lock_buffer(struct buffer_head *bh) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Dbuffer_head.h24 BH_Uptodate_Lock,/* Used by the first bh in a page, to serialise
49 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate);
63 struct page *b_page; /* the page this bh is mapped to */
83 static inline void set_buffer_##name(struct buffer_head *bh) \
85 set_bit(BH_##bit, &(bh)->b_state); \
87 static inline void clear_buffer_##name(struct buffer_head *bh) \
89 clear_bit(BH_##bit, &(bh)->b_state); \
91 static inline int buffer_##name(const struct buffer_head *bh) \
93 return test_bit(BH_##bit, &(bh)->b_state); \
100 static inline int test_set_buffer_##name(struct buffer_head *bh) \
251 get_bh(struct buffer_head *bh) argument
256 put_bh(struct buffer_head *bh) argument
262 brelse(struct buffer_head *bh) argument
268 bforget(struct buffer_head *bh) argument
299 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) argument
307 wait_on_buffer(struct buffer_head *bh) argument
314 trylock_buffer(struct buffer_head *bh) argument
319 lock_buffer(struct buffer_head *bh) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/qnx4/
H A Dnamei.c27 struct buffer_head *bh, unsigned long *offset)
32 if (bh == NULL) {
36 de = (struct qnx4_inode_entry *) (bh->b_data + *offset);
65 struct buffer_head *bh; local
72 bh = NULL;
75 if (!bh) {
76 bh = qnx4_bread(dir, blkofs, 0);
77 if (!bh) {
82 *res_dir = (struct qnx4_inode_entry *) (bh->b_data + offset);
83 if (qnx4_match(len, name, bh,
26 qnx4_match(int len, const char *name, struct buffer_head *bh, unsigned long *offset) argument
107 struct buffer_head *bh; local
[all...]

Completed in 298 milliseconds

1234567891011>>