Searched refs:nr_pinned (Results 1 – 3 of 3) sorted by relevance
3346 int nr_pinned = 0; in gup_fast() local3371 gup_fast_pgd_range(start, end, gup_flags, pages, &nr_pinned); in gup_fast()3380 gup_fast_unpin_user_pages(pages, nr_pinned); in gup_fast()3383 sanity_check_pinned_pages(pages, nr_pinned); in gup_fast()3386 return nr_pinned; in gup_fast()3393 unsigned long nr_pinned; in gup_fast_fallback() local3418 nr_pinned = gup_fast(start, end, gup_flags, pages); in gup_fast_fallback()3419 if (nr_pinned == nr_pages || gup_flags & FOLL_FAST_ONLY) in gup_fast_fallback()3420 return nr_pinned; in gup_fast_fallback()3423 start += nr_pinned << PAGE_SHIFT; in gup_fast_fallback()[all …]
2329 this_rq()->nr_pinned++; in migrate_disable()2370 this_rq()->nr_pinned--; in migrate_enable()2376 return rq->nr_pinned; in rq_has_pinned_tasks()
1271 unsigned int nr_pinned; member