Searched refs:old (Results 26 - 50 of 67) sorted by relevance

123

/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSArray.cpp410 unsigned old = super::setOptions(options, mask); local
411 if ((old ^ options) & mask) {
421 return old;
H A DOSOrderedSet.cpp355 unsigned old = super::setOptions(options, mask); local
356 if ((old ^ options) & mask) {
366 return old;
H A DOSDictionary.cpp584 unsigned old = super::setOptions(options, mask); local
585 if ((old ^ options) & mask) {
595 return old;
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dpcb.c602 * Save the old thread`s kernel state or continuation,
607 thread_t old,
612 assert(current_cpu_datap()->cpu_active_stack == old->kernel_stack);
618 fpu_save_context(old);
620 old->machine.specFlags &= ~OnProc;
627 PMAP_SWITCH_CONTEXT(old, new, cpu_number())
634 return(Switch_context(old, continuation, new));
2049 * move a stack from old to new thread
2053 machine_stack_handoff(thread_t old, argument
2059 assert(old);
606 machine_switch_context( thread_t old, thread_continue_t continuation, thread_t new) argument
[all...]
H A Dpmap.h171 * Load the old value into %edx:%eax
174 * Otherwise, the old value changed and reloaded, so try again.
193 pmap_cmpx_pte(pt_entry_t *entryp, pt_entry_t old, pt_entry_t new) argument
198 * Load the old value into %edx:%eax
210 "a" ((uint32_t)old),
211 "d" ((uint32_t)(old >> 32)),
218 #define pmap_update_pte(entryp, old, new) \
219 while (!pmap_cmpx_pte((entryp), (old), (new)))
H A Dlocore.s256 * Add time delta to old timer and start new.
258 #define TIMER_EVENT(old,new) \
267 addl $(new##_TIMER-old##_TIMER),%ecx /* point to new timer */ ; \
277 addl $(new##_STATE-old##_STATE),%ecx /* point to new state */ ; \
654 pushl %ecx /* save pointer to old stack */
704 popl %esp /* switch back to old stack */
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dipc_tt.c786 ipc_port_t *whichp, old = IP_NULL; local
804 old = *whichp;
812 if (IP_VALID(old))
813 ipc_port_release_send(old);
923 ipc_port_t old; local
989 old = *whichp;
993 if (IP_VALID(old))
994 ipc_port_release_send(old);
1047 * Replace the old send rights with the new.
1048 * Release the old right
1052 ipc_port_t old; local
[all...]
H A Dqueue.h561 * rebase old queue to new queue head
563 * queue_new_head(old, new, type, field)
564 * queue_t old;
569 #define queue_new_head(old, new, type, field) \
571 if (!queue_empty(old)) { \
572 *(new) = *(old); \
H A Dthread.h495 thread_t old,
/macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/
H A Ddb_command.c222 struct db_command *old; local
232 old = (struct db_command *)0;
238 (old == (struct db_command *)0 ||
239 strncmp(cur->name, old->name, strlen(cur->name)) > 0))
245 old = new;
H A Ddb_variables.c295 register struct db_variable *old; local
314 old = (struct db_variable *)0;
320 (old == (struct db_variable *)0 ||
321 strcmp(cur->name, old->name) > 0))
365 old = new;
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_descrip.c115 int finishdup(proc_t p, struct filedesc *fdp, int old, int new, register_t *retval);
377 int old = uap->fd; local
382 if ( (error = fp_lookup(p, old, &fp, 1)) ) {
387 fp_drop(p, old, fp, 1);
391 error = finishdup(p, fdp, old, new, retval);
392 fp_drop(p, old, fp, 1);
419 int old = uap->from, new = uap->to; local
426 if ( (error = fp_lookup(p, old, &fp, 1)) ) {
433 fp_drop(p, old, fp, 1);
437 if (old
1644 finishdup(proc_t p, struct filedesc *fdp, int old, int new, register_t *retval) argument
[all...]
H A Dkern_newsysctl.c877 kernel_sysctl(struct proc *p, int *name, u_int namelen, void *old, size_t *oldlenp, void *new, size_t newlen) argument
889 if (old)
890 req.oldptr = CAST_USER_ADDR_T(old);
1075 void *old; member in struct:sysctl_args
1097 CAST_USER_ADDR_T(uap->old), uap->oldlenp, 0,
H A Dkern_sysctl.c309 if (uap->old != USER_ADDR_NULL) {
310 if (!useracc(uap->old, (user_size_t)oldlen, B_WRITE))
324 if ((error = vslock(uap->old, (user_size_t)oldlen))) {
340 uap->old,
350 error = (*fnp)(name + 1, uap->namelen - 1, uap->old,
360 error1 = vsunlock(uap->old, (user_size_t)savelen, B_WRITE);
377 error = userland_sysctl(p, name, uap->namelen, uap->old, &tmp,
766 * Validate parameters and get old / set new parameters
812 * Validate parameters and get old / set new parameters
856 * Validate parameters and get old / se
[all...]
H A Dmcache.c1434 mcache_verify_set_pattern(u_int64_t old, u_int64_t new, void *buf_arg, argument
1444 if (*buf != old) {
1445 mcache_set_pattern(old, buf_arg,
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIONVRAM.h129 virtual bool init(IORegistryEntry *old, const IORegistryPlane *plane);
/macosx-10.5.8/xnu-1228.15.4/libkern/i386/
H A DOSAtomic.s89 #; - success: old value in eax:edx
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dsavearea_asm.s264 std r7,SAVprev(r4) ; Queue the old first one off of us
293 stw r7,SAVprev+4(r4) ; Queue the old first one off of us
528 ld r4,lclfree(r10) ; Get the old head of list
529 lwz r3,lclfreecnt(r10) ; Get the old count
532 std r4,SAVprev(r8) ; Point to the old head
566 lwz r6,SVinuse(0) ; Get total in the old list
668 lwz r4,lclfree+4(r10) ; Get the old head of list
669 lwz r3,lclfreecnt(r10) ; Get the old count
672 stw r4,SAVprev+4(r8) ; Point to the old head
706 lwz r6,SVinuse(0) ; Get total in the old lis
[all...]
H A Dcswtch.s77 /* thread_t Switch_context(thread_t old,
102 * Get the old kernel stack, and store into the thread structure.
109 * Switch_context(old, continuation, new)
115 * R4 = old thread
180 mr r4,r3 ; Save our old thread to pass back
214 stw r5,SAVprev(r10) ; Link the old in (top)
215 stw r9,SAVprev+4(r10) ; Link the old in (bottom)
261 stw r5,SAVprev(r10) ; Link the old in (top)
262 stw r9,SAVprev+4(r10) ; Link the old in (bottom)
301 * R4 was set to hold the old threa
[all...]
H A Dmisc_asm.s81 stw r1,FM_ARG0(r9) ; Save the old stack pointer as if it were the first arg
H A Dhw_exception.s159 stw r3,FM_LR_SAVE(r1) ; save old instr ptr as LR value
411 stw r8,FM_LR_SAVE(r1) ; Save old instr ptr as LR value
924 /* We're already on the interrupt stack, get back the old
985 stw r5,FM_LR_SAVE(r1) ; save old instr ptr as LR value
1126 mr r27,r3 ; Save the old level
1205 stw r8,SAVprev(r22) ; Link the old in (top)
1206 stw r9,SAVprev+4(r22) ; Link the old in (bottom)
1291 stw r8,SAVprev(r24) ; Link the old in (top)
1292 stw r9,SAVprev+4(r24) ; Link the old in (bottom)
1371 stw r8,SAVprev(r22) ; Link the old i
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dbpf.c1256 struct bpf_insn *fcode, *old; local
1259 old = d->bd_filter;
1265 if (old != 0)
1266 FREE((caddr_t)old, M_DEVBUF);
1283 if (old != 0)
1284 FREE((caddr_t)old, M_DEVBUF);
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIORegistryEntry.cpp298 bool IORegistryEntry::init( IORegistryEntry * old, argument
310 fPropertyTable = old->getPropertyTable();
313 fRegistryTable = old->fRegistryTable;
314 old->fRegistryTable = OSDictionary::withDictionary( fRegistryTable );
317 old->registryTable()->removeObject( plane->keys[ kParentSetIndex ] );
318 old->registryTable()->removeObject( plane->keys[ kChildSetIndex ] );
325 next->breakLink( old, kChildSetIndex, plane );
333 next->breakLink( old, kParentSetIndex, plane );
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_base.c747 struct mac_module_data *old; local
752 old = new->base_addr;
753 DPRINTF(("fixup_mmd: old %p new %p\n", old, new));
758 mmd_fixup_ele(old, new, ele); /* Fix up key/value ptrs. */
767 mmd_fixup_ele(old, new, aele);
773 mmd_fixup_ele(old, new,
826 /* copy old entries into new list */
831 /* free old array */
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dsysctl.h234 /* old interface */
1031 int kernel_sysctl(struct proc *p, int *name, u_int namelen, void *old,
1033 int userland_sysctl(struct proc *p, int *name, u_int namelen, user_addr_t old,

Completed in 321 milliseconds

123