Searched refs:xgs (Results 1 – 6 of 6) sorted by relevance
/xen-4.10.0-shim-comet/tools/libs/gnttab/ |
A D | gntshr_core.c | 27 xengntshr_handle *xgs = malloc(sizeof(*xgs)); in xengntshr_open() local 30 if (!xgs) return NULL; in xengntshr_open() 32 xgs->fd = -1; in xengntshr_open() 33 xgs->logger = logger; in xengntshr_open() 36 if (!xgs->logger) { in xengntshr_open() 37 xgs->logger = xgs->logger_tofree = in xengntshr_open() 46 return xgs; in xengntshr_open() 49 osdep_gntshr_close(xgs); in xengntshr_open() 51 free(xgs); in xengntshr_open() 59 if ( !xgs ) in xengntshr_close() [all …]
|
A D | freebsd.c | 211 int osdep_gntshr_open(xengntshr_handle *xgs) in osdep_gntshr_open() argument 218 xgs->fd = fd; in osdep_gntshr_open() 223 int osdep_gntshr_close(xengntshr_handle *xgs) in osdep_gntshr_close() argument 225 if ( xgs->fd == -1 ) in osdep_gntshr_close() 228 return close(xgs->fd); in osdep_gntshr_close() 231 void *osdep_gntshr_share_pages(xengntshr_handle *xgs, in osdep_gntshr_share_pages() argument 238 int fd = xgs->fd; in osdep_gntshr_share_pages() 254 GSERROR(xgs->logger, "ioctl failed"); in osdep_gntshr_share_pages() 264 GSERROR(xgs->logger, "mmap failed"); in osdep_gntshr_share_pages() 284 GSERROR(xgs->logger, "ioctl SET_UNMAP_NOTIFY failed"); in osdep_gntshr_share_pages() [all …]
|
A D | private.h | 38 int osdep_gntshr_open(xengntshr_handle *xgs); 39 int osdep_gntshr_close(xengntshr_handle *xgs); 41 void *osdep_gntshr_share_pages(xengntshr_handle *xgs, 46 int osdep_gntshr_unshare(xengntshr_handle *xgs,
|
A D | linux.c | 312 int osdep_gntshr_open(xengntshr_handle *xgs) in osdep_gntshr_open() argument 317 xgs->fd = fd; in osdep_gntshr_open() 321 int osdep_gntshr_close(xengntshr_handle *xgs) in osdep_gntshr_close() argument 323 if ( xgs->fd == -1 ) in osdep_gntshr_close() 326 return close(xgs->fd); in osdep_gntshr_close() 329 void *osdep_gntshr_share_pages(xengntshr_handle *xgs, in osdep_gntshr_share_pages() argument 338 int fd = xgs->fd; in osdep_gntshr_share_pages() 350 GSERROR(xgs->logger, "ioctl failed"); in osdep_gntshr_share_pages() 359 GSERROR(xgs->logger, "mmap failed"); in osdep_gntshr_share_pages() 376 GSERROR(xgs->logger, "ioctl SET_UNMAP_NOTIFY failed"); in osdep_gntshr_share_pages() [all …]
|
A D | gntshr_unimp.c | 30 int xengntshr_close(xengntshr_handle *xgs) in xengntshr_close() argument 49 int xengntshr_unshare(xengntshr_handle *xgs, void *start_address, uint32_t count) in xengntshr_unshare() argument
|
/xen-4.10.0-shim-comet/tools/libs/gnttab/include/ |
A D | xengnttab.h | 335 int xengntshr_close(xengntshr_handle *xgs); 353 void *xengntshr_share_pages(xengntshr_handle *xgs, uint32_t domid, 368 void *xengntshr_share_page_notify(xengntshr_handle *xgs, uint32_t domid, 380 int xengntshr_unshare(xengntshr_handle *xgs, void *start_address, uint32_t count);
|
Completed in 9 milliseconds