Searched refs:copy_cmd (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/testing/selftests/iommu/ |
D | iommufd.c | 532 struct iommu_ioas_copy copy_cmd = { in TEST_F() local 533 .size = sizeof(copy_cmd), in TEST_F() 543 copy_cmd.src_iova = self->base_iova; in TEST_F() 544 copy_cmd.dst_iova = self->base_iova + PAGE_SIZE; in TEST_F() 545 ASSERT_EQ(0, ioctl(self->fd, IOMMU_IOAS_COPY, ©_cmd)); in TEST_F() 548 copy_cmd.src_iova = self->base_iova; in TEST_F() 549 copy_cmd.dst_iova = 0; in TEST_F() 550 test_ioctl_ioas_alloc(©_cmd.dst_ioas_id); in TEST_F() 551 ASSERT_EQ(0, ioctl(self->fd, IOMMU_IOAS_COPY, ©_cmd)); in TEST_F() 1025 struct iommu_ioas_copy copy_cmd = { in TEST_F() local [all …]
|
D | iommufd_fail_nth.c | 276 struct iommu_ioas_copy copy_cmd = { in TEST_FAIL_NTH() local 277 .size = sizeof(copy_cmd), in TEST_FAIL_NTH() 286 if (ioctl(self->fd, IOMMU_IOAS_COPY, ©_cmd)) in TEST_FAIL_NTH()
|
/linux-6.6.21/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 5596 struct ethtool_link_ksettings copy_cmd; in netdev_set_link_ksettings() local 5643 memcpy(©_cmd, cmd, sizeof(copy_cmd)); in netdev_set_link_ksettings() 5644 ethtool_convert_legacy_u32_to_link_mode(copy_cmd.link_modes.advertising, in netdev_set_link_ksettings() 5648 (const struct ethtool_link_ksettings *)©_cmd); in netdev_set_link_ksettings()
|