/mm/ |
D | gup.c | 117 unsigned int flags) in try_grab_compound_head() 166 static void put_compound_head(struct page *page, int refs, unsigned int flags) in put_compound_head() 204 bool __must_check try_grab_page(struct page *page, unsigned int flags) in try_grab_page() 375 unsigned int flags) in no_page_table() 392 pte_t *pte, unsigned int flags) in follow_pfn_pte() 419 static inline bool can_follow_write_pte(pte_t pte, unsigned int flags) in can_follow_write_pte() 426 unsigned long address, pmd_t *pmd, unsigned int flags, in follow_page_pte() 589 unsigned int flags, in follow_pmd_mask() 704 unsigned int flags, in follow_pud_mask() 744 unsigned int flags, in follow_p4d_mask() [all …]
|
D | slab_common.c | 120 int __kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t nr, in __kmem_cache_alloc_bulk() 139 static unsigned int calculate_alignment(slab_flags_t flags, in calculate_alignment() 187 slab_flags_t flags, const char *name, void (*ctor)(void *)) in find_mergeable() 235 slab_flags_t flags, unsigned int useroffset, in create_cache() 304 slab_flags_t flags, in kmem_cache_create_usercopy() 418 slab_flags_t flags, void (*ctor)(void *)) in kmem_cache_create() 557 unsigned int size, slab_flags_t flags, in create_boot_cache() 587 unsigned int size, slab_flags_t flags, in create_kmalloc_cache() 649 struct kmem_cache *kmalloc_slab(size_t size, gfp_t flags) in kmalloc_slab() 772 new_kmalloc_cache(int idx, enum kmalloc_cache_type type, slab_flags_t flags) in new_kmalloc_cache() [all …]
|
D | balloon_compaction.c | 44 unsigned long flags; in balloon_page_list_enqueue() local 80 unsigned long flags; in balloon_page_list_dequeue() local 149 unsigned long flags; in balloon_page_enqueue() local 179 unsigned long flags; in balloon_page_dequeue() local 210 unsigned long flags; in balloon_page_isolate() local 223 unsigned long flags; in balloon_page_putback() local
|
D | highmem.c | 139 #define lock_kmap_any(flags) spin_lock_irqsave(&kmap_lock, flags) argument 140 #define unlock_kmap_any(flags) spin_unlock_irqrestore(&kmap_lock, flags) argument 144 #define lock_kmap_any(flags) \ argument 146 #define unlock_kmap_any(flags) \ argument 308 unsigned long vaddr, flags; in kmap_high_get() local 332 unsigned long flags; in kunmap_high() local 410 unsigned long flags; in page_address() local 444 unsigned long flags; in set_page_address() local
|
D | slab.c | 402 slab_flags_t flags, size_t *left_over) in cache_estimate() 623 gfp_t flags) in alternate_node_alloc() 629 gfp_t flags, int nodeid) in ____cache_alloc_node() 634 static inline gfp_t gfp_exact_node(gfp_t flags) in gfp_exact_node() 747 unsigned long flags; in drain_alien_cache() local 812 static inline gfp_t gfp_exact_node(gfp_t flags) in gfp_exact_node() 1332 unsigned long flags; in slab_out_of_memory() local 1370 static struct page *kmem_getpages(struct kmem_cache *cachep, gfp_t flags, in kmem_getpages() 1665 size_t size, slab_flags_t flags) in calculate_slab_order() 1793 slab_flags_t flags, const char *name) in kmem_cache_flags() [all …]
|
D | kmemleak.c | 140 unsigned int flags; /* object status flags */ member 419 unsigned long flags; in mem_pool_alloc() local 449 unsigned long flags; in mem_pool_free() local 514 unsigned long flags; in find_and_get_object() local 547 unsigned long flags; in find_and_remove_object() local 574 unsigned long flags; in create_object() local 662 unsigned long flags; in __delete_object() local 741 unsigned long flags; in paint_it() local 788 unsigned long flags; in add_scan_area() local 841 unsigned long flags; in object_set_excess_ref() local [all …]
|
D | page_isolation.c | 22 unsigned long flags; in set_migratetype_isolate() local 70 unsigned long flags, nr_pages; in unset_migratetype_isolate() local 184 unsigned migratetype, int flags, in start_isolate_page_range() 251 int flags) in __test_page_isolated_in_pageblock() 290 unsigned long pfn, flags; in test_pages_isolated() local
|
D | mempolicy.c | 268 static struct mempolicy *mpol_new(unsigned short mode, unsigned short flags, in mpol_new() 440 unsigned long flags; member 457 unsigned long flags = qp->flags; in queue_pages_required() local 479 unsigned long flags; in queue_pages_pmd() local 528 unsigned long flags = qp->flags; in queue_pages_pte_range() local 593 unsigned long flags = (qp->flags & MPOL_MF_VALID); in queue_pages_hugetlb() local 681 unsigned long flags = qp->flags; in queue_pages_test_walk() local 747 nodemask_t *nodes, unsigned long flags, in queue_pages_range() 868 static long do_set_mempolicy(unsigned short mode, unsigned short flags, in do_set_mempolicy() 946 unsigned long addr, unsigned long flags) in do_get_mempolicy() [all …]
|
D | slab.h | 24 slab_flags_t flags; /* Active flags on the slab */ member 139 slab_flags_t flags, void (*ctor)(void *)) in __kmem_cache_alias() 143 slab_flags_t flags, const char *name) in kmem_cache_flags() 273 static inline bool kmem_cache_debug_flags(struct kmem_cache *s, slab_flags_t flags) in kmem_cache_debug_flags() 323 size_t objects, gfp_t flags) in memcg_slab_pre_alloc_hook() 362 gfp_t flags, size_t size, in memcg_slab_post_alloc_hook() 455 size_t objects, gfp_t flags) in memcg_slab_pre_alloc_hook() 462 gfp_t flags, size_t size, in memcg_slab_post_alloc_hook() 549 size_t size, gfp_t flags) in slab_pre_alloc_hook() 568 struct obj_cgroup *objcg, gfp_t flags, in slab_post_alloc_hook() [all …]
|
D | process_vm_access.c | 85 unsigned int flags = 0; in process_vm_rw_single_vec() local 154 unsigned long flags, int vm_write) in process_vm_rw_core() 259 unsigned long flags, int vm_write) in process_vm_rw() 294 unsigned long, riovcnt, unsigned long, flags) in SYSCALL_DEFINE6() argument 302 unsigned long, riovcnt, unsigned long, flags) in SYSCALL_DEFINE6() argument
|
D | page_pinner.c | 38 unsigned long flags; member 108 static noinline depot_stack_handle_t save_stack(gfp_t flags) in save_stack() 136 unsigned long flags; in check_longterm_pin() local 338 unsigned long flags; in __page_pinner_migration_failed() local 386 unsigned long flags; in read_longterm_page_pinner() local 421 unsigned long flags; in read_alloc_contig_failed() local 454 unsigned long flags; in pp_threshold_set() local
|
D | memory-failure.c | 236 static int kill_proc(struct to_kill *tk, unsigned long pfn, int flags) in kill_proc() 385 unsigned long pfn, int flags) in kill_procs() 990 int flags, struct page **hpagep) in hwpoison_user_mappings() 1150 static int memory_failure_hugetlb(unsigned long pfn, int flags) in memory_failure_hugetlb() 1222 static int memory_failure_dev_pagemap(unsigned long pfn, int flags, in memory_failure_dev_pagemap() 1326 int memory_failure(unsigned long pfn, int flags) in memory_failure() 1494 int flags; member 1522 void memory_failure_queue(unsigned long pfn, int flags) in memory_failure_queue() 1698 static int get_any_page(struct page *p, int flags) in get_any_page() 1888 int soft_offline_page(unsigned long pfn, int flags) in soft_offline_page()
|
D | slob.c | 307 unsigned long flags; in slob_alloc() local 387 unsigned long flags; in slob_free() local 590 int __kmem_cache_create(struct kmem_cache *c, slab_flags_t flags) in __kmem_cache_create() 600 static void *slob_alloc_node(struct kmem_cache *c, gfp_t flags, int node) in slob_alloc_node() 630 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) in kmem_cache_alloc() 688 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, in kmem_cache_alloc_bulk()
|
D | slub.c | 406 unsigned long flags; in cmpxchg_double_slab() local 1255 unsigned long flags; in free_debug_processing() local 1310 parse_slub_debug_flags(char *str, slab_flags_t *flags, char **slabs, bool init) in parse_slub_debug_flags() 1389 slab_flags_t flags; in setup_slub_debug() local 1452 slab_flags_t flags, const char *name) in kmem_cache_flags() 1517 slab_flags_t flags, const char *name) in kmem_cache_flags() 1545 static inline void *kmalloc_large_node_hook(void *ptr, size_t size, gfp_t flags) in kmalloc_large_node_hook() 1571 unsigned long flags; in slab_free_hook() local 1668 gfp_t flags, int node, struct kmem_cache_order_objects oo) in alloc_slab_page() 1793 static struct page *allocate_slab(struct kmem_cache *s, gfp_t flags, int node) in allocate_slab() [all …]
|
D | nommu.c | 167 static void *__vmalloc_user_flags(unsigned long size, gfp_t flags) in __vmalloc_user_flags() 326 void *vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot) in vmap() 759 unsigned long flags, in validate_mmap_request() 918 unsigned long flags, in determine_vm_flags() 1073 unsigned long flags, in do_mmap() 1296 unsigned long prot, unsigned long flags, in ksys_mmap_pgoff() 1320 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument 1331 unsigned long flags; member 1570 unsigned long flags, unsigned long new_addr) in do_mremap() 1605 unsigned long, new_len, unsigned long, flags, in SYSCALL_DEFINE5() argument [all …]
|
D | mlock.c | 600 vm_flags_t flags) in apply_vma_lock_flags() 687 static __must_check int do_mlock(unsigned long start, size_t len, vm_flags_t flags) in do_mlock() 739 SYSCALL_DEFINE3(mlock2, unsigned long, start, size_t, len, int, flags) in SYSCALL_DEFINE3() argument 779 static int apply_mlockall_flags(int flags) in apply_mlockall_flags() 815 SYSCALL_DEFINE1(mlockall, int, flags) in SYSCALL_DEFINE1() argument
|
D | huge_memory.c | 530 loff_t off, unsigned long flags, unsigned long size) in __thp_get_unmapped_area() 565 unsigned long len, unsigned long pgoff, unsigned long flags) in thp_get_unmapped_area() 952 pmd_t *pmd, int flags) in touch_pmd() 965 pmd_t *pmd, int flags, struct dev_pagemap **pgmap) in follow_devmap_pmd() 1124 pud_t *pud, int flags) in touch_pud() 1137 pud_t *pud, int flags, struct dev_pagemap **pgmap) in follow_devmap_pud() 1334 static inline bool can_follow_write_pmd(pmd_t pmd, unsigned int flags) in can_follow_write_pmd() 1343 unsigned int flags) in follow_trans_huge_pmd() 1422 int flags = 0; in do_huge_pmd_numa_page() local 2459 pgoff_t end, unsigned long flags) in __split_huge_page() [all …]
|
D | memblock.c | 213 enum memblock_flags flags) in __memblock_find_range_bottom_up() 248 enum memblock_flags flags) in __memblock_find_range_top_down() 287 enum memblock_flags flags) in memblock_find_in_range_node() 324 enum memblock_flags flags = choose_memblock_flags(); in memblock_find_in_range() local 544 enum memblock_flags flags) in memblock_insert_region() 576 int nid, enum memblock_flags flags) in memblock_add_range() 942 int nid, int flags) in should_skip_region() 996 void __next_mem_range(u64 *idx, int nid, enum memblock_flags flags, in __next_mem_range() 1092 enum memblock_flags flags, in __next_mem_range_rev() 1332 enum memblock_flags flags = choose_memblock_flags(); in memblock_alloc_range_nid() local [all …]
|
D | shmem.c | 177 static inline int shmem_acct_size(unsigned long flags, loff_t size) in shmem_acct_size() 183 static inline void shmem_unacct_size(unsigned long flags, loff_t size) in shmem_unacct_size() 189 static inline int shmem_reacct_size(unsigned long flags, in shmem_reacct_size() 208 static inline int shmem_acct_block(unsigned long flags, long pages) in shmem_acct_block() 217 static inline void shmem_unacct_blocks(unsigned long flags, long pages) in shmem_unacct_blocks() 385 unsigned long flags; in shmem_charge() local 405 unsigned long flags; in shmem_uncharge() local 2150 unsigned long pgoff, unsigned long flags) in shmem_get_unmapped_area() 2306 umode_t mode, dev_t dev, unsigned long flags) in shmem_get_inode() 2486 loff_t pos, unsigned len, unsigned flags, in shmem_write_begin() [all …]
|
D | mmzone.c | 90 unsigned long old_flags, flags; in page_cpupid_xchg_last() local 105 enum zone_type gfp_zone(gfp_t flags) in gfp_zone()
|
D | filemap.c | 275 unsigned long flags; in delete_from_page_cache() local 352 unsigned long flags; in delete_from_page_cache_batch() local 801 unsigned long flags; in replace_page_cache_page() local 1056 unsigned int flags; in wake_page_function() local 1109 unsigned long flags; in wake_up_page_bit() local 1272 unsigned int flags; in wait_on_page_bit_common() local 1421 unsigned long flags; in add_page_wait_queue() local 1579 unsigned int flags) in __lock_page_or_retry() 3325 loff_t pos, unsigned len, unsigned flags, in pagecache_write_begin() 3453 pgoff_t index, unsigned flags) in grab_cache_page_write_begin() [all …]
|
/mm/kasan/ |
D | common.c | 33 depot_stack_handle_t kasan_save_stack(gfp_t flags) in kasan_save_stack() 43 void kasan_set_track(struct kasan_track *track, gfp_t flags) in kasan_set_track() 138 slab_flags_t *flags) in __kasan_cache_create() 418 gfp_t flags, bool is_kmalloc) in set_alloc_info() 432 void *object, gfp_t flags, bool init) in __kasan_slab_alloc() 467 const void *object, size_t size, gfp_t flags) in ____kasan_kmalloc() 514 size_t size, gfp_t flags) in __kasan_kmalloc() 521 gfp_t flags) in __kasan_kmalloc_large() 555 void * __must_check __kasan_krealloc(const void *object, size_t size, gfp_t flags) in __kasan_krealloc()
|
D | report.c | 78 static void start_report(unsigned long *flags) in start_report() 88 static void end_report(unsigned long *flags, unsigned long addr) in end_report() 336 unsigned long flags; in kasan_report_invalid_free() local 359 unsigned long flags; in kasan_report_async() local 381 unsigned long flags; in __kasan_report() local 424 unsigned long flags = user_access_save(); in kasan_report() local
|
D | quarantine.c | 135 unsigned long flags; in qlink_free() local 173 unsigned long flags; in kasan_quarantine_put() local 228 unsigned long flags; in kasan_quarantine_reduce() local 321 unsigned long flags, i; in kasan_quarantine_remove_cache() local
|
/mm/kfence/ |
D | core.c | 260 unsigned long flags; in kfence_guarded_alloc() local 354 unsigned long flags; in kfence_guarded_free() local 551 unsigned long flags; in show_object() local 678 unsigned long flags; in kfence_shutdown_cache() local 735 void *__kfence_alloc(struct kmem_cache *s, size_t size, gfp_t flags) in __kfence_alloc() 823 unsigned long flags; in kfence_handle_page_fault() local
|