Home
last modified time | relevance | path

Searched refs:bh (Results 1 – 25 of 42) sorted by relevance

12

/reactos/drivers/filesystems/ext2/src/
H A Dlinux.c331 if (bh) { in new_buffer_head()
342 return bh; in new_buffer_head()
348 if (bh) { in free_buffer_head()
465 if (!bh) { in get_block_bh_mdl()
515 if (!bh->b_mdl || !bh->b_data) { in get_block_bh_mdl()
524 … Vcb, atomic_read(&g_jbh.bh_count), block, bh, bh->b_mdl, bh->b_mdl->MdlFlags, bh->b_data)); in get_block_bh_mdl()
548 return bh; in get_block_bh_mdl()
644 if (!bh) {
724 return bh;
735 ASSERT(bh->b_data && bh->b_bcb);
[all …]
H A Dmemory.c1852 struct buffer_head *bh = NULL; local
1878 fini_bh(&bh);
1889 mark_buffer_dirty(bh);
1893 fini_bh(&bh);
1906 struct buffer_head *bh = NULL; local
1927 fini_bh(&bh);
3188 struct buffer_head *bh = NULL; local
3206 if (atomic_read(&bh->b_count)) {
3207 InitializeListHead(&bh->b_link);
3305 struct buffer_head *bh; local
[all …]
H A Dcreate.c580 struct buffer_head *bh = NULL; in Ext2ScanDir() local
619 bh = ext3_find_entry(IrpContext, de, &dir_entry); in Ext2ScanDir()
630 if (bh) in Ext2ScanDir()
631 __brelse(bh); in Ext2ScanDir()
646 struct buffer_head * bh; in Ext2AddDotEntries() local
650 bh = ext3_append(icb, inode, &block, &rc); in Ext2AddDotEntries()
651 if (!bh) { in Ext2AddDotEntries()
655 de = (struct ext3_dir_entry_2 *) bh->b_data; in Ext2AddDotEntries()
669 set_buffer_dirty(bh); in Ext2AddDotEntries()
673 if (bh) in Ext2AddDotEntries()
[all …]
/reactos/drivers/filesystems/ext2/src/jbd/
H A Dreplay.c342 (bh->b_page && bh->b_page->mapping)); in journal_add_journal_head()
353 jh->b_bh = bh; in journal_add_journal_head()
354 get_bh(bh); in journal_add_journal_head()
387 get_bh(bh); in __journal_remove_journal_head()
393 J_ASSERT_BH(bh, buffer_jbd(bh)); in __journal_remove_journal_head()
394 J_ASSERT_BH(bh, jh2bh(jh) == bh); in __journal_remove_journal_head()
452 __brelse(bh); in journal_put_journal_head()
530 lock_buffer(bh); in journal_get_descriptor_buffer()
861 brelse(bh); in journal_fail_superblock()
1462 jh = bh2jh(bh); in journal_forget()
[all …]
H A Drecovery.c99 if (!bh) { in do_readahead()
104 if (!buffer_uptodate(bh) && !buffer_locked(bh)) { in do_readahead()
112 brelse(bh); in do_readahead()
155 if (!bh) in jread()
169 brelse(bh); in jread()
173 *bhp = bh; in jread()
392 brelse(bh); in do_one_pass()
402 brelse(bh); in do_one_pass()
506 brelse(bh); in do_one_pass()
513 brelse(bh); in do_one_pass()
[all …]
H A Drevoke.c350 bh = bh_in; in journal_revoke()
352 if (!bh) { in journal_revoke()
354 if (bh) in journal_revoke()
382 if (bh) { in journal_revoke()
383 if (!J_EXPECT_BH(bh, !buffer_revoked(bh), in journal_revoke()
396 __brelse(bh); in journal_revoke()
470 bh2 = __find_get_block(bh->b_bdev, bh->b_blocknr, bh->b_size); in journal_cancel_revoke()
472 if (bh2 != bh) in journal_cancel_revoke()
611 put_bh(bh); in flush_descriptor()
617 set_buffer_jwrite(bh); in flush_descriptor()
[all …]
/reactos/drivers/filesystems/ext2/inc/linux/
H A Dext3_jbd.h113 struct buffer_head *bh) in ext3_journal_release_buffer() argument
115 journal_release_buffer(handle, bh); in ext3_journal_release_buffer()
122 struct buffer_head *bh);
128 struct buffer_head *bh);
139 #define ext3_journal_get_undo_access(handle, bh) \ argument
141 #define ext3_journal_get_write_access(handle, bh) \ argument
143 #define ext3_journal_revoke(handle, blocknr, bh) \ argument
145 #define ext3_journal_get_create_access(handle, bh) \ argument
147 #define ext3_journal_dirty_metadata(handle, bh) \ argument
149 #define ext3_journal_forget(handle, bh) \ argument
[all …]
H A Dmodule.h803 #define bh_offset(bh) ((unsigned long)(bh)->b_data & ~PAGE_MASK) argument
804 #define touch_buffer(bh) mark_page_accessed(bh->b_page) argument
951 if (bh)
957 if (bh)
963 if (bh && *bh) {
965 *bh = NULL;
971 if (bh)
991 if (!bh)
993 if (!buffer_uptodate(bh) && (bh_submit_read(bh) < 0)) {
997 return bh;
[all …]
H A Dext4_jbd2.h8 const char *err_fn, struct buffer_head *bh,
15 void *icb, handle_t *handle, struct buffer_head *bh);
19 struct buffer_head *bh, ext4_fsblk_t blocknr);
22 void *icb, handle_t *handle, struct buffer_head *bh);
26 struct buffer_head *bh);
28 #define ext4_journal_get_write_access(handle, icb, bh) \ argument
30 #define ext4_forget(handle, icb, is_metadata, inode, bh, block_nr) \ argument
32 (bh), (block_nr))
33 #define ext4_journal_get_create_access(handle, icb, bh) \ argument
35 #define ext4_handle_dirty_metadata(handle, icb, inode, bh) \ argument
[all …]
H A Djbd.h287 #define J_ASSERT_BH(bh, expr) \ argument
290 buffer_assertion_failure(bh); \
295 #define J_ASSERT_BH(bh, expr) J_ASSERT(expr) argument
301 #define J_EXPECT_BH(bh, expr, why...) J_ASSERT_BH(bh, expr) argument
357 return bh->b_private; in bh2jh()
362 bit_spin_lock(BH_State, &bh->b_state); in jbd_lock_bh_state()
377 bit_spin_unlock(BH_State, &bh->b_state); in jbd_unlock_bh_state()
382 bit_spin_lock(BH_JournalHead, &bh->b_state); in jbd_lock_bh_journal_head()
1132 #define buffer_trace_init(bh) do {} while (0) argument
1134 #define print_buffer_trace(bh) do {} while (0) argument
[all …]
H A Dgroup.h19 struct buffer_head *bh,
25 struct buffer_head *bh,
H A Dext4_ext.h129 static inline struct ext4_extent_header *ext_block_hdr(struct buffer_head *bh) in ext_block_hdr() argument
131 return (struct ext4_extent_header *)bh->b_data; in ext_block_hdr()
H A Dext3_fs_sb.h29 struct buffer_head *bh; member
/reactos/drivers/filesystems/ext2/src/ext3/
H A Dhtree.c264 if (!bh) { in ext3_bread()
276 return bh; in ext3_bread()
457 __brelse(bh); in add_dirent_to_buf()
1105 frame->bh = bh; in dx_probe()
1211 p->bh = bh; in ext3_htree_next_block()
1263 brelse(bh); in htree_dirblock_to_tree()
1708 bh = NULL; in ext3_dx_add_entry()
1712 if (bh) in ext3_dx_add_entry()
1916 frame->bh = bh; in make_indexed_dir()
1917 bh = bh2; in make_indexed_dir()
[all …]
H A Dgeneric.c437 if (!bh) { in Ext2GetInodeLba()
689 if (bh) in Ext2LoadBlock()
1052 if (bh) in Ext2NewBlock()
1207 if (bh) in Ext2NewBlock()
1398 if (bh) in Ext2NewInode()
1717 if (bh) in Ext2NewInode()
1868 if (bh) in Ext2FreeInode()
2884 if (bh) { in ext4_init_block_bitmap()
2930 if (bh) { in ext4_init_block_bitmap()
2985 if (bh) in ext4_get_group_desc()
[all …]
/reactos/drivers/filesystems/ext2/src/ext4/
H A Dext4_bh.c39 void extents_mark_buffer_dirty(struct buffer_head *bh) in extents_mark_buffer_dirty() argument
41 set_buffer_dirty(bh); in extents_mark_buffer_dirty()
51 void extents_brelse(struct buffer_head *bh) in extents_brelse() argument
53 brelse(bh); in extents_brelse()
64 void extents_bforget(struct buffer_head *bh) in extents_bforget() argument
66 clear_buffer_uptodate(bh); in extents_bforget()
67 bforget(bh); in extents_bforget()
H A Dext4_jbd2.c22 const char *err_fn, struct buffer_head *bh, in ext4_journal_abort_handle() argument
28 void *icb, handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_write_access() argument
48 struct buffer_head *bh, ext4_fsblk_t blocknr) in __ext4_forget() argument
55 void *icb, handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_create_access() argument
63 struct buffer_head *bh) in __ext4_handle_dirty_metadata() argument
67 extents_mark_buffer_dirty(bh); in __ext4_handle_dirty_metadata()
H A Dext4_extents.c207 if (!bh) in __read_extent_tree_block()
215 return bh; in __read_extent_tree_block()
221 return bh; in __read_extent_tree_block()
223 extents_brelse(bh); in __read_extent_tree_block()
922 bh = NULL; in ext4_ext_split()
999 bh = NULL; in ext4_ext_split()
1020 if (bh) in ext4_ext_split()
1063 if (!bh) in ext4_ext_grow_indepth()
1339 if (IS_ERR(bh)) in ext4_ext_search_right()
1348 if (IS_ERR(bh)) in ext4_ext_search_right()
[all …]
/reactos/boot/freeldr/freeldr/arch/i386/pc/
H A Dpcvideo.c984 BiosRegs.b.bh = ROM_8x14CharacterFont; in PcVideoGetFontsFromFirmware()
988 BiosRegs.b.bh = ROM_8x8DoubleDotFontLo; in PcVideoGetFontsFromFirmware()
992 BiosRegs.b.bh = ROM_8x8DoubleDotFontHi; in PcVideoGetFontsFromFirmware()
996 BiosRegs.b.bh = ROM_AlphaAlternate; in PcVideoGetFontsFromFirmware()
1000 BiosRegs.b.bh = ROM_8x16Font; in PcVideoGetFontsFromFirmware()
1004 BiosRegs.b.bh = ROM_Alternate9x16Font; in PcVideoGetFontsFromFirmware()
1028 Regs.b.bh = 0x00; in PcVideoSetTextCursorPosition()
H A Dpcvesa.c128 Regs.b.bh = 0x00;
153 Regs.b.bh = 0x00;
/reactos/sdk/lib/crt/math/libm_sse2/
H A Dfmod.asm86 DB 09bh, 0ddh, 07ch, 024h, 010h ; fstsw 16 [rsp]
97 DB 09bh, 0dfh, 0e0h ; fstsw ax
105 DB 09bh, 0ddh, 07ch, 024h, 008h ; fstsw 8 [rsp]
154 DB 09bh, 0dbh, 0e2h ; fclex
H A Dfmodf.asm86 DB 09bh, 0ddh, 07ch, 024h, 010h ; fstsw 16 [rsp]
97 DB 9bh, 0dfh, 0e0h ; fstsw ax
105 DB 09bh, 0ddh, 07ch, 024h, 008h ; fstsw 8 [rsp]
/reactos/boot/freeldr/freeldr/arch/i386/
H A Dhwpci.c97 TRACE("BH: %x\n", RegsOut.b.bh); in PcFindPciBios()
102 BusData->MajorRevision = RegsOut.b.bh; in PcFindPciBios()
/reactos/dll/3rdparty/mbedtls/
H A Dpoly1305.c103 const uint16_t bh = b >> 16; in mul64() local
107 const uint64_t me = (uint64_t)( (uint32_t) ah * bl ) + (uint32_t) al * bh; in mul64()
108 const uint32_t hi = (uint32_t) ah * bh; in mul64()
/reactos/boot/freeldr/freeldr/arch/i386/pc98/
H A Dpc98cons.c81 return Regs.b.bh == 1; in Pc98ConsKbHit()

12