/darwin-on-arm/xnu/libsyscall/wrappers/ |
H A D | rename.c | 25 int __rename(const char *old, const char *new); 28 rename(const char *old, const char *new) argument 30 int res = __rename(old, new);
|
/darwin-on-arm/xnu/osfmk/arm/ |
H A D | pcb.c | 176 thread_t machine_switch_context(thread_t old, thread_continue_t continuation, argument 183 kprintf("machine_switch_context: %p -> %p (cont: %p)\n", old, new, continuation); 185 if (old == new) 186 panic("machine_switch_context: old = new thread (%p %p)", old, new); 191 datap->old_thread = old; 193 save_vfp_context(old); 196 if ((old->map->pmap != new_pmap)) { 206 retval = Switch_context(old, continuation, new); 212 void machine_stack_handoff(thread_t old, thread_ argument [all...] |
/darwin-on-arm/xnu/osfmk/arm64/ |
H A D | thread_initialize.c | 155 thread_t machine_switch_context(thread_t old, thread_continue_t continuation, thread_t new) argument 161 kprintf("machine_switch_context: %p -> %p (cont: %p)\n", old, new, continuation); 164 if (old == new) 165 panic("machine_switch_context: old = new thread (%p %p)", old, new); 171 datap->old_thread = old; 173 save_vfp_context(old); 176 if ((old->map->pmap != new_pmap)) { 184 retval = Switch_context(old, continuation, new); 192 machine_stack_handoff(thread_t old, argument [all...] |
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | ipc_entry.h | 122 #define IE_BITS_NEW_GEN(old) (((old) + IE_BITS_GEN_ONE) & IE_BITS_GEN_MASK) 127 #define IE_BITS_NEW_GEN(old) (old)
|
H A D | ipc_labelh.c | 163 * Call with old label handle locked. 167 labelh_duplicate(ipc_labelh_t old) argument 174 mac_task_label_copy(&old->lh_label, &lh->lh_label); 180 * Call with old label handle locked. 184 labelh_modify(ipc_labelh_t old) argument 193 if (old->lh_references == 1) 194 return (old); 195 lh = labelh_duplicate(old); 196 lh_release(old); 197 lh_check_unlock(old); [all...] |
H A D | ipc_labelh.h | 75 ipc_labelh_t labelh_duplicate(ipc_labelh_t old); 76 ipc_labelh_t labelh_modify(ipc_labelh_t old);
|
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSCollection.cpp | 83 unsigned old = fOptions; local 86 fOptions = (old & ~mask) | (options & mask); 88 return old;
|
H A D | OSSymbol.cpp | 113 OSSymbolPool(const OSSymbolPool *old); 163 OSSymbolPool::OSSymbolPool(const OSSymbolPool *old) argument 165 count = old->count; 166 nBuckets = old->nBuckets; 167 buckets = old->buckets; 244 /* Create old pool to iterate after doing above check, cause it 247 OSSymbolPool old(this); 256 state = old.initHashState(); 257 while ( (insert = old.nextHashState(&state)) ) 508 oldSymb->retain(); // Retain the old symbo [all...] |
/darwin-on-arm/xnu/osfmk/chud/i386/ |
H A D | chud_osfmk_callback_i386.c | 295 chudxnu_trap_callback_func_t old = trap_callback_fn; local 296 while(!OSCompareAndSwapPtr(old, func, 298 old = trap_callback_fn; 311 chudxnu_trap_callback_func_t old = trap_callback_fn; local 312 while(!OSCompareAndSwapPtr(old, chud_null_trap, 314 old = trap_callback_fn; 380 chudxnu_perfmon_ast_callback_func_t old = perfmon_ast_callback_fn; local 382 while(!OSCompareAndSwapPtr(old, func, 384 old = perfmon_ast_callback_fn; 397 chudxnu_perfmon_ast_callback_func_t old local 483 chudxnu_interrupt_callback_func_t old = interrupt_callback_fn; local 556 chudxnu_cpusig_callback_func_t old = cpusig_callback_fn; local [all...] |
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | rtclock_asm.h | 70 * Add time delta to old timer and start new. 72 #define TIMER_EVENT(old,new) \ 77 subl (old##_TIMER)+TIMER_TSTAMP(%ecx),%eax /* elapsed */ ; \ 78 sbbl (old##_TIMER)+TIMER_TSTAMP+4(%ecx),%edx /* time */ ; \ 79 TIMER_UPDATE(%ecx,%edx,%eax,old##_TIMER) /* update timer */ ; \ 87 subl (old##_STATE)+TIMER_TSTAMP(%ebx),%eax /* elapsed */ ; \ 88 sbbl (old##_STATE)+TIMER_TSTAMP+4(%ebx),%edx /* time */ ; \ 89 TIMER_UPDATE(%ebx,%edx,%eax,old##_STATE)/* update timer */ ; \ 193 * Add time delta to old timer and start new. 196 #define TIMER_EVENT(old,ne [all...] |
H A D | lock.h | 153 register char old = new; local 156 "=q" (old) : 158 return (old);
|
H A D | pcb.c | 156 machine_pmc_cswitch(thread_t /* old */, thread_t /* new */); 159 pmc_swi(thread_t /* old */, thread_t /*new */); 162 pmc_swi(thread_t old, thread_t new) { argument 163 current_cpu_datap()->csw_old_thread = old; 169 machine_pmc_cswitch(thread_t old, thread_t new) { argument 170 if (pmc_thread_eligible(old) || pmc_thread_eligible(new)) { 171 pmc_swi(old, new); 175 void ml_get_csw_threads(thread_t *old, thread_t *new) { argument 176 *old = current_cpu_datap()->csw_old_thread; 465 * Save the old threa 469 machine_switch_context( thread_t old, thread_continue_t continuation, thread_t new) argument 1932 machine_stack_handoff(thread_t old, thread_t new) argument [all...] |
/darwin-on-arm/xnu/libsyscall/mach/ |
H A D | mach_error_string.c | 74 * map old error numbers to 95 err_sparse_mapit(int old, const struct error_sparse_map *map_table, int mapcnt) argument 103 if (entry.start <= old && old <= entry.end) { 104 ret += old - entry.start;
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_lat_sig_catch.c | 190 struct sigaction sa, old; local 195 (void) sigaction(SIGUSR1, &sa, &old);
|
H A D | lmbench_lat_sig_install.c | 209 struct sigaction sa, old; local 216 sigaction(SIGUSR1, &sa, &old);
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOConditionLock.cpp | 93 int old = condition; local 98 return old;
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | timer.c | 101 uint64_t new, old = *save; local 105 return (new - old);
|
/darwin-on-arm/xnu/security/ |
H A D | mac_system.c | 179 user_addr_t old, user_addr_t oldlenp, int inkernel, user_addr_t new, size_t newlen) 190 MAC_CHECK(system_check_sysctl, cred, name, namelen, old, oldlenp, 178 mac_system_check_sysctl(kauth_cred_t cred, int *name, u_int namelen, user_addr_t old, user_addr_t oldlenp, int inkernel, user_addr_t new, size_t newlen) argument
|
/darwin-on-arm/xnu/bsd/dev/chud/ |
H A D | chud_bsd_callback.c | 95 chudxnu_kdebug_callback_func_t old = kdebug_callback_fn; local 97 while(!OSCompareAndSwapPtr(old, chud_null_kdebug, 99 old = kdebug_callback_fn; 200 chudxnu_syscall_callback_func_t old = syscall_callback_fn; local 202 while(!OSCompareAndSwapPtr(old, chud_null_syscall, 204 old = syscall_callback_fn;
|
/darwin-on-arm/xnu/bsd/net/classq/ |
H A D | classq_util.c | 160 u_int8_t old; local 169 old = ip->ip_tos; 170 dsfield |= old & 3; /* leave CU bits */ 171 if (old == dsfield) 179 sum += 0xff00 + (~old & 0xff) + dsfield;
|
H A D | classq_rio.h | 104 int old; /* avg is above th_min */ member in struct:rio::dropprec_state
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_proto.c | 475 int old; variable 480 old = ip6_temp_preferred_lifetime; 485 ip6_temp_preferred_lifetime = old; 496 int old; variable 501 old = ip6_temp_valid_lifetime; 505 ip6_temp_preferred_lifetime = old;
|
/darwin-on-arm/xnu/libkern/libkern/ |
H A D | tree.h | 588 struct type *child, *parent, *old = elm; \ 612 if (name##_RB_GETPARENT(elm) == old) \ 614 (elm)->field = (old)->field; \ 615 if (name##_RB_GETPARENT(old)) { \ 616 if (RB_LEFT(name##_RB_GETPARENT(old), field) == old)\ 617 RB_LEFT(name##_RB_GETPARENT(old), field) = elm;\ 619 RB_RIGHT(name##_RB_GETPARENT(old), field) = elm;\ 620 RB_AUGMENT(name##_RB_GETPARENT(old)); \ 623 name##_RB_SETPARENT(RB_LEFT(old, fiel [all...] |
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | sdt.c | 82 sdt_probe_t *sdp, *old; local 143 old = dtrace_probe_arg(prov->sdtp_id, id); 144 ASSERT(old != NULL); 146 sdp->sdp_next = old->sdp_next; 148 old->sdp_next = sdp; 171 sdt_probe_t *sdp = parg, *old, *last, *hash; local 185 old = sdp; 208 kmem_free(old, sizeof (sdt_probe_t));
|
/darwin-on-arm/xnu/osfmk/device/ |
H A D | subrs.c | 447 char *old = dest; local 453 return (old);
|