Lines Matching refs:of
6 * This file contains Original Code and/or Modifications of Original Code
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
12 * circumvent, violate, or enable the circumvention or violation of, any
13 * terms of an Apple operating system software license agreement.
15 * Please obtain a copy of the License at
61 /* # of additional ticks to add to any timer that we're queuing up. For
76 * # of bytes in avail in local receive queue
149 int datalen; /* amount of data attached to mblk */
158 * ADSP headers + 2 bytes of attention
177 i = sp->sendCtl; /* get local copy bitmap of */
181 if (i & 0x1E) /* One of the open ctrl packets */
188 UAS_ASSIGN_HTON(sp->of.version, netw(0x0100)); /* Fill in open connection parms */
189 UAS_ASSIGN_HTON(sp->of.dstCID, sp->remCID); /* Destination CID */
190 UAL_ASSIGN_HTON(sp->of.pktAttnRecvSeq, sp->attnRecvSeq);
191 bcopy((caddr_t) &sp->of, (caddr_t) dp, ADSP_OPEN_FRAME_LEN);
228 /* seq # of next byte to send */
272 * the end of the adsp packet header, and the length is
308 UAL_ASSIGN_HTON(sp->f.pktFirstByteSeq, sp->sendSeq); /* seq # of next byte */
424 seq = sp->firstRtmtSeq; /* Seq # of oldest in buffer */
445 cnt = bsize - diff; /* # of bytes in this block */
450 * Check to see if the number of bytes is less than the 'send
463 sendAckReq = 0; /* Won't send ack because end of data */
468 /* trim extra bytes off the beginning of the "block" before the copy */
479 gbuf_rinc(smp,diff); /* and get to the first byte of data to send */
484 * with this. sendWdwSeq is the seq # of the last byte that
497 /* trim extra bytes off the tail of the "block" after the copy */
531 if (GT(sp->sendSeq, sp->maxSendSeq)) /* Keep track of >st ever sent */