/linux-6.3-rc2/fs/lockd/ |
A D | svclock.c | 98 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() 827 kref_get(&block->b_count); in nlmsvc_grant_blocked()
|
/linux-6.3-rc2/fs/reiserfs/ |
A D | prints.c | 161 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()
|
A D | journal.c | 1515 if (atomic_read(&saved_bh->b_count) < 0) { in flush_journal_list() 3462 if (atomic_read(&bh->b_count) < 0) { in remove_from_transaction() 3806 (&cn->bh->b_count) < 0) { in journal_mark_freed()
|
A D | bitmap.c | 1445 BUG_ON(atomic_read(&bh->b_count) == 0); in reiserfs_read_bitmap_block()
|
A D | fix_node.c | 2318 if (atomic_read(&(bh->b_count)) <= 0) in tb_buffer_sanity_check()
|
/linux-6.3-rc2/include/linux/ |
A D | buffer_head.h | 79 atomic_t b_count; /* users using this buffer_head */ member 317 atomic_inc(&bh->b_count); in get_bh() 323 atomic_dec(&bh->b_count); in put_bh()
|
/linux-6.3-rc2/fs/ext2/ |
A D | xattr.c | 225 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() 847 ea_bdebug(bh, "b_count=%d", atomic_read(&(bh->b_count))); in ext2_xattr_delete_inode() 966 atomic_read(&(bh->b_count))); in ext2_xattr_cache_find()
|
/linux-6.3-rc2/fs/jbd2/ |
A D | commit.c | 69 if (atomic_read(&bh->b_count) != 1) in release_buffer_page() 660 atomic_inc(&jh2bh(jh)->b_count); in jbd2_journal_commit_transaction() 831 J_ASSERT_BH(bh, atomic_read(&bh->b_count) == 0); in jbd2_journal_commit_transaction()
|
A D | journal.c | 363 atomic_set(&new_bh->b_count, 1); in jbd2_journal_write_metadata_buffer() 2942 (atomic_read(&bh->b_count) > 0) || in jbd2_journal_add_journal_head()
|
/linux-6.3-rc2/include/linux/lockd/ |
A D | lockd.h | 177 struct kref b_count; /* Reference count */ member
|
/linux-6.3-rc2/fs/nilfs2/ |
A D | page.c | 179 i++, bh, atomic_read(&bh->b_count), in nilfs_page_bug()
|
/linux-6.3-rc2/fs/gfs2/ |
A D | aops.c | 707 if (atomic_read(&bh->b_count)) in gfs2_release_folio()
|
/linux-6.3-rc2/fs/ |
A D | buffer.c | 1184 if (atomic_read(&buf->b_count)) { in __brelse() 2779 WARN_ON(atomic_read(&bh->b_count) < 1); in __sync_dirty_buffer() 2832 return atomic_read(&bh->b_count) | in buffer_busy()
|
/linux-6.3-rc2/drivers/s390/net/ |
A D | qeth_core.h | 784 int b_count; member
|
A D | qeth_core_main.c | 5755 if (!card->rx.b_count) { in qeth_rx_poll() 5757 card->rx.b_count = in qeth_rx_poll() 5761 if (card->rx.b_count <= 0) { in qeth_rx_poll() 5762 card->rx.b_count = 0; in qeth_rx_poll() 5784 card->rx.b_count--; in qeth_rx_poll()
|
/linux-6.3-rc2/fs/ext4/ |
A D | xattr.c | 611 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get() 784 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list() 1903 atomic_read(&(bs->bh->b_count)), in ext4_xattr_block_find()
|
/linux-6.3-rc2/drivers/net/ethernet/sun/ |
A D | niu.c | 6892 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-6.3-rc2/drivers/net/ethernet/broadcom/ |
A D | tg3.c | 12008 b_count = 4 - b_offset; in tg3_get_eeprom() 12009 if (b_count > len) { in tg3_get_eeprom() 12011 b_count = len; in tg3_get_eeprom() 12016 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom() 12017 len -= b_count; in tg3_get_eeprom() 12018 offset += b_count; in tg3_get_eeprom() 12019 eeprom->len += b_count; in tg3_get_eeprom() 12047 b_count = len & 3; in tg3_get_eeprom() 12048 b_offset = offset + len - b_count; in tg3_get_eeprom() 12052 memcpy(pd, &val, b_count); in tg3_get_eeprom() [all …]
|
/linux-6.3-rc2/mm/ |
A D | migrate.c | 763 if (atomic_read(&bh->b_count)) { in __buffer_migrate_folio()
|