Lines Matching defs:res
148 int res;
168 res = -EIO;
171 res = squashfs_bio_read(sb, index, 2, &bio, &offset);
172 if (res)
176 res = -EIO;
186 res = -EIO;
204 res = -EIO;
211 res = squashfs_bio_read(sb, index, length, &bio, &offset);
212 if (res)
217 res = -EIO;
220 res = squashfs_decompress(msblk, bio, offset, length, output);
222 res = copy_bio_to_actor(bio, output, offset, length);
229 if (res < 0)
230 ERROR("Failed to read block 0x%llx: %d\n", index, res);
232 return res;