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

123

/xnu-2782.1.97/bsd/kern/
H A Dmcache.c1515 mcache_verify_set_pattern(u_int64_t old, u_int64_t new, void *buf_arg, argument
1525 if (*buf != old) {
1526 mcache_set_pattern(old, buf_arg,
H A Dkern_aio.c1703 /* Restore old map */
2188 int old = OSDecrementAtomic(&aio_anchor.aio_total_count); local
2189 if (old <= 0) {
2193 return old;
H A Duipc_mbuf.c1144 UInt32 old, new; local
1148 old = *addr;
1149 new = old + 1;
1151 } while (!OSCompareAndSwap(old, new, addr));
1165 UInt32 old, new; local
1169 old = *addr;
1170 new = old - 1;
1171 ASSERT(old != 0);
1172 } while (!OSCompareAndSwap(old, new, addr));
4508 * Replacement for old M_PREPEN
[all...]
H A Dkern_credential.c594 KAUTH_DEBUG("RESOLVER - new resolver %d taking over from old %d", new_id, kauth_resolver_identity);
596 * We have a new server, so assume that all the old requests have been lost.
1230 /* if there's an old one, discard it */
1874 * groups already, then rotate the old EGID into its position,
1944 /* set the new EGID into the old spot */
3509 kauth_cred_t old = uthread->uu_ucred; local
3511 if (IS_VALID_CRED(old))
3512 kauth_cred_unref(&old);
4362 * disjointp Pointer to flag to set if old
4416 * the old credentia
[all...]
/xnu-2782.1.97/osfmk/i386/
H A Dpcb_native.c118 act_machine_switch_pcb(__unused thread_t old, thread_t new) argument
H A Dpmap_internal.h945 pmap_cmpx_pte(pt_entry_t *entryp, pt_entry_t old, pt_entry_t new) argument
950 * Load the old value into %rax
961 : "a" (old),
/xnu-2782.1.97/bsd/dev/dtrace/
H A Ddtrace.c5603 * APPLE NOTE: this was for an old Mac OS X debug feature
5736 uintptr_t old = mstate->dtms_scratch_ptr, saved; local
5837 mstate->dtms_scratch_ptr = old;
7455 dtrace_provider_t *old = (dtrace_provider_t *)id; local
7460 if (old->dtpv_pops.dtps_enable ==
7466 ASSERT(old == dtrace_provider);
7489 if (!old->dtpv_defunct &&
7503 if (old->dtpv_ecb_count!=0) {
7519 for (i = 0; i < dtrace_nprobes && old->dtpv_probe_count!=0; i++) {
7523 if (probe->dtpr_provider != old)
8270 dtrace_meta_t **pp, *old = (dtrace_meta_t *)id; local
[all...]
/xnu-2782.1.97/bsd/net/
H A Droute.c1283 /* Release the old ifa */
1347 * it's either old or wrong. If it redirects us to ourselves,
2535 * have room, reuse the old buffer since rt_gateway already points
2559 R_Free(rt_key(rt)); /* free old block; NULL is okay */
3429 uint32_t old; local
3436 old = atomic_add_32_ov(&ifp->if_route_refcnt, cnt);
3437 if (cnt < 0 && old == 0) {
3452 if ((ifp->if_idle_flags & IFRF_IDLE_NOTIFY) && cnt < 0 && old == 1) {
H A Dpf_ioctl.c965 /* Purge the old altq list */
992 /* Purge the old altq list */
1018 /* swap altqs, keep the old. */
1037 /* Purge the old altq list */
1319 /* Swap rules, keep the old. */
1349 /* Purge the old rule list. */
3974 int old; local
3981 old = pf_default_rule.timeout[pt->timeout];
3985 if (pt->timeout == PFTM_INTERVAL && pt->seconds < old)
3987 pt->seconds = old;
[all...]
H A Ddlil.c718 #define DLIL_EWMA(old, new, decay) do { \
720 if ((_avg = (old)) > 0) \
724 (old) = _avg; \
H A Dpf.c2095 pf_cksum_fixup(u_int16_t cksum, u_int16_t old, u_int16_t new, u_int8_t udp) argument
2101 l = cksum + old - new;
/xnu-2782.1.97/bsd/netinet6/
H A Dicmp6.c1557 ni6_nametodns(name, namelen, old)
1560 int old; /* return pascal string if non-zero */
1567 if (old)
1583 if (old) {
H A Dipsec.c1456 /* copy old ipsec policy into new */
1458 ipsec_copy_policy(struct inpcbpolicy *old, argument
1466 sp = ipsec_deepcopy_policy(old->sp_in);
1473 sp = ipsec_deepcopy_policy(old->sp_out);
1480 new->priv = old->priv;
1583 /* clear old SP and set new SP */
2734 /* over range to check, i.e. too old or wrapped */
2818 /* over range to check, i.e. too old or wrapped */
/xnu-2782.1.97/osfmk/kern/
H A Dthread.h624 thread_t old,
H A Dtask.c1897 * Implement an (old-fashioned) user-level suspension on a task.
2729 * clients may ask for the old version - distinquished by the
3716 ledger_amount_t old; local
3718 ledger_get_limit(task->ledger, task_ledgers.phys_footprint, &old);
3721 *old_limit_mb = old >> 20;
/xnu-2782.1.97/iokit/Kernel/
H A DIONVRAM.cpp45 bool IODTNVRAM::init(IORegistryEntry *old, const IORegistryPlane *plane) argument
49 if (!super::init(old, plane)) return false;
1364 // delete old property (nvPath -> wherePtr)
/xnu-2782.1.97/bsd/netinet/
H A Dip_output.c1461 struct sockaddr_in *old = dst; local
1476 * dst != old -> IPFIREWALL_FORWARD
1477 * off==0, dst==old -> accept
1493 if (ipfwoff == 0 && dst == old) { /* common case */
1564 if (ipfwoff == 0 && old != dst) {
2789 /* turn off any old options */
/xnu-2782.1.97/security/
H A Dmac_policy.h299 @param old Existing subject credential
314 created credential from the existing subject credential (old). This
331 made to the old credential structure.
340 kauth_cred_t old,
551 existing subject credential (old). This call occurs when a process
566 indicate that the old and new credentials are not disjoint, or 1 to
570 made to the old credential structure.
3806 @param old 0 or address where to store old value; see sysctl(3)
3807 @param oldlen Length of old buffe
[all...]

Completed in 345 milliseconds

123