Home
last modified time | relevance | path

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

/linux/drivers/dma-buf/
H A Dudmabuf.c39 pgoff_t nr_pinned; member
185 for (i = 0; i < ubuf->nr_pinned; ++i) in unpin_all_folios()
307 pgoff_t nr_pinned = ubuf->nr_pinned; in udmabuf_pin_folios() local
325 ubuf->pinned_folios[nr_pinned++] = folios[cur_folio]; in udmabuf_pin_folios()
346 ubuf->nr_pinned = nr_pinned; in udmabuf_pin_folios()
/linux/mm/
H A Dmemfd_luo.c95 long i, size, nr_pinned; in memfd_luo_preserve_folios() local
133 nr_pinned = memfd_pin_folios(file, 0, size - 1, folios, max_folios, in memfd_luo_preserve_folios()
135 if (nr_pinned < 0) { in memfd_luo_preserve_folios()
136 err = nr_pinned; in memfd_luo_preserve_folios()
140 nr_folios = nr_pinned; in memfd_luo_preserve_folios()
H A Dgup.c3133 int nr_pinned = 0; in gup_fast() local
3157 gup_fast_pgd_range(start, end, gup_flags, pages, &nr_pinned); in gup_fast()
3166 gup_fast_unpin_user_pages(pages, nr_pinned); in gup_fast()
3169 sanity_check_pinned_pages(pages, nr_pinned); in gup_fast()
3172 return nr_pinned; in gup_fast()
3179 unsigned long nr_pinned; in gup_fast_fallback() local
3202 nr_pinned = gup_fast(start, end, gup_flags, pages); in gup_fast_fallback()
3203 if (nr_pinned == nr_pages || gup_flags & FOLL_FAST_ONLY) in gup_fast_fallback()
3204 return nr_pinned; in gup_fast_fallback()
3207 start += nr_pinned << PAGE_SHIFT; in gup_fast_fallback()
[all …]
/linux/kernel/sched/
H A Drq-offsets.c9 DEFINE(RQ_nr_pinned, offsetof(struct rq, nr_pinned)); in main()
H A Dsched.h1363 unsigned int nr_pinned;
1364 unsigned int nr_pinned; global() member
H A Dcore.c2504 return rq->nr_pinned; in rq_has_pinned_tasks()