Searched refs:sp (Results 1 - 25 of 117) sorted by relevance

12345

/darwin-on-arm/xnu/osfmk/arm/crt/
H A Dumoddi3.s18 stmfd sp!, {r7, lr}
19 add r7, sp, #0
20 sub sp, sp, #16
21 add ip, sp, #8
22 str ip, [sp, #0]
24 ldrd r0, r1, [sp, #8]
25 sub sp, r7, #0
26 ldmfd sp!, {r7, pc}
H A Dudivdi3.s18 stmfd sp!, {r7, lr}
19 add r7, sp, #0
20 sub sp, sp, #8
22 str ip, [sp, #0]
24 sub sp, r7, #0
25 ldmfd sp!, {r7, pc}
H A Dmoddi3.s18 stmfd sp!, {r4, r5, r7, lr}
20 add r7, sp, #8
21 stmfd sp!, {r10, r11}
23 sub sp, sp, #16
30 add ip, sp, #8
35 str ip, [sp, #0]
37 ldrd r0, r1, [sp, #8]
42 sub sp, r7, #16
43 ldmfd sp!, {r1
[all...]
H A Ddivdi3.s22 stmfd sp!, {r4, r5, r7, lr}
24 add r7, sp, #8
25 stmfd sp!, {r10, r11}
27 sub sp, sp, #8
39 str ip, [sp, #0]
47 sub sp, r7, #16
48 ldmfd sp!, {r10, r11}
49 ldmfd sp!, {r4, r5, r7, pc}
H A Dmodsi3.s18 stmfd sp!, {r4, r5, r7, lr}
19 add r7, sp, #8
25 ldmfd sp!, {r4, r5, r7, pc}
H A Dumodsi3.s18 stmfd sp!, {r4, r5, r7, lr}
19 add r7, sp, #8
25 ldmfd sp!, {r4, r5, r7, pc}
/darwin-on-arm/xnu/bsd/netat/
H A Dadsp_RxData.c109 * sp stream
114 void CheckRecvSeq(sp, f) /* (CCBPtr sp, ADSP_FRAMEPtr f) */
115 register CCBPtr sp;
125 sp->sendDataAck = 1;
126 sp->callSend = 1;
136 if (GT(pktNextRecvSeq, sp->maxSendSeq)) /* We've never sent this seq #! */
139 if (GTE(pktNextRecvSeq, sp->timerSeq) && sp->waitingAck) {
141 sp
[all...]
H A Dadsp_Close.c79 int CheckOkToClose(sp) /* (CCBPtr sp) */
80 CCBPtr sp;
83 if (sp->sData) /* Outstanding data ? */
86 if (sp->sapb) /* Outstanding send attention ? */
89 if (sp->frpb) /* Outstanding forward reset ? */
92 if (sp->sendAttnAck)
95 if (sp->sendDataAck)
101 sp->sendCtl |= B_CTL_CLOSE; /* So, need to send close advice */
102 sp
129 CCBPtr sp = 0; local
[all...]
H A Dadsp_Control.c74 * sp ADSP Stream
78 int CalcRecvWdw(sp) /* (CCBPtr sp) */
79 CCBPtr sp;
83 bytes = calcRecvQ(sp);
84 bytes = sp->rbuflen - bytes; /* get what is left */
87 sp->rbufFull = 1; /* Save flag that our recv buf is full */
95 calcRecvQ(sp)
96 CCBPtr sp;
102 if (((sp
[all...]
H A Dadsp_Init.c69 * sp The stream we're initing (not yet on list of streams)
75 static void InitContinue(sp, pb) /* (CCBPtr sp, DSPPBPtr pb, int soc) */
76 CCBPtr sp;
81 sp->localSocket = pb->socket;
86 qAddToEnd((struct qlink **)AT_ADSP_STREAMS, (struct qlink *)sp); /* Put on linked list of connections */
110 int adspInit(sp, ap) /* (DSPPBPtr pb) */
111 CCBPtr sp;
117 sp->badSeqMax = 3; /* # of out-of-sequence packets received */
119 sp
[all...]
H A Dadsp_reset.c73 int RXFReset(sp, f) /* (CCBPtr sp, ADSP_FRAMEPtr f) */
74 CCBPtr sp;
84 hi = sp->recvSeq + CalcRecvWdw(sp);
89 if (BETWEEN(sp->recvSeq, pktFirstByteSeq, hi)) /* Is this acceptable? */
91 sp->recvSeq = pktFirstByteSeq;
92 while ((mp = sp->rbuf_mb)) { /* clear the receive queue */
93 sp->rbuf_mb = gbuf_next(mp);
96 if (sp
[all...]
H A Dadsp_Timer.c80 void TrashSession(sp) /* (CCBPtr sp) */
81 CCBPtr sp;
84 sp->userFlags |= eTearDown;
85 sp->removing = 1;
86 sp->state = sClosed;
88 DoClose(sp, errAborted, 1);
105 CCBPtr sp; local
107 sp = (CCBPtr)((Ptr)t - t->type); /* Recover stream pointer for this guy */
110 if (sp
[all...]
H A Dadsp_Open.c137 int adspOpen(sp, pb) /* (DSPPBPtr pb) */
138 register CCBPtr sp;
144 if (sp == 0) {
149 if ((sp->state != sClosed) ||
150 (sp->removing)) { /* The CCB must be closed */
163 sp->openInterval = pb->u.openParams.ocInterval;
165 sp->openInterval = ocIntervalDefault;
168 sp->openRetrys = pb->u.openParams.ocMaximum;
170 sp->openRetrys = ocMaximumDefault;
172 sp
[all...]
H A Dadsp_Status.c60 * sp ADSP Stream
64 int CalcSendQFree(sp) /* (CCBPtr sp) */
65 CCBPtr sp;
69 bytes = calcSendQ(sp);
70 bytes = sp->sbuflen - bytes;
78 calcSendQ(sp)
79 CCBPtr sp;
84 if (sp->sData) { /* There is data in buffer */
85 if ((mp = sp
[all...]
H A Dadsp_RxAttn.c71 static boolean MatchSender(sp, m) /* (CCBPtr sp, MATCH_SENDERPtr m) */
72 CCBPtr sp;
76 if (sp->state != sOpen && sp->state != sClosing)
79 if (sp->remCID != m->srcCID)
82 if (sp->remoteAddress.a.node != m->addr.a.node)
84 if (sp->remoteAddress.a.socket != m->addr.a.socket)
86 if (sp->remoteAddress.a.net && m->addr.a.net &&
87 (sp
[all...]
H A Dadsp_Read.c67 int CheckReadQueue(sp) /* (CCBPtr sp) */
68 register CCBPtr sp;
77 dPrintf(D_M_ADSP, D_L_TRACE, ("CheckReadQueue: sp=0x%x\n", (unsigned)sp));
78 KERNEL_DEBUG(DBG_ADSP_READ, 0, sp, sp->rbuf_mb, sp->rpb, sp->delay);
79 trace_mbufs(D_M_ADSP_LOW, " bCQR m", sp
[all...]
H A Dadsp_stream.c88 CCBPtr sp; local
95 sp = adsp_inputQ[p->dst_socket];
96 if ((sp == 0) || (sp->gref==0) || (sp->state==sClosed))
101 else if (sp->otccbLink != 0) {
103 if ((sp->remoteAddress.a.node == p->src_node)
104 && (sp->remoteAddress.a.socket == p->src_socket)
105 && (sp->remoteAddress.a.net == NET_VALUE(p->src_net)))
107 } while ((sp
160 CCBPtr sp; local
185 CCBPtr sp; local
227 register CCBPtr sp; local
251 CCBPtr sp = (CCBPtr)gbuf_rptr(((gbuf_t *)gref->info)); local
328 CCBPtr sp; local
519 CCBPtr sp; local
[all...]
H A Dadsp.c64 register CCBPtr sp; local
72 sp = (CCBPtr)gbuf_rptr(((gbuf_t *)gref->info));
74 sp->pid = gref->pid; /* save the caller process pointer */
75 sp->gref = gref; /* save a back pointer to the WRITE queue */
76 sp->sp_mp = ccb_mp; /* and its message block */
84 register CCBPtr sp; local
87 sp = (CCBPtr)gbuf_rptr(((gbuf_t *)gref->info));
91 if (sp->state == sPassive || sp->state == sClosed ||
92 sp
128 void *sp; local
380 NotifyUser( __unused CCBPtr sp) argument
389 UrgentUser( __unused CCBPtr sp) argument
[all...]
H A Dadsp_Packet.c78 static void GleanSession(sp) /* (CCBPtr sp) */
79 CCBPtr sp;
81 if (sp->openState == O_STATE_OPEN) {
83 RemoveTimerElem(&adspGlobal.slowTimers, &sp->ProbeTimer);
84 InsertTimerElem(&adspGlobal.slowTimers, &sp->ProbeTimer,
85 sp->probeInterval);
86 sp->probeCntr = 4;
406 MatchStream(sp, m) /* (CCBPtr sp, MATCHPt
547 CCBPtr sp; local
734 CCBPtr sp; local
[all...]
H A Dadsp_Write.c65 * sp stream
69 int FillSendQueue( /* (CCBPtr sp) */ argument
70 register CCBPtr sp,
105 sp->sData = 1; /* note that there is data to send */
106 if ((mb = sp->csbuf_mb)) { /* add to the current message */
109 sp->csbuf_mb = nmb; /* mark the buffer we are currently filling */
111 if ((mb = sp->sbuf_mb)) {
114 gbuf_next(mb) = sp->csbuf_mb; /* add the current item */
116 sp->sbuf_mb = sp
[all...]
H A Dadsp_Options.c71 int adspOptions(sp, pb) /* (DSPPBPtr pb) */
72 CCBPtr sp;
75 if (sp == 0) {
81 sp->sendBlocking = pb->u.optionParams.sendBlocking;
84 sp->sendInterval = pb->u.optionParams.sendTimer;
90 sp->delay = pb->u.optionParams.rtmtTimer;
91 KERNEL_DEBUG(DBG_ADSP_MISC, 0, sp, sp->delay, pb, pb->u.optionParams.rtmtTimer);
94 sp->badSeqMax = pb->u.optionParams.badSeqMax;
96 sp
[all...]
/darwin-on-arm/xnu/libkern/
H A Dmkext.c181 static void init_state(struct encode_state *sp) argument
185 bzero(sp, sizeof(*sp));
188 sp->text_buf[i] = ' ';
190 sp->rchild[i] = NIL;
192 sp->parent[i] = NIL;
203 static void insert_node(struct encode_state *sp, int r) argument
209 key = &sp->text_buf[r];
211 sp->rchild[r] = sp
254 delete_node(struct encode_state *sp, int p) argument
[all...]
H A Dstack_protector.c42 uint32_t sp; local
44 __asm__ __volatile__ ("mov %0, sp\n" : "=r"(sp));
45 panic("Kernel stack memory corruption detected, sp = 0x%08x\n", sp);
/darwin-on-arm/xnu/bsd/net/classq/
H A Dclassq_sfb.c132 #define SFB_RANDOM(sp, tmin, tmax) ((sfb_random(sp) % (tmax)) + (tmin))
171 #define SFB_HINTERVAL(sp) ((sfb_random(sp) % HINTERVAL_MAX) + HINTERVAL_MIN)
212 static void sfb_fclists_clean(struct sfb *sp);
281 sfb_random(struct sfb *sp) argument
283 IFCQ_CONVERT_LOCK(&sp->sfb_ifp->if_snd);
288 sfb_calc_holdtime(struct sfb *sp, u_int64_t outbw) argument
295 holdtime = SFB_RANDOM(sp, HOLDTIME_MIN, HOLDTIME_MAX);
307 net_nsectimer(&holdtime, &sp
311 sfb_calc_pboxtime(struct sfb *sp, u_int64_t outbw) argument
335 sfb_calc_hinterval(struct sfb *sp, u_int64_t *t) argument
364 struct sfb *sp; local
401 sfb_fclist_append(struct sfb *sp, struct sfb_fc_list *fcl) argument
408 sfb_fclists_clean(struct sfb *sp) argument
421 sfb_destroy(struct sfb *sp) argument
436 sfb_resetq(struct sfb *sp, cqev_t ev) argument
483 sfb_getstats(struct sfb *sp, struct sfb_stats *sps) argument
505 sfb_swap_bins(struct sfb *sp, u_int32_t len) argument
560 sfb_pcheck(struct sfb *sp, struct pf_mtag *t) argument
599 sfb_penalize(struct sfb *sp, struct pf_mtag *t, struct timespec *now) argument
658 sfb_adjust_bin(struct sfb *sp, struct sfbbinstats *bin, struct timespec *ft, struct timespec *now, boolean_t inc) argument
683 sfb_decrement_bin(struct sfb *sp, struct sfbbinstats *bin, struct timespec *ft, struct timespec *now) argument
690 sfb_increment_bin(struct sfb *sp, struct sfbbinstats *bin, struct timespec *ft, struct timespec *now) argument
697 sfb_dq_update_bins(struct sfb *sp, struct pf_mtag *t, struct timespec *now) argument
762 sfb_eq_update_bins(struct sfb *sp, struct pf_mtag *t) argument
794 sfb_bin_addfcentry(struct sfb *sp, struct pf_mtag *t) argument
838 sfb_drop_early(struct sfb *sp, struct pf_mtag *t, u_int16_t *pmin, struct timespec *now) argument
910 sfb_addq(struct sfb *sp, class_queue_t *q, struct mbuf *m, struct pf_mtag *t) argument
1012 sfb_getq_flow(struct sfb *sp, class_queue_t *q, u_int32_t flow, boolean_t purge) argument
1085 sfb_getq(struct sfb *sp, class_queue_t *q) argument
1091 sfb_purgeq(struct sfb *sp, class_queue_t *q, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
1112 sfb_updateq(struct sfb *sp, cqev_t ev) argument
1153 sfb_suspendq(struct sfb *sp, class_queue_t *q, boolean_t on) argument
[all...]
/darwin-on-arm/xnu/osfmk/arm/
H A Dtraps_lo.s53 mrs sp, spsr
54 tst sp, #0x20
61 mrs sp, spsr
62 tst sp, #0xf
67 LoadThreadRegister(sp)
68 ldr sp, [sp, TH_PCB_USS]
69 stmea sp, {r0-lr}^
71 str lr, [sp, #0x3C]
73 str r2, [sp, #
[all...]

Completed in 59 milliseconds

12345