Lines Matching refs:KERN_SUCCESS
458 kern_return_t kr = KERN_SUCCESS;
460 if (kr != KERN_SUCCESS)
532 if (kr != KERN_SUCCESS) {
601 return KERN_SUCCESS;
659 return KERN_SUCCESS;
669 kern_return_t error = KERN_SUCCESS;
697 return KERN_SUCCESS;
734 if(error == KERN_SUCCESS) {
790 return KERN_SUCCESS;
816 error = KERN_SUCCESS;
846 if (error != KERN_SUCCESS) {
860 if (error != KERN_SUCCESS) {
929 return KERN_SUCCESS;
1059 return KERN_SUCCESS;
2137 if (device_code == KERN_SUCCESS && bytes_written != vsa->vsa_size) {
2161 return KERN_SUCCESS;
2172 return KERN_SUCCESS;
2190 return KERN_SUCCESS;
2202 return KERN_SUCCESS;
2213 return KERN_SUCCESS;
2224 return KERN_SUCCESS;
2293 if (kr != KERN_SUCCESS || bytes_read == 0) {
2329 != KERN_SUCCESS)
2345 else if((kr == KERN_SUCCESS) && (total_read != 0) && (dev_buffer != 0)){
2363 return KERN_SUCCESS;
2412 if ((kr != KERN_SUCCESS) && (kr != MIG_NO_REPLY)) {
2440 if (kr != KERN_SUCCESS) {
2529 kern_return_t error = KERN_SUCCESS;
2588 return KERN_SUCCESS;
2598 return KERN_SUCCESS;
2619 if (memory_object_cluster_size(vs->vs_control, &start, &cnt, (memory_object_fault_info_t)fault_info) == KERN_SUCCESS) {
2636 while (cnt && error == KERN_SUCCESS) {
2652 while (size > 0 && error == KERN_SUCCESS) {
2820 if ((error == KERN_SUCCESS) && (residual == 0)) {
2832 if (error == KERN_SUCCESS) {
2867 if (error != KERN_SUCCESS) {
3192 return KERN_SUCCESS;
3366 != KERN_SUCCESS) {
3396 return KERN_SUCCESS;
3407 upl) != KERN_SUCCESS) {
3435 return KERN_SUCCESS;
3472 kern_return_t error = KERN_SUCCESS;
3511 while (cnt && (error == KERN_SUCCESS)) {
3613 if ((error == KERN_SUCCESS) && (residual == 0)) {
3629 size, TRUE, UPL_IOSYNC | UPL_NOCOMMIT ) != KERN_SUCCESS) {
3660 if (error == KERN_SUCCESS) {
3801 return KERN_SUCCESS;
3842 result = KERN_SUCCESS;
3875 result = KERN_SUCCESS;
3897 kr = KERN_SUCCESS;
3907 kr = KERN_SUCCESS;
3916 kr = KERN_SUCCESS;
3921 kr = KERN_SUCCESS;