Home
last modified time | relevance | path

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

/linux/drivers/iommu/iommufd/
H A Dpages.c270 u32 *npfns; member
281 batch->npfns[0] = 0; in batch_clear()
295 batch->npfns[batch->end - 1] < keep_pfns); in batch_clear_carry()
299 (batch->npfns[batch->end - 1] - keep_pfns); in batch_clear_carry()
300 batch->npfns[0] = keep_pfns; in batch_clear_carry()
309 WARN_ON(batch->total_pfns != batch->npfns[0]); in batch_skip_carry()
312 batch->npfns[0] -= skip_pfns; in batch_skip_carry()
319 const size_t elmsz = sizeof(*batch->pfns) + sizeof(*batch->npfns); in __batch_init()
328 batch->npfns = (u32 *)(batch->pfns + batch->array_size); in __batch_init()
353 const unsigned int MAX_NPFNS = type_max(typeof(*batch->npfns)); in batch_add_pfn_num()
[all …]
/linux/drivers/nvdimm/
H A Dpfn.h24 __le64 npfns; member
/linux/drivers/infiniband/core/
H A Dumem_odp.c62 size_t ndmas, npfns; in ib_init_umem_odp() local
77 npfns = (end - start) >> PAGE_SHIFT; in ib_init_umem_odp()
79 npfns, sizeof(*umem_odp->pfn_list), GFP_KERNEL); in ib_init_umem_odp()