Lines Matching refs:KERN_SUCCESS
791 kern_return_t retr = KERN_SUCCESS;
837 if((retr != KERN_SUCCESS) && (allocsize == 1)) { /* Did we find any memory at all? */
840 if(retr == KERN_SUCCESS) break; /* We got some memory, bail out... */
850 if (retr != KERN_SUCCESS)
1393 if(retr != KERN_SUCCESS) /* Did we get some memory? */
1448 if (retr != KERN_SUCCESS)
1462 if(retr != KERN_SUCCESS) { /* Did we get some memory? */
1649 if(ret != KERN_SUCCESS)return KERN_FAILURE; /* Didn't find any, return no good... */
1674 if (ret != KERN_SUCCESS) return KERN_FAILURE; /* We couldn't get it R/W, leave in disgrace... */
1719 return KERN_SUCCESS;