Home
last modified time | relevance | path

Searched refs:old_flags (Results 1 – 9 of 9) sorted by relevance

/xnu-11215/bsd/netinet6/
H A Dudp6_usrreq.c862 const uint8_t old_flags = inp->inp_vflag; in udp6_bind() local
884 inp->inp_vflag = old_flags; in udp6_bind()
892 inp->inp_vflag = old_flags; in udp6_bind()
942 const uint8_t old_flags = inp->inp_vflag; in udp6_connect() local
984 inp->inp_vflag = old_flags; in udp6_connect()
/xnu-11215/osfmk/kern/
H A Dthread_group.c419 __kdebug_only uint64_t old_flags = tg->tg_flags; in thread_group_set_flags_locked() local
424 tg->tg_id, tg->tg_flags, old_flags); in thread_group_set_flags_locked()
448 __kdebug_only uint64_t old_flags = tg->tg_flags; in thread_group_clear_flags_locked() local
452 tg->tg_id, tg->tg_flags, old_flags); in thread_group_clear_flags_locked()
H A Dthread_call.c1587 thread_call_flags_t old_flags = call->tc_flags; in thread_call_finish() local
1591 (old_flags & THREAD_CALL_RESCHEDULE) != 0) { in thread_call_finish()
1592 assert(old_flags & THREAD_CALL_ONCE); in thread_call_finish()
1595 if (old_flags & THREAD_CALL_DELAYED) { in thread_call_finish()
1621 if ((old_flags & THREAD_CALL_WAIT) != 0) { in thread_call_finish()
1645 if ((old_flags & THREAD_CALL_WAIT) != 0) { in thread_call_finish()
/xnu-11215/osfmk/arm64/
H A Dstatus.c339 uint32_t old_flags; in machine_thread_state_convert_to_user() local
376 old_flags = ts64->flags; in machine_thread_state_convert_to_user()
399 ts64->flags |= (old_flags & __DARWIN_ARM_THREAD_STATE64_USER_DIVERSIFIER_MASK); in machine_thread_state_convert_to_user()
400 userland_diversifier = old_flags & __DARWIN_ARM_THREAD_STATE64_USER_DIVERSIFIER_MASK; in machine_thread_state_convert_to_user()
401 if (!(old_flags & __DARWIN_ARM_THREAD_STATE64_FLAGS_KERNEL_SIGNED_PC)) { in machine_thread_state_convert_to_user()
404 if (!(old_flags & __DARWIN_ARM_THREAD_STATE64_FLAGS_KERNEL_SIGNED_LR)) { in machine_thread_state_convert_to_user()
/xnu-11215/bsd/pthread/
H A Dpthread_workqueue.c1773 uint32_t old_flags, new_flags; in workq_thread_call_prepost() local
1775 os_atomic_rmw_loop(&wq->wq_flags, old_flags, new_flags, acquire, { in workq_thread_call_prepost()
1776 if (__improbable(old_flags & (WQ_EXITING | sched | pend | fail_mask))) { in workq_thread_call_prepost()
1779 if (__improbable(old_flags & WQ_PROC_SUSPENDED)) { in workq_thread_call_prepost()
1780 new_flags = old_flags | pend; in workq_thread_call_prepost()
1782 new_flags = old_flags | sched; in workq_thread_call_prepost()
1786 return (old_flags & WQ_PROC_SUSPENDED) == 0; in workq_thread_call_prepost()
/xnu-11215/bsd/kern/
H A Ddecmpfs.c953 int old_flags = 0;
961 old_flags = va_fetch.va_flags;
963 if (!(old_flags & UF_COMPRESSED)) {
/xnu-11215/bsd/netinet/
H A Dtcp_usrreq.c307 const uint8_t old_flags = inp->inp_vflag; in tcp6_usr_bind() local
348 inp->inp_vflag = old_flags; in tcp6_usr_bind()
356 inp->inp_vflag = old_flags; in tcp6_usr_bind()
/xnu-11215/bsd/net/
H A Dkpi_interface.c654 uint16_t old_flags; in ifnet_set_flags() local
678 old_flags = interface->if_flags; in ifnet_set_flags()
681 if ((old_flags & IFF_MULTICAST) != in ifnet_set_flags()
H A Dnecp_client.c2294 int old_flags = flow->necp_flow_flags; in necp_client_update_flows() local
2304 if ((old_flags & NECP_CLIENT_RESULT_FLAG_FORCE_UPDATE) != in necp_client_update_flows()