Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/block/
H A Dvirtio_blk.c38 * virtblk_remove() sets vblk->vdev to NULL.
41 * shut down before vblk->vdev is set to NULL and therefore do not need
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 in virtio_queue_rq() local
310 struct virtio_blk *vblk = disk->private_data; virtblk_get_id() local
330 virtblk_get(struct virtio_blk *vblk) virtblk_get() argument
335 virtblk_put(struct virtio_blk *vblk) virtblk_put() argument
346 struct virtio_blk *vblk = bd->bd_disk->private_data; virtblk_open() local
362 struct virtio_blk *vblk = disk->private_data; virtblk_release() local
370 struct virtio_blk *vblk = bd->bd_disk->private_data; virtblk_getgeo() local
439 virtblk_update_capacity(struct virtio_blk *vblk, bool resize) virtblk_update_capacity() argument
478 struct virtio_blk *vblk = virtblk_config_changed_work() local
486 struct virtio_blk *vblk = vdev->priv; virtblk_config_changed() local
491 init_vq(struct virtio_blk *vblk) init_vq() argument
598 struct virtio_blk *vblk = vdev->priv; virtblk_update_cache_mode() local
613 struct virtio_blk *vblk = disk->private_data; cache_type_store() local
631 struct virtio_blk *vblk = disk->private_data; cache_type_show() local
651 struct virtio_blk *vblk = disk->private_data; virtblk_attrs_are_visible() local
674 struct virtio_blk *vblk = set->driver_data; virtblk_init_request() local
683 struct virtio_blk *vblk = set->driver_data; virtblk_map_queues() local
702 struct virtio_blk *vblk; virtblk_probe() local
923 struct virtio_blk *vblk = vdev->priv; virtblk_remove() local
953 struct virtio_blk *vblk = vdev->priv; virtblk_freeze() local
971 struct virtio_blk *vblk = vdev->priv; virtblk_restore() local
[all...]
/kernel/linux/linux-6.6/drivers/block/
H A Dvirtio_blk.c59 * virtblk_remove() sets vblk->vdev to NULL.
62 * shut down before vblk->vdev is set to NULL and therefore do not need
134 struct virtio_blk *vblk = hctx->queue->queuedata; in get_virtio_blk_vq() local
135 struct virtio_blk_vq *vq = &vblk->vqs[hctx->queue_num]; in get_virtio_blk_vq()
339 struct virtio_blk *vblk = req->mq_hctx->queue->queuedata; in virtblk_request_done() local
345 req->__sector = virtio64_to_cpu(vblk->vdev, in virtblk_request_done()
353 struct virtio_blk *vblk = vq->vdev->priv; in virtblk_done() local
360 spin_lock_irqsave(&vblk->vqs[qid].lock, flags); in virtblk_done()
363 while ((vbr = virtqueue_get_buf(vblk->vqs[qid].vq, &len)) != NULL) { in virtblk_done()
376 blk_mq_start_stopped_hw_queues(vblk in virtblk_done()
382 struct virtio_blk *vblk = hctx->queue->queuedata; virtio_commit_rqs() local
407 virtblk_prep_rq(struct blk_mq_hw_ctx *hctx, struct virtio_blk *vblk, struct request *req, struct virtblk_req *vbr) virtblk_prep_rq() argument
432 struct virtio_blk *vblk = hctx->queue->queuedata; virtio_queue_rq() local
470 struct virtio_blk *vblk = req->mq_hctx->queue->queuedata; virtblk_prep_rq_batch() local
537 virtblk_alloc_report_buffer(struct virtio_blk *vblk, unsigned int nr_zones, size_t *buflen) virtblk_alloc_report_buffer() argument
566 virtblk_submit_zone_report(struct virtio_blk *vblk, char *report_buf, size_t report_len, sector_t sector) virtblk_submit_zone_report() argument
595 virtblk_parse_zone(struct virtio_blk *vblk, struct virtio_blk_zone_descriptor *entry, unsigned int idx, report_zones_cb cb, void *data) virtblk_parse_zone() argument
670 struct virtio_blk *vblk = disk->private_data; virtblk_report_zones() local
727 virtblk_revalidate_zones(struct virtio_blk *vblk) virtblk_revalidate_zones() argument
748 virtblk_probe_zoned_device(struct virtio_device *vdev, struct virtio_blk *vblk, struct request_queue *q) virtblk_probe_zoned_device() argument
844 virtblk_revalidate_zones(struct virtio_blk *vblk) virtblk_revalidate_zones() argument
848 virtblk_probe_zoned_device(struct virtio_device *vdev, struct virtio_blk *vblk, struct request_queue *q) virtblk_probe_zoned_device() argument
868 struct virtio_blk *vblk = disk->private_data; virtblk_get_id() local
897 struct virtio_blk *vblk = bd->bd_disk->private_data; virtblk_getgeo() local
928 struct virtio_blk *vblk = disk->private_data; virtblk_free_disk() local
975 virtblk_update_capacity(struct virtio_blk *vblk, bool resize) virtblk_update_capacity() argument
1007 struct virtio_blk *vblk = virtblk_config_changed_work() local
1016 struct virtio_blk *vblk = vdev->priv; virtblk_config_changed() local
1021 init_vq(struct virtio_blk *vblk) init_vq() argument
1153 struct virtio_blk *vblk = vdev->priv; virtblk_update_cache_mode() local
1167 struct virtio_blk *vblk = disk->private_data; cache_type_store() local
1185 struct virtio_blk *vblk = disk->private_data; cache_type_show() local
1205 struct virtio_blk *vblk = disk->private_data; virtblk_attrs_are_visible() local
1227 struct virtio_blk *vblk = set->driver_data; virtblk_map_queues() local
1265 struct virtio_blk *vblk = hctx->queue->queuedata; virtblk_poll() local
1306 struct virtio_blk *vblk; virtblk_probe() local
1603 struct virtio_blk *vblk = vdev->priv; virtblk_remove() local
1630 struct virtio_blk *vblk = vdev->priv; virtblk_freeze() local
1649 struct virtio_blk *vblk = vdev->priv; virtblk_restore() local
[all...]
/kernel/linux/linux-5.10/block/partitions/
H A Dldm.c527 * ldm_get_disk_objid - Search a linked list of vblk's for a given Disk Id
533 * list of vblk's.
535 * Return: Pointer, A matching vblk was found
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, lis in ldm_create_data_partitions()
[all...]
H A Dldm.h30 /* The defined vblk types. */
39 /* vblk flags indicating extra information will be present */
49 /* size of a vblk's static parts */
166 struct vblk { /* Generalised VBLK */ struct
178 } vblk; member
/kernel/linux/linux-6.6/block/partitions/
H A Dldm.c527 * ldm_get_disk_objid - Search a linked list of vblk's for a given Disk Id
533 * list of vblk's.
535 * Return: Pointer, A matching vblk was found
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, lis in ldm_create_data_partitions()
[all...]
H A Dldm.h29 /* The defined vblk types. */
38 /* vblk flags indicating extra information will be present */
48 /* size of a vblk's static parts */
165 struct vblk { /* Generalised VBLK */ struct
177 } vblk; member
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
H A Dsun6i_mipi_dsi.c535 u16 hbp = 0, hfp = 0, hsa = 0, hblk = 0, vblk = 0; in sun6i_dsi_setup_timings() local
591 * And I'm not entirely sure what vblk is about. The driver in in sun6i_dsi_setup_timings()
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()
661 /* 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/
H A Dsun6i_mipi_dsi.c535 u16 hbp = 0, hfp = 0, hsa = 0, hblk = 0, vblk = 0; in sun6i_dsi_setup_timings() local
591 * And I'm not entirely sure what vblk is about. The driver in in sun6i_dsi_setup_timings()
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()
661 /* 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()

Completed in 11 milliseconds