Lines Matching refs:pra
807 struct folio_referenced_arg *pra = arg; in folio_referenced_one() local
819 pra->vm_flags |= VM_LOCKED; in folio_referenced_one()
842 pra->mapcount--; in folio_referenced_one()
851 pra->referenced++; in folio_referenced_one()
852 pra->vm_flags |= vma->vm_flags & ~VM_LOCKED; in folio_referenced_one()
855 if (!pra->mapcount) in folio_referenced_one()
863 struct folio_referenced_arg *pra = arg; in invalid_folio_referenced_vma() local
864 struct mem_cgroup *memcg = pra->memcg; in invalid_folio_referenced_vma()
901 struct folio_referenced_arg pra = { in folio_referenced() local
907 .arg = (void *)&pra, in folio_referenced()
914 if (!pra.mapcount) in folio_referenced()
927 *vm_flags = pra.vm_flags; in folio_referenced()
932 return rwc.contended ? -1 : pra.referenced; in folio_referenced()