Searched refs:vblk (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/block/
H A Dvirtio_blk.c48 struct virtio_blk *vblk = vq->vdev->priv; local
53 spin_lock_irqsave(&vblk->lock, flags);
54 while ((vbr = virtqueue_get_buf(vblk->vq, &len)) != NULL) {
84 mempool_free(vbr, vblk->pool);
87 blk_start_queue(vblk->disk->queue);
88 spin_unlock_irqrestore(&vblk->lock, flags);
91 static bool do_req(struct request_queue *q, struct virtio_blk *vblk, argument
97 vbr = mempool_alloc(vblk->pool, GFP_ATOMIC);
134 sg_set_buf(&vblk->sg[out++], &vbr->out_hdr, sizeof(vbr->out_hdr));
143 sg_set_buf(&vblk
177 struct virtio_blk *vblk = q->queuedata; local
202 struct virtio_blk *vblk = disk->private_data; local
229 struct virtio_blk *vblk = disk->private_data; local
256 struct virtio_blk *vblk = bd->bd_disk->private_data; local
312 struct virtio_blk *vblk; local
515 struct virtio_blk *vblk = vdev->priv; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/partitions/
H A Dldm.c581 * ldm_get_disk_objid - Search a linked list of vblk's for a given Disk Id
587 * list of vblk's.
589 * Return: Pointer, A matching vblk was found
592 static struct vblk * ldm_get_disk_objid (const struct ldmdb *ldb)
599 struct vblk *v = list_entry (item, struct vblk, list);
600 if (!memcmp (v->vblk.disk.disk_id, ldb->ph.disk_id, GUID_SIZE))
628 struct vblk *vb;
629 struct vblk *disk;
645 vb = list_entry (item, struct vblk, lis
[all...]
H A Dldm.h44 /* The defined vblk types. */
53 /* vblk flags indicating extra information will be present */
63 /* size of a vblk's static parts */
185 struct vblk { /* Generalised VBLK */ struct
197 } vblk; member in struct:vblk
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/lguest/
H A Dlguest.c1611 struct vblk_info *vblk = vq->dev->priv; local
1649 fdatasync(vblk->fd);
1666 if (lseek64(vblk->fd, off, SEEK_SET) != off)
1669 ret = writev(vblk->fd, iov+1, out_num-1);
1677 if (ret > 0 && off + ret > vblk->len) {
1679 ftruncate64(vblk->fd, vblk->len);
1692 if (lseek64(vblk->fd, off, SEEK_SET) != off)
1695 ret = readv(vblk->fd, iov+1, in_num-1);
1713 fdatasync(vblk
1723 struct vblk_info *vblk; local
[all...]

Completed in 126 milliseconds