Lines Matching refs:rval
158 kern_return_t rval = 0;
168 rval = kmem_alloc(kernel_map, &addr, size);
169 if (!rval) ptr = (void *) addr;
204 kern_return_t rval = 0;
207 rval = kmem_alloc_pageable(kernel_map, &ptr, size);
208 if (rval) ptr = 0;
273 kern_return_t rval = KERN_FAILURE;
295 rval=KERN_FAILURE;
309 rval=KERN_FAILURE;
319 rval = KERN_SUCCESS;
341 rval=KERN_FAILURE;
363 rval=KERN_FAILURE;
373 rval=KERN_FAILURE;
381 rval=KERN_FAILURE;
405 rval=KERN_FAILURE;
410 rval=KERN_FAILURE;
429 rval = KERN_SUCCESS;
432 return rval;
444 kern_return_t rval = KERN_FAILURE;
466 rval=KERN_FAILURE;
480 rval=KERN_FAILURE;
490 rval = KERN_SUCCESS;
511 rval=KERN_FAILURE;
532 rval=KERN_FAILURE;
542 rval=KERN_FAILURE;
550 rval=KERN_FAILURE;
574 rval=KERN_FAILURE;
579 rval=KERN_FAILURE;
598 rval = KERN_SUCCESS;
601 return rval;