Lines Matching refs:retval
98 OSStatus retval = E_NONE;
122 retval = buf_meta_bread(vp, (daddr64_t)blockNum, block->blockSize, NOCRED, &bp);
125 retval = -1; //XXX need better error
127 if (retval == E_NONE) {
150 retval = hfs_swap_BTNode (block, vp, kSwapBTNodeHeaderRecordOnly, allow_empty_node);
162 retval = hfs_swap_BTNode (block, vp, kSwapBTNodeBigToHost, allow_empty_node);
174 retval = hfs_swap_BTNode (block, vp, kSwapBTNodeBigToHost, allow_empty_node);
179 * anything here, because the node is ready to use. Set retval == 0.
181 retval = 0;
198 if (retval)
203 if (retval) {
210 return (retval);
237 int retval;
253 retval = hfs_swap_BTNode (&block, vp, kSwapBTNodeHostToBig, true);
254 if (retval)
269 OSStatus retval = E_NONE;
275 retval = -1;
298 retval = btree_journal_modify_block_end(hfsmp, bp);
301 retval = VNOP_BWRITE(bp);
337 retval = btree_journal_modify_block_end(hfsmp, bp);
374 return (retval);
382 OSStatus retval = 0, ret = 0;
448 retval = ExtendFileC(vcb, filePtr, bytesToAdd, 0,
451 if (retval == dskFulErr && actualBytesAdded == 0) {
460 } while (retval == dskFulErr && actualBytesAdded == 0);
462 if (retval == dskFulErr && actualBytesAdded == 0 && bytesToAdd <= btInfo.nodeSize) {
475 if ((retval == 0) &&
486 // the case, we don't care about retval so we blow it away.
488 if (filePtr->fcbEOF >= (off_t)minEOF && retval != 0) {
489 retval = 0;
501 retval = dskFulErr;
563 if (retval == 0)
564 retval = ret;
569 return retval;