Lines Matching defs:sn
102 * sn = current offset to data in s (next source data to process)
122 int sn, dn; /* offset from the head of the mbuf, to meat */
165 soff = sn = dn = 0;
172 sn = bodyoff - soff;
180 scutoff = sn;
188 if (sn + AES_BLOCKLEN <= s->m_len) {
190 sp = mtod(s, u_int8_t *) + sn;
191 len = s->m_len - sn;
195 m_copydata(s, sn, AES_BLOCKLEN, sbuf);
205 i = m->m_pkthdr.len - (soff + sn);
243 sn += len;
250 while (s && sn >= s->m_len) {
251 sn -= s->m_len;
282 int sn, dn; /* offset from the head of the mbuf, to meat */
325 soff = sn = dn = 0;
332 sn = bodyoff - soff;
340 scutoff = sn;
348 if (sn + AES_BLOCKLEN <= s->m_len) {
350 sp = mtod(s, u_int8_t *) + sn;
351 len = s->m_len - sn;
355 m_copydata(s, sn, AES_BLOCKLEN, sbuf);
365 i = m->m_pkthdr.len - (soff + sn);
404 sn += len;
411 while (s && sn >= s->m_len) {
412 sn -= s->m_len;