Searched refs:old (Results 1 - 25 of 68) sorted by relevance

123

/xnu-2782.1.97/libsyscall/wrappers/
H A Drename.c25 int __rename(const char *old, const char *new);
28 rename(const char *old, const char *new) argument
30 int res = __rename(old, new);
H A Drenameat.c25 int __renameat(int oldfd, const char *old, int newfd, const char *new);
28 renameat(int oldfd, const char *old, int newfd, const char *new) argument
30 int res = __renameat(oldfd, old, newfd, new);
H A Drename_ext.c32 int __rename_ext(const char *old, const char *new, int flags);
35 rename_ext(const char *old, const char *new, unsigned int flags) argument
42 int res = __rename_ext(old, new, flags & VFS_RENAME_FLAGS_MASK);
/xnu-2782.1.97/osfmk/ipc/
H A Dipc_entry.h122 #define IE_BITS_NEW_GEN(old) (((old) + IE_BITS_GEN_ONE) & IE_BITS_GEN_MASK)
127 #define IE_BITS_NEW_GEN(old) (old)
/xnu-2782.1.97/libkern/c++/
H A DOSCollection.cpp83 unsigned old = fOptions; local
86 fOptions = (old & ~mask) | (options & mask);
88 return old;
H A DOSSymbol.cpp111 OSSymbolPool(const OSSymbolPool *old);
161 OSSymbolPool::OSSymbolPool(const OSSymbolPool *old) argument
163 count = old->count;
164 nBuckets = old->nBuckets;
165 buckets = old->buckets;
249 /* Create old pool to iterate after doing above check, cause it
252 OSSymbolPool old(this);
261 state = old.initHashState();
262 while ( (insert = old.nextHashState(&state)) )
513 oldSymb->retain(); // Retain the old symbo
[all...]
H A DOSSet.cpp350 unsigned old = super::setOptions(options, mask); local
351 if ((old ^ options) & mask)
354 return old;
/xnu-2782.1.97/osfmk/i386/
H A Dbit_routines.h111 register char old = new; local
114 "=q" (old) :
116 return (old);
H A Drtclock_asm.h65 * Add time delta to old timer and start new.
68 #define TIMER_EVENT(old,new) \
72 subq (old##_TIMER)+TIMER_TSTAMP(%rcx),%rax /* compute elapsed */; \
73 TIMER_UPDATE(%rcx,%rax,old##_TIMER) /* update timer */ ; \
79 subq (old##_STATE)+TIMER_TSTAMP(%rdx),%rax /* compute elapsed */; \
80 TIMER_UPDATE(%rdx,%rax,old##_STATE) /* update timer */ ; \
H A Dpcb.c165 machine_pmc_cswitch(thread_t /* old */, thread_t /* new */);
168 pmc_swi(thread_t /* old */, thread_t /*new */);
171 pmc_swi(thread_t old, thread_t new) { argument
172 current_cpu_datap()->csw_old_thread = old;
178 machine_pmc_cswitch(thread_t old, thread_t new) { argument
179 if (pmc_thread_eligible(old) || pmc_thread_eligible(new)) {
180 pmc_swi(old, new);
184 void ml_get_csw_threads(thread_t *old, thread_t *new) { argument
185 *old = current_cpu_datap()->csw_old_thread;
193 ml_kpc_cswitch(thread_t old, thread_ argument
205 ml_kperf_cswitch(thread_t old, thread_t new) argument
217 ml_hv_cswitch(thread_t old, thread_t new) argument
465 machine_switch_context( thread_t old, thread_continue_t continuation, thread_t new) argument
1830 machine_stack_handoff(thread_t old, thread_t new) argument
[all...]
/xnu-2782.1.97/osfmk/chud/i386/
H A Dchud_osfmk_callback_i386.c295 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...]
/xnu-2782.1.97/libsyscall/mach/
H A Dmach_error_string.c74 * 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;
/xnu-2782.1.97/osfmk/kperf/
H A Dkperf.h84 extern void kperf_switch_context( thread_t old, thread_t new );
/xnu-2782.1.97/tools/tests/libMicro/apple/
H A Dlmbench_lat_sig_catch.c190 struct sigaction sa, old; local
195 (void) sigaction(SIGUSR1, &sa, &old);
H A Dlmbench_lat_sig_install.c209 struct sigaction sa, old; local
216 sigaction(SIGUSR1, &sa, &old);
/xnu-2782.1.97/iokit/Kernel/
H A DIOConditionLock.cpp93 int old = condition; local
98 return old;
/xnu-2782.1.97/osfmk/kern/
H A Dtimer.c95 uint64_t new, old = *save; local
99 return (new - old);
H A Dkpc_thread.c139 /* 2. apply delta to old thread */
159 kpc_switch_context( thread_t old, thread_t new __unused ) argument
161 kpc_update_thread_counters( old );
/xnu-2782.1.97/bsd/dev/chud/
H A Dchud_bsd_callback.c101 chudxnu_kdebug_callback_func_t old = kdebug_callback_fn; local
103 while(!OSCompareAndSwapPtr(old, chud_null_kdebug,
105 old = kdebug_callback_fn;
206 chudxnu_syscall_callback_func_t old = syscall_callback_fn; local
208 while(!OSCompareAndSwapPtr(old, chud_null_syscall,
210 old = syscall_callback_fn;
/xnu-2782.1.97/bsd/net/classq/
H A Dclassq_util.c161 u_int8_t old; local
170 old = ip->ip_tos;
171 dsfield |= old & 3; /* leave CU bits */
172 if (old == dsfield)
180 sum += 0xff00 + (~old & 0xff) + dsfield;
H A Dclassq_rio.h104 int old; /* avg is above th_min */ member in struct:rio::dropprec_state
/xnu-2782.1.97/SETUP/config/
H A Ddoconf36 # configuration is generated. This replaces the old mechanism of
271 rm -f $SYSCONF.old
272 mv $SYSCONF $SYSCONF.old
/xnu-2782.1.97/libkern/libkern/
H A Dtree.h588 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...]
/xnu-2782.1.97/bsd/dev/dtrace/
H A Dsdt.c83 sdt_probe_t *sdp, *old; local
144 old = dtrace_probe_arg(prov->sdtp_id, id);
145 ASSERT(old != NULL);
147 sdp->sdp_next = old->sdp_next;
149 old->sdp_next = sdp;
176 sdt_probe_t *sdp = parg, *old, *last, *hash; local
194 old = sdp;
217 kmem_free(old, sizeof (sdt_probe_t));
/xnu-2782.1.97/bsd/security/audit/
H A Daudit_session.c1068 audit_session_update_check(kauth_cred_t cred, auditinfo_addr_t *old, argument
1074 if (old->ai_auid != AU_DEFAUDITID && old->ai_auid != new->ai_auid)
1078 if ((old->ai_termid.at_type != AU_IPv4 ||
1079 old->ai_termid.at_port != 0 ||
1080 old->ai_termid.at_addr[0] != 0) &&
1081 (old->ai_termid.at_port != new->ai_termid.at_port ||
1082 old->ai_termid.at_type != new->ai_termid.at_type ||
1083 0 != bcmp(&old->ai_termid.at_addr, &new->ai_termid.at_addr,
1084 sizeof (old
[all...]

Completed in 80 milliseconds

123