Searched refs:b_count (Results 1 – 10 of 10) sorted by relevance
| /linux/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() 865 kref_get(&block->b_count); in nlmsvc_grant_blocked()
|
| /linux/include/linux/ |
| H A D | buffer_head.h | 78 atomic_t b_count; /* users using this buffer_head */ member 296 atomic_inc(&bh->b_count); in get_bh() 302 atomic_dec(&bh->b_count); in put_bh()
|
| /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()
|
| /linux/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/include/linux/lockd/ |
| H A D | lockd.h | 177 struct kref b_count; /* Reference count */ member
|
| /linux/fs/ |
| H A D | buffer.c | 1233 if (atomic_read(&bh->b_count)) { in __brelse() 2853 WARN_ON(atomic_read(&bh->b_count) < 1); in __sync_dirty_buffer() 2886 return atomic_read(&bh->b_count) | in buffer_busy()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_core.h | 783 int b_count; member
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | niu.c | 6915 u32 b_offset, b_count; in niu_get_eeprom() local 6918 b_count = 4 - b_offset; in niu_get_eeprom() 6919 if (b_count > len) in niu_get_eeprom() 6920 b_count = len; in niu_get_eeprom() 6923 memcpy(data, ((char *)&val) + b_offset, b_count); in niu_get_eeprom() 6924 data += b_count; in niu_get_eeprom() 6925 len -= b_count; in niu_get_eeprom() 6926 offset += b_count; in niu_get_eeprom()
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | tg3.c | 12109 u32 i, offset, len, b_offset, b_count, cpmu_val = 0; in tg3_get_eeprom() local 12137 b_count = 4 - b_offset; in tg3_get_eeprom() 12138 if (b_count > len) { in tg3_get_eeprom() 12140 b_count = len; in tg3_get_eeprom() 12145 memcpy(data, ((char *)&val) + b_offset, b_count); in tg3_get_eeprom() 12146 len -= b_count; in tg3_get_eeprom() 12147 offset += b_count; in tg3_get_eeprom() 12148 eeprom->len += b_count; in tg3_get_eeprom() 12176 b_count = len & 3; in tg3_get_eeprom() 12177 b_offset = offset + len - b_count; in tg3_get_eeprom() [all …]
|
| /linux/mm/ |
| H A D | migrate.c | 964 if (atomic_read(&bh->b_count)) { in __buffer_migrate_folio()
|