Home
last modified time | relevance | path

Searched refs:b_count (Results 1 – 11 of 11) 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()
302 kref_get(&block->b_count); in nlmsvc_traverse_blocks()
826 kref_get(&block->b_count); in nlmsvc_grant_blocked()
H A Dlockd.h217 struct kref b_count; /* Reference count */ member
/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/
H A Dbuffer.c1047 if (atomic_read(&bh->b_count)) { in __brelse()
2699 WARN_ON(atomic_read(&bh->b_count) < 1); in __sync_dirty_buffer()
2730 return atomic_read(&bh->b_count) | in buffer_busy()
/linux/fs/ext4/
H A Dxattr.c607 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()
776 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()
1883 atomic_read(&(bs->bh->b_count)), in ext4_xattr_block_find()
/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/fs/jbd2/
H A Djournal.c350 atomic_set(&new_bh->b_count, 1); in jbd2_journal_write_metadata_buffer()
2807 (atomic_read(&bh->b_count) > 0) || in jbd2_journal_add_journal_head()
/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.c12108 u32 i, offset, len, b_offset, b_count, cpmu_val = 0; in tg3_get_eeprom() local
12136 b_count = 4 - b_offset; in tg3_get_eeprom()
12137 if (b_count > len) { in tg3_get_eeprom()
12139 b_count = len; in tg3_get_eeprom()
12144 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom()
12145 len -= b_count; in tg3_get_eeprom()
12146 offset += b_count; in tg3_get_eeprom()
12147 eeprom->len += b_count; in tg3_get_eeprom()
12175 b_count = len & 3; in tg3_get_eeprom()
12176 b_offset = offset + len - b_count; in tg3_get_eeprom()
[all …]
/linux/mm/
H A Dmigrate.c980 if (atomic_read(&bh->b_count)) { in __buffer_migrate_folio()