Searched refs:num_iovas (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/iommu/iommufd/ |
A D | ioas.c | 79 max_iovas = cmd->num_iovas; in iommufd_ioas_iova_ranges() 81 cmd->num_iovas = 0; in iommufd_ioas_iova_ranges() 87 if (cmd->num_iovas < max_iovas) { in iommufd_ioas_iova_ranges() 93 if (copy_to_user(&ranges[cmd->num_iovas], &elm, in iommufd_ioas_iova_ranges() 99 cmd->num_iovas++; in iommufd_ioas_iova_ranges() 104 if (cmd->num_iovas > max_iovas) in iommufd_ioas_iova_ranges() 161 cmd->num_iovas); in iommufd_ioas_allow_iovas()
|
A D | iommufd_private.h | 87 size_t num_iovas);
|
A D | io_pagetable.c | 1070 size_t num_iovas) in iopt_cut_iova() argument 1076 for (i = 0; i < num_iovas; i++) { in iopt_cut_iova()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | iommufd.h | 128 __u32 num_iovas; member 161 __u32 num_iovas; member
|
/linux-6.3-rc2/tools/testing/selftests/iommu/ |
A D | iommufd.c | 369 .num_iovas = 1, in TEST_F() 456 .num_iovas = 1, in TEST_F() 461 allow_cmd.num_iovas = 1; in TEST_F() 471 allow_cmd.num_iovas = 0; in TEST_F() 478 allow_cmd.num_iovas = 1; in TEST_F() 527 EXPECT_EQ(1, ranges_cmd.num_iovas); in TEST_F() 540 ranges_cmd.num_iovas = 0; in TEST_F() 543 EXPECT_EQ(1, ranges_cmd.num_iovas); in TEST_F() 554 EXPECT_EQ(2, ranges_cmd.num_iovas); in TEST_F() 560 EXPECT_EQ(1, ranges_cmd.num_iovas); in TEST_F() [all …]
|
A D | iommufd_fail_nth.c | 246 .num_iovas = ARRAY_SIZE(ranges), in TEST_FAIL_NTH() 258 .num_iovas = 1, in TEST_FAIL_NTH()
|
Completed in 13 milliseconds