Lines Matching defs:hptr
83 ksyms_buflist_hdr_t *hptr = (ksyms_buflist_hdr_t *)ptr;
85 if (hptr->cur == NULL)
89 sz = MIN(rsize, (BUF_SIZE - hptr->curbuf_off));
90 bcopy(src, (hptr->cur->buf + hptr->curbuf_off), sz);
92 hptr->curbuf_off += sz;
93 if (hptr->curbuf_off == BUF_SIZE) {
94 hptr->curbuf_off = 0;
95 hptr->cur = list_next(&hptr->blist, hptr->cur);
96 if (hptr->cur == NULL)
220 void *hptr = NULL;
230 realsize = ksyms_snapshot(ksyms_bcopy, hptr, size);
237 hptr = (void *)&hdr;