/linux-5.19.10/mm/ |
D | page_alloc.c | 2450 unsigned int alloc_flags) in prep_new_page() argument 2463 if (alloc_flags & ALLOC_NO_WATERMARKS) in prep_new_page() 2677 unsigned int alloc_flags, int start_type, bool whole_block) in steal_suitable_fallback() argument 2703 if (boost_watermark(zone) && (alloc_flags & ALLOC_KSWAPD)) in steal_suitable_fallback() 2919 unsigned int alloc_flags) in __rmqueue_fallback() argument 2933 if (alloc_flags & ALLOC_NOFRAGMENT) in __rmqueue_fallback() 2985 steal_suitable_fallback(zone, page, alloc_flags, start_migratetype, in __rmqueue_fallback() 3001 unsigned int alloc_flags) in __rmqueue() argument 3011 if (alloc_flags & ALLOC_CMA && in __rmqueue() 3022 if (alloc_flags & ALLOC_CMA) in __rmqueue() [all …]
|
D | compaction.c | 2171 unsigned int alloc_flags, in __compaction_suitable() argument 2180 watermark = wmark_pages(zone, alloc_flags & ALLOC_WMARK_MASK); in __compaction_suitable() 2186 alloc_flags)) in __compaction_suitable() 2221 unsigned int alloc_flags, in compaction_suitable() argument 2227 ret = __compaction_suitable(zone, order, alloc_flags, highest_zoneidx, in compaction_suitable() 2259 int alloc_flags) in compaction_zonelist_suitable() argument 2281 compact_result = __compaction_suitable(zone, order, alloc_flags, in compaction_zonelist_suitable() 2313 ret = compaction_suitable(cc->zone, cc->order, cc->alloc_flags, in compact_zone() 2502 unsigned int alloc_flags, int highest_zoneidx, in compact_zone_order() argument 2513 .alloc_flags = alloc_flags, in compact_zone_order() [all …]
|
D | internal.h | 414 const unsigned int alloc_flags; /* alloc flags of a direct compactor */ member
|
/linux-5.19.10/include/linux/ |
D | compaction.h | 95 unsigned int order, unsigned int alloc_flags, 100 unsigned int alloc_flags, int highest_zoneidx); 178 int alloc_flags); 190 int alloc_flags, int highest_zoneidx) in compaction_suitable() argument
|
D | mmzone.h | 955 int highest_zoneidx, unsigned int alloc_flags, 959 unsigned int alloc_flags);
|
/linux-5.19.10/lib/ |
D | stackdepot.c | 366 gfp_t alloc_flags, bool can_alloc) in __stack_depot_save() argument 415 alloc_flags &= ~GFP_ZONEMASK; in __stack_depot_save() 416 alloc_flags &= (GFP_ATOMIC | GFP_KERNEL); in __stack_depot_save() 417 alloc_flags |= __GFP_NOWARN; in __stack_depot_save() 418 page = alloc_pages(alloc_flags, STACK_ALLOC_ORDER); in __stack_depot_save() 473 gfp_t alloc_flags) in stack_depot_save() argument 475 return __stack_depot_save(entries, nr_entries, alloc_flags, true); in stack_depot_save()
|
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gpuvm.c | 236 u32 alloc_flags = bo->kfd_bo->alloc_flags; in amdgpu_amdkfd_release_notify() local 239 unreserve_mem_limit(adev, size, alloc_flags); in amdgpu_amdkfd_release_notify() 388 bool coherent = mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_COHERENT; in get_pte_flags() 389 bool uncached = mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_UNCACHED; in get_pte_flags() 395 if (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE) in get_pte_flags() 397 if (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_EXECUTABLE) in get_pte_flags() 402 if (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_VRAM) { in get_pte_flags() 417 !(mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_VRAM)) in get_pte_flags() 420 } else if (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_VRAM) { in get_pte_flags() 454 mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE ? in kfd_mem_dmamap_userptr() [all …]
|
D | amdgpu_amdkfd.h | 75 uint32_t alloc_flags; member
|
/linux-5.19.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_chardev.c | 1737 bo_bucket->alloc_flags = (uint32_t)kgd_mem->alloc_flags; in criu_checkpoint_bos() 1740 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) { in criu_checkpoint_bos() 1748 if (bo_bucket->alloc_flags in criu_checkpoint_bos() 1751 bo_bucket->alloc_flags & in criu_checkpoint_bos() 1760 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) in criu_checkpoint_bos() 1763 else if (bo_bucket->alloc_flags & in criu_checkpoint_bos() 1781 bo_bucket->alloc_flags, in criu_checkpoint_bos() 1805 if (bo_buckets[bo_index].alloc_flags in criu_checkpoint_bos() 1930 if (bo_buckets[i].alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_VRAM) in criu_checkpoint() 2098 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) { in criu_restore_memory_of_gpu() [all …]
|
/linux-5.19.10/drivers/md/ |
D | dm-zoned-reclaim.c | 286 int alloc_flags = DMZ_ALLOC_SEQ; in dmz_reclaim_rnd_data() local 292 alloc_flags | DMZ_ALLOC_RECLAIM); in dmz_reclaim_rnd_data() 293 if (!szone && alloc_flags == DMZ_ALLOC_SEQ && dmz_nr_cache_zones(zmd)) { in dmz_reclaim_rnd_data() 294 alloc_flags = DMZ_ALLOC_RND; in dmz_reclaim_rnd_data()
|
D | dm-zoned-metadata.c | 2056 int alloc_flags = zmd->nr_cache ? DMZ_ALLOC_CACHE : DMZ_ALLOC_RND; in dmz_get_chunk_mapping() local 2071 dzone = dmz_alloc_zone(zmd, 0, alloc_flags); in dmz_get_chunk_mapping() 2168 int alloc_flags = zmd->nr_cache ? DMZ_ALLOC_CACHE : DMZ_ALLOC_RND; in dmz_get_chunk_buffer() local 2177 bzone = dmz_alloc_zone(zmd, 0, alloc_flags); in dmz_get_chunk_buffer()
|
/linux-5.19.10/fs/btrfs/ |
D | block-group.c | 2581 u64 alloc_flags; in btrfs_inc_block_group_ro() local 2629 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->flags); in btrfs_inc_block_group_ro() 2630 if (alloc_flags != cache->flags) { in btrfs_inc_block_group_ro() 2631 ret = btrfs_chunk_alloc(trans, alloc_flags, in btrfs_inc_block_group_ro() 2649 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->space_info->flags); in btrfs_inc_block_group_ro() 2650 ret = btrfs_chunk_alloc(trans, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_inc_block_group_ro() 2666 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->flags); in btrfs_inc_block_group_ro() 2668 check_system_chunk(trans, alloc_flags); in btrfs_inc_block_group_ro() 3487 u64 alloc_flags = btrfs_get_alloc_profile(trans->fs_info, type); in btrfs_force_chunk_alloc() local 3489 return btrfs_chunk_alloc(trans, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_force_chunk_alloc()
|
/linux-5.19.10/drivers/base/regmap/ |
D | internal.h | 65 gfp_t alloc_flags; member
|
D | regmap.c | 820 map->alloc_flags = GFP_ATOMIC; in __regmap_init() 822 map->alloc_flags = GFP_KERNEL; in __regmap_init() 2315 wval = kmemdup(val, val_count * val_bytes, map->alloc_flags); in regmap_bulk_write()
|
/linux-5.19.10/include/uapi/linux/ |
D | kfd_ioctl.h | 544 __u32 alloc_flags; member
|
/linux-5.19.10/drivers/iommu/ |
D | dma-iommu.c | 751 gfp_t alloc_flags = gfp; in __iommu_dma_alloc_pages() local 755 alloc_flags |= __GFP_NORETRY; in __iommu_dma_alloc_pages() 756 page = alloc_pages_node(nid, alloc_flags, order); in __iommu_dma_alloc_pages()
|
/linux-5.19.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.h | 60 unsigned alloc_flags);
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 77 gfp_t alloc_flags = cbk ? GFP_ATOMIC : GFP_KERNEL; in cmd_alloc_ent() local 80 ent = kzalloc(sizeof(*ent), alloc_flags); in cmd_alloc_ent()
|
/linux-5.19.10/arch/s390/kvm/ |
D | kvm-s390.c | 2747 gfp_t alloc_flags = GFP_KERNEL_ACCOUNT; in kvm_arch_init_vm() local 2770 alloc_flags |= GFP_DMA; in kvm_arch_init_vm() 2773 kvm->arch.sca = (struct bsca_block *) get_zeroed_page(alloc_flags); in kvm_arch_init_vm()
|