Lines Matching refs:cpbuffer
965 buflist_t *cpbuffer;
984 cpbuffer = HeapAlloc(hHeapHandle, HEAP_ZERO_MEMORY, sizeof(buflist_t));
985 RUNTIME_CHECK(cpbuffer != NULL);
986 cpbuffer->buf = HeapAlloc(hHeapHandle, HEAP_ZERO_MEMORY, write_count);
987 RUNTIME_CHECK(cpbuffer->buf != NULL);
991 "alloc_buffer %p %d %p %d", cpbuffer, sizeof(buflist_t),
992 cpbuffer->buf, write_count);
994 memmove(cpbuffer->buf,(dev->region.base + dev->n), write_count);
995 cpbuffer->buflen = (unsigned int)write_count;
996 ISC_LINK_INIT(cpbuffer, link);
997 ISC_LIST_ENQUEUE(lpo->bufferlist, cpbuffer, link);
998 iov[0].buf = cpbuffer->buf;
1025 cpbuffer = HeapAlloc(hHeapHandle, HEAP_ZERO_MEMORY, sizeof(buflist_t));
1026 RUNTIME_CHECK(cpbuffer != NULL);
1027 cpbuffer->buf = HeapAlloc(hHeapHandle, HEAP_ZERO_MEMORY, uselen);
1028 RUNTIME_CHECK(cpbuffer->buf != NULL);
1032 "alloc_buffer %p %d %p %d", cpbuffer, sizeof(buflist_t),
1033 cpbuffer->buf, write_count);
1035 memmove(cpbuffer->buf,(used.base + skip_count), uselen);
1036 cpbuffer->buflen = uselen;
1037 iov[iovcount].buf = cpbuffer->buf;