Lines Matching refs:result
53 int result;
55 result = vdo_allocate_extended(struct bio, size + 1, struct bio_vec,
57 if (result != VDO_SUCCESS)
58 return result;
83 int result;
85 result = VDO_ASSERT(block_count <= MAX_BLOCKS_PER_VIO,
88 if (result != VDO_SUCCESS)
89 return result;
91 result = VDO_ASSERT(((vio_type != VIO_TYPE_UNINITIALIZED) && (vio_type != VIO_TYPE_DATA)),
93 if (result != VDO_SUCCESS)
94 return result;
96 result = create_multi_block_bio(block_count, &bio);
97 if (result != VDO_SUCCESS)
98 return result;
124 int result;
132 result = vdo_allocate(1, struct vio, __func__, &vio);
133 if (result != VDO_SUCCESS) {
134 vdo_log_error("metadata vio allocation failure %d", result);
135 return result;
138 result = allocate_vio_components(vdo, vio_type, priority, parent, block_count,
140 if (result != VDO_SUCCESS) {
142 return result;
254 switch (vio->completion.result) {
272 vdo_vlog_strerror(priority, vio->completion.result, VDO_LOGGING_MODULE_NAME,
317 int result;
319 result = vdo_allocate_extended(struct vio_pool, pool_size, struct pooled_vio,
321 if (result != VDO_SUCCESS)
322 return result;
328 result = vdo_allocate(pool_size * VDO_BLOCK_SIZE, char,
330 if (result != VDO_SUCCESS) {
332 return result;
339 result = allocate_vio_components(vdo, vio_type, priority, NULL, 1, ptr,
341 if (result != VDO_SUCCESS) {
343 return result;