/linux-6.3-rc2/mm/ |
A D | page_alloc.c | 3123 alloc_flags)) in __rmqueue() 3144 alloc_flags); in rmqueue_bulk() 4173 return alloc_flags; in alloc_flags_nofragment() 4176 return alloc_flags; in alloc_flags_nofragment() 4185 return alloc_flags; in alloc_flags_nofragment() 4189 return alloc_flags; in alloc_flags_nofragment() 4200 return alloc_flags; in gfp_to_alloc_flags_cma() 4417 alloc_flags, ac); in __alloc_pages_cpuset_fallback() 4901 alloc_flags = gfp_to_alloc_flags_cma(gfp_mask, alloc_flags); in gfp_to_alloc_flags() 4903 return alloc_flags; in gfp_to_alloc_flags() [all …]
|
A D | compaction.c | 2178 unsigned int alloc_flags, in __compaction_suitable() argument 2187 watermark = wmark_pages(zone, alloc_flags & ALLOC_WMARK_MASK); in __compaction_suitable() 2193 alloc_flags)) in __compaction_suitable() 2228 unsigned int alloc_flags, in compaction_suitable() argument 2266 int alloc_flags) in compaction_zonelist_suitable() argument 2288 compact_result = __compaction_suitable(zone, order, alloc_flags, in compaction_zonelist_suitable() 2320 ret = compaction_suitable(cc->zone, cc->order, cc->alloc_flags, in compact_zone() 2523 unsigned int alloc_flags, int highest_zoneidx, in compact_zone_order() argument 2534 .alloc_flags = alloc_flags, in compact_zone_order() 2589 unsigned int alloc_flags, const struct alloc_context *ac, in try_to_compact_pages() argument [all …]
|
A D | internal.h | 441 const unsigned int alloc_flags; /* alloc flags of a direct compactor */ member
|
/linux-6.3-rc2/include/linux/ |
A 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
|
A D | mmzone.h | 1407 int highest_zoneidx, unsigned int alloc_flags, 1411 unsigned int alloc_flags);
|
/linux-6.3-rc2/lib/ |
A D | stackdepot.c | 354 gfp_t alloc_flags, bool can_alloc) in __stack_depot_save() argument 401 alloc_flags &= ~GFP_ZONEMASK; in __stack_depot_save() 402 alloc_flags &= (GFP_ATOMIC | GFP_KERNEL); in __stack_depot_save() 403 alloc_flags |= __GFP_NOWARN; in __stack_depot_save() 404 page = alloc_pages(alloc_flags, DEPOT_POOL_ORDER); in __stack_depot_save() 448 gfp_t alloc_flags) in stack_depot_save() argument 450 return __stack_depot_save(entries, nr_entries, alloc_flags, true); in stack_depot_save()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_amdkfd_gpuvm.c | 235 u32 alloc_flags = bo->kfd_bo->alloc_flags; in amdgpu_amdkfd_release_notify() local 456 mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE ? in kfd_mem_dmamap_userptr() 620 mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE ? in kfd_mem_dmaunmap_userptr() 1603 u64 alloc_flags; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() local 1616 alloc_flags = 0; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1620 alloc_flags = AMDGPU_GEM_CREATE_PREEMPTIBLE; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1640 alloc_flags |= AMDGPU_GEM_CREATE_COHERENT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1642 alloc_flags |= AMDGPU_GEM_CREATE_UNCACHED; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1661 (*mem)->alloc_flags = flags; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1763 if (mem->alloc_flags & in amdgpu_amdkfd_gpuvm_free_memory_of_gpu() [all …]
|
A D | amdgpu_amdkfd.h | 78 uint32_t alloc_flags; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_chardev.c | 1851 bo_bucket->alloc_flags = (uint32_t)kgd_mem->alloc_flags; in criu_checkpoint_bos() 1862 if (bo_bucket->alloc_flags in criu_checkpoint_bos() 1865 bo_bucket->alloc_flags & in criu_checkpoint_bos() 1874 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) in criu_checkpoint_bos() 1877 else if (bo_bucket->alloc_flags & in criu_checkpoint_bos() 1895 bo_bucket->alloc_flags, in criu_checkpoint_bos() 1919 if (bo_buckets[bo_index].alloc_flags in criu_checkpoint_bos() 2238 &offset, bo_bucket->alloc_flags, criu_resume); in criu_restore_memory_of_gpu() 2258 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) in criu_restore_memory_of_gpu() 2323 if (bo_bucket->alloc_flags in criu_restore_bo() [all …]
|
/linux-6.3-rc2/drivers/md/ |
A 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()
|
A D | dm-zoned-metadata.c | 2053 int alloc_flags = zmd->nr_cache ? DMZ_ALLOC_CACHE : DMZ_ALLOC_RND; in dmz_get_chunk_mapping() local 2068 dzone = dmz_alloc_zone(zmd, 0, alloc_flags); in dmz_get_chunk_mapping() 2165 int alloc_flags = zmd->nr_cache ? DMZ_ALLOC_CACHE : DMZ_ALLOC_RND; in dmz_get_chunk_buffer() local 2174 bzone = dmz_alloc_zone(zmd, 0, alloc_flags); in dmz_get_chunk_buffer()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | block-group.c | 2777 u64 alloc_flags; in btrfs_inc_block_group_ro() local 2825 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->flags); in btrfs_inc_block_group_ro() 2826 if (alloc_flags != cache->flags) { in btrfs_inc_block_group_ro() 2827 ret = btrfs_chunk_alloc(trans, alloc_flags, in btrfs_inc_block_group_ro() 2845 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->space_info->flags); in btrfs_inc_block_group_ro() 2846 ret = btrfs_chunk_alloc(trans, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_inc_block_group_ro() 2862 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->flags); in btrfs_inc_block_group_ro() 2864 check_system_chunk(trans, alloc_flags); in btrfs_inc_block_group_ro() 3696 u64 alloc_flags = btrfs_get_alloc_profile(trans->fs_info, type); in btrfs_force_chunk_alloc() local 3698 return btrfs_chunk_alloc(trans, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_force_chunk_alloc()
|
/linux-6.3-rc2/drivers/base/regmap/ |
A D | internal.h | 65 gfp_t alloc_flags; member
|
A D | regmap.c | 809 map->alloc_flags = GFP_ATOMIC; in __regmap_init() 811 map->alloc_flags = GFP_KERNEL; in __regmap_init() 2442 wval = kmemdup(val, val_count * val_bytes, map->alloc_flags); in regmap_bulk_write()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | kfd_ioctl.h | 590 __u32 alloc_flags; member
|
/linux-6.3-rc2/drivers/iommu/ |
A D | dma-iommu.c | 762 gfp_t alloc_flags = gfp; in __iommu_dma_alloc_pages() local 766 alloc_flags |= __GFP_NORETRY; in __iommu_dma_alloc_pages() 767 page = alloc_pages_node(nid, alloc_flags, order); in __iommu_dma_alloc_pages()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_object.h | 44 unsigned alloc_flags);
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | cmd.c | 118 gfp_t alloc_flags = cbk ? GFP_ATOMIC : GFP_KERNEL; in cmd_alloc_ent() local 121 ent = kzalloc(sizeof(*ent), alloc_flags); in cmd_alloc_ent()
|
/linux-6.3-rc2/arch/s390/kvm/ |
A D | kvm-s390.c | 3217 gfp_t alloc_flags = GFP_KERNEL_ACCOUNT; in kvm_arch_init_vm() local 3240 alloc_flags |= GFP_DMA; in kvm_arch_init_vm() 3243 kvm->arch.sca = (struct bsca_block *) get_zeroed_page(alloc_flags); in kvm_arch_init_vm()
|