Lines Matching refs:cookies

321  * of cookies for this virtual address. Other cookies can be obtained
491 /* Allocate memory to store all pages and cookies */
493 memseg->cookies =
610 memseg->cookies[cookie_idx].addr =
612 memseg->cookies[cookie_idx].addr |= poffset;
613 memseg->cookies[cookie_idx].size = psize;
616 memseg->cookies[cookie_idx].size += psize;
655 cookie->addr = memseg->cookies[0].addr;
656 cookie->size = memseg->cookies[0].size;
660 "pgs=0x%llx cookies=0x%llx\n",
698 cookie->addr = memseg->cookies[memseg->next_cookie].addr;
699 cookie->size = memseg->cookies[memseg->next_cookie].size;
706 "ldc_mem_nextcookie:(0x%llx) no more cookies\n", ldcp->id);
723 * memory handle. Allassociated cookies are freed and the corresponding
806 kmem_free(memseg->cookies,
857 * space to or from the exported memory associated with the cookies.
863 ldc_mem_cookie_t *cookies, uint32_t ccount, uint8_t direction)
902 export_size += cookies[i].size;
952 * find the first cookie in the list of cookies
956 cookie_size = cookies[idx].size;
962 cookie_addr = cookies[idx].addr + off;
963 cookie_size = cookies[idx].size - off;
1044 cookie_addr = cookies[idx].addr;
1045 cookie_size = cookies[idx].size;
1328 /* Allocate memory to store all pages and cookies */
1330 memseg->cookies =
1350 kmem_free(memseg->cookies,
1482 /* save all cookies */
1483 bcopy(cookie, memseg->cookies, ccount * sizeof (ldc_mem_cookie_t));
1498 "va=0x%llx, pgs=0x%llx cookies=0x%llx\n",
1563 kmem_free(memseg->cookies,
1644 &copy_size, memseg->cookies, memseg->ncookies,
1910 * FUTURE: Return multiple cookies ..