Lines Matching defs:ret
221 int ret = 0;
255 ret = lzo1x_1_compress(data_in +
260 if (ret < 0) {
261 pr_debug("BTRFS: lzo in loop returned %d\n", ret);
262 ret = -EIO;
266 ret = copy_compressed_data_to_page(workspace->cbuf, out_len,
269 if (ret < 0)
279 ret = -E2BIG;
295 ret = 0;
302 return ret;
336 int ret;
399 ret = lzo1x_decompress_safe(workspace->cbuf, seg_len,
401 if (ret != LZO_E_OK) {
407 ret = btrfs_decompress_buf2page(workspace->buf, out_len, cb, cur_out);
411 if (ret == 0)
413 ret = 0;
435 int ret = 0;
449 ret = -EUCLEAN;
455 ret = lzo1x_decompress_safe(data_in, in_len, workspace->buf, &out_len);
456 if (ret != LZO_E_OK) {
458 ret = -EIO;
463 ret = -EIO;
486 return ret;