Searched refs:result (Results 126 - 150 of 192) sorted by relevance

12345678

/macosx-10.5.8/xnu-1228.15.4/tools/tests/MMTest/
H A DMMtest.c136 kern_return_t result; local
148 result = host_info(mach_host_self(), HOST_BASIC_INFO,
150 if (result == KERN_SUCCESS)
299 /* Call gettimeofday() once and throw away result; some implementations
H A DMPMMtest.c133 kern_return_t result; local
143 result = host_info(mach_host_self(), HOST_BASIC_INFO,
145 if (result == KERN_SUCCESS && info.avail_cpus > 1)
724 /* Call gettimeofday() once and throw away result; some implementations
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_encodings.c462 OSErr result = noErr; local
556 result = kTECUsedFallbacksStatus;
577 result = ENAMETOOLONG; /* ran out of room! */
579 return result;
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Ddgraph.c93 dgraph_error_t result = dgraph_valid; local
100 result = dgraph_init(dgraph);
101 if (result != dgraph_valid) {
102 return result;
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dclock_oldops.c774 int result; local
783 result = CMP_MACH_TIMESPEC(alarm_time, clock_time);
785 return ((result >= 0)? result: 0);
H A Dipc_tt.c736 kern_return_t result = KERN_SUCCESS; local
757 result = KERN_FAILURE;
761 return (result);
785 kern_return_t result = KERN_SUCCESS; local
808 result = KERN_FAILURE;
815 return (result);
H A Dthread.h288 kern_return_t result; /* primary result */ member in struct:thread::__anon850::__anon852
376 #define sth_result saved.sema.result
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/headers/
H A DBTreesPrivate.h300 #define M_ExitOnError( result ) do { if ( ( result ) != noErr ) goto ErrorExit; } while(0)
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_exit.c152 int wait1continue(int result);
153 int waitidcontinue(int result);
559 * the process would result into a deadlock on q->sigwait.
950 wait1continue(int result) argument
957 if (result)
958 return(result);
1126 waitidcontinue(int result) argument
1132 if (result)
1133 return(result);
1737 * the process would result int
[all...]
H A Dkern_event.c645 int result; local
716 result = (kn->kn_data != 0);
718 return result;
1352 int result; local
1358 result = kn->kn_fop->f_event(kn, 0);
1361 if (knoteuse2kqlock(kq, kn) && result) {
1771 int result; local
1774 result = kn->kn_fop->f_event(kn, hint);
1777 if (knoteuse2kqlock(kq, kn) && result)
H A Duipc_socket2.c1000 int result = 0; local
1037 result = sbappendaddr_internal(sb, asa, m0, control);
1038 if (result == 0) {
1047 return (result);
1098 int result = 0; local
1132 result = sbappendcontrol_internal(sb, m0, control);
1133 if (result == 0) {
1142 return (result);
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dtrap.c327 kern_return_t result = KERN_FAILURE; local
505 result = KERN_SUCCESS;
523 result = vm_fault(map,
530 if (result == KERN_SUCCESS) {
541 if (result == KERN_SUCCESS) {
630 if (kdp_i386_trap(type, saved_state, result, vaddr))
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dvm_object.c2115 vm_fault_return_t result; local
2148 result = vm_fault_page(src_object, src_offset,
2154 switch(result) {
2250 } while (result != VM_FAULT_SUCCESS);
2548 * See whether we can reuse the result of a previous
2790 boolean_t result; local
2842 result = KERN_SUCCESS;
2849 result = vm_object_copy_slowly(src_object, src_offset, size,
2851 if (result == KERN_SUCCESS) {
2858 result
2898 register vm_object_t result; local
5463 kern_return_t result = vm_purgeable_token_add(queue); local
5492 kern_return_t result; local
[all...]
H A Dvm_fault.c185 * Clean up the result of vm_fault_page.
1122 * gets copied to another object as a result
1897 * wait result]. Can't turn off the page's
2401 wait_result_t result; local
2452 result = PAGE_ASSERT_WAIT(m, interruptible);
2456 if (result == THREAD_WAITING) {
2457 result = thread_block(THREAD_CONTINUE_NULL);
2461 if (result == THREAD_AWAKENED || result == THREAD_RESTART)
3507 vm_fault_return_t result; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOService.cpp846 IOReturn result = kIOReturnUnsupported; local
857 result = setLatencyHandler(kCpuDelayBusStall, target, enable);
859 result = setLatencyHandler(kCpuDelayInterrupt, target, enable);
863 if ((kIOReturnUnsupported == result) && (provider = getProvider())) {
864 result = provider->callPlatformFunction(functionName, waitForFunction,
868 return result;
876 IOReturn result = kIOReturnNoMemory; local
880 result = callPlatformFunction(functionSymbol, waitForFunction,
885 return result;
2975 UInt32 result; local
3466 IOService * result; member in struct:SyncNotifyVars
4572 IOReturn result = kIOReturnNotFound; local
[all...]
H A DIOLib.cpp152 kern_return_t result; local
155 result = kernel_thread_start((thread_continue_t)fcn, arg, &thread);
156 if (result != KERN_SUCCESS)
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/
H A Dffs_alloc.c704 long result; local
711 result = (*allocator)(ip, cg, pref, size);
712 if (result)
713 return (result);
721 result = (*allocator)(ip, cg, 0, size);
722 if (result)
723 return (result);
732 result = (*allocator)(ip, cg, 0, size);
733 if (result)
734 return (result);
[all...]
/macosx-10.5.8/AppleMacRiscPCI-3.4/
H A DAppleDART.cpp677 unsigned long result; local
680 : "=r" (result)
683 return result;
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Dprofile_prvd.c700 profile_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument
706 *result = (void *)profile_devi;
710 *result = (void *)0;
H A Dsdt.c395 sdt_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result) argument
401 *result = (void *)sdt_devi;
405 *result = (void *)0;
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_output.c701 errno_t result; local
702 result = filter->ipf_filter.ipf_output(filter->ipf_filter.cookie, (mbuf_t*)&m, ippo);
703 if (result == EJUSTRETURN) {
707 if (result != 0) {
839 errno_t result; local
840 result = filter->ipf_filter.ipf_output(filter->ipf_filter.cookie, (mbuf_t*)&m, 0);
841 if (result == EJUSTRETURN) {
845 if (result != 0) {
1036 errno_t result; local
1037 result
[all...]
H A Ddhcp_options.c613 boolean_t result; member in struct:test
642 != tests[i].result) {
/macosx-10.5.8/xnu-1228.15.4/iokit/bsddev/
H A DIOKitBSDInit.cpp797 IOReturn result; local
805 result = pe->callPlatformFunction(functionName, false, (void *)rootName, (void *)0, (void *)0, (void *)0);
809 if (result == kIOReturnNotPrivileged) mdevremoveall();
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dpms.c391 uint32_t nstep = 0, result, presult; local
411 result = pmsCPUQuery() & pmsCPU; /* Get the processor data and make sure there is no slop */
415 kret = result | (presult & (pmsXClk | pmsVoltage | pmsPowerID)); /* Merge the platform state with no slop */
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dkpi_protocol.c284 errno_t locked =0, result = 0; local
313 return result;

Completed in 162 milliseconds

12345678