Lines Matching refs:order
212 static void *get_unlocked_entry(struct xa_state *xas, unsigned int order) in get_unlocked_entry() argument
225 if (dax_entry_order(entry) < order) in get_unlocked_entry()
477 struct address_space *mapping, unsigned int order) in grab_mapping_entry() argument
485 entry = get_unlocked_entry(xas, order); in grab_mapping_entry()
495 if (order == 0) { in grab_mapping_entry()
538 if (order > 0) in grab_mapping_entry()
1667 dax_insert_pfn_mkwrite(struct vm_fault *vmf, pfn_t pfn, unsigned int order) in dax_insert_pfn_mkwrite() argument
1670 XA_STATE_ORDER(xas, &mapping->i_pages, vmf->pgoff, order); in dax_insert_pfn_mkwrite()
1675 entry = get_unlocked_entry(&xas, order); in dax_insert_pfn_mkwrite()
1678 (order == 0 && !dax_is_pte_entry(entry))) { in dax_insert_pfn_mkwrite()
1688 if (order == 0) in dax_insert_pfn_mkwrite()
1691 else if (order == PMD_ORDER) in dax_insert_pfn_mkwrite()
1716 unsigned int order = pe_order(pe_size); in dax_finish_sync_fault() local
1717 size_t len = PAGE_SIZE << order; in dax_finish_sync_fault()
1722 return dax_insert_pfn_mkwrite(vmf, pfn, order); in dax_finish_sync_fault()