Lines Matching refs:to_buffer
328 static struct dm_buffer *to_buffer(struct dm_block *b) in to_buffer() function
335 return dm_bufio_get_block_number(to_buffer(b)); in dm_block_location()
341 return dm_bufio_get_block_data(to_buffer(b)); in dm_block_data()
467 aux = dm_bufio_get_aux_data(to_buffer(*result)); in dm_bm_read_lock()
470 dm_bufio_release(to_buffer(*result)); in dm_bm_read_lock()
477 r = dm_bm_validate_buffer(bm, to_buffer(*result), aux, v); in dm_bm_read_lock()
480 dm_bufio_release(to_buffer(*result)); in dm_bm_read_lock()
503 aux = dm_bufio_get_aux_data(to_buffer(*result)); in dm_bm_write_lock()
506 dm_bufio_release(to_buffer(*result)); in dm_bm_write_lock()
513 r = dm_bm_validate_buffer(bm, to_buffer(*result), aux, v); in dm_bm_write_lock()
516 dm_bufio_release(to_buffer(*result)); in dm_bm_write_lock()
538 aux = dm_bufio_get_aux_data(to_buffer(*result)); in dm_bm_read_try_lock()
541 dm_bufio_release(to_buffer(*result)); in dm_bm_read_try_lock()
547 r = dm_bm_validate_buffer(bm, to_buffer(*result), aux, v); in dm_bm_read_try_lock()
550 dm_bufio_release(to_buffer(*result)); in dm_bm_read_try_lock()
574 aux = dm_bufio_get_aux_data(to_buffer(*result)); in dm_bm_write_lock_zero()
577 dm_bufio_release(to_buffer(*result)); in dm_bm_write_lock_zero()
591 aux = dm_bufio_get_aux_data(to_buffer(b)); in dm_bm_unlock()
594 dm_bufio_mark_buffer_dirty(to_buffer(b)); in dm_bm_unlock()
599 dm_bufio_release(to_buffer(b)); in dm_bm_unlock()