Lines Matching refs:KERN_SUCCESS
145 if (ret != KERN_SUCCESS) return (NULL); /* Return NULL for failed allocate */
174 if (ret != KERN_SUCCESS) goto fail; /* Allocation failed, exit through cleanup */
266 return KERN_SUCCESS;
587 if (ret != KERN_SUCCESS) /* The wire failed, return the code */
595 if (ret != KERN_SUCCESS) { /* Did we find an address? */
651 save->save_r3 = KERN_SUCCESS; /* Hip, hip, horay... */
751 return KERN_SUCCESS; /* Leave... */
781 return KERN_SUCCESS;
805 ** KERN_SUCCESS if vm is valid and initialized. KERN_FAILURE if not.
814 kern_return_t result = KERN_SUCCESS; /* Assume success */
849 kern_return_t result = KERN_SUCCESS; /* Assume success */
918 if(ret != KERN_SUCCESS) { /* Did it go away? */
1018 if (ret != KERN_SUCCESS)
1062 if (ret != KERN_SUCCESS) return KERN_FAILURE; /* There isn't a page there, return... */
1084 return KERN_SUCCESS;
1104 ** non-KERN_SUCCESS return from vmm_map_page or later during the
1134 if(ret == KERN_SUCCESS) {
1183 if(!cnt) return KERN_SUCCESS; /* If they said none, we're done... */
1205 if(ret != KERN_SUCCESS) /* Bail if any error */
1209 return KERN_SUCCESS;
1298 return (KERN_SUCCESS); /* Always returns success */
1302 return ((nadd & 1) ? KERN_FAILURE : KERN_SUCCESS); /* Return... */
1331 kern_return_t kern_result = KERN_SUCCESS;
1350 kern_result = KERN_SUCCESS;
1524 return KERN_SUCCESS; /* Ok, return... */
1537 return KERN_SUCCESS; /* Return */
1554 ** non-KERN_SUCCESS return from vmm_map_page or later during the
1581 if(ret == KERN_SUCCESS) {
1626 return KERN_SUCCESS;
1634 return KERN_SUCCESS;
1689 return KERN_SUCCESS;
1698 return KERN_SUCCESS;
1738 return KERN_SUCCESS; /* Leave now... */
1779 return KERN_SUCCESS;
1936 save->save_r3 = KERN_SUCCESS; /* Set success */
1951 save->save_r3 = KERN_SUCCESS; /* Say we did it... */
1978 save->save_r3 = KERN_SUCCESS; /* Hip, hip, horay... */