Lines Matching refs:ptr
63 buf->ptr = NULL;
92 buf->p = buf->ptr = NULL;
121 buf->ptr = buf->p;
137 buf->p = buf->ptr = NULL;
158 buf->ptr = NULL;
163 buf->ptr = buf->p;
179 head->ptr = head->p;
199 if (buf->ptr == NULL) {
202 *dataptr = buf->ptr->payload;
203 *len = buf->ptr->len;
221 if (buf->ptr->next == NULL) {
224 buf->ptr = buf->ptr->next;
225 if (buf->ptr->next == NULL) {
242 buf->ptr = buf->p;