Lines Matching refs:result
261 int result = fd->vtab->read_block(fd->cookie, block, fd->block_data, fetch_size); in fetch_block() local
262 if (result < 0) return result; in fetch_block()
299 int result; in handle_read() local
324 result = fetch_block(fd, block); in handle_read()
325 if (result != 0) return result; in handle_read()
354 result = fetch_block(fd, block+1); in handle_read()
355 if (result != 0) return result; in handle_read()
370 int result; in run_fuse_sideload() local
395 result = -1; in run_fuse_sideload()
403 result = -1; in run_fuse_sideload()
414 result = -1; in run_fuse_sideload()
420 result = -1; in run_fuse_sideload()
427 result = -1; in run_fuse_sideload()
437 result = mount("/dev/fuse", FUSE_SIDELOAD_HOST_MOUNTPOINT, in run_fuse_sideload()
439 if (result < 0) { in run_fuse_sideload()
449 result = -1; in run_fuse_sideload()
463 result = -ENOSYS; in run_fuse_sideload()
467 result = handle_init(data, &fd, hdr); in run_fuse_sideload()
471 result = handle_lookup(data, &fd, hdr); in run_fuse_sideload()
475 result = handle_getattr(data, &fd, hdr); in run_fuse_sideload()
479 result = handle_open(data, &fd, hdr); in run_fuse_sideload()
483 result = handle_read(data, &fd, hdr); in run_fuse_sideload()
487 result = handle_flush(data, &fd, hdr); in run_fuse_sideload()
491 result = handle_release(data, &fd, hdr); in run_fuse_sideload()
499 if (result == NO_STATUS_EXIT) { in run_fuse_sideload()
500 result = 0; in run_fuse_sideload()
504 if (result != NO_STATUS) { in run_fuse_sideload()
507 outhdr.error = result; in run_fuse_sideload()
516 result = umount2(FUSE_SIDELOAD_HOST_MOUNTPOINT, MNT_DETACH); in run_fuse_sideload()
517 if (result < 0) { in run_fuse_sideload()
526 return result; in run_fuse_sideload()