Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/target/
Dtarget_core_rd.c28 static inline struct rd_dev *RD_DEV(struct se_device *dev) in RD_DEV()
30 return container_of(dev, struct rd_dev, dev); in RD_DEV()
63 static u32 rd_release_sgl_table(struct rd_dev *rd_dev, struct rd_dev_sg_table *sg_table, in rd_release_sgl_table() argument
88 static void rd_release_device_space(struct rd_dev *rd_dev) in rd_release_device_space() argument
92 if (!rd_dev->sg_table_array || !rd_dev->sg_table_count) in rd_release_device_space()
95 page_count = rd_release_sgl_table(rd_dev, rd_dev->sg_table_array, in rd_release_device_space()
96 rd_dev->sg_table_count); in rd_release_device_space()
100 rd_dev->rd_host->rd_host_id, rd_dev->rd_dev_id, page_count, in rd_release_device_space()
101 rd_dev->sg_table_count, (unsigned long)page_count * PAGE_SIZE); in rd_release_device_space()
103 rd_dev->sg_table_array = NULL; in rd_release_device_space()
[all …]
Dtarget_core_rd.h33 struct rd_dev { struct
/linux-6.6.21/arch/arm64/kvm/vgic/
Dvgic-mmio-v3.c776 struct vgic_io_device *rd_dev = &vcpu->arch.vgic_cpu.rd_iodev; in vgic_register_redist_iodev() local
807 kvm_iodevice_init(&rd_dev->dev, &kvm_io_gic_ops); in vgic_register_redist_iodev()
808 rd_dev->base_addr = rd_base; in vgic_register_redist_iodev()
809 rd_dev->iodev_type = IODEV_REDIST; in vgic_register_redist_iodev()
810 rd_dev->regions = vgic_v3_rd_registers; in vgic_register_redist_iodev()
811 rd_dev->nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_register_redist_iodev()
812 rd_dev->redist_vcpu = vcpu; in vgic_register_redist_iodev()
817 2 * SZ_64K, &rd_dev->dev); in vgic_register_redist_iodev()
832 struct vgic_io_device *rd_dev = &vcpu->arch.vgic_cpu.rd_iodev; in vgic_unregister_redist_iodev() local
834 kvm_io_bus_unregister_dev(vcpu->kvm, KVM_MMIO_BUS, &rd_dev->dev); in vgic_unregister_redist_iodev()
[all …]