Home
last modified time | relevance | path

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

/Linux-v5.4/fs/lockd/
Dsvclock.c97 kref_get(&block->b_count); in nlmsvc_insert_block_locked()
162 kref_get(&block->b_count); in nlmsvc_lookup_block()
196 kref_get(&block->b_count); in nlmsvc_find_block()
231 kref_init(&block->b_count); in nlmsvc_create_block()
286 struct nlm_block *block = container_of(kref, struct nlm_block, b_count); in nlmsvc_free_block()
304 kref_put_mutex(&block->b_count, nlmsvc_free_block, &block->b_file->f_mutex); in nlmsvc_release_block()
326 kref_get(&block->b_count); in nlmsvc_traverse_blocks()
817 kref_get(&block->b_count); in nlmsvc_grant_blocked()
/Linux-v5.4/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.c1516 if (atomic_read(&saved_bh->b_count) < 0) { in flush_journal_list()
3449 if (atomic_read(&bh->b_count) < 0) { in remove_from_transaction()
3793 (&cn->bh->b_count) < 0) { in journal_mark_freed()
Dbitmap.c1445 BUG_ON(atomic_read(&bh->b_count) == 0); in reiserfs_read_bitmap_block()
Dstree.c922 #define held_by_others(bh) (atomic_read(&(bh)->b_count) > 1)
Dfix_node.c2318 if (atomic_read(&(bh->b_count)) <= 0) in tb_buffer_sanity_check()
/Linux-v5.4/include/linux/
Dbuffer_head.h78 atomic_t b_count; /* users using this buffer_head */ member
283 atomic_inc(&bh->b_count); in get_bh()
289 atomic_dec(&bh->b_count); in put_bh()
/Linux-v5.4/fs/ext2/
Dxattr.c224 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_get()
310 atomic_read(&(bh->b_count)), le32_to_cpu(HDR(bh)->h_refcount)); in ext2_xattr_list()
447 atomic_read(&(bh->b_count)), in ext2_xattr_set()
811 ea_bdebug(bh, "b_count=%d", atomic_read(&(bh->b_count))); in ext2_xattr_delete_inode()
968 atomic_read(&(bh->b_count))); in ext2_xattr_cache_find()
/Linux-v5.4/fs/jbd2/
Dcommit.c69 if (atomic_read(&bh->b_count) != 1) in release_buffer_page()
653 atomic_inc(&jh2bh(jh)->b_count); in jbd2_journal_commit_transaction()
824 J_ASSERT_BH(bh, atomic_read(&bh->b_count) == 0); in jbd2_journal_commit_transaction()
Djournal.c364 atomic_set(&new_bh->b_count, 1); in jbd2_journal_write_metadata_buffer()
2480 (atomic_read(&bh->b_count) > 0) || in jbd2_journal_add_journal_head()
/Linux-v5.4/include/linux/lockd/
Dlockd.h176 struct kref b_count; /* Reference count */ member
/Linux-v5.4/fs/nilfs2/
Dpage.c180 i++, bh, atomic_read(&bh->b_count), in nilfs_page_bug()
/Linux-v5.4/fs/gfs2/
Daops.c794 if (atomic_read(&bh->b_count)) in gfs2_releasepage()
/Linux-v5.4/fs/
Dbuffer.c1141 if (atomic_read(&buf->b_count)) { in __brelse()
3182 WARN_ON(atomic_read(&bh->b_count) < 1); in __sync_dirty_buffer()
3226 return atomic_read(&bh->b_count) | in buffer_busy()
/Linux-v5.4/drivers/s390/net/
Dqeth_core_main.c5134 if (!card->rx.b_count) { in qeth_poll()
5136 card->rx.b_count = qdio_get_next_buffers( in qeth_poll()
5139 if (card->rx.b_count <= 0) { in qeth_poll()
5140 card->rx.b_count = 0; in qeth_poll()
5149 while (card->rx.b_count) { in qeth_poll()
5165 card->rx.b_count--; in qeth_poll()
5166 if (card->rx.b_count) { in qeth_poll()
Dqeth_core.h781 int b_count; member
/Linux-v5.4/fs/ext4/
Dxattr.c533 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()
706 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()
1826 atomic_read(&(bs->bh->b_count)), in ext4_xattr_block_find()
/Linux-v5.4/drivers/net/ethernet/sun/
Dniu.c6876 u32 b_offset, b_count; in niu_get_eeprom() local
6879 b_count = 4 - b_offset; in niu_get_eeprom()
6880 if (b_count > len) in niu_get_eeprom()
6881 b_count = len; in niu_get_eeprom()
6884 memcpy(data, ((char *)&val) + b_offset, b_count); in niu_get_eeprom()
6885 data += b_count; in niu_get_eeprom()
6886 len -= b_count; in niu_get_eeprom()
6887 offset += b_count; in niu_get_eeprom()
/Linux-v5.4/drivers/net/ethernet/broadcom/
Dtg3.c12004 u32 i, offset, len, b_offset, b_count, cpmu_val = 0; in tg3_get_eeprom() local
12032 b_count = 4 - b_offset; in tg3_get_eeprom()
12033 if (b_count > len) { in tg3_get_eeprom()
12035 b_count = len; in tg3_get_eeprom()
12040 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom()
12041 len -= b_count; in tg3_get_eeprom()
12042 offset += b_count; in tg3_get_eeprom()
12043 eeprom->len += b_count; in tg3_get_eeprom()
12071 b_count = len & 3; in tg3_get_eeprom()
12072 b_offset = offset + len - b_count; in tg3_get_eeprom()
[all …]
/Linux-v5.4/mm/
Dmigrate.c765 if (atomic_read(&bh->b_count)) { in __buffer_migrate_page()
/Linux-v5.4/Documentation/virt/uml/
DUserModeLinux-HOWTO.txt3665 b_dev = 15872, b_count = {counter = 1}, b_rdev = 15872, b_state = 24,