Lines Matching refs:rval
52 kern_return_t rval = KERN_FAILURE;
62 rval = KERN_SUCCESS;
66 require_action(itemsize, finish, rval=KERN_INVALID_ARGUMENT);
96 require_action(nitems == 0, finish, rval=KERN_FAILURE);
110 rval = array_init(array, itemsize, nitems);
111 require_noerr(rval, finish);
114 require_action(dstpool, finish, rval=KERN_FAILURE);
126 rval = KERN_SUCCESS;
128 if (rval) kxld_array_deinit(array);
129 return rval;
140 kern_return_t rval = KERN_FAILURE;
143 require_action(itemsize, finish, rval=KERN_INVALID_ARGUMENT);
144 require_action(array->npools < 2, finish, rval=KERN_INVALID_ARGUMENT);
151 finish, rval=KERN_FAILURE);
152 require_action(array->npools == 1, finish, rval=KERN_FAILURE);
158 require_action(pool, finish, rval=KERN_RESOURCE_SHORTAGE);
168 rval = KERN_SUCCESS;
170 return rval;
178 KXLDArrayPool *pool = NULL, *rval = NULL;
187 rval = pool;
192 return rval;
211 kern_return_t rval = KERN_FAILURE;
231 rval = array_init(dstarray, srcarray->itemsize, srcarray->nitems);
232 require_noerr(rval, finish);
235 require_action(dstpool, finish, rval=KERN_FAILURE);
244 rval = KERN_SUCCESS;
246 return rval;
350 kern_return_t rval = KERN_FAILURE;
371 rval = KERN_SUCCESS;
378 rval = KERN_FAILURE;
380 return rval;
388 kern_return_t rval = KERN_FAILURE;
395 require_action(pool, finish, rval=KERN_FAILURE);
404 require_action(nitems == 0, finish, rval=KERN_FAILURE);
406 rval = KERN_SUCCESS;
408 return rval;
444 kern_return_t rval = KERN_FAILURE;
453 rval = KERN_SUCCESS;
461 finish, rval=KERN_NOT_SUPPORTED);
464 require_action(pool, finish, rval=KERN_FAILURE);
482 rval = KERN_SUCCESS;
484 return rval;