Lines Matching refs:rval
80 kern_return_t rval = KERN_FAILURE;
93 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), src->nsects);
94 require_noerr(rval, finish);
96 rval = KERN_SUCCESS;
99 return rval;
109 kern_return_t rval = KERN_FAILURE;
122 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), src->nsects);
123 require_noerr(rval, finish);
125 rval = KERN_SUCCESS;
128 return rval;
138 kern_return_t rval = KERN_FAILURE;
146 rval = kxld_array_init(segarray, sizeof(KXLDSeg), 1);
147 require_noerr(rval, finish);
158 rval = kxld_array_init(&seg->sects, sizeof(KXLDSect *), sectarray->nitems);
159 require_noerr(rval, finish);
168 rval = KERN_SUCCESS;
170 return rval;
179 kern_return_t rval = KERN_FAILURE;
187 require_action(segarray->nitems == 1, finish, rval=KERN_FAILURE);
193 rval = reorder_sections(seg, section_order);
194 require_noerr(rval, finish);
214 rval = KERN_SUCCESS;
216 return rval;
268 kern_return_t rval = KERN_FAILURE;
287 require_action(reorder_buffer, finish, rval=KERN_RESOURCE_SHORTAGE);
379 rval = KERN_SUCCESS;
388 return rval;
413 kern_return_t rval = KERN_FAILURE;
417 rval = kxld_array_resize(segs, 2);
418 require_noerr(rval, finish);
428 rval = KERN_SUCCESS;
431 return rval;
537 kern_return_t rval = KERN_FAILURE;
553 KXLD_3264_FUNC(is_32_bit, rval,
556 require_noerr(rval, finish);
563 rval = kxld_sect_export_macho_to_file_buffer(sect, buf, header_offset,
565 require_noerr(rval, finish);
578 rval = KERN_SUCCESS;
581 return rval;
593 kern_return_t rval = KERN_FAILURE;
604 KXLD_3264_FUNC(is_32_bit, rval,
607 require_noerr(rval, finish);
614 rval = kxld_sect_export_macho_to_vm(sect, buf, header_offset,
616 require_noerr(rval, finish);
619 rval = KERN_SUCCESS;
622 return rval;
632 kern_return_t rval = KERN_FAILURE;
640 rval=KERN_FAILURE);
658 rval = KERN_SUCCESS;
661 return rval;
672 kern_return_t rval = KERN_FAILURE;
680 rval=KERN_FAILURE);
698 rval = KERN_SUCCESS;
701 return rval;
710 kern_return_t rval = KERN_FAILURE;
717 finish, rval=KERN_FAILURE);
728 require_action(i < seg->sects.nitems, finish, rval=KERN_FAILURE);
730 rval = KERN_SUCCESS;
734 return rval;
742 kern_return_t rval = KERN_FAILURE;
751 require_action(sect, finish, rval=KERN_FAILURE);
764 rval = KERN_SUCCESS;
767 return rval;