Lines Matching refs:result
264 int result = fd->vtab->read_block(fd->cookie, block, fd->block_data, fetch_size); in fetch_block() local
265 if (result < 0) return result; in fetch_block()
302 int result; in handle_read() local
327 result = fetch_block(fd, block); in handle_read()
328 if (result != 0) return result; in handle_read()
357 result = fetch_block(fd, block+1); in handle_read()
358 if (result != 0) return result; in handle_read()
393 int result; in run_fuse_sideload() local
396 result = -1; in run_fuse_sideload()
404 result = -1; in run_fuse_sideload()
415 result = -1; in run_fuse_sideload()
421 result = -1; in run_fuse_sideload()
428 result = -1; in run_fuse_sideload()
437 result = mount("/dev/fuse", FUSE_SIDELOAD_HOST_MOUNTPOINT, "fuse", in run_fuse_sideload()
439 if (result < 0) { in run_fuse_sideload()
451 result = -1; in run_fuse_sideload()
465 result = -ENOSYS; in run_fuse_sideload()
469 result = handle_init(data, &fd, hdr); in run_fuse_sideload()
473 result = handle_lookup(data, &fd, hdr); in run_fuse_sideload()
477 result = handle_getattr(data, &fd, hdr); in run_fuse_sideload()
481 result = handle_open(data, &fd, hdr); in run_fuse_sideload()
485 result = handle_read(data, &fd, hdr); in run_fuse_sideload()
489 result = handle_flush(data, &fd, hdr); in run_fuse_sideload()
493 result = handle_release(data, &fd, hdr); in run_fuse_sideload()
501 if (result == NO_STATUS_EXIT) { in run_fuse_sideload()
502 result = 0; in run_fuse_sideload()
506 if (result != NO_STATUS) { in run_fuse_sideload()
509 outhdr.error = result; in run_fuse_sideload()
518 result = umount2(FUSE_SIDELOAD_HOST_MOUNTPOINT, MNT_DETACH); in run_fuse_sideload()
519 if (result < 0) { in run_fuse_sideload()
528 return result; in run_fuse_sideload()