Lines Matching defs:ptr
97 u8 *ptr;
111 ptr = buf->head[0].iov_base + offset;
112 *ptr++ = (unsigned char) ((KG2_TOK_WRAP>>8) & 0xff);
113 *ptr++ = (unsigned char) (KG2_TOK_WRAP & 0xff);
122 *ptr++ = flags;
123 *ptr++ = 0xff;
124 be16ptr = (__be16 *)ptr;
147 u8 *ptr;
158 ptr = buf->head[0].iov_base + offset;
160 if (be16_to_cpu(*((__be16 *)ptr)) != KG2_TOK_WRAP)
163 flags = ptr[2];
173 if (ptr[3] != 0xff)
176 ec = be16_to_cpup((__be16 *)(ptr + 4));
177 rrc = be16_to_cpup((__be16 *)(ptr + 6));
180 * NOTE: the sequence number at ptr + 8 is skipped, rpcsec_gss
203 if (memcmp(ptr, decrypted_hdr, 6)
204 || memcmp(ptr + 8, decrypted_hdr + 8, 8)) {
227 memmove(ptr, ptr + GSS_KRB5_TOK_HDR_LEN + headskip, movelen);