Searched refs:b_state (Results 1 - 25 of 28) sorted by path

12

/linux-master/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sysfs.c161 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/affs/
H A Dfile.c475 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/
H A Dbuffer.c71 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,
1586 unsigned long b_state; local
1591 b_state = READ_ONCE(bh->b_state);
1667 create_empty_buffers(struct folio *folio, unsigned long blocksize, unsigned long b_state) argument
1774 folio_create_buffers(struct folio *folio, struct inode *inode, unsigned int b_state) argument
[all...]
H A Ddirect-io.c628 map_bh->b_state = 0;
H A Dmpage.c128 page_bh->b_state = bh->b_state;
227 map_bh->b_state = 0;
548 map_bh.b_state = 0;
/linux-master/fs/ext2/
H A Dsuper.c1506 tmp_bh.b_state = 0;
1544 tmp_bh.b_state = 0;
/linux-master/fs/ext4/
H A Dext4.h3791 test_bit(BH_BITMAP_UPTODATE, &(bh)->b_state));
3795 set_bit(BH_BITMAP_UPTODATE, &(bh)->b_state);
H A Dinode.c727 * 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/gfs2/
H A Dbmap.c2259 bh.b_state = 0;
2284 bh.b_state, (unsigned long long)bh.b_size);
2326 bh.b_state = 0;
H A Dglops.c41 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 Dmeta_io.h78 ((bh)->b_state & ((1ul << BH_Dirty) | (1ul << BH_Lock) | (1ul << BH_Pinned)))
H A Dtrace_gfs2.h459 __entry->state = bh->b_state;
/linux-master/fs/isofs/
H A Dinode.c1175 dummy.b_state = 0;
/linux-master/fs/jbd2/
H A Dcommit.c42 clear_bit_unlock(BH_Shadow, &orig_bh->b_state);
44 wake_up_bit(&orig_bh->b_state, BH_Shadow);
661 set_bit(BH_JWrite, &jh2bh(jh)->b_state);
H A Dtransaction.c1111 wait_on_bit_io(&bh->b_state, BH_Shadow, TASK_UNINTERRUPTIBLE);
/linux-master/fs/jfs/
H A Dsuper.c750 tmp_bh.b_state = 0;
789 tmp_bh.b_state = 0;
/linux-master/fs/nilfs2/
H A Dbmap.c512 bmap->b_state = 0;
565 bmap->b_state = 0;
575 store->state = bmap->b_state;
584 bmap->b_state = store->state;
H A Dbmap.h96 * @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 Dpage.c30 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 Dsegment.c1868 set_mask_bits(&bh->b_state, clear_bits, set_bits);
/linux-master/fs/ocfs2/
H A Daops.c2192 bh_result->b_state = 0;
H A Djournal.c652 mlog(ML_ERROR, "b_blocknr=%llu, b_state=0x%lx\n",
653 (unsigned long long)bh->b_blocknr, bh->b_state);
/linux-master/fs/reiserfs/
H A Dprints.c162 bh->b_state, bh->b_page,
H A Dsuper.c2505 tmp_bh.b_state = 0;
2553 tmp_bh.b_state = 0;
/linux-master/fs/xfs/
H A Dxfs_buf.c112 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;

Completed in 973 milliseconds

12