Lines Matching defs:data_vio
149 * Dump out the data_vio waiters on a waitq.
155 struct data_vio *data_vio;
160 data_vio = vdo_waiter_as_data_vio(first);
163 wait_on, data_vio, data_vio->allocation.pbn, data_vio->logical.lbn,
164 data_vio->duplicate.pbn, get_data_vio_operation_name(data_vio));
167 data_vio = vdo_waiter_as_data_vio(waiter);
169 data_vio, data_vio->allocation.pbn, data_vio->logical.lbn,
170 data_vio->duplicate.pbn,
171 get_data_vio_operation_name(data_vio));
176 * Encode various attributes of a data_vio as a string of one-character flags. This encoding is for
189 static void encode_vio_dump_flags(struct data_vio *data_vio, char buffer[8])
193 if (data_vio->vio.completion.result != VDO_SUCCESS)
195 if (data_vio->waiter.next_waiter != NULL)
197 if (data_vio->is_duplicate)
199 if (data_vio->is_partial)
201 if (data_vio->is_zero)
203 if (data_vio->remaining_discard > 0)
215 struct data_vio *data_vio = data;
233 vdo_dump_completion_to_buffer(&data_vio->vio.completion,
236 if (data_vio->is_duplicate) {
239 data_vio->allocation.pbn, data_vio->logical.lbn,
240 data_vio->duplicate.pbn);
241 } else if (data_vio_has_allocation(data_vio)) {
244 data_vio->allocation.pbn, data_vio->logical.lbn);
248 data_vio->logical.lbn);
251 if (data_vio->flush_generation != 0) {
254 data_vio->flush_generation);
259 encode_vio_dump_flags(data_vio, flags_dump_buffer);
261 vdo_log_info(" vio %px %s%s %s %s%s", data_vio,
264 get_data_vio_operation_name(data_vio),
272 dump_vio_waiters(&data_vio->logical.waiters, "lbn");