| /xnu-11215/tests/recount/ |
| H A D | recount_tests.c | 489 struct thread_sequence *seq = vsequence; in _thread_runs_on_perf_levels() local 492 dispatch_semaphore_signal(seq->parent_sema); in _thread_runs_on_perf_levels() 493 dispatch_semaphore_wait(seq->child_sema, DISPATCH_TIME_FOREVER); in _thread_runs_on_perf_levels() 496 dispatch_semaphore_signal(seq->parent_sema); in _thread_runs_on_perf_levels() 497 dispatch_semaphore_wait(seq->child_sema, DISPATCH_TIME_FOREVER); in _thread_runs_on_perf_levels() 525 struct thread_sequence seq = { variable 530 _thread_runs_on_perf_levels, &seq); 537 dispatch_semaphore_wait(seq.parent_sema, DISPATCH_TIME_FOREVER); 547 dispatch_semaphore_signal(seq.child_sema); 548 dispatch_semaphore_wait(seq.parent_sema, DISPATCH_TIME_FOREVER); [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | smr.c | 1119 seq = clk.s_rd_seq; in __smr_scan() 1123 seq &= ~SMR_SEQ_SLEEPABLE; in __smr_scan() 1131 seq = hw_wait_while_equals_long(&pcpu->c_rd_seq, seq); in __smr_scan() 1136 if (seq != SMR_SEQ_INVALID && SMR_SEQ_CMP(seq, <, rd_seq)) { in __smr_scan() 1137 rd_seq = seq; in __smr_scan() 1154 seq = clk.s_rd_seq; in __smr_scan() 1158 seq &= ~SMR_SEQ_SLEEPABLE; in __smr_scan() 1165 if (seq != SMR_SEQ_INVALID && SMR_SEQ_CMP(seq, <, rd_seq)) { in __smr_scan() 1166 rd_seq = seq; in __smr_scan() 1234 lock_cmpxchg(&smr->smr_clock.s_wr_seq, seq - SMR_SEQ_INC, seq, relaxed); in smr_deferred_advance_commit() [all …]
|
| /xnu-11215/bsd/netkey/ |
| H A D | keydb.h | 114 u_int32_t seq; /* sequence number */ member 138 u_int32_t seq; /* used by sender */ member 158 u_int32_t seq; /* sequence number */ member
|
| H A D | key.c | 3454 u_int32_t seq, in key_setdumpsp() argument 4374 sav->replay[i]->seq = seq; in key_setsaval() 4745 u_int32_t seq, in key_setdumpsa() argument 4925 u_int32_t seq, in key_setsadbmsg() argument 4960 p->sadb_msg_seq = seq; in key_setsadbmsg() 5216 u_int32_t seq, in key_setsadbxsa2() argument 8140 u_int32_t seq; in key_acquire() local 8182 seq = newacq->seq; in key_acquire() 8308 u_int32_t seq) in key_getacqbyseq() argument 8315 if (acq->seq == seq) { in key_getacqbyseq() [all …]
|
| /xnu-11215/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_track.c | 163 uint32_t seq, uint32_t ack, uint32_t ulen) in flow_track_tcp_rtt() argument 182 dst->fse_rtt.frtt_seg_begin = seq; in flow_track_tcp_rtt() 183 dst->fse_rtt.frtt_seg_end = seq + ulen; in flow_track_tcp_rtt() 249 uint32_t ack, end, seq, orig_seq; in flow_track_tcp() local 288 end = seq + pkt->pkt_flow_ulen; in flow_track_tcp() 308 seq = 0; in flow_track_tcp() 313 end = seq + pkt->pkt_flow_ulen; in flow_track_tcp() 345 src->fse_seqlo = seq; in flow_track_tcp() 383 if (seq == end) { in flow_track_tcp() 385 seq = src->fse_seqlo; in flow_track_tcp() [all …]
|
| /xnu-11215/iokit/IOKit/ |
| H A D | IOStatistics.h | 114 uint32_t seq; /* sequence ID */ member 197 uint32_t seq; /* sequence ID */ member 213 uint32_t seq; /* sequence ID */ member
|
| /xnu-11215/bsd/netinet6/ |
| H A D | esp_input.c | 201 ntohl(spi), seq, in esp_input_log() 224 u_int32_t seq; in esp4_input_extended() local 318 seq = ntohl(((struct newesp *)esp)->esp_seq); in esp4_input_extended() 557 seq && sav->replay[replay_index] && in esp4_input_extended() 716 esp_input_log(m, sav, spi, seq); in esp4_input_extended() 854 esp_input_log(m, sav, spi, seq); in esp4_input_extended() 934 u_int32_t seq; in esp6_input_extended() local 1031 seq = ntohl(((struct newesp *)esp)->esp_seq); in esp6_input_extended() 1263 seq && sav->replay[replay_index] && in esp6_input_extended() 1412 esp_input_log(m, sav, spi, seq); in esp6_input_extended() [all …]
|
| H A D | esp_output.c | 253 u_int32_t seq; in esp_output() local 574 if (sav->replay[traffic_class]->seq == sav->replay[traffic_class]->lastseq) { in esp_output() 588 sav->replay[traffic_class]->seq++; in esp_output() 594 nesp->esp_seq = htonl(sav->replay[traffic_class]->seq); in esp_output() 595 seq = sav->replay[traffic_class]->seq; in esp_output() 917 ntohl(spi), seq, in esp_output() 1183 if (__improbable(sav->replay[traffic_class]->seq >= in esp_kpipe_output() 1196 esp->esp_seq = htonl(os_atomic_inc(&sav->replay[traffic_class]->seq, relaxed)); in esp_kpipe_output()
|
| H A D | ipsec.c | 2824 ipsec_chkreplay(u_int32_t seq, struct secasvar *sav, u_int8_t replay_index) in ipsec_chkreplay() argument 2851 if (seq == 0) { in ipsec_chkreplay() 2862 if (seq > replay->lastseq) { in ipsec_chkreplay() 2868 diff = replay->lastseq - seq; in ipsec_chkreplay() 2896 ipsec_updatereplay(u_int32_t seq, struct secasvar *sav, u_int8_t replay_index) in ipsec_updatereplay() argument 2920 if (seq == 0) { in ipsec_updatereplay() 2927 replay->lastseq = seq; in ipsec_updatereplay() 2933 if (seq > replay->lastseq) { in ipsec_updatereplay() 2935 diff = seq - replay->lastseq; in ipsec_updatereplay() 2948 replay->lastseq = seq; in ipsec_updatereplay() [all …]
|
| /xnu-11215/bsd/nfs/gss/ |
| H A D | gss_krb5_mech.c | 1230 uint64_t seq = htonll(lctx->send_seq); in gss_krb5_cfx_get_mic() local 1327 uint64_t seq; in gss_krb5_cfx_verify_mic_mbuf() local 1354 seq = ntohll(seq); in gss_krb5_cfx_verify_mic_mbuf() 1355 lctx->recv_seq = seq; in gss_krb5_cfx_verify_mic_mbuf() 1593 uint64_t seq; in gss_krb5_cfx_unwrap_mbuf() local 1615 memcpy(&seq, token.SND_SEQ, sizeof(seq)); in gss_krb5_cfx_unwrap_mbuf() 1616 seq = ntohll(seq); in gss_krb5_cfx_unwrap_mbuf() 1617 lctx->recv_seq = seq; in gss_krb5_cfx_unwrap_mbuf() 1837 seq = htonl(seq); in gss_krb5_3des_token_put() 1869 uint32_t seq; in gss_krb5_3des_token_get() local [all …]
|
| /xnu-11215/osfmk/kdp/ |
| H A D | kdp.c | 164 rd->hdr.request, rd->hdr.seq); in kdp_packet() 172 rd->hdr.request, rd->hdr.len, rd->hdr.seq, rd->hdr.key); in kdp_packet() 194 rd->hdr.request, rd->hdr.len, rd->hdr.seq, rd->hdr.key); in kdp_unknown() 211 uint8_t seq; in kdp_connect() local 217 dprintf(("kdp_connect seq %x greeting %s\n", rq->hdr.seq, rq->greeting)); in kdp_connect() 222 seq = rq->hdr.seq; in kdp_connect() 224 if ((seq == kdp.conn_seq) && /* duplicate request */ in kdp_connect() 236 kdp.conn_seq = seq; in kdp_connect()
|
| H A D | kdp_udp.c | 1136 exception_seq = hdr->seq; in kdp_handler() 1140 if (hdr->seq == (exception_seq - 1)) { in kdp_handler() 1145 } else if ((hdr->seq != exception_seq) && in kdp_handler() 1148 hdr->seq, exception_seq); in kdp_handler() 1185 exception_seq = hdr->seq; in kdp_handler() 1291 !hdr->is_reply && (hdr->seq == exception_seq)) { in kdp_connection_wait()
|
| H A D | kdp_protocol.h | 170 unsigned seq:8; /* sequence number within session */ member
|
| /xnu-11215/bsd/nfs/ |
| H A D | nfs_gss.c | 1255 nfs_gss_svc_seqnum_valid(struct nfs_gss_svc_ctx *cp, uint32_t seq) in nfs_gss_svc_seqnum_valid() argument 1267 if (seq > cp->gss_svc_seqmax) { in nfs_gss_svc_seqnum_valid() 1268 if (seq - cp->gss_svc_seqmax > win) { in nfs_gss_svc_seqnum_valid() 1271 for (i = cp->gss_svc_seqmax + 1; i < seq; i++) { in nfs_gss_svc_seqnum_valid() 1275 win_setbit(bits, seq % win); in nfs_gss_svc_seqnum_valid() 1276 cp->gss_svc_seqmax = seq; in nfs_gss_svc_seqnum_valid() 1284 if (seq <= cp->gss_svc_seqmax - win) { in nfs_gss_svc_seqnum_valid() 1292 if (win_getbit(bits, seq % win)) { in nfs_gss_svc_seqnum_valid() 1296 win_setbit(bits, seq % win); in nfs_gss_svc_seqnum_valid()
|
| /xnu-11215/osfmk/kdp/ml/arm/ |
| H A D | kdp_machdep.c | 88 rq->hdr.seq = kdp.exception_seq; in kdp_exception() 124 dprintf(("kdp_exception_ack seq %x %x\n", rq->hdr.seq, kdp.exception_seq)); in kdp_exception_ack() 126 if (rq->hdr.seq == kdp.exception_seq) { in kdp_exception_ack()
|
| /xnu-11215/tests/ |
| H A D | icmp_fragmented_payload.c | 96 int seq; member 144 pcb->seq, in icmp4_pcb_print() 267 pcb->icmp_hdr->icmp_seq = htons(pcb->seq++); in icmp4_pcb_set_payload()
|
| /xnu-11215/bsd/netinet/ |
| H A D | mptcp_var.h | 485 #define MPTCP_DATASEQ_LOW32(seq) (seq & MPTCP_DATASEQ_LOW32_MASK) argument 489 #define MPTCP_DATASEQ_HIGH32(seq) (seq & MPTCP_DATASEQ_HIGH32_MASK) argument
|
| /xnu-11215/bsd/sys/ |
| H A D | ipc.h | 133 __uint16_t seq; /* Reserved for internal use */ member
|
| H A D | msg.h | 325 #define MSQID(ix, ds) ((ix) & 0xffff | (((ds).msg_perm.seq << 16) & 0xffff0000))
|
| /xnu-11215/osfmk/kdp/ml/x86_64/ |
| H A D | kdp_machdep.c | 82 rq->hdr.seq = kdp.exception_seq; in kdp_exception() 118 dprintf(("kdp_exception_ack seq %x %x\n", rq->hdr.seq, kdp.exception_seq)); in kdp_exception_ack() 120 if (rq->hdr.seq == kdp.exception_seq) { in kdp_exception_ack()
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | kdp.py | 7 def GetKDPPacketHeaderInt(request=0, is_reply=False, seq=0, length=0, key=0): argument 21 retval = (seq << 8) | retval
|
| /xnu-11215/osfmk/conf/ |
| H A D | Makefile.template | 151 mp.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst 152 pmCPU.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst 153 pmap_pcid.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst 154 xcpm_dvfs.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst 155 xcpm_fi.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst 156 xcpm_idle.o_CWARNFLAGS_ADD += -Wno-atomic-implicit-seq-cst
|
| H A D | Makefile.x86_64 | 5 CWARNFLAGS = $(CWARNFLAGS_STD) -Wno-atomic-implicit-seq-cst
|
| /xnu-11215/tests/sched/ |
| H A D | Makefile | 49 sched/yield_aggressor: OTHER_CFLAGS += -Wno-atomic-implicit-seq-cst
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOStatistics.cpp | 686 header->seq = sequenceID; in getStatistics() 777 header->seq = sequenceID; in getWorkLoopStatistics() 842 header->seq = sequenceID; in getUserClientStatistics()
|