Lines Matching refs:retval
374 int retval; in wsbmBOMap() local
376 retval = storage->pool->map(storage, mode, &virtual); in wsbmBOMap()
378 return (retval == 0) ? virtual : NULL; in wsbmBOMap()
490 int retval = 0; in wsbmBOData() local
524 retval = 0; in wsbmBOData()
531 retval = -ENOMEM; in wsbmBOData()
556 retval = curPool->syncforcpu(storage, WSBM_SYNCCPU_WRITE); in wsbmBOData()
557 if (retval) in wsbmBOData()
576 retval = curPool->setStatus(storage, in wsbmBOData()
579 if (retval) in wsbmBOData()
587 retval = curPool->syncforcpu(buf->storage, WSBM_SYNCCPU_WRITE); in wsbmBOData()
589 if (retval) in wsbmBOData()
598 retval = curPool->map(storage, WSBM_ACCESS_WRITE, &virtual); in wsbmBOData()
599 if (retval) in wsbmBOData()
610 return retval; in wsbmBOData()
619 int retval = 0; in wsbmBODataUB() local
657 retval = 0; in wsbmBODataUB()
664 retval = -ENOMEM; in wsbmBODataUB()
691 retval = curPool->syncforcpu(storage, WSBM_SYNCCPU_WRITE); in wsbmBODataUB()
692 if (retval) in wsbmBODataUB()
712 retval = curPool->setStatus(storage, in wsbmBODataUB()
715 if (retval) in wsbmBODataUB()
722 retval = curPool->syncforcpu(buf->storage, WSBM_SYNCCPU_WRITE); in wsbmBODataUB()
723 if (retval) in wsbmBODataUB()
740 return retval; in wsbmBODataUB()