Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dgup.c3346 int nr_pinned = 0; in gup_fast() local
3371 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() local
3418 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 …]
/linux-6.12.1/kernel/sched/
Dcore.c2329 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()
Dsched.h1271 unsigned int nr_pinned; member