Searched refs:npfns (Results 1 – 4 of 4) sorted by relevance
710 nd_pfn->npfns = le64_to_cpu(pfn_sb->npfns); in __nvdimm_setup_pfn()712 nd_pfn->npfns = PHYS_PFN((range_len(range) - offset)); in __nvdimm_setup_pfn()713 if (le64_to_cpu(nd_pfn->pfn_sb->npfns) > nd_pfn->npfns) in __nvdimm_setup_pfn()716 le64_to_cpu(nd_pfn->pfn_sb->npfns), in __nvdimm_setup_pfn()717 nd_pfn->npfns); in __nvdimm_setup_pfn()734 unsigned long npfns, align; in nd_pfn_init() local771 npfns = PHYS_PFN(size - SZ_8K); in nd_pfn_init()787 unsigned long page_map_size = MAX_STRUCT_PAGE_SIZE * npfns; in nd_pfn_init()806 page_map_size = sizeof(struct page) * npfns; in nd_pfn_init()826 npfns = PHYS_PFN(size - offset - end_trunc); in nd_pfn_init()[all …]
24 __le64 npfns; member
472 unsigned long npfns; member
270 u32 *npfns; member281 batch->npfns[0] = 0; in batch_clear()300 batch->npfns[0] = keep_pfns; in batch_clear_carry()312 batch->npfns[0] -= skip_pfns; in batch_skip_carry()358 batch->npfns[end - 1] += nr; in batch_add_pfn_num()361 batch->npfns[end] = nr; in batch_add_pfn_num()373 batch->npfns[batch->end - 1] -= nr; in batch_remove_pfn_num()374 if (batch->npfns[batch->end - 1] == 0) in batch_remove_pfn_num()683 first_page_off -= batch->npfns[cur]; in batch_unpin()734 if (npage == batch->npfns[cur]) { in batch_rw()[all …]
Completed in 18 milliseconds