Home
last modified time | relevance | path

Searched refs:xcall_bufs (Results 1 – 1 of 1) sorted by relevance

/xen/tools/libs/devicemodel/
A Dcore.c99 void **xcall_bufs; in xendevicemodel_xcall() local
103 xcall_bufs = calloc(nr_bufs, sizeof(*xcall_bufs)); in xendevicemodel_xcall()
104 if (xcall_bufs == NULL) in xendevicemodel_xcall()
113 xcall_bufs[i] = xencall_alloc_buffer(dmod->xcall, bufs[i].size); in xendevicemodel_xcall()
114 if ( xcall_bufs[i] == NULL ) in xendevicemodel_xcall()
117 memcpy(xcall_bufs[i], bufs[i].ptr, bufs[i].size); in xendevicemodel_xcall()
118 set_xen_guest_handle_raw(op_bufs[i].h, xcall_bufs[i]); in xendevicemodel_xcall()
129 memcpy(bufs[i].ptr, xcall_bufs[i], bufs[i].size); in xendevicemodel_xcall()
132 if (xcall_bufs) in xendevicemodel_xcall()
134 xencall_free_buffer(dmod->xcall, xcall_bufs[i]); in xendevicemodel_xcall()
[all …]

Completed in 4 milliseconds