search for: mem_flags

Displaying 4 results from an estimated 4 matches for "mem_flags".

2012 Nov 15
1
[RFC/PATCH v4] XENMEM_claim_pages (subop of existing) hypercall
...reservation.extent_order != 0 ) + return -EINVAL; + + rc = rcu_lock_target_domain_by_id(reservation.domid, &d); + if ( rc ) + return rc; + + rc = domain_set_unclaimed_pages(d, reservation.nr_extents, + reservation.mem_flags); + + rcu_unlock_domain(d); + + break; + + case XENMEM_get_unclaimed_pages: + if ( !(IS_PRIV(current->domain)) ) + return -EPERM; + + rc = get_total_unclaimed_pages(); + break; + default: rc = arch_memory_op(op, arg); break;...
2012 Sep 04
2
[PATCH] valgrind: Support for ioctls used by Xen toolstack processes.
...sizeof(memory_reservation->nr_extents)); + PRE_MEM_READ(which, + (Addr)&memory_reservation->extent_order, + sizeof(memory_reservation->extent_order)); + PRE_MEM_READ(which, + (Addr)&memory_reservation->mem_flags, + sizeof(memory_reservation->mem_flags)); + PRE_MEM_READ(which, + (Addr)&memory_reservation->domid, + sizeof(memory_reservation->domid)); + break; + } + + default: + bad_subop(tid, layout, arrghs, status, flags,...
2020 Aug 19
39
a saner API for allocating DMA addressable pages
Hi all, this series replaced the DMA_ATTR_NON_CONSISTENT flag to dma_alloc_attrs with a separate new dma_alloc_pages API, which is available on all platforms. In addition to cleaning up the convoluted code path, this ensures that other drivers that have asked for better support for non-coherent DMA to pages with incurring bounce buffering over can finally be properly supported. I'm still a
2010 Sep 15
15
xenpaging fixes for kernel and hypervisor
Patrick, there following patches fix xenpaging for me. Granttable handling is incomplete. If a page is gone, a GNTST_eagain should be returned to the caller to inidcate the hypercall has to be retried after a while, until the page is available again. Please review. Olaf _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com