Home
last modified time | relevance | path

Searched refs:alloc_flags (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/lib/
Dstackdepot.c100 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/
Dcompaction.h95 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
Dmmzone.h817 int classzone_idx, unsigned int alloc_flags,
821 unsigned int alloc_flags);
/Linux-v5.4/mm/
Dpage_alloc.c2166 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 …]
Dcompaction.c1959 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 …]
Dinternal.h196 const unsigned int alloc_flags; /* alloc flags of a direct compactor */ member
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c1084 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/
Dblock-group.c2030 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/
Dinternal.h60 gfp_t alloc_flags; member
Dregmap.c764 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/
Dxfs_log_priv.h435 xfs_km_flags_t alloc_flags);
Dxfs_log.c3661 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/
Ddma-iommu.c522 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/
Dcmd.c79 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/
Dkvm-s390.c2399 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()