Searched refs:vblk (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | virtio_blk.c | 176 struct virtio_blk *vblk = vq->vdev->priv; in virtblk_done() local 183 spin_lock_irqsave(&vblk->vqs[qid].lock, flags); in virtblk_done() 186 while ((vbr = virtqueue_get_buf(vblk->vqs[qid].vq, &len)) != NULL) { in virtblk_done() 199 blk_mq_start_stopped_hw_queues(vblk->disk->queue, true); in virtblk_done() 200 spin_unlock_irqrestore(&vblk->vqs[qid].lock, flags); in virtblk_done() 205 struct virtio_blk *vblk = hctx->queue->queuedata; in virtio_commit_rqs() local 206 struct virtio_blk_vq *vq = &vblk->vqs[hctx->queue_num]; in virtio_commit_rqs() 220 struct virtio_blk *vblk = hctx->queue->queuedata; in virtio_queue_rq() local 256 (req->nr_phys_segments + 2 > vblk->sg_elems)); in virtio_queue_rq() 258 vbr->out_hdr.type = cpu_to_virtio32(vblk->vdev, type); in virtio_queue_rq() [all …]
|
| /OK3568_Linux_fs/kernel/block/partitions/ |
| H A D | ldm.c | 538 static struct vblk * ldm_get_disk_objid (const struct ldmdb *ldb) in ldm_get_disk_objid() 545 struct vblk *v = list_entry (item, struct vblk, list); in ldm_get_disk_objid() 546 if (uuid_equal(&v->vblk.disk.disk_id, &ldb->ph.disk_id)) in ldm_get_disk_objid() 574 struct vblk *vb; in ldm_create_data_partitions() 575 struct vblk *disk; in ldm_create_data_partitions() 591 vb = list_entry (item, struct vblk, list); in ldm_create_data_partitions() 592 part = &vb->vblk.part; in ldm_create_data_partitions() 720 static bool ldm_parse_cmp3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_cmp3() 749 comp = &vb->vblk.comp; in ldm_parse_cmp3() 771 static int ldm_parse_dgr3 (const u8 *buffer, int buflen, struct vblk *vb) in ldm_parse_dgr3() [all …]
|
| H A D | ldm.h | 166 struct vblk { /* Generalised VBLK */ struct 178 } vblk; argument
|
| /OK3568_Linux_fs/buildroot/boot/grub2/ |
| H A D | 0063-disk-ldm-Make-sure-comp-data-is-freed-before-exiting.patch | 63 if (!(vblk[i].flags & 0x10)) 71 if (ptr >= vblk[i].dynamic + sizeof (vblk[i].dynamic) 72 || ptr + *ptr + 1 >= vblk[i].dynamic 73 + sizeof (vblk[i].dynamic)) 80 if (ptr + *ptr + 1 >= vblk[i].dynamic 81 + sizeof (vblk[i].dynamic))
|
| H A D | 0065-disk-ldm-Fix-memory-leak-on-uninserted-lv-references.patch | 46 ptr = vblk[i].dynamic; 47 if (ptr + *ptr + 1 >= vblk[i].dynamic 48 + sizeof (vblk[i].dynamic))
|
| H A D | 0006-malloc-Use-overflow-checking-primitives-where-we-do-.patch | 239 struct grub_ldm_vblk vblk[GRUB_DISK_SECTOR_SIZE 244 sizeof(vblk), &vblk);
|
| H A D | 0005-calloc-Use-calloc-at-most-places.patch | 326 ptr = vblk[i].dynamic;
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/ |
| H A D | sun6i_mipi_dsi.c | 535 u16 hbp = 0, hfp = 0, hsa = 0, hblk = 0, vblk = 0; in sun6i_dsi_setup_timings() local 596 vblk = 0; in sun6i_dsi_setup_timings() 600 bytes = max_t(size_t, max(max(hfp, hblk), max(hsa, hbp)), vblk); in sun6i_dsi_setup_timings() 663 sun6i_dsi_build_blk0_pkt(device->channel, vblk)); in sun6i_dsi_setup_timings() 665 sun6i_dsi_build_blk1_pkt(0, buffer, vblk)); in sun6i_dsi_setup_timings()
|