Searched refs:hbuf (Results 1 – 4 of 4) sorted by relevance
| /tools/libs/ctrl/ |
| A D | xc_version.c | 104 xen_varbuf_t *hbuf = NULL; in varbuf_op() local 111 hbuf = xencall_alloc_buffer(xch->xcall, sizeof(*hbuf) + sz); in varbuf_op() 112 if ( !hbuf ) in varbuf_op() 115 hbuf->len = sz; in varbuf_op() 124 hbuf->len = sz; in varbuf_op() 125 return hbuf; in varbuf_op() 140 if ( !hbuf ) in varbuf_simple_string() 146 memcpy(res, hbuf->buf, hbuf->len); in varbuf_simple_string() 147 res[hbuf->len] = '\0'; in varbuf_simple_string() 193 if ( !hbuf ) in xc_xenver_buildid() [all …]
|
| A D | xc_hcall_buf.c | 24 .hbuf = NULL, 36 b->hbuf = p; in xc__hypercall_buffer_alloc_pages() 38 return b->hbuf; in xc__hypercall_buffer_alloc_pages() 53 b->hbuf = p; in xc__hypercall_buffer_alloc() 55 return b->hbuf; in xc__hypercall_buffer_alloc() 78 b->hbuf = NULL; in xc__hypercall_bounce_pre() 87 memcpy(b->hbuf, b->ubuf, b->sz); in xc__hypercall_bounce_pre() 100 if ( b->hbuf == NULL ) in xc__hypercall_bounce_post() 152 array->bufs[index] = *hbuf; in xc__hypercall_buffer_array_alloc() 164 *hbuf = array->bufs[index]; in xc__hypercall_buffer_array_get() [all …]
|
| A D | xc_private.h | 160 .hbuf = NULL, \ 190 #define HYPERCALL_BOUNCE_SET_DIR(_buf, _dir) do { if ((HYPERCALL_BUFFER(_buf))->hbuf) \
|
| /tools/include/ |
| A D | xenctrl.h | 196 void *hbuf; member 241 .hbuf = NULL, \ 257 _type *(_name) = (_hbuf)->hbuf; \ 260 .hbuf = (void *)-1, \ 271 .hbuf = (void *)-1, \ 285 (unsigned long)(_hcbuf_arg2)->hbuf; \ 299 (_hcbuf_hnd2)->hbuf + (_byte_off)); \ 352 unsigned index, xc_hypercall_buffer_t *hbuf, size_t size); 356 unsigned index, xc_hypercall_buffer_t *hbuf);
|
Completed in 20 milliseconds