search for: vbd_size

Displaying 3 results from an estimated 3 matches for "vbd_size".

Did you mean: pmd_size
2011 May 25
2
[PATCH linux-2.6.18-xen] blkback: don''t call vbd_size() if bd_disk is NULL
...because vbd_size() dereferences bd_disk if bd_part is NULL. Signed-off-by: Laszlo Ersek<lersek@redhat.com> --- drivers/xen/blkback/vbd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -r 415a9b435fef drivers/xen/blkback/vbd.c --- a/drivers/xen/blkback/vbd.c Mon May 23 18:36:33 2011 +0100...
2011 Jun 21
13
VM disk I/O limit patch
...v) ((_v)->bdev->bd_part ? \ (_v)->bdev->bd_part->nr_sects : get_capacity((_v)->bdev->bd_disk)) +#undef DPRINTK +#define DPRINTK(fmt, args...) \ + printk("blkback/vbd (%s:%d) " fmt ".\n", \ + __FUNCTION__, __LINE__, ##args) + unsigned long long vbd_size(struct vbd *vbd) { return vbd_sz(vbd); @@ -87,7 +92,7 @@ int vbd_create(blkif_t *blkif, blkif_vde if (vbd->bdev->bd_disk->flags & GENHD_FL_REMOVABLE) vbd->type |= VDISK_REMOVABLE; - DPRINTK("Successful creation of handle=%04x (dom=%u)\n", + DPRINTK("Successf...
2011 Jun 21
13
VM disk I/O limit patch
...v) ((_v)->bdev->bd_part ? \ (_v)->bdev->bd_part->nr_sects : get_capacity((_v)->bdev->bd_disk)) +#undef DPRINTK +#define DPRINTK(fmt, args...) \ + printk("blkback/vbd (%s:%d) " fmt ".\n", \ + __FUNCTION__, __LINE__, ##args) + unsigned long long vbd_size(struct vbd *vbd) { return vbd_sz(vbd); @@ -87,7 +92,7 @@ int vbd_create(blkif_t *blkif, blkif_vde if (vbd->bdev->bd_disk->flags & GENHD_FL_REMOVABLE) vbd->type |= VDISK_REMOVABLE; - DPRINTK("Successful creation of handle=%04x (dom=%u)\n", + DPRINTK("Successf...