Home
last modified time | relevance | path

Searched refs:previous (Results 1 – 22 of 22) sorted by relevance

/xnu-11215/osfmk/arm/
H A Dlocks_arm.c155 atomic_exchange_begin32(uint32_t *target, uint32_t *previous, enum memory_order ord) in atomic_exchange_begin32() argument
163 *previous = val; in atomic_exchange_begin32()
168 atomic_exchange_complete32(uint32_t *target, uint32_t previous, uint32_t newval, enum memory_order … in atomic_exchange_complete32() argument
171 …return __c11_atomic_compare_exchange_strong((_Atomic uint32_t *)target, &previous, newval, ord, me… in atomic_exchange_complete32()
173 (void)previous; // Previous not needed, monitor is held in atomic_exchange_complete32()
/xnu-11215/tests/
H A Dmktimer_kobject.c55 mach_port_t previous = MACH_PORT_NULL; variable
59 0, notify_port, MACH_MSG_TYPE_MAKE_SEND_ONCE, &previous);
H A Dmach_service_port.c54 mach_port_t previous; variable
95 MACH_MSG_TYPE_MAKE_SEND_ONCE, &previous);
97 T_ASSERT_EQ(previous, MACH_PORT_NULL, "previous null");
H A Dstackshot_idle_25570396.m216 /* Take a stackshot and a delta stackshot, measuring what changed since the previous
H A Dstackshot_tests.m402 …T_EXPECT_LT(pre.ss_last_end, post.ss_last_start, "previous end should be less than new start after…
/xnu-11215/osfmk/ipc/
H A Dmach_kernelrpc.c427 ipc_port_t notify, previous; in _kernelrpc_mach_port_request_notification_trap() local
451 args->msgid, args->sync, notify, &previous); in _kernelrpc_mach_port_request_notification_trap()
459 if (IP_VALID(previous)) { in _kernelrpc_mach_port_request_notification_trap()
464 rv = ipc_object_copyout(task->itk_space, ip_to_object(previous), in _kernelrpc_mach_port_request_notification_trap()
471 rv = mach_copyout(&previous_name, args->previous, sizeof(previous_name)); in _kernelrpc_mach_port_request_notification_trap()
H A Dipc_right.c468 ipc_port_t previous = IP_NULL; in ipc_right_request_alloc() local
506 previous = ipc_right_request_cancel(port, name, entry); in ipc_right_request_alloc()
546 assert(previous == IP_NULL); in ipc_right_request_alloc()
601 previous = IP_NULL; in ipc_right_request_alloc()
617 *previousp = previous; in ipc_right_request_alloc()
H A Dipc_port.c647 ipc_port_t previous; in ipc_port_nsrequest() local
654 previous = port->ip_nsrequest; in ipc_port_nsrequest()
667 *previousp = previous; in ipc_port_nsrequest()
/xnu-11215/osfmk/kern/
H A Dsimple_lock.h175 uint32_t previous,
181 uint32_t *previous,
H A Dipc_kobject.c1102 ipc_port_t port, previous; in ipc_kobject_make_send_lazy_alloc_port() local
1112 IP_NULL, port, &previous, release)) { in ipc_kobject_make_send_lazy_alloc_port()
1126 port = previous; in ipc_kobject_make_send_lazy_alloc_port()
1166 ipc_port_t port, previous; in ipc_kobject_make_send_lazy_alloc_labeled_port() local
1174 if (os_atomic_cmpxchgv(port_store, IP_NULL, port, &previous, release)) { in ipc_kobject_make_send_lazy_alloc_labeled_port()
1188 port = previous; in ipc_kobject_make_send_lazy_alloc_labeled_port()
/xnu-11215/libsyscall/mach/
H A Dmach_port.c246 mach_port_t *previous) in mach_port_request_notification() argument
251 sync, notify, notifyPoly, previous); in mach_port_request_notification()
255 sync, notify, notifyPoly, previous); in mach_port_request_notification()
/xnu-11215/bsd/kern/
H A Dsysv_msg.c1239 struct msg *previous; in msgrcv_nocancel() local
1242 previous = NULL; in msgrcv_nocancel()
1278 if (previous == NULL) { in msgrcv_nocancel()
1293 previous; in msgrcv_nocancel()
1298 previous = msghdr; in msgrcv_nocancel()
/xnu-11215/osfmk/i386/
H A Dlocks_i386.c161 atomic_exchange_begin32(uint32_t *target, uint32_t *previous, enum memory_order ord) in atomic_exchange_begin32() argument
167 *previous = val; in atomic_exchange_begin32()
172 atomic_exchange_complete32(uint32_t *target, uint32_t previous, uint32_t newval, enum memory_order … in atomic_exchange_complete32() argument
174 …return __c11_atomic_compare_exchange_strong((_Atomic uint32_t *)target, &previous, newval, ord, me… in atomic_exchange_complete32()
/xnu-11215/doc/observability/
H A Drecount.md89 The CPU's previous snapshot, stored in the `_snaps_percpu` per-CPU variable, is subtracted from the…
94 …t_leave_secure` update the current thread's level and attribute metrics back to the previous level.
/xnu-11215/doc/primitives/
H A Dsched_cond.md54 Using these enhancements, the previous example can be revised to:
/xnu-11215/osfmk/mach/
H A Dmach_traps.h346 mach_port_name_t *previous);
899 PAD_ARG_(user_addr_t, previous);
H A Dmach_host.defs281 * <key, previous-voucher> pairs of resource attributes.
H A Dmach_port.defs312 out previous : mach_port_move_send_once_t);
/xnu-11215/doc/arm/
H A Dsme.md13 builds on top of ARM's previous Scalable Vector Extension (SVE), which extends
184 not need to manually invalidate any `ZA` or `ZT0` state left by a previous
/xnu-11215/doc/debugging/
H A Ddebugging.md172 This is simpler than previous step because the goal is to ensure behavior has not changed.
185 The actual steps are identical to previous testing. Run of a macro to different file with `-o <outf…
/xnu-11215/
H A DAPPLE_LICENSE44 to, the substance and/or structure of the Original Code, any previous
45 Modifications, the combination of Original Code and any previous
/xnu-11215/makedefs/
H A DMakeInc.top405 # invalidate current kernel in $(SYMROOT). Timestamp must be +1 from a previous kernel build