Home
last modified time | relevance | path

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

12

/linux-6.15/mm/
H A Dpage_alloc.c2227 alloc_flags); in __rmqueue_claim()
3505 return alloc_flags; in alloc_flags_nofragment()
3510 return alloc_flags; in alloc_flags_nofragment()
3513 return alloc_flags; in alloc_flags_nofragment()
3522 return alloc_flags; in alloc_flags_nofragment()
3526 return alloc_flags; in alloc_flags_nofragment()
3537 return alloc_flags; in gfp_to_alloc_flags_cma()
3777 alloc_flags, ac); in __alloc_pages_cpuset_fallback()
4251 alloc_flags = gfp_to_alloc_flags_cma(gfp_mask, alloc_flags); in gfp_to_alloc_flags()
4256 return alloc_flags; in gfp_to_alloc_flags()
[all …]
H A Dcompaction.c2339 cc->highest_zoneidx, cc->alloc_flags, in __compact_finished()
2475 int alloc_flags) in compaction_zonelist_suitable() argument
2526 alloc_flags, free_pages)) in compaction_suit_allocation_order()
2539 !(alloc_flags & ALLOC_CMA)) { in compaction_suit_allocation_order()
2581 cc->alloc_flags, in compact_zone()
2804 .alloc_flags = alloc_flags, in compact_zone_order()
2875 (alloc_flags & ALLOC_CPUSET) && in try_to_compact_pages()
2886 alloc_flags, ac->highest_zoneidx, capture); in try_to_compact_pages()
3077 unsigned int alloc_flags = defrag_mode ? in kcompactd_node_suitable() local
3088 highest_zoneidx, alloc_flags, in kcompactd_node_suitable()
[all …]
/linux-6.15/drivers/base/regmap/
H A Dregcache-maple.c76 entry = kmalloc_array(last - index + 1, sizeof(*entry), map->alloc_flags); in regcache_maple_write()
94 ret = mas_store_gfp(&mas, entry, map->alloc_flags); in regcache_maple_write()
137 map->alloc_flags); in regcache_maple_drop()
150 map->alloc_flags); in regcache_maple_drop()
164 ret = mas_store_gfp(&mas, lower, map->alloc_flags); in regcache_maple_drop()
172 ret = mas_store_gfp(&mas, upper, map->alloc_flags); in regcache_maple_drop()
206 buf = kmalloc_array(max - min, val_bytes, map->alloc_flags); in regcache_maple_sync_block()
322 entry = kmalloc_array(last - first + 1, sizeof(*entry), map->alloc_flags); in regcache_maple_insert_block()
333 ret = mas_store_gfp(&mas, entry, map->alloc_flags); in regcache_maple_insert_block()
350 mt = kmalloc(sizeof(*mt), map->alloc_flags); in regcache_maple_init()
H A Dregcache-rbtree.c190 map->cache = kmalloc(sizeof *rbtree_ctx, map->alloc_flags); in regcache_rbtree_init()
278 blk = krealloc_array(rbnode->block, blklen, map->cache_word_size, map->alloc_flags); in regcache_rbtree_insert_to_block()
287 map->alloc_flags); in regcache_rbtree_insert_to_block()
321 rbnode = kzalloc(sizeof(*rbnode), map->alloc_flags); in regcache_rbtree_node_alloc()
347 map->alloc_flags); in regcache_rbtree_node_alloc()
353 map->alloc_flags); in regcache_rbtree_node_alloc()
H A Dregcache-flat.c30 + 1, sizeof(unsigned int), map->alloc_flags); in regcache_flat_init()
H A Dinternal.h66 gfp_t alloc_flags; member
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_alloc.c1676 uint32_t alloc_flags) in xfs_alloc_ag_vextent_near() argument
1696 alloc_flags |= XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_near()
1762 alloc_flags); in xfs_alloc_ag_vextent_near()
1792 uint32_t alloc_flags) in xfs_alloc_ag_vextent_size() argument
1879 alloc_flags); in xfs_alloc_ag_vextent_size()
1979 alloc_flags); in xfs_alloc_ag_vextent_size()
2828 uint32_t alloc_flags) in xfs_alloc_fix_freelist() argument
3532 uint32_t alloc_flags) in xfs_alloc_vextent_prepare_ag() argument
3662 uint32_t alloc_flags = 0; in xfs_alloc_vextent_this_ag() local
3712 uint32_t alloc_flags) in xfs_alloc_vextent_iterate_ags() argument
[all …]
H A Dxfs_alloc.h198 int xfs_alloc_fix_freelist(struct xfs_alloc_arg *args, uint32_t alloc_flags);
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gpuvm.c296 u32 alloc_flags = bo->kfd_bo->alloc_flags; in amdgpu_amdkfd_release_notify() local
1674 u64 alloc_flags; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu() local
1686 alloc_flags = 0; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1700 alloc_flags = 0; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1704 alloc_flags = AMDGPU_GEM_CREATE_PREEMPTIBLE; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1724 alloc_flags |= AMDGPU_GEM_CREATE_COHERENT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1726 alloc_flags |= AMDGPU_GEM_CREATE_EXT_COHERENT; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1728 alloc_flags |= AMDGPU_GEM_CREATE_UNCACHED; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1747 (*mem)->alloc_flags = flags; in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1867 if (mem->alloc_flags & in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
[all …]
H A Damdgpu_amdkfd.h82 uint32_t alloc_flags; member
/linux-6.15/include/linux/
H A Dcompaction.h93 unsigned int order, unsigned int alloc_flags,
104 int alloc_flags);
H A Dstackdepot.h159 gfp_t alloc_flags,
178 unsigned int nr_entries, gfp_t alloc_flags);
H A Dmmzone.h1500 int highest_zoneidx, unsigned int alloc_flags,
1504 unsigned int alloc_flags);
/linux-6.15/lib/
H A Dstackdepot.c586 gfp_t alloc_flags, in stack_depot_save_flags() argument
594 bool allow_spin = gfpflags_allow_spinning(alloc_flags); in stack_depot_save_flags()
628 page = alloc_pages(gfp_nested_mask(alloc_flags), in stack_depot_save_flags()
688 gfp_t alloc_flags) in stack_depot_save() argument
690 return stack_depot_save_flags(entries, nr_entries, alloc_flags, in stack_depot_save()
/linux-6.15/drivers/md/
H A Ddm-zoned-reclaim.c286 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()
H A Ddm-zoned-metadata.c2051 int alloc_flags = zmd->nr_cache ? DMZ_ALLOC_CACHE : DMZ_ALLOC_RND; in dmz_get_chunk_mapping() local
2066 dzone = dmz_alloc_zone(zmd, 0, alloc_flags); in dmz_get_chunk_mapping()
2163 int alloc_flags = zmd->nr_cache ? DMZ_ALLOC_CACHE : DMZ_ALLOC_RND; in dmz_get_chunk_buffer() local
2172 bzone = dmz_alloc_zone(zmd, 0, alloc_flags); in dmz_get_chunk_buffer()
/linux-6.15/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c1949 bo_bucket->alloc_flags = (uint32_t)kgd_mem->alloc_flags; in criu_checkpoint_bos()
1952 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) { in criu_checkpoint_bos()
1960 if (bo_bucket->alloc_flags in criu_checkpoint_bos()
1963 bo_bucket->alloc_flags & in criu_checkpoint_bos()
1972 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) in criu_checkpoint_bos()
1975 else if (bo_bucket->alloc_flags & in criu_checkpoint_bos()
1993 bo_bucket->alloc_flags, in criu_checkpoint_bos()
2308 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) { in criu_restore_memory_of_gpu()
2333 &offset, bo_bucket->alloc_flags, criu_resume); in criu_restore_memory_of_gpu()
2353 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) in criu_restore_memory_of_gpu()
[all …]
/linux-6.15/fs/xfs/
H A Dxfs_extent_busy.c614 uint32_t alloc_flags) in xfs_extent_busy_flush() argument
626 if (alloc_flags & XFS_ALLOC_FLAG_TRYFLUSH) in xfs_extent_busy_flush()
632 if (alloc_flags & XFS_ALLOC_FLAG_FREEING) in xfs_extent_busy_flush()
H A Dxfs_extent_busy.h59 unsigned busy_gen, uint32_t alloc_flags);
/linux-6.15/fs/btrfs/
H A Dblock-group.c2973 u64 alloc_flags; in btrfs_inc_block_group_ro() local
3021 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->flags); in btrfs_inc_block_group_ro()
3022 if (alloc_flags != cache->flags) { in btrfs_inc_block_group_ro()
3023 ret = btrfs_chunk_alloc(trans, alloc_flags, in btrfs_inc_block_group_ro()
3051 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->space_info->flags); in btrfs_inc_block_group_ro()
3052 ret = btrfs_chunk_alloc(trans, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_inc_block_group_ro()
3068 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->flags); in btrfs_inc_block_group_ro()
3070 check_system_chunk(trans, alloc_flags); in btrfs_inc_block_group_ro()
3902 u64 alloc_flags = btrfs_get_alloc_profile(trans->fs_info, type); in btrfs_force_chunk_alloc() local
3904 return btrfs_chunk_alloc(trans, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_force_chunk_alloc()
/linux-6.15/fs/xfs/scrub/
H A Drepair.h57 int xrep_fix_freelist(struct xfs_scrub *sc, int alloc_flags);
H A Drepair.c454 int alloc_flags) in xrep_fix_freelist() argument
464 return xfs_alloc_fix_freelist(&args, alloc_flags); in xrep_fix_freelist()
/linux-6.15/drivers/iommu/
H A Ddma-iommu.c892 gfp_t alloc_flags = gfp; in __iommu_dma_alloc_pages() local
896 alloc_flags |= __GFP_NORETRY; in __iommu_dma_alloc_pages()
897 page = alloc_pages_node(nid, alloc_flags, order); in __iommu_dma_alloc_pages()
/linux-6.15/drivers/gpu/drm/i915/gem/
H A Di915_gem_object.h49 unsigned alloc_flags);
/linux-6.15/include/uapi/linux/
H A Dkfd_ioctl.h722 __u32 alloc_flags; member

12