/openbmc/linux/fs/lockd/ |
H A D | svclock.c | 98 kref_get(&block->b_count); in nlmsvc_insert_block_locked() 166 kref_get(&block->b_count); in nlmsvc_lookup_block() 204 kref_get(&block->b_count); in nlmsvc_find_block() 240 kref_init(&block->b_count); in nlmsvc_create_block() 295 struct nlm_block *block = container_of(kref, struct nlm_block, b_count); in nlmsvc_free_block() 313 kref_put_mutex(&block->b_count, nlmsvc_free_block, &block->b_file->f_mutex); in nlmsvc_release_block() 336 kref_get(&block->b_count); in nlmsvc_traverse_blocks() 838 kref_get(&block->b_count); in nlmsvc_grant_blocked()
|
/openbmc/linux/fs/reiserfs/ |
H 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()
|
H A D | journal.c | 1515 if (atomic_read(&saved_bh->b_count) < 0) { in flush_journal_list() 3467 if (atomic_read(&bh->b_count) < 0) { in remove_from_transaction() 3811 (&cn->bh->b_count) < 0) { in journal_mark_freed()
|
H A D | bitmap.c | 1445 BUG_ON(atomic_read(&bh->b_count) == 0); in reiserfs_read_bitmap_block()
|
H A D | fix_node.c | 2319 if (atomic_read(&(bh->b_count)) <= 0) in tb_buffer_sanity_check()
|
/openbmc/linux/include/linux/ |
H A D | buffer_head.h | 77 atomic_t b_count; /* users using this buffer_head */ member 302 atomic_inc(&bh->b_count); in get_bh() 308 atomic_dec(&bh->b_count); in put_bh()
|
/openbmc/linux/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()
|
/openbmc/linux/fs/jbd2/ |
H A D | commit.c | 69 if (atomic_read(&bh->b_count) != 1) in release_buffer_page() 656 atomic_inc(&jh2bh(jh)->b_count); in jbd2_journal_commit_transaction() 829 J_ASSERT_BH(bh, atomic_read(&bh->b_count) == 0); in jbd2_journal_commit_transaction()
|
H A D | journal.c | 355 atomic_set(&new_bh->b_count, 1); in jbd2_journal_write_metadata_buffer() 2956 (atomic_read(&bh->b_count) > 0) || in jbd2_journal_add_journal_head()
|
/openbmc/linux/include/linux/lockd/ |
H A D | lockd.h | 176 struct kref b_count; /* Reference count */ member
|
/openbmc/linux/fs/nilfs2/ |
H A D | page.c | 180 i++, bh, atomic_read(&bh->b_count), in nilfs_page_bug()
|
/openbmc/linux/fs/gfs2/ |
H A D | aops.c | 705 if (atomic_read(&bh->b_count)) in gfs2_release_folio()
|
/openbmc/linux/fs/ |
H A D | buffer.c | 1243 if (atomic_read(&buf->b_count)) { in __brelse() 2859 WARN_ON(atomic_read(&bh->b_count) < 1); in __sync_dirty_buffer() 2912 return atomic_read(&bh->b_count) | in buffer_busy()
|
/openbmc/linux/fs/ext4/ |
H A D | xattr.c | 595 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get() 767 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list() 1875 atomic_read(&(bs->bh->b_count)), in ext4_xattr_block_find()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 12024 u32 i, offset, len, b_offset, b_count, cpmu_val = 0; in tg3_get_eeprom() local 12052 b_count = 4 - b_offset; in tg3_get_eeprom() 12053 if (b_count > len) { in tg3_get_eeprom() 12055 b_count = len; in tg3_get_eeprom() 12060 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom() 12061 len -= b_count; in tg3_get_eeprom() 12062 offset += b_count; in tg3_get_eeprom() 12063 eeprom->len += b_count; in tg3_get_eeprom() 12091 b_count = len & 3; in tg3_get_eeprom() 12092 b_offset = offset + len - b_count; in tg3_get_eeprom() [all …]
|
/openbmc/linux/mm/ |
H A D | migrate.c | 760 if (atomic_read(&bh->b_count)) { in __buffer_migrate_folio()
|