Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/lockd/
H A 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()
811 kref_get(&block->b_count); in nlmsvc_grant_blocked()
/OK3568_Linux_fs/kernel/fs/reiserfs/
H A 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()
H A Djournal.c1514 if (atomic_read(&saved_bh->b_count) < 0) { in flush_journal_list()
3460 if (atomic_read(&bh->b_count) < 0) { in remove_from_transaction()
3804 (&cn->bh->b_count) < 0) { in journal_mark_freed()
H A Dbitmap.c1445 BUG_ON(atomic_read(&bh->b_count) == 0); in reiserfs_read_bitmap_block()
H A Dfix_node.c2318 if (atomic_read(&(bh->b_count)) <= 0) in tb_buffer_sanity_check()
/OK3568_Linux_fs/kernel/include/linux/
H A Dbuffer_head.h75 atomic_t b_count; /* users using this buffer_head */ member
313 atomic_inc(&bh->b_count); in get_bh()
319 atomic_dec(&bh->b_count); in put_bh()
/OK3568_Linux_fs/kernel/fs/ext2/
H A 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()
/OK3568_Linux_fs/kernel/fs/jbd2/
H A Dcommit.c69 if (atomic_read(&bh->b_count) != 1) in release_buffer_page()
703 atomic_inc(&jh2bh(jh)->b_count); in jbd2_journal_commit_transaction()
874 J_ASSERT_BH(bh, atomic_read(&bh->b_count) == 0); in jbd2_journal_commit_transaction()
H A Djournal.c367 atomic_set(&new_bh->b_count, 1); in jbd2_journal_write_metadata_buffer()
2765 (atomic_read(&bh->b_count) > 0) || in jbd2_journal_add_journal_head()
/OK3568_Linux_fs/kernel/include/linux/lockd/
H A Dlockd.h174 struct kref b_count; /* Reference count */ member
/OK3568_Linux_fs/kernel/fs/nilfs2/
H A Dpage.c179 i++, bh, atomic_read(&bh->b_count), in nilfs_page_bug()
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Daops.c747 if (atomic_read(&bh->b_count)) in gfs2_releasepage()
/OK3568_Linux_fs/kernel/fs/
H A Dbuffer.c1173 if (atomic_read(&buf->b_count)) { in __brelse()
3169 WARN_ON(atomic_read(&bh->b_count) < 1); in __sync_dirty_buffer()
3222 return atomic_read(&bh->b_count) | in buffer_busy()
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dxattr.c535 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_get()
708 atomic_read(&(bh->b_count)), le32_to_cpu(BHDR(bh)->h_refcount)); in ext4_xattr_block_list()
1815 atomic_read(&(bs->bh->b_count)), in ext4_xattr_block_find()
/OK3568_Linux_fs/kernel/drivers/s390/net/
H A Dqeth_core.h793 int b_count; member
H A Dqeth_core_main.c5760 if (!card->rx.b_count) { in qeth_rx_poll()
5762 card->rx.b_count = qdio_get_next_buffers( in qeth_rx_poll()
5765 if (card->rx.b_count <= 0) { in qeth_rx_poll()
5766 card->rx.b_count = 0; in qeth_rx_poll()
5788 card->rx.b_count--; in qeth_rx_poll()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sun/
H A Dniu.c6874 u32 b_offset, b_count; in niu_get_eeprom() local
6877 b_count = 4 - b_offset; in niu_get_eeprom()
6878 if (b_count > len) in niu_get_eeprom()
6879 b_count = len; in niu_get_eeprom()
6882 memcpy(data, ((char *)&val) + b_offset, b_count); in niu_get_eeprom()
6883 data += b_count; in niu_get_eeprom()
6884 len -= b_count; in niu_get_eeprom()
6885 offset += b_count; in niu_get_eeprom()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/
H A Dtg3.c12003 u32 i, offset, len, b_offset, b_count, cpmu_val = 0; in tg3_get_eeprom() local
12031 b_count = 4 - b_offset; in tg3_get_eeprom()
12032 if (b_count > len) { in tg3_get_eeprom()
12034 b_count = len; in tg3_get_eeprom()
12039 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom()
12040 len -= b_count; in tg3_get_eeprom()
12041 offset += b_count; in tg3_get_eeprom()
12042 eeprom->len += b_count; in tg3_get_eeprom()
12070 b_count = len & 3; in tg3_get_eeprom()
12071 b_offset = offset + len - b_count; in tg3_get_eeprom()
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dmigrate.c770 if (atomic_read(&bh->b_count)) { in __buffer_migrate_page()