search for: 623,15

Displaying 4 results from an estimated 4 matches for "623,15".

Did you mean: 62,15
2015 Mar 02
0
[PATCH] VMCI: Guard against overflow in queue pair allocation
...) + + sizeof(*queue->kernel_if->u.g.vas))) + return NULL; + + pas_size = num_pages * sizeof(*queue->kernel_if->u.g.pas); + vas_size = num_pages * sizeof(*queue->kernel_if->u.g.vas); + queue_size += pas_size + vas_size; queue = vmalloc(queue_size); if (!queue) @@ -615,10 +623,15 @@ static int qp_memcpy_from_queue_iov(void *dest, static struct vmci_queue *qp_host_alloc_queue(u64 size) { struct vmci_queue *queue; - const size_t num_pages = DIV_ROUND_UP(size, PAGE_SIZE) + 1; + size_t queue_page_size; + const u64 num_pages = DIV_ROUND_UP(size, PAGE_SIZE) + 1; const si...
2015 Mar 02
0
[PATCH] VMCI: Guard against overflow in queue pair allocation
...) + + sizeof(*queue->kernel_if->u.g.vas))) + return NULL; + + pas_size = num_pages * sizeof(*queue->kernel_if->u.g.pas); + vas_size = num_pages * sizeof(*queue->kernel_if->u.g.vas); + queue_size += pas_size + vas_size; queue = vmalloc(queue_size); if (!queue) @@ -615,10 +623,15 @@ static int qp_memcpy_from_queue_iov(void *dest, static struct vmci_queue *qp_host_alloc_queue(u64 size) { struct vmci_queue *queue; - const size_t num_pages = DIV_ROUND_UP(size, PAGE_SIZE) + 1; + size_t queue_page_size; + const u64 num_pages = DIV_ROUND_UP(size, PAGE_SIZE) + 1; const si...
2007 Sep 17
0
2 commits - libswfdec/swfdec_bits.c
...get_color (bits); + if (alpha) + grad->array[i].color = swfdec_bits_get_rgba (bits); + else + grad->array[i].color = swfdec_bits_get_color (bits); } if (i < n_gradients) { SWFDEC_ERROR ("not enough data for %u gradients, could only read %u", @@ -620,24 +623,15 @@ swfdec_bits_get_gradient (SwfdecBits * b } SwfdecGradient * -swfdec_bits_get_gradient_rgba (SwfdecBits * bits) +swfdec_bits_get_gradient (SwfdecBits * bits) { - SwfdecGradient *grad; - guint i, n_gradients; + return swfdec_bits_do_get_gradient (bits, FALSE); +} - n_gradients = swfd...
2019 May 30
10
[PATCH v8 0/7] Add virtio-iommu driver
Implement the virtio-iommu driver, following specification v0.12 [1]. Since last version [2] we've worked on improving the specification, which resulted in the following changes to the interface: * Remove the EXEC flag. * Add feature bit for the MMIO flag. * Change domain_bits to domain_range. Given that there were small changes to patch 5/7, I removed the review and test tags. Please find