/linux-master/include/linux/ |
H A D | buffer_head.h | 60 unsigned long b_state; /* buffer state bitmap (see above) */ member in struct:buffer_head 92 if (!test_bit(BH_##bit, &(bh)->b_state)) \ 93 set_bit(BH_##bit, &(bh)->b_state); \ 97 clear_bit(BH_##bit, &(bh)->b_state); \ 101 return test_bit(BH_##bit, &(bh)->b_state); \ 110 return test_and_set_bit(BH_##bit, &(bh)->b_state); \ 114 return test_and_clear_bit(BH_##bit, &(bh)->b_state); \ 120 * do something in addition to setting a b_state bit. 149 if (test_bit(BH_Uptodate, &bh->b_state)) 157 set_bit(BH_Uptodate, &bh->b_state); [all...] |
H A D | jbd2.h | 343 bit_spin_lock(BH_JournalHead, &bh->b_state); 348 bit_spin_unlock(BH_JournalHead, &bh->b_state);
|
/linux-master/fs/nilfs2/ |
H A D | page.c | 30 unsigned long b_state) 37 bh = create_empty_buffers(folio, 1 << blkbits, b_state); 50 unsigned long b_state) 61 bh = __nilfs_get_folio_block(folio, blkoff, index, blkbits, b_state); 83 set_mask_bits(&bh->b_state, clear_bits, 0); 112 dbh->b_state = sbh->b_state & NILFS_BUFFER_INHERENT_BITS; 117 bits = sbh->b_state & (BIT(BH_Uptodate) | BIT(BH_Mapped)); 120 bits &= bh->b_state; 181 (unsigned long long)bh->b_blocknr, bh->b_state); 28 __nilfs_get_folio_block(struct folio *folio, unsigned long block, pgoff_t index, int blkbits, unsigned long b_state) argument 47 nilfs_grab_buffer(struct inode *inode, struct address_space *mapping, unsigned long blkoff, unsigned long b_state) argument [all...] |
H A D | bmap.h | 96 * @b_state: state 110 int b_state; member in struct:nilfs_bmap 248 return !!(bmap->b_state & NILFS_BMAP_DIRTY); 254 bmap->b_state |= NILFS_BMAP_DIRTY; 260 bmap->b_state &= ~NILFS_BMAP_DIRTY;
|
H A D | bmap.c | 512 bmap->b_state = 0; 565 bmap->b_state = 0; 575 store->state = bmap->b_state; 584 bmap->b_state = store->state;
|
/linux-master/fs/affs/ |
H A D | file.c | 475 tmp_bh.b_state = 0; 480 bh->b_state |= tmp_bh.b_state; 494 tmp_bh.b_state = 0; 499 bh->b_state |= tmp_bh.b_state; 513 tmp_bh.b_state = 0; 518 bh->b_state |= tmp_bh.b_state; 603 bh->b_state [all...] |
/linux-master/fs/gfs2/ |
H A D | meta_io.h | 78 ((bh)->b_state & ((1ul << BH_Dirty) | (1ul << BH_Lock) | (1ul << BH_Pinned)))
|
H A D | glops.c | 41 bh, (unsigned long long)bh->b_blocknr, bh->b_state, 66 const unsigned long b_state = (1UL << BH_Dirty)|(1UL << BH_Pinned)|(1UL << BH_Lock); local 74 if (bh->b_state & b_state) {
|
H A D | bmap.c | 2259 bh.b_state = 0; 2284 bh.b_state, (unsigned long long)bh.b_size); 2326 bh.b_state = 0;
|
H A D | trace_gfs2.h | 459 __entry->state = bh->b_state;
|
/linux-master/fs/ |
H A D | buffer.c | 71 wait_on_bit_lock_io(&bh->b_state, BH_Lock, TASK_UNINTERRUPTIBLE); 77 clear_bit_unlock(BH_Lock, &bh->b_state); 79 wake_up_bit(&bh->b_state, BH_Lock); 123 wait_on_bit_io(&bh->b_state, BH_Lock, TASK_UNINTERRUPTIBLE); 129 if (!test_bit(BH_Quiet, &bh->b_state)) 231 "b_blocknr=%llu, b_state=0x%08lx, b_size=%zu, " 235 bh->b_state, bh->b_size, bdev, 1563 unsigned long b_state; local 1568 b_state = READ_ONCE(bh->b_state); 1644 create_empty_buffers(struct folio *folio, unsigned long blocksize, unsigned long b_state) argument 1751 folio_create_buffers(struct folio *folio, struct inode *inode, unsigned int b_state) argument [all...] |
H A D | mpage.c | 128 page_bh->b_state = bh->b_state; 227 map_bh->b_state = 0; 548 map_bh.b_state = 0;
|
H A D | direct-io.c | 628 map_bh->b_state = 0;
|
/linux-master/fs/xfs/ |
H A D | xfs_buf.c | 112 if (!(bp->b_state & XFS_BSTATE_IN_FLIGHT)) { 113 bp->b_state |= XFS_BSTATE_IN_FLIGHT; 129 if (bp->b_state & XFS_BSTATE_IN_FLIGHT) { 130 bp->b_state &= ~XFS_BSTATE_IN_FLIGHT; 177 if (!(bp->b_state & XFS_BSTATE_DISPOSE) && 1104 bp->b_state &= ~XFS_BSTATE_DISPOSE; 1115 if (!(bp->b_state & XFS_BSTATE_DISPOSE)) { 1877 bp->b_state |= XFS_BSTATE_DISPOSE; 1978 bp->b_state |= XFS_BSTATE_DISPOSE;
|
H A D | xfs_buf.h | 182 unsigned int b_state; /* internal state flags */ member in struct:xfs_buf
|
/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sysfs.c | 161 u8 b_state, b_rate; local 167 err = qlcnic_validate_beacon(adapter, beacon, &b_state, &b_rate); 173 if (ahw->beacon_state == b_state) 196 err = qlcnic_config_led(adapter, b_state, b_rate); 199 ahw->beacon_state = b_state;
|
/linux-master/fs/jbd2/ |
H A D | commit.c | 42 clear_bit_unlock(BH_Shadow, &orig_bh->b_state); 44 wake_up_bit(&orig_bh->b_state, BH_Shadow); 662 set_bit(BH_JWrite, &jh2bh(jh)->b_state);
|
/linux-master/fs/jfs/ |
H A D | super.c | 750 tmp_bh.b_state = 0; 789 tmp_bh.b_state = 0;
|
/linux-master/fs/reiserfs/ |
H A D | prints.c | 162 bh->b_state, bh->b_page,
|
H A D | super.c | 2505 tmp_bh.b_state = 0; 2553 tmp_bh.b_state = 0;
|
/linux-master/fs/ext4/ |
H A D | inode.c | 727 * Update EXT4_MAP_FLAGS in bh->b_state. For buffer heads attached to pages 728 * we have to be careful as someone else may be manipulating b_state as well. 739 bh->b_state = (bh->b_state & ~EXT4_MAP_FLAGS) | flags; 743 * Someone else may be modifying b_state. Be careful! This is ugly but 747 old_state = READ_ONCE(bh->b_state); 750 } while (unlikely(!try_cmpxchg(&bh->b_state, &old_state, new_state))); 1920 map->m_flags = bh->b_state & BH_FLAGS; 1930 (bh->b_state & BH_FLAGS) == map->m_flags) {
|
/linux-master/fs/ext2/ |
H A D | super.c | 1506 tmp_bh.b_state = 0; 1544 tmp_bh.b_state = 0;
|
/linux-master/fs/isofs/ |
H A D | inode.c | 1175 dummy.b_state = 0;
|
/linux-master/fs/ocfs2/ |
H A D | journal.c | 652 mlog(ML_ERROR, "b_blocknr=%llu, b_state=0x%lx\n", 653 (unsigned long long)bh->b_blocknr, bh->b_state);
|
H A D | aops.c | 2192 bh_result->b_state = 0;
|