Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.h32 struct rd_dev { struct
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/
Dvgic-mmio-v3.c695 struct vgic_io_device *rd_dev = &vcpu->arch.vgic_cpu.rd_iodev; in vgic_register_redist_iodev() local
720 kvm_iodevice_init(&rd_dev->dev, &kvm_io_gic_ops); in vgic_register_redist_iodev()
721 rd_dev->base_addr = rd_base; in vgic_register_redist_iodev()
722 rd_dev->iodev_type = IODEV_REDIST; in vgic_register_redist_iodev()
723 rd_dev->regions = vgic_v3_rd_registers; in vgic_register_redist_iodev()
724 rd_dev->nr_regions = ARRAY_SIZE(vgic_v3_rd_registers); in vgic_register_redist_iodev()
725 rd_dev->redist_vcpu = vcpu; in vgic_register_redist_iodev()
729 2 * SZ_64K, &rd_dev->dev); in vgic_register_redist_iodev()
741 struct vgic_io_device *rd_dev = &vcpu->arch.vgic_cpu.rd_iodev; in vgic_unregister_redist_iodev() local
743 kvm_io_bus_unregister_dev(vcpu->kvm, KVM_MMIO_BUS, &rd_dev->dev); in vgic_unregister_redist_iodev()
[all …]