Searched refs:FOLL_GET (Results 1 – 13 of 13) sorted by relevance
/linux/Documentation/core-api/ |
A D | pin_user_pages.rst | 39 FOLL_PIN and FOLL_GET are mutually exclusive for a given gup call. However, 41 FOLL_PIN and FOLL_GET. It's just the call site that needs to choose one or the 44 The FOLL_PIN implementation is nearly the same as FOLL_GET, except that FOLL_PIN 78 For these get_user_pages*() functions, FOLL_GET might not even be specified. 79 Behavior is a little more complex than above. If FOLL_GET was *not* specified, 81 sets FOLL_GET for you, and proceeds to pin pages by incrementing the refcount 120 FOLL_PIN, FOLL_GET, FOLL_LONGTERM: when to use which flags 187 INCORRECT (uses FOLL_GET calls): 209 Another way of thinking about FOLL_GET, FOLL_PIN, and FOLL_LONGTERM 213 FOLL_GET is for struct page manipulation, without affecting the data that the [all …]
|
/linux/mm/ |
A D | gup.c | 130 if (flags & FOLL_GET) in try_grab_compound_head() 211 if (!(flags & (FOLL_GET | FOLL_PIN))) in try_grab_page() 443 if (flags & FOLL_GET) in follow_pfn_pte() 485 (FOLL_PIN | FOLL_GET))) in follow_page_pte() 1340 flags |= FOLL_GET; in __get_user_pages_locked() 2913 gup_flags |= FOLL_GET | FOLL_FAST_ONLY; in get_user_pages_fast_only() 2959 gup_flags |= FOLL_GET; in get_user_pages_fast() 2984 if (WARN_ON_ONCE(gup_flags & FOLL_GET)) in pin_user_pages_fast() 3007 if (WARN_ON_ONCE(gup_flags & FOLL_GET)) in pin_user_pages_fast_only() 3057 if (WARN_ON_ONCE(gup_flags & FOLL_GET)) in pin_user_pages_remote() [all …]
|
A D | huge_memory.c | 994 if (WARN_ON_ONCE((flags & (FOLL_PIN | FOLL_GET)) == in follow_devmap_pmd() 995 (FOLL_PIN | FOLL_GET))) in follow_devmap_pmd() 1013 if (!(flags & (FOLL_GET | FOLL_PIN))) in follow_devmap_pmd() 1162 if (WARN_ON_ONCE((flags & (FOLL_PIN | FOLL_GET)) == in follow_devmap_pud() 1163 (FOLL_PIN | FOLL_GET))) in follow_devmap_pud() 1180 if (!(flags & (FOLL_GET | FOLL_PIN))) in follow_devmap_pud() 2969 follflags = FOLL_GET | FOLL_DUMP; in split_huge_pages_pid()
|
A D | mlock.c | 442 page = follow_page(vma, start, FOLL_GET | FOLL_DUMP); in munlock_vma_pages_range()
|
A D | ksm.c | 476 FOLL_GET | FOLL_MIGRATION | FOLL_REMOTE); in break_ksm() 561 page = follow_page(vma, addr, FOLL_GET); in get_mergeable_page() 2303 *page = follow_page(vma, ksm_scan.address, FOLL_GET); in scan_get_next_rmap_item()
|
A D | hugetlb.c | 6682 if (WARN_ON_ONCE((flags & (FOLL_PIN | FOLL_GET)) == in follow_huge_pmd() 6683 (FOLL_PIN | FOLL_GET))) in follow_huge_pmd() 6730 if (flags & (FOLL_GET | FOLL_PIN)) in follow_huge_pud() 6739 if (flags & (FOLL_GET | FOLL_PIN)) in follow_huge_pgd()
|
A D | rmap.c | 2202 FOLL_GET | FOLL_WRITE | FOLL_SPLIT_PMD, in make_device_exclusive_range()
|
A D | migrate.c | 1694 follflags = FOLL_GET | FOLL_DUMP; in add_page_for_migration()
|
/linux/arch/s390/mm/ |
A D | hugetlbpage.c | 251 if (flags & FOLL_GET) in follow_huge_pud()
|
A D | fault.c | 811 page = follow_page(vma, addr, FOLL_WRITE | FOLL_GET); in do_secure_storage_access()
|
/linux/arch/powerpc/mm/ |
A D | hugetlbpage.c | 532 if (flags & FOLL_GET) in follow_huge_pd()
|
/linux/drivers/virt/nitro_enclaves/ |
A D | ne_misc_dev.c | 890 ne_mem_region->pages + i, FOLL_GET); in ne_set_user_memory_region_ioctl()
|
/linux/include/linux/ |
A D | mm.h | 2955 #define FOLL_GET 0x04 /* do get_page on page */ macro
|
Completed in 50 milliseconds