Displaying 20 results from an estimated 26 matches for "356,13".
Did you mean:
256,13
2018 Jun 01
1
[PATCH v2] daemon: inspect: better handling windows drive mapping.
..._blob_gpt (Lazy.force partitions) blob
else if String.length blob = 12 then
- map_registry_disk_blob (Lazy.force devices) blob
+ map_registry_disk_blob_mbr (Lazy.force devices) blob
else
None
)
@@ -356,13 +356,18 @@ and get_drive_mappings h root data =
* The following function maps this blob to a libguestfs partition
* name, if possible.
*)
-and map_registry_disk_blob devices blob =
+and map_registry_disk_blob_mbr devices blob =
try
(* First 4 bytes are the disk ID. Search all devi...
2017 Mar 30
4
possible memory leak in ldb module while dbcheck on RODC
An embedded and charset-unspecified text was scrubbed...
Name: memory_profiler.txt
URL: <http://lists.samba.org/pipermail/samba/attachments/20170330/f5d10ac9/memory_profiler.txt>
2015 Jan 20
4
[PATCH v2] virtio-mmio: Update the device to OASIS spec version
...ase + VIRTIO_MMIO_QUEUE_SEL);
/* Queue shouldn't already be set up. */
- if (readl(vm_dev->base + VIRTIO_MMIO_QUEUE_PFN)) {
+ if (readl(vm_dev->base + (vm_dev->version == 1 ?
+ VIRTIO_MMIO_QUEUE_PFN : VIRTIO_MMIO_QUEUE_READY))) {
err = -ENOENT;
goto error_available;
}
@@ -356,13 +346,6 @@ static struct virtqueue *vm_setup_vq(struct virtio_device *vdev, unsigned index,
info->num /= 2;
}
- /* Activate the queue */
- writel(info->num, vm_dev->base + VIRTIO_MMIO_QUEUE_NUM);
- writel(VIRTIO_MMIO_VRING_ALIGN,
- vm_dev->base + VIRTIO_MMIO_QUEUE_ALIGN);
- w...
2015 Jan 20
4
[PATCH v2] virtio-mmio: Update the device to OASIS spec version
...ase + VIRTIO_MMIO_QUEUE_SEL);
/* Queue shouldn't already be set up. */
- if (readl(vm_dev->base + VIRTIO_MMIO_QUEUE_PFN)) {
+ if (readl(vm_dev->base + (vm_dev->version == 1 ?
+ VIRTIO_MMIO_QUEUE_PFN : VIRTIO_MMIO_QUEUE_READY))) {
err = -ENOENT;
goto error_available;
}
@@ -356,13 +346,6 @@ static struct virtqueue *vm_setup_vq(struct virtio_device *vdev, unsigned index,
info->num /= 2;
}
- /* Activate the queue */
- writel(info->num, vm_dev->base + VIRTIO_MMIO_QUEUE_NUM);
- writel(VIRTIO_MMIO_VRING_ALIGN,
- vm_dev->base + VIRTIO_MMIO_QUEUE_ALIGN);
- w...
2017 Mar 31
2
possible memory leak in ldb module while dbcheck on RODC
...er.py
> > +++ b/dbchecker.py
> > @@ -17,6 +17,7 @@
> > # along with this program. If not, see <http://www.gnu.org/licenses/>.
> > #
> >
> > +from memory_profiler import profile
> > import ldb
> > import samba
> > import time
> > @@ -356,6 +357,7 @@ systemFlags: -1946157056%s""" % (dn, guid_suffix),
> > return False
> > return True
> >
> > + @profile
> > def do_modify(self, m, controls, msg, validate=True):
> > '''perform a modify...
2015 Apr 28
0
[PATCH v2] virtio-mmio: Update the device to OASIS spec version
Hi,
On 01/20/2015 01:12 PM, Pawel Moll wrote:
> @@ -356,13 +346,6 @@ static struct virtqueue *vm_setup_vq(struct virtio_device *vdev, unsigned index,
> info->num /= 2;
> }
>
> - /* Activate the queue */
> - writel(info->num, vm_dev->base + VIRTIO_MMIO_QUEUE_NUM);
> - writel(VIRTIO_MMIO_VRING_ALIGN,
> - vm_dev->b...
2018 May 18
0
[PATCH] daemon: inspect: better handling windows drive mapping.
..._blob_gpt (Lazy.force partitions) blob
else if String.length blob = 12 then
- map_registry_disk_blob (Lazy.force devices) blob
+ map_registry_disk_blob_mbr (Lazy.force devices) blob
else
None
)
@@ -356,13 +356,18 @@ and get_drive_mappings h root data =
* The following function maps this blob to a libguestfs partition
* name, if possible.
*)
-and map_registry_disk_blob devices blob =
+and map_registry_disk_blob_mbr devices blob =
try
(* First 4 bytes are the disk ID. Search all devi...
2017 Mar 31
0
possible memory leak in ldb module while dbcheck on RODC
...index 032c0e7..6fe0d4d 100644
> --- a/dbchecker.py
> +++ b/dbchecker.py
> @@ -17,6 +17,7 @@
> # along with this program. If not, see <http://www.gnu.org/licenses/>.
> #
>
> +from memory_profiler import profile
> import ldb
> import samba
> import time
> @@ -356,6 +357,7 @@ systemFlags: -1946157056%s""" % (dn, guid_suffix),
> return False
> return True
>
> + @profile
> def do_modify(self, m, controls, msg, validate=True):
> '''perform a modify with optional verbose output&...
2002 Jan 13
0
rsynd-2.5.1 / io.c patches
...- char b[4];
+ unsigned char b[4];
int32 ret;
readfd(f,b,4);
@@ -336,7 +343,7 @@
{
extern int remote_version;
int64 ret;
- char b[8];
+ unsigned char b[8];
ret = read_int(f);
if ((int32)ret != (int32)0xffffffff) {
@@ -356,13 +363,15 @@
return ret;
}
-void read_buf(int f,char *buf,int len)
+void read_buf(int f, void *buf,int len)
{
readfd(f,buf,len);
}
-void read_sbuf(int f,char *buf,int len)
+void read_sbuf(int f, void *buf1,int len)
{
+unsigned char * buf;
+ buf = (unsigned char *)...
2019 Sep 28
2
[PATCH nbdkit 1/2] common/include: Add function for subtracting struct timeval.
---
common/include/test-tvdiff.c | 75 +++++++++++++++++++++++++++++-------
common/include/tvdiff.h | 13 ++++++-
2 files changed, 74 insertions(+), 14 deletions(-)
diff --git a/common/include/test-tvdiff.c b/common/include/test-tvdiff.c
index 9cbcfc0..abefb2e 100644
--- a/common/include/test-tvdiff.c
+++ b/common/include/test-tvdiff.c
@@ -36,7 +36,6 @@
#include <stdlib.h>
#include
2001 Sep 26
1
[PATCH] random SSH_MSG_IGNORE packets
...24,6 +324,9 @@
client_wait_until_can_do_something(fd_set **readsetp, fd_set **writesetp,
int *maxfdp, int rekeying)
{
+ struct timeval tv, *tvp = &tv;
+ int ret;
+
/* Add any selections by the channel mechanism. */
channel_prepare_select(readsetp, writesetp, maxfdp, rekeying);
@@ -356,13 +359,29 @@
/*
* Wait for something to happen. This will suspend the process until
* some selected descriptor can be read, written, or has some other
- * event pending. Note: if you want to implement SSH_MSG_IGNORE
- * messages to fool traffic analysis, this might be the place to do
-...
2019 Sep 28
0
[PATCH nbdkit 2/2] reflection: Add mode for reflecting server time.
...MODE_CONNTIME:
+ gettimeofday (&h->conn_t, NULL);
+ h->len = 12;
+ h->data = malloc (h->len);
+ if (h->data == NULL) {
+ nbdkit_error ("malloc: %m");
+ free (h);
+ return NULL;
+ }
+ return h;
+
default:
abort ();
}
@@ -320,6 +356,13 @@ reflection_can_multi_conn (void *handle)
*/
case MODE_ADDRESS:
return 0;
+ /* All time modes will read different values at different times,
+ * so all of them are unsafe for multi-conn.
+ */
+ case MODE_TIME:
+ case MODE_UPTIME:
+ case MODE_CONNTIME:
+ return 0;...
2019 Sep 28
0
[PATCH nbdkit v2 3/4] info: Add mode for sending back server time.
...MODE_CONNTIME:
+ gettimeofday (&h->conn_t, NULL);
+ h->len = 12;
+ h->data = malloc (h->len);
+ if (h->data == NULL) {
+ nbdkit_error ("malloc: %m");
+ free (h);
+ return NULL;
+ }
+ return h;
+
default:
abort ();
}
@@ -320,6 +356,13 @@ info_can_multi_conn (void *handle)
*/
case MODE_ADDRESS:
return 0;
+ /* All time modes will read different values at different times,
+ * so all of them are unsafe for multi-conn.
+ */
+ case MODE_TIME:
+ case MODE_UPTIME:
+ case MODE_CONNTIME:
+ return 0;...
2015 Jan 20
1
[PATCH] virtio-mmio: Update the device to OASIS spec version
...ase + VIRTIO_MMIO_QUEUE_SEL);
/* Queue shouldn't already be set up. */
- if (readl(vm_dev->base + VIRTIO_MMIO_QUEUE_PFN)) {
+ if (readl(vm_dev->base + (vm_dev->version == 1 ?
+ VIRTIO_MMIO_QUEUE_PFN : VIRTIO_MMIO_QUEUE_READY))) {
err = -ENOENT;
goto error_available;
}
@@ -356,13 +339,6 @@ static struct virtqueue *vm_setup_vq(struct virtio_device *vdev, unsigned index,
info->num /= 2;
}
- /* Activate the queue */
- writel(info->num, vm_dev->base + VIRTIO_MMIO_QUEUE_NUM);
- writel(VIRTIO_MMIO_VRING_ALIGN,
- vm_dev->base + VIRTIO_MMIO_QUEUE_ALIGN);
- w...
2015 Jan 20
1
[PATCH] virtio-mmio: Update the device to OASIS spec version
...ase + VIRTIO_MMIO_QUEUE_SEL);
/* Queue shouldn't already be set up. */
- if (readl(vm_dev->base + VIRTIO_MMIO_QUEUE_PFN)) {
+ if (readl(vm_dev->base + (vm_dev->version == 1 ?
+ VIRTIO_MMIO_QUEUE_PFN : VIRTIO_MMIO_QUEUE_READY))) {
err = -ENOENT;
goto error_available;
}
@@ -356,13 +339,6 @@ static struct virtqueue *vm_setup_vq(struct virtio_device *vdev, unsigned index,
info->num /= 2;
}
- /* Activate the queue */
- writel(info->num, vm_dev->base + VIRTIO_MMIO_QUEUE_NUM);
- writel(VIRTIO_MMIO_VRING_ALIGN,
- vm_dev->base + VIRTIO_MMIO_QUEUE_ALIGN);
- w...
2015 Jan 20
0
[PATCH v2] virtio-mmio: Update the device to OASIS spec version
...* Queue shouldn't already be set up. */
> - if (readl(vm_dev->base + VIRTIO_MMIO_QUEUE_PFN)) {
> + if (readl(vm_dev->base + (vm_dev->version == 1 ?
> + VIRTIO_MMIO_QUEUE_PFN : VIRTIO_MMIO_QUEUE_READY))) {
> err = -ENOENT;
> goto error_available;
> }
> @@ -356,13 +346,6 @@ static struct virtqueue *vm_setup_vq(struct virtio_device *vdev, unsigned index,
> info->num /= 2;
> }
>
> - /* Activate the queue */
> - writel(info->num, vm_dev->base + VIRTIO_MMIO_QUEUE_NUM);
> - writel(VIRTIO_MMIO_VRING_ALIGN,
> - vm_dev->b...
2015 Jan 20
0
[PATCH v2] virtio-mmio: Update the device to OASIS spec version
...* Queue shouldn't already be set up. */
> - if (readl(vm_dev->base + VIRTIO_MMIO_QUEUE_PFN)) {
> + if (readl(vm_dev->base + (vm_dev->version == 1 ?
> + VIRTIO_MMIO_QUEUE_PFN : VIRTIO_MMIO_QUEUE_READY))) {
> err = -ENOENT;
> goto error_available;
> }
> @@ -356,13 +346,6 @@ static struct virtqueue *vm_setup_vq(struct virtio_device *vdev, unsigned index,
> info->num /= 2;
> }
>
> - /* Activate the queue */
> - writel(info->num, vm_dev->base + VIRTIO_MMIO_QUEUE_NUM);
> - writel(VIRTIO_MMIO_VRING_ALIGN,
> - vm_dev->b...
2007 Jul 12
0
Branch 'as' - 6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_movie.c libswfdec/swfdec_sprite_movie_as.c test/trace
...vie_as.c
+++ b/libswfdec/swfdec_sprite_movie_as.c
@@ -348,7 +348,7 @@ swfdec_sprite_movie_duplicateMovieClip (
guint argc, SwfdecAsValue *argv, SwfdecAsValue *rval)
{
SwfdecMovie *movie = SWFDEC_MOVIE (obj);
- SwfdecMovie *ret;
+ SwfdecMovie *new;
const char *name;
int depth;
@@ -356,13 +356,18 @@ swfdec_sprite_movie_duplicateMovieClip (
depth = swfdec_as_value_to_integer (cx, &argv[1]);
if (swfdec_depth_classify (depth) == SWFDEC_DEPTH_CLASS_EMPTY)
return;
- ret = swfdec_movie_duplicate (movie, name, depth);
- if (ret == NULL)
+ new = swfdec_movie_duplicate (...
2006 Jan 21
2
snmp-ups hacking
Hi all!
I'm wondering if there's anyone doing any hacking on the snmp-ups
driver at the moment.
I've started looking at implementing 3phase-support, and this
uncovered some rather unpleasant stuff in the snmp-ups driver that I
really need to fix in order to get things sane.
Those of you that's allergic to SNMP might want to stop reading now,
this is rather icky ;)
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512.
Currently it fixes extlinux, MBR for GPT and ext partitions.
Other code is unaffected.
This set of patches has been tested on a read Dell machine running a beta
firmware.