Home
last modified time | relevance | path

Searched refs:b_count (Results 1 – 13 of 13) sorted by relevance

/linux/fs/lockd/
H A Dsvclock.c61 kref_get(&block->b_count); in nlmsvc_insert_block_locked()
131 kref_get(&block->b_count); in nlmsvc_lookup_block()
170 kref_get(&block->b_count); in nlmsvc_find_block()
206 kref_init(&block->b_count); in nlmsvc_create_block()
261 struct nlm_block *block = container_of(kref, struct nlm_block, b_count); in nlmsvc_free_block()
279 kref_put_mutex(&block->b_count, nlmsvc_free_block, &block->b_file->f_mutex); in nlmsvc_release_block()
305 kref_get(&block->b_count); in nlmsvc_traverse_blocks()
829 kref_get(&block->b_count); in nlmsvc_grant_blocked()
1031 kref_get(&block->b_count); in nlmsvc_retry_blocked()
H A Dlockd.h217 struct kref b_count; /* Reference count */ member
/linux/include/linux/
H A Dbuffer_head.h73 atomic_t b_count; /* users using this buffer_head */ member
314 atomic_inc(&bh->b_count);
320 atomic_dec(&bh->b_count); in get_bh()
/linux/fs/ext2/
H A Dxattr.c225 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_get()
311 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_list()
450 atomic_read(&(bh->b_count)), in ext2_xattr_set()
844 ea_bdebug(bh, "b_count=%d", atomic_read(&(bh->b_count))); in ext2_xattr_delete_inode()
963 atomic_read(&(bh->b_count))); in ext2_xattr_cache_find()
/linux/fs/jbd2/
H A Dcommit.c69 if (atomic_read(&bh->b_count) != 1) in release_buffer_page()
678 /* Bump b_count to prevent truncate from stumbling over in jbd2_journal_commit_transaction()
681 atomic_inc(&jh2bh(jh)->b_count); in jbd2_journal_commit_transaction()
852 J_ASSERT_BH(bh, atomic_read(&bh->b_count) == 0); in jbd2_journal_commit_transaction()
H A Djournal.c348 atomic_set(&new_bh->b_count, 1); in jbd2_journal_write_metadata_buffer()
2792 * When a buffer has its BH_JBD bit set, its ->b_count is elevated by one.
2795 * core kernel code, mainly via ->b_count.
2838 (atomic_read(&bh->b_count) > 0) ||
/linux/fs/
H A Dbuffer.c1057 if (atomic_read(&bh->b_count)) { in __brelse()
2712 WARN_ON(atomic_read(&bh->b_count) < 1); in __sync_dirty_buffer()
2743 return atomic_read(&bh->b_count) |
/linux/fs/ext4/
H A Dxattr.c618 ea_bdebug(bh, "b_count=%d, refcount=%d", in ext4_xattr_block_get()
619 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()
789 ea_bdebug(bh, "b_count=%d, refcount=%d", in ext4_xattr_ibody_list()
790 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_ibody_list()
1911 ea_bdebug(bs->bh, "b_count=%d, refcount=%d", in ext4_xattr_block_set()
1912 atomic_read(&(bs->bh->b_count)), in ext4_xattr_block_set()
/linux/drivers/s390/net/
H A Dqeth_core.h783 int b_count; member
H A Dqeth_core_main.c5782 if (!card->rx.b_count) { in qeth_rx_poll()
5784 card->rx.b_count = in qeth_rx_poll()
5788 if (card->rx.b_count <= 0) { in qeth_rx_poll()
5789 card->rx.b_count = 0; in qeth_rx_poll()
5811 card->rx.b_count--; in qeth_rx_poll()
/linux/drivers/net/ethernet/sun/
H A Dniu.c6912 u32 b_offset, b_count; in niu_get_eeprom() local
6915 b_count = 4 - b_offset; in niu_get_eeprom()
6916 if (b_count > len) in niu_get_eeprom()
6917 b_count = len; in niu_get_eeprom()
6920 memcpy(data, ((char *)&val) + b_offset, b_count); in niu_get_eeprom()
6921 data += b_count; in niu_get_eeprom()
6922 len -= b_count; in niu_get_eeprom()
6923 offset += b_count; in niu_get_eeprom()
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c12120 u32 i, offset, len, b_offset, b_count, cpmu_val = 0; in tg3_get_eeprom()
12148 b_count = 4 - b_offset; in tg3_get_eeprom()
12149 if (b_count > len) { in tg3_get_eeprom()
12151 b_count = len; in tg3_get_eeprom()
12156 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom()
12157 len -= b_count; in tg3_get_eeprom()
12158 offset += b_count; in tg3_get_eeprom()
12159 eeprom->len += b_count; in tg3_get_eeprom()
12187 b_count = len & 3; in tg3_get_eeprom()
12188 b_offset = offset + len - b_count; in tg3_get_eeprom()
12108 u32 i, offset, len, b_offset, b_count, cpmu_val = 0; tg3_get_eeprom() local
[all...]
/linux/mm/
H A Dmigrate.c1000 if (atomic_read(&bh->b_count)) { in __buffer_migrate_folio()