Searched refs:ret (Results 76 - 100 of 213) sorted by relevance

123456789

/xnu-2422.115.4/osfmk/kern/
H A Dwait_queue.c256 kern_return_t ret; local
260 ret = wait_queue_init(wq, policy);
261 if (ret != KERN_SUCCESS) {
301 kern_return_t ret; local
303 ret = wait_queue_init(&wqset->wqs_wait_queue, policy);
304 if (ret != KERN_SUCCESS)
305 return ret;
368 kern_return_t ret; local
370 ret = wait_queue_set_init(wq_set, policy);
371 if (ret !
543 boolean_t ret; local
662 kern_return_t ret; local
1262 wait_result_t ret; local
1303 wait_result_t ret; local
1339 wait_result_t ret; local
1378 wait_result_t ret; local
1561 kern_return_t ret; local
1598 kern_return_t ret; local
[all...]
/xnu-2422.115.4/iokit/Kernel/
H A DIODMACommand.cpp447 IOReturn ret = kIOReturnSuccess; local
466 ret = genIOVMSegments(op, segmentOp, (void *)(uintptr_t) op, &offset, state, &numSegments);
502 ret = genIOVMSegments(op, segmentOp, (void *)(uintptr_t) op, &offset, state, &numSegments);
515 ret = kIOReturnSuccess;
538 ret = genIOVMSegments(op, segmentOp, (void *)(uintptr_t) op, &offset, state, &numSegments);
559 ret = (bytes == state->fPreparedLength) ? kIOReturnSuccess : kIOReturnUnderrun;
562 ret = kIOReturnSuccess;
583 return (ret);
685 IOReturn ret = kIOReturnSuccess; local
703 ret
789 IOReturn ret = kIOReturnSuccess; local
849 IOReturn ret = kIOReturnSuccess; local
994 IOReturn ret = kIOReturnSuccess; local
1217 IOReturn ret = kIOReturnSuccess; local
[all...]
H A DIOInterruptEventSource.cpp104 IOReturn ret; local
108 ret = inProvider->getInterruptType(inIntIndex, &intType);
109 if (kIOReturnSuccess != ret)
110 return (ret);
121 ret = provider->registerInterrupt(inIntIndex, this, intHandler);
123 return (ret);
H A DIORegistryEntry.cpp543 bool ret = false; local
555 ret = getPropertyTable()->setObject( aKey, anObject );
569 return ret;
627 bool ret = setProperty( tmpKey, anObject ); local
630 return ret;
637 bool ret = setProperty( tmpKey, anObject ); local
640 return ret;
646 bool ret = false; local
651 ret = setProperty( tmpKey, aSymbol );
656 return( ret );
662 bool ret = false; local
680 bool ret = false; local
698 bool ret = false; local
1538 bool ret = false; local
1560 bool ret = false; local
1578 bool ret; local
1624 bool ret; local
1687 bool ret; local
[all...]
H A DIOService.cpp1367 IOReturn ret; local
1372 ret = service->message( type, this, argument );
1392 ret = (*notify->handler)( notify->target, notify->ref,
1405 ret = kIOReturnSuccess;
1408 ret = kIOReturnBadArgument;
1410 return( ret );
1463 IOReturn ret; member in struct:MessageClientsContext
1468 IOReturn ret; local
1471 ret = context->service->messageClient( context->type,
1473 if( kIOReturnSuccess != ret)
1640 bool ret; local
2596 bool ret = true; local
3009 bool ret; local
3364 IOReturn ret; local
4304 bool ret; local
5451 IOReturn ret; local
5484 IOReturn ret; local
5498 IOReturn ret; local
5510 IOReturn ret; local
5522 IOReturn ret; local
5534 IOReturn ret; local
5546 IOReturn ret; local
[all...]
/xnu-2422.115.4/libkern/c++/
H A DOSDictionary.cpp460 bool ret = cmd(tmpKey, o); \
463 return ret; \
497 bool ret; local
510 ret = true;
515 ret = false;
520 ret = false;
526 return ret;
576 bool OSDictionary::getNextObjectForIterator(void *inIterator, OSObject **ret) const
582 *ret = (OSObject *) dictionary[index].key;
584 *ret
643 OSCollection *ret = 0; local
[all...]
H A DOSArray.cpp381 bool OSArray::getNextObjectForIterator(void *inIterator, OSObject **ret) const
387 *ret = (OSObject *)(const_cast<OSMetaClassBase *> (array[index]));
391 *ret = 0;
428 OSCollection *ret = 0; local
439 ret = super::copyCollection(cycleDict);
440 if (ret)
464 ret = newArray;
476 return ret;
/xnu-2422.115.4/osfmk/i386/commpage/
H A Dcommpage_asm.s60 ret
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_srvcache.c228 int ret, error; local
257 ret = RC_DROPIT;
264 ret = RC_DROPIT;
267 ret = RC_REPLY;
275 ret = RC_DROPIT;
277 ret = RC_REPLY;
282 ret = RC_DOIT;
290 return (ret);
/xnu-2422.115.4/libsyscall/wrappers/
H A Dmach_absolute_time.s97 ret
151 ret
H A D__commpage_gettimeofday.s75 ret
126 ret
/xnu-2422.115.4/tools/tests/affinity/
H A Dsets.c186 kern_return_t ret; local
198 ret = thread_policy_set(
202 if (ret != KERN_SUCCESS)
203 printf("thread_policy_set(THREAD_EXTENDED_POLICY) returned %d\n", ret);
207 ret = thread_policy_set(
211 if (ret != KERN_SUCCESS)
212 printf("thread_policy_set(THREAD_AFFINITY_POLICY) returned %d\n", ret);
352 kern_return_t ret; local
478 if (ret = pthread_create(&lp->stage[j]->thread, NULL,
491 if(ret
[all...]
/xnu-2422.115.4/bsd/kern/
H A Dkern_memorystatus.c150 memorystatus_get_level(__unused struct proc *p, struct memorystatus_get_level_args *args, __unused int *ret) argument
880 int ret; local
898 ret = EINVAL;
907 ret = EALREADY;
935 ret = 0;
938 KERNEL_DEBUG_CONSTANT(BSDDBG_CODE(DBG_BSD_MEMSTAT, BSD_MEMSTAT_UPDATE) | DBG_FUNC_END, ret, 0, 0, 0, 0);
940 return ret;
946 int ret; local
987 ret = 0;
989 ret
1053 int ret; local
1119 int ret; local
1219 int ret = 0; local
1601 int ret; local
1743 int ret; local
2169 int ret = -1; local
2278 boolean_t ret; local
3264 memorystatus_control(struct proc *p __unused, struct memorystatus_control_args *args, int *ret) argument
[all...]
/xnu-2422.115.4/libkern/zlib/
H A Dinfback.c184 ret = Z_BUF_ERROR; \
237 ret = Z_BUF_ERROR; \
288 int ret; /* return code */ local
408 ret = inflate_table(CODES, state->lens, 19, &(state->next),
410 if (ret) {
474 ret = inflate_table(LENS, state->lens, state->nlen, &(state->next),
476 if (ret) {
483 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist,
485 if (ret) {
620 ret
[all...]
/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dsched_tests.c124 int ret; local
175 ret = pthread_create(&ctxs[i].__p, NULL, t1, &ctxs[i]);
176 if (ret != 0) {
206 ret = pthread_join(ctxs[i].__p, NULL);
207 if (ret != 0) {
/xnu-2422.115.4/bsd/sys/
H A Dwait.h158 #define W_EXITCODE(ret, sig) ((ret) << 8 | (sig))
/xnu-2422.115.4/osfmk/x86_64/
H A Dmcount.s87 ret
/xnu-2422.115.4/tools/tests/perf_index/
H A Dmain.c51 int ret; local
64 ret = -1;
67 ret = i;
77 return ret;
/xnu-2422.115.4/iokit/IOKit/
H A DIODMACommand.h540 IOReturn ret;
546 ret = kIOReturnSuccess;
550 ret = kIOReturnError;
554 return ret;
/xnu-2422.115.4/bsd/net/pktsched/
H A Dpktsched_cbq.c514 int len, ret; local
546 ret = rmc_queue_packet(cl, m, t);
547 if (ret != 0) {
548 if (ret == CLASSQEQ_SUCCESS_FC) {
550 ret = EQFULL;
552 VERIFY(ret == CLASSQEQ_DROPPED ||
553 ret == CLASSQEQ_DROPPED_FC ||
554 ret == CLASSQEQ_DROPPED_SP);
558 switch (ret) {
574 return (ret);
[all...]
/xnu-2422.115.4/bsd/netinet/
H A Dmptcp_subr.c1331 int ret = 1; local
1343 ret = 0;
1346 return (ret);
1862 ev_ret_t ret = MPTS_EVRET_OK; local
1869 return (ret);
1885 if ((events & SO_FILT_HINT_MPFAILOVER) && (ret >= MPTS_EVRET_OK)) {
1888 ret = ((error >= MPTS_EVRET_OK) ? MAX(error, ret) : error);
1890 if ((events & SO_FILT_HINT_CONNRESET) && (ret >= MPTS_EVRET_OK)) {
1893 ret
2668 ev_ret_t ret = MPTS_EVRET_OK_UPDATE; local
2799 mptcp_evret2str(ev_ret_t ret) argument
3204 ev_ret_t ret; local
4466 boolean_t ret = 1; local
[all...]
/xnu-2422.115.4/tools/tests/memorystatus/
H A Dmemorystatus.c491 int ret; local
505 int ret; local
507 ret = set_priority(pid, priority, user_data);
508 if (ret == 0) {
509 ret = set_memlimit(pid, limit_mb);
512 if (ret) {
1441 int ret, size; local
1449 ret = set_priority(1, JETSAM_PRIORITY_FOREGROUND, 0);
1450 if (ret != -1 || errno != EPERM) {
1451 printf("\t\tAble to set priority of launchd (%d/%d)!\n", ret, errn
[all...]
/xnu-2422.115.4/bsd/vfs/
H A Dvfs_cache.c216 int ret = 0; local
259 ret = EINVAL;
302 ret = EINVAL;
304 ret = ENOENT;
312 ret = ENOSPC;
343 ret = EINVAL;
369 ret = ENOENT;
397 ret = vnode_getattr(vp, &va, ctx);
400 if ((ret == 0) && (VATTR_IS_SUPPORTED(&va, va_name))) {
405 ret
[all...]
H A Dvfs_journal.c445 int ret=0; local
456 ret = VNOP_IOCTL(jnl->jdev, DKIOCSYNCHRONIZECACHE, NULL, FWRITE, &context);
458 if (ret != 0) {
468 if ( ret != jnl->last_flush_err
472 printf("jnl: %s: flushing fs disk buffer returned 0x%x\n", jnl->jdev_name, ret);
475 jnl->last_flush_err = ret;
767 int ret; local
771 ret = buf_meta_bread(jnl->fsdev, (daddr64_t)fs_block, bsize, NOCRED, &oblock_bp);
772 if (ret != 0) {
773 printf("jnl: %s: update_fs_block: error reading fs block # %lld! (ret
1097 size_t ret; local
2078 int ret; local
2499 int ret; local
3975 int ret = 0; local
4407 int ret; local
4643 int ret; local
[all...]
/xnu-2422.115.4/bsd/netinet6/
H A Din6_rmx.c163 struct radix_node *ret; local
222 ret = rn_addroute(v_arg, n_arg, head, treenodes);
223 if (ret == NULL && (rt->rt_flags & RTF_HOST)) {
266 ret = rn_addroute(v_arg, n_arg, head,
273 } else if (ret == NULL && (rt->rt_flags & RTF_CLONING)) {
296 ret = rt2->rt_nodes;
303 if (ret != NULL && (rt->rt_flags & RTF_DYNAMIC))
309 if (ret != NULL) {
329 return (ret);

Completed in 185 milliseconds

123456789