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

1234

/external/qemu/
H A Dasync.c76 QEMUBH **bh = opaque; local
77 qemu_bh_delete(*bh);
78 qemu_free(bh);
88 QEMUBH **bh; local
102 bh = qemu_malloc(sizeof(*bh));
103 *bh = qemu_bh_new(bh_run_aio_completions, bh);
104 qemu_bh_schedule(*bh);
129 QEMUBH *bh; local
140 QEMUBH *bh, **bhp; local
168 qemu_bh_schedule_idle(QEMUBH *bh) argument
176 qemu_bh_schedule(QEMUBH *bh) argument
186 qemu_bh_cancel(QEMUBH *bh) argument
191 qemu_bh_delete(QEMUBH *bh) argument
199 QEMUBH *bh; local
[all...]
/external/elfutils/libebl/
H A Dalpha_destr.c23 alpha_destr (bh)
24 Ebl *bh;
H A Darm_destr.c23 arm_destr (bh)
24 Ebl *bh;
H A Di386_destr.c23 i386_destr (bh)
24 Ebl *bh;
H A Dia64_destr.c23 ia64_destr (bh)
24 Ebl *bh;
H A Dmips_destr.c23 mips_destr (bh)
24 Ebl *bh;
H A Dppc64_destr.c23 ppc64_destr (bh)
24 Ebl *bh;
H A Dppc_destr.c23 ppc_destr (bh)
24 Ebl *bh;
H A Dsh_destr.c23 sh_destr (bh)
24 Ebl *bh;
H A Dsparc_destr.c22 sparc_destr (bh)
23 Ebl *bh;
H A Dx86_64_destr.c23 x86_64_destr (bh)
24 Ebl *bh;
H A Dlibebl_alpha.h24 extern void alpha_destr (Ebl *bh);
H A Dlibebl_arm.h24 extern void arm_destr (Ebl *bh);
H A Dlibebl_sh.h24 extern void sh_destr (Ebl *bh);
H A Dlibebl_sparc.h24 extern void sparc_destr (Ebl *bh);
H A Dlibebl_i386.h24 extern void i386_destr (Ebl *bh);
H A Dlibebl_ia64.h24 extern void ia64_destr (Ebl *bh);
H A Dlibebl_mips.h24 extern void mips_destr (Ebl *bh);
H A Dlibebl_ppc.h24 extern void ppc_destr (Ebl *bh);
/external/e2fsprogs/e2fsck/
H A Drecovery.c74 struct buffer_head *bh; local
97 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize);
98 if (!bh) {
103 if (!buffer_uptodate(bh) && !buffer_locked(bh)) {
104 bufs[nbufs++] = bh;
111 brelse(bh);
136 struct buffer_head *bh; local
153 bh = __getblk(journal->j_dev, blocknr, journal->j_blocksize);
154 if (!bh)
181 count_tags(journal_t *journal, struct buffer_head *bh) argument
325 calc_chksums(journal_t *journal, struct buffer_head *bh, unsigned long *next_log_block, __u32 *crc32_sum) argument
361 struct buffer_head * bh; local
718 scan_revoke_records(journal_t *journal, struct buffer_head *bh, tid_t sequence, struct recovery_info *info) argument
[all...]
H A Djfs_user.h44 #define lock_buffer(bh) do {} while(0)
45 #define unlock_buffer(bh) do {} while(0)
46 #define buffer_req(bh) 1
128 void ll_rw_block(int rw, int dummy, struct buffer_head *bh[]);
129 void mark_buffer_dirty(struct buffer_head *bh);
130 void mark_buffer_uptodate(struct buffer_head *bh, int val);
131 void brelse(struct buffer_head *bh);
132 int buffer_uptodate(struct buffer_head *bh);
133 void wait_on_buffer(struct buffer_head *bh);
139 #define set_buffer_uptodate(bh) mark_buffer_uptodat
[all...]
H A Djournal.c70 struct buffer_head *bh; local
71 int bufsize = sizeof(*bh) + kdev->k_ctx->fs->blocksize -
72 sizeof(bh->b_data);
74 bh = e2fsck_allocate_memory(kdev->k_ctx, bufsize, "block buffer");
75 if (!bh)
85 bh->b_ctx = kdev->k_ctx;
87 bh->b_io = kdev->k_ctx->fs->io;
89 bh->b_io = kdev->k_ctx->journal_io;
90 bh->b_size = blocksize;
91 bh
111 struct buffer_head *bh; local
152 mark_buffer_dirty(struct buffer_head *bh) argument
157 mark_buffer_clean(struct buffer_head * bh) argument
162 brelse(struct buffer_head *bh) argument
171 buffer_uptodate(struct buffer_head *bh) argument
176 mark_buffer_uptodate(struct buffer_head *bh, int val) argument
181 wait_on_buffer(struct buffer_head *bh) argument
232 struct buffer_head *bh; local
[all...]
H A Drevoke.c274 * parameter, but does _not_ forget the buffer_head if the bh was only
287 struct buffer_head *bh = NULL; local
302 bh = bh_in;
304 if (!bh) {
305 bh = get_hash_table(dev, blocknr, journal->j_blocksize);
306 if (bh)
307 BUFFER_TRACE(bh, "found on hash");
318 if ((bh2 != bh) &&
336 if (bh) {
337 J_ASSERT_BH(bh, !test_bi
381 struct buffer_head *bh = jh2bh(jh); local
549 struct buffer_head *bh = jh2bh(descriptor); local
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dkernel-jbd.h257 void buffer_assertion_failure(struct buffer_head *bh);
258 #define J_ASSERT_BH(bh, expr) \
261 buffer_assertion_failure(bh); \
266 #define J_ASSERT_BH(bh, expr) J_ASSERT(expr)
284 static inline int buffer_jbd(struct buffer_head *bh) argument
286 return __buffer_state(bh, JBD);
294 static inline struct journal_head *bh2jh(struct buffer_head *bh) argument
296 return bh->b_private;
611 extern void __journal_free_buffer(struct journal_head *bh);
731 *journal_add_journal_head(struct buffer_head *bh);
901 buffer_jlist_eq(struct buffer_head *bh, int list) argument
907 buffer_jdirty(struct buffer_head *bh) argument
913 buffer_jbd_data(struct buffer_head *bh) argument
[all...]
/external/kernel-headers/original/linux/
H A Djbd.h262 void buffer_assertion_failure(struct buffer_head *bh);
263 #define J_ASSERT_BH(bh, expr) \
266 buffer_assertion_failure(bh); \
271 #define J_ASSERT_BH(bh, expr) J_ASSERT(expr)
281 #define J_EXPECT_BH(bh, expr, why...) J_ASSERT_BH(bh, expr)
295 #define J_EXPECT_BH(bh, expr, why...) __journal_expect(expr, ## why)
308 BH_JournalHead, /* Pins bh->b_private and jh->b_bh */
327 static inline struct journal_head *bh2jh(struct buffer_head *bh) argument
329 return bh
332 jbd_lock_bh_state(struct buffer_head *bh) argument
337 jbd_trylock_bh_state(struct buffer_head *bh) argument
342 jbd_is_locked_bh_state(struct buffer_head *bh) argument
347 jbd_unlock_bh_state(struct buffer_head *bh) argument
352 jbd_lock_bh_journal_head(struct buffer_head *bh) argument
357 jbd_unlock_bh_journal_head(struct buffer_head *bh) argument
[all...]

Completed in 1121 milliseconds

1234