Searched refs:b_count (Results 1 – 15 of 15) sorted by relevance
| /linux-6.15/fs/lockd/ |
| H A D | svclock.c | 96 kref_get(&block->b_count); in nlmsvc_insert_block_locked() 165 kref_get(&block->b_count); in nlmsvc_lookup_block() 203 kref_get(&block->b_count); in nlmsvc_find_block() 239 kref_init(&block->b_count); in nlmsvc_create_block() 294 struct nlm_block *block = container_of(kref, struct nlm_block, b_count); in nlmsvc_free_block() 312 kref_put_mutex(&block->b_count, nlmsvc_free_block, &block->b_file->f_mutex); in nlmsvc_release_block() 335 kref_get(&block->b_count); in nlmsvc_traverse_blocks() 850 kref_get(&block->b_count); in nlmsvc_grant_blocked()
|
| /linux-6.15/include/linux/ |
| H A D | buffer_head.h | 78 atomic_t b_count; /* users using this buffer_head */ member 298 atomic_inc(&bh->b_count); in get_bh() 304 atomic_dec(&bh->b_count); in put_bh()
|
| /linux-6.15/fs/ext2/ |
| H 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() 450 atomic_read(&(bh->b_count)), in ext2_xattr_set() 848 ea_bdebug(bh, "b_count=%d", atomic_read(&(bh->b_count))); in ext2_xattr_delete_inode() 967 atomic_read(&(bh->b_count))); in ext2_xattr_cache_find()
|
| /linux-6.15/fs/nilfs2/ |
| H A D | page.c | 180 i++, bh, atomic_read(&bh->b_count), in nilfs_folio_bug() 419 if (atomic_read(&bh->b_count) | buffer_locked(bh)) { in nilfs_clear_folio_dirty()
|
| /linux-6.15/fs/jbd2/ |
| H A D | commit.c | 69 if (atomic_read(&bh->b_count) != 1) in release_buffer_page() 655 atomic_inc(&jh2bh(jh)->b_count); in jbd2_journal_commit_transaction() 822 J_ASSERT_BH(bh, atomic_read(&bh->b_count) == 0); in jbd2_journal_commit_transaction()
|
| H A D | journal.c | 351 atomic_set(&new_bh->b_count, 1); in jbd2_journal_write_metadata_buffer() 2902 (atomic_read(&bh->b_count) > 0) || in jbd2_journal_add_journal_head()
|
| /linux-6.15/include/linux/lockd/ |
| H A D | lockd.h | 176 struct kref b_count; /* Reference count */ member
|
| /linux-6.15/fs/gfs2/ |
| H A D | aops.c | 670 if (atomic_read(&bh->b_count)) in gfs2_release_folio()
|
| /linux-6.15/fs/ |
| H A D | buffer.c | 1239 if (atomic_read(&bh->b_count)) { in __brelse() 2860 WARN_ON(atomic_read(&bh->b_count) < 1); in __sync_dirty_buffer() 2893 return atomic_read(&bh->b_count) | in buffer_busy()
|
| /linux-6.15/drivers/s390/net/ |
| H A D | qeth_core.h | 783 int b_count; member
|
| H A D | qeth_core_main.c | 5780 if (!card->rx.b_count) { in qeth_rx_poll() 5782 card->rx.b_count = in qeth_rx_poll() 5786 if (card->rx.b_count <= 0) { in qeth_rx_poll() 5787 card->rx.b_count = 0; in qeth_rx_poll() 5809 card->rx.b_count--; in qeth_rx_poll()
|
| /linux-6.15/fs/ext4/ |
| H A D | xattr.c | 592 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get() 761 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list() 1867 atomic_read(&(bs->bh->b_count)), in ext4_xattr_block_find()
|
| /linux-6.15/drivers/net/ethernet/sun/ |
| H A D | niu.c | 6898 u32 b_offset, b_count; in niu_get_eeprom() local 6901 b_count = 4 - b_offset; in niu_get_eeprom() 6902 if (b_count > len) in niu_get_eeprom() 6903 b_count = len; in niu_get_eeprom() 6906 memcpy(data, ((char *)&val) + b_offset, b_count); in niu_get_eeprom() 6907 data += b_count; in niu_get_eeprom() 6908 len -= b_count; in niu_get_eeprom() 6909 offset += b_count; in niu_get_eeprom()
|
| /linux-6.15/drivers/net/ethernet/broadcom/ |
| H A D | tg3.c | 12159 b_count = 4 - b_offset; in tg3_get_eeprom() 12160 if (b_count > len) { in tg3_get_eeprom() 12162 b_count = len; in tg3_get_eeprom() 12167 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom() 12168 len -= b_count; in tg3_get_eeprom() 12169 offset += b_count; in tg3_get_eeprom() 12170 eeprom->len += b_count; in tg3_get_eeprom() 12198 b_count = len & 3; in tg3_get_eeprom() 12199 b_offset = offset + len - b_count; in tg3_get_eeprom() 12203 memcpy(pd, &val, b_count); in tg3_get_eeprom() [all …]
|
| /linux-6.15/mm/ |
| H A D | migrate.c | 858 if (atomic_read(&bh->b_count)) { in __buffer_migrate_folio()
|