Home
last modified time | relevance | path

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

/linux-5.19.10/fs/lockd/
Dsvclock.c98 kref_get(&block->b_count); in nlmsvc_insert_block_locked()
163 kref_get(&block->b_count); in nlmsvc_lookup_block()
197 kref_get(&block->b_count); in nlmsvc_find_block()
232 kref_init(&block->b_count); in nlmsvc_create_block()
287 struct nlm_block *block = container_of(kref, struct nlm_block, b_count); in nlmsvc_free_block()
305 kref_put_mutex(&block->b_count, nlmsvc_free_block, &block->b_file->f_mutex); in nlmsvc_release_block()
327 kref_get(&block->b_count); in nlmsvc_traverse_blocks()
832 kref_get(&block->b_count); in nlmsvc_grant_blocked()
/linux-5.19.10/fs/reiserfs/
Dprints.c161 atomic_read(&(bh->b_count)), in scnprintf_buffer_head()
673 (tbSh) ? atomic_read(&tbSh->b_count) : -1, in store_print_tb()
675 (tb->L[h]) ? atomic_read(&tb->L[h]->b_count) : -1, in store_print_tb()
677 (tb->R[h]) ? atomic_read(&tb->R[h]->b_count) : -1, in store_print_tb()
719 tb->FEB[i] ? atomic_read(&tb->FEB[i]->b_count) : 0, in store_print_tb()
Djournal.c1515 if (atomic_read(&saved_bh->b_count) < 0) { in flush_journal_list()
3461 if (atomic_read(&bh->b_count) < 0) { in remove_from_transaction()
3805 (&cn->bh->b_count) < 0) { in journal_mark_freed()
Dbitmap.c1445 BUG_ON(atomic_read(&bh->b_count) == 0); in reiserfs_read_bitmap_block()
Dfix_node.c2318 if (atomic_read(&(bh->b_count)) <= 0) in tb_buffer_sanity_check()
/linux-5.19.10/include/linux/
Dbuffer_head.h75 atomic_t b_count; /* users using this buffer_head */ member
312 atomic_inc(&bh->b_count); in get_bh()
318 atomic_dec(&bh->b_count); in put_bh()
/linux-5.19.10/fs/ext2/
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()
451 atomic_read(&(bh->b_count)), in ext2_xattr_set()
824 ea_bdebug(bh, "b_count=%d", atomic_read(&(bh->b_count))); in ext2_xattr_delete_inode()
980 atomic_read(&(bh->b_count))); in ext2_xattr_cache_find()
/linux-5.19.10/fs/jbd2/
Dcommit.c70 if (atomic_read(&bh->b_count) != 1) in release_buffer_page()
692 atomic_inc(&jh2bh(jh)->b_count); in jbd2_journal_commit_transaction()
863 J_ASSERT_BH(bh, atomic_read(&bh->b_count) == 0); in jbd2_journal_commit_transaction()
Djournal.c367 atomic_set(&new_bh->b_count, 1); in jbd2_journal_write_metadata_buffer()
2937 (atomic_read(&bh->b_count) > 0) || in jbd2_journal_add_journal_head()
/linux-5.19.10/include/linux/lockd/
Dlockd.h177 struct kref b_count; /* Reference count */ member
/linux-5.19.10/fs/nilfs2/
Dpage.c179 i++, bh, atomic_read(&bh->b_count), in nilfs_page_bug()
/linux-5.19.10/fs/gfs2/
Daops.c729 if (atomic_read(&bh->b_count)) in gfs2_release_folio()
/linux-5.19.10/fs/
Dbuffer.c1141 if (atomic_read(&buf->b_count)) { in __brelse()
3126 WARN_ON(atomic_read(&bh->b_count) < 1); in __sync_dirty_buffer()
3179 return atomic_read(&bh->b_count) | in buffer_busy()
/linux-5.19.10/drivers/s390/net/
Dqeth_core.h784 int b_count; member
Dqeth_core_main.c5827 if (!card->rx.b_count) { in qeth_rx_poll()
5829 card->rx.b_count = in qeth_rx_poll()
5833 if (card->rx.b_count <= 0) { in qeth_rx_poll()
5834 card->rx.b_count = 0; in qeth_rx_poll()
5856 card->rx.b_count--; in qeth_rx_poll()
/linux-5.19.10/fs/ext4/
Dxattr.c550 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()
723 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()
1831 atomic_read(&(bs->bh->b_count)), in ext4_xattr_block_find()
/linux-5.19.10/drivers/net/ethernet/sun/
Dniu.c6892 u32 b_offset, b_count; in niu_get_eeprom() local
6895 b_count = 4 - b_offset; in niu_get_eeprom()
6896 if (b_count > len) in niu_get_eeprom()
6897 b_count = len; in niu_get_eeprom()
6900 memcpy(data, ((char *)&val) + b_offset, b_count); in niu_get_eeprom()
6901 data += b_count; in niu_get_eeprom()
6902 len -= b_count; in niu_get_eeprom()
6903 offset += b_count; in niu_get_eeprom()
/linux-5.19.10/drivers/net/ethernet/broadcom/
Dtg3.c11988 u32 i, offset, len, b_offset, b_count, cpmu_val = 0; in tg3_get_eeprom() local
12016 b_count = 4 - b_offset; in tg3_get_eeprom()
12017 if (b_count > len) { in tg3_get_eeprom()
12019 b_count = len; in tg3_get_eeprom()
12024 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom()
12025 len -= b_count; in tg3_get_eeprom()
12026 offset += b_count; in tg3_get_eeprom()
12027 eeprom->len += b_count; in tg3_get_eeprom()
12055 b_count = len & 3; in tg3_get_eeprom()
12056 b_offset = offset + len - b_count; in tg3_get_eeprom()
[all …]
/linux-5.19.10/mm/
Dmigrate.c704 if (atomic_read(&bh->b_count)) { in __buffer_migrate_page()