Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iommu/iommufd/ !
Dpages.c318 const size_t elmsz = sizeof(*batch->pfns) + sizeof(*batch->npfns); in __batch_init() local
319 size_t size = max_pages * elmsz; in __batch_init()
324 if (IS_ENABLED(CONFIG_IOMMUFD_TEST) && WARN_ON(size < elmsz)) in __batch_init()
326 batch->array_size = size / elmsz; in __batch_init()