Home
last modified time | relevance | path

Searched refs:rd_dev (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/target/
Dtarget_core_rd.c41 static inline struct rd_dev *RD_DEV(struct se_device *dev) in RD_DEV()
43 return container_of(dev, struct rd_dev, dev); in RD_DEV()
76 static u32 rd_release_sgl_table(struct rd_dev *rd_dev, struct rd_dev_sg_table *sg_table, in rd_release_sgl_table() argument
101 static void rd_release_device_space(struct rd_dev *rd_dev) in rd_release_device_space() argument
105 if (!rd_dev->sg_table_array || !rd_dev->sg_table_count) in rd_release_device_space()
108 page_count = rd_release_sgl_table(rd_dev, rd_dev->sg_table_array, in rd_release_device_space()
109 rd_dev->sg_table_count); in rd_release_device_space()
113 rd_dev->rd_host->rd_host_id, rd_dev->rd_dev_id, page_count, in rd_release_device_space()
114 rd_dev->sg_table_count, (unsigned long)page_count * PAGE_SIZE); in rd_release_device_space()
116 rd_dev->sg_table_array = NULL; in rd_release_device_space()
[all …]
Dtarget_core_rd.h32 struct rd_dev { struct
/Linux-v4.19/virt/kvm/arm/vgic/
Dvgic-mmio-v3.c616 struct vgic_io_device *rd_dev = &vcpu->arch.vgic_cpu.rd_iodev; in vgic_register_redist_iodev() local
643 kvm_iodevice_init(&rd_dev->dev, &kvm_io_gic_ops); in vgic_register_redist_iodev()
644 rd_dev->base_addr = rd_base; in vgic_register_redist_iodev()
645 rd_dev->iodev_type = IODEV_REDIST; in vgic_register_redist_iodev()
646 rd_dev->regions = vgic_v3_rdbase_registers; in vgic_register_redist_iodev()
647 rd_dev->nr_regions = ARRAY_SIZE(vgic_v3_rdbase_registers); in vgic_register_redist_iodev()
648 rd_dev->redist_vcpu = vcpu; in vgic_register_redist_iodev()
652 SZ_64K, &rd_dev->dev); in vgic_register_redist_iodev()
670 &rd_dev->dev); in vgic_register_redist_iodev()
682 struct vgic_io_device *rd_dev = &vcpu->arch.vgic_cpu.rd_iodev; in vgic_unregister_redist_iodev() local
[all …]