Lines Matching refs:result

507 	int							result;
514 result = 0;
524 result = copyin( uap->aiocbp, &aiocb64, sizeof(aiocb64) );
525 if (result == 0 )
531 result = copyin( uap->aiocbp, &aiocb32, sizeof(aiocb32) );
532 if ( result == 0 )
536 if ( result != 0 ) {
537 result = EAGAIN;
546 result = EBADF;
552 result = do_aio_cancel_locked( p, uap->fd, uap->aiocbp, 0, FALSE );
556 if ( result != -1 ) {
557 *retval = result;
558 result = 0;
562 result = EBADF;
566 (int)p, (int)uap->aiocbp, result, 0, 0 );
568 return( result );
987 int result;
989 result = -1;
1013 result = AIO_CANCELED;
1023 return( result );
1033 * so resetting the result will not cause us to return success
1037 result = -1; /* As if beginning anew */
1043 result = AIO_NOTCANCELED;
1052 return( result );
1061 * return AIO_ALLDONE result.
1065 if ( result == -1 ) {
1069 result = AIO_ALLDONE;
1074 return( result );
1080 return( result );
1266 int i, result;
1274 result = copyin( aiocblist, aiocbpp,
1277 if ( result) {
1306 int result = 0;
1324 result = copyin( sigp, &sigevent64, sizeof(sigevent64) );
1325 if ( result == 0 ) {
1336 result = copyin( sigp, &sigevent32, sizeof(sigevent32) );
1337 if ( result == 0 ) {
1346 if ( result != 0 ) {
1347 result = EAGAIN;
1351 return (result);
1460 int result;
1553 result = lio_create_entry( p, my_aiocbp, lio_context, (entryp_listp + i) );
1554 if ( result != 0 && call_result == -1 )
1555 call_result = result;
1606 result = msleep(lio_context, aio_proc_mutex(p), PCATCH | PRIBIO | PSPIN, "lio_listio", 0);
1609 if (result != 0) {
1855 int result = 0;
1859 result = EAGAIN;
1876 result = copyin( aiocbp, &aiocb64, sizeof(aiocb64) );
1877 if (result == 0 )
1883 result = copyin( aiocbp, &aiocb32, sizeof(aiocb32) );
1884 if ( result == 0 )
1888 if ( result != 0 ) {
1889 result = EAGAIN;
1898 result = aio_validate( entryp );
1901 if ( result && entryp != NULL ) {
1920 int result;
1925 result = EAGAIN;
1931 result = EAGAIN;
1939 result = EAGAIN;
1946 result = EAGAIN;
1972 return( result );
2010 int result;
2014 result = EAGAIN;
2023 result = 0;
2040 return( result );
2078 int result;
2080 result = 0;
2140 result = fp_lookup( entryp->procp, entryp->aiocb.aio_fildes, &fp , 1);
2141 if ( result == 0 ) {
2144 result = EBADF;
2148 result = ESPIPE;
2155 result = EBADF;
2160 return( result );
2516 boolean_t result;
2518 result = FALSE;
2523 result = TRUE;
2531 result = TRUE;
2537 return( result );