/Linux-v5.4/lib/ |
D | stackdepot.c | 100 u32 hash, void **prealloc, gfp_t alloc_flags) in depot_alloc_stack() argument 221 gfp_t alloc_flags) in stack_depot_save() argument 260 alloc_flags &= ~GFP_ZONEMASK; in stack_depot_save() 261 alloc_flags &= (GFP_ATOMIC | GFP_KERNEL); in stack_depot_save() 262 alloc_flags |= __GFP_NOWARN; in stack_depot_save() 263 page = alloc_pages(alloc_flags, STACK_ALLOC_ORDER); in stack_depot_save() 274 hash, &prealloc, alloc_flags); in stack_depot_save()
|
/Linux-v5.4/include/linux/ |
D | compaction.h | 95 unsigned int order, unsigned int alloc_flags, 100 unsigned int alloc_flags, int classzone_idx); 181 int alloc_flags); 193 int alloc_flags, int classzone_idx) in compaction_suitable() argument
|
D | mmzone.h | 817 int classzone_idx, unsigned int alloc_flags, 821 unsigned int alloc_flags);
|
/Linux-v5.4/mm/ |
D | page_alloc.c | 2166 unsigned int alloc_flags) in prep_new_page() argument 2182 if (alloc_flags & ALLOC_NO_WATERMARKS) in prep_new_page() 2394 unsigned int alloc_flags, int start_type, bool whole_block) in steal_suitable_fallback() argument 2422 if (alloc_flags & ALLOC_KSWAPD) in steal_suitable_fallback() 2639 unsigned int alloc_flags) in __rmqueue_fallback() argument 2653 if (alloc_flags & ALLOC_NOFRAGMENT) in __rmqueue_fallback() 2705 steal_suitable_fallback(zone, page, alloc_flags, start_migratetype, in __rmqueue_fallback() 2721 unsigned int alloc_flags) in __rmqueue() argument 2732 alloc_flags)) in __rmqueue() 2747 int migratetype, unsigned int alloc_flags) in rmqueue_bulk() argument [all …]
|
D | compaction.c | 1959 unsigned int alloc_flags, in __compaction_suitable() argument 1968 watermark = wmark_pages(zone, alloc_flags & ALLOC_WMARK_MASK); in __compaction_suitable() 1974 alloc_flags)) in __compaction_suitable() 2002 unsigned int alloc_flags, in compaction_suitable() argument 2008 ret = __compaction_suitable(zone, order, alloc_flags, classzone_idx, in compaction_suitable() 2040 int alloc_flags) in compaction_zonelist_suitable() argument 2062 compact_result = __compaction_suitable(zone, order, alloc_flags, in compaction_zonelist_suitable() 2093 ret = compaction_suitable(cc->zone, cc->order, cc->alloc_flags, in compact_zone() 2290 unsigned int alloc_flags, int classzone_idx, in compact_zone_order() argument 2301 .alloc_flags = alloc_flags, in compact_zone_order() [all …]
|
D | internal.h | 196 const unsigned int alloc_flags; /* alloc flags of a direct compactor */ member
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gpuvm.c | 1084 u64 alloc_flags; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() local 1093 alloc_flags = AMDGPU_GEM_CREATE_VRAM_WIPE_ON_RELEASE; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1094 alloc_flags |= (flags & ALLOC_MEM_FLAGS_PUBLIC) ? in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1099 alloc_flags = 0; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1103 alloc_flags = 0; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1112 alloc_flags = 0; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() 1173 bp.flags = alloc_flags; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
|
/Linux-v5.4/fs/btrfs/ |
D | block-group.c | 2030 u64 alloc_flags; in btrfs_inc_block_group_ro() local 2060 alloc_flags = update_block_group_flags(fs_info, cache->flags); in btrfs_inc_block_group_ro() 2061 if (alloc_flags != cache->flags) { in btrfs_inc_block_group_ro() 2062 ret = btrfs_chunk_alloc(trans, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_inc_block_group_ro() 2077 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->space_info->flags); in btrfs_inc_block_group_ro() 2078 ret = btrfs_chunk_alloc(trans, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_inc_block_group_ro() 2084 alloc_flags = update_block_group_flags(fs_info, cache->flags); in btrfs_inc_block_group_ro() 2086 check_system_chunk(trans, alloc_flags); in btrfs_inc_block_group_ro() 2845 u64 alloc_flags = btrfs_get_alloc_profile(trans->fs_info, type); in btrfs_force_chunk_alloc() local 2847 return btrfs_chunk_alloc(trans, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_force_chunk_alloc()
|
/Linux-v5.4/drivers/base/regmap/ |
D | internal.h | 60 gfp_t alloc_flags; member
|
D | regmap.c | 764 map->alloc_flags = GFP_ATOMIC; in __regmap_init() 766 map->alloc_flags = GFP_KERNEL; in __regmap_init() 2105 wval = kmemdup(val, val_count * val_bytes, map->alloc_flags); in regmap_bulk_write()
|
/Linux-v5.4/fs/xfs/ |
D | xfs_log_priv.h | 435 xfs_km_flags_t alloc_flags);
|
D | xfs_log.c | 3661 xfs_km_flags_t alloc_flags) in xlog_ticket_alloc() argument 3666 tic = kmem_zone_zalloc(xfs_log_ticket_zone, alloc_flags); in xlog_ticket_alloc()
|
/Linux-v5.4/drivers/iommu/ |
D | dma-iommu.c | 522 gfp_t alloc_flags = gfp; in __iommu_dma_alloc_pages() local 526 alloc_flags |= __GFP_NORETRY; in __iommu_dma_alloc_pages() 527 page = alloc_pages_node(nid, alloc_flags, order); in __iommu_dma_alloc_pages()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 79 gfp_t alloc_flags = cbk ? GFP_ATOMIC : GFP_KERNEL; in alloc_cmd() local 82 ent = kzalloc(sizeof(*ent), alloc_flags); in alloc_cmd()
|
/Linux-v5.4/arch/s390/kvm/ |
D | kvm-s390.c | 2399 gfp_t alloc_flags = GFP_KERNEL; in kvm_arch_init_vm() local 2422 alloc_flags |= GFP_DMA; in kvm_arch_init_vm() 2425 kvm->arch.sca = (struct bsca_block *) get_zeroed_page(alloc_flags); in kvm_arch_init_vm()
|