Lines Matching refs:hold_count
142 unsigned hold_count; member
657 BUG_ON(b->hold_count); in __make_buffer_clean()
679 if (!b->hold_count) { in __get_unclaimed_buffer()
690 if (!b->hold_count) { in __get_unclaimed_buffer()
936 b->hold_count = 1; in __bufio_new()
964 b->hold_count++; in __bufio_new()
1092 BUG_ON(!b->hold_count); in dm_bufio_release()
1094 b->hold_count--; in dm_bufio_release()
1095 if (!b->hold_count) { in dm_bufio_release()
1169 b->hold_count++; in dm_bufio_write_dirty_buffers()
1175 b->hold_count--; in dm_bufio_write_dirty_buffers()
1264 if (new->hold_count) { in dm_bufio_release_move()
1278 BUG_ON(!b->hold_count); in dm_bufio_release_move()
1282 if (b->hold_count == 1) { in dm_bufio_release_move()
1371 (unsigned long long)b->block, b->hold_count, i); in drop_buffers()
1398 if (b->hold_count) in __cleanup_old_buffer()