/linux/mm/ |
H A D | page_alloc.c | 1557 unsigned int alloc_flags) in prep_new_page() argument 1570 if (alloc_flags & ALLOC_NO_WATERMARKS) in prep_new_page() 1917 unsigned int alloc_flags, bool whole_block) in steal_suitable_fallback() argument 1948 if (boost_watermark(zone) && (alloc_flags & ALLOC_KSWAPD)) in steal_suitable_fallback() 2186 unsigned int alloc_flags) in __rmqueue_fallback() argument 2200 if (order < pageblock_order && alloc_flags & ALLOC_NOFRAGMENT) in __rmqueue_fallback() 2253 start_migratetype, alloc_flags, can_steal); in __rmqueue_fallback() 2267 unsigned int alloc_flags) in __rmqueue() argument 2277 if (alloc_flags & ALLOC_CMA && in __rmqueue() 2288 if (alloc_flags & ALLOC_CMA) in __rmqueue() [all …]
|
H A D | compaction.c | 2456 int alloc_flags) in compaction_zonelist_suitable() argument 2494 int highest_zoneidx, unsigned int alloc_flags, in compaction_suit_allocation_order() argument 2499 watermark = wmark_pages(zone, alloc_flags & ALLOC_WMARK_MASK); in compaction_suit_allocation_order() 2501 alloc_flags)) in compaction_suit_allocation_order() 2514 !(alloc_flags & ALLOC_CMA)) { in compaction_suit_allocation_order() 2556 cc->alloc_flags, in compact_zone() 2767 unsigned int alloc_flags, int highest_zoneidx, in compact_zone_order() argument 2778 .alloc_flags = alloc_flags, in compact_zone_order() 2831 unsigned int alloc_flags, const struct alloc_context *ac, in try_to_compact_pages() argument 2849 (alloc_flags & ALLOC_CPUSET) && in try_to_compact_pages() [all …]
|
H A D | internal.h | 810 const unsigned int alloc_flags; /* alloc flags of a direct compactor */ member
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd_gpuvm.c | 296 u32 alloc_flags = bo->kfd_bo->alloc_flags; in amdgpu_amdkfd_release_notify() local 299 amdgpu_amdkfd_unreserve_mem_limit(adev, size, alloc_flags, in amdgpu_amdkfd_release_notify() 326 if (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) in create_dmamap_sg_bo() 510 if (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE) in get_pte_flags() 512 if (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_EXECUTABLE) in get_pte_flags() 555 mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE ? in kfd_mem_dmamap_userptr() 657 mmio = (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_MMIO_REMAP); in kfd_mem_dmamap_sg_bo() 663 dir = mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE ? in kfd_mem_dmamap_sg_bo() 722 mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE ? in kfd_mem_dmaunmap_userptr() 784 dir = mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE ? in kfd_mem_dmaunmap_sg_bo() [all …]
|
H A D | amdgpu_amdkfd.h | 81 uint32_t alloc_flags; member
|
/linux/include/linux/ |
H A D | stackdepot.h | 159 gfp_t alloc_flags, 178 unsigned int nr_entries, gfp_t alloc_flags);
|
H A D | compaction.h | 93 unsigned int order, unsigned int alloc_flags, 104 int alloc_flags);
|
/linux/lib/ |
H A D | stackdepot.c | 586 gfp_t alloc_flags, in stack_depot_save_flags() argument 627 page = alloc_pages(gfp_nested_mask(alloc_flags), in stack_depot_save_flags() 684 gfp_t alloc_flags) in stack_depot_save() argument 686 return stack_depot_save_flags(entries, nr_entries, alloc_flags, in stack_depot_save()
|
/linux/drivers/md/ |
H 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()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_chardev.c | 1937 bo_bucket->alloc_flags = (uint32_t)kgd_mem->alloc_flags; in criu_checkpoint_bos() 1940 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) { in criu_checkpoint_bos() 1948 if (bo_bucket->alloc_flags in criu_checkpoint_bos() 1951 bo_bucket->alloc_flags & in criu_checkpoint_bos() 1960 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) in criu_checkpoint_bos() 1963 else if (bo_bucket->alloc_flags & in criu_checkpoint_bos() 1981 bo_bucket->alloc_flags, in criu_checkpoint_bos() 2296 if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_DOORBELL) { in criu_restore_memory_of_gpu() 2304 } else if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_MMIO_REMAP) { in criu_restore_memory_of_gpu() 2315 } else if (bo_bucket->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) { in criu_restore_memory_of_gpu() [all …]
|
/linux/drivers/base/regmap/ |
H A D | regcache-flat.c | 30 + 1, sizeof(unsigned int), map->alloc_flags); in regcache_flat_init()
|
H A D | regmap.c | 767 map->alloc_flags = GFP_ATOMIC; in __regmap_init() 769 map->alloc_flags = GFP_KERNEL; in __regmap_init() 2363 wval = kmemdup_array(val, val_count, val_bytes, map->alloc_flags); in regmap_bulk_write()
|
/linux/fs/btrfs/ |
H A D | block-group.c | 2935 u64 alloc_flags; in btrfs_inc_block_group_ro() local 2983 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->flags); in btrfs_inc_block_group_ro() 2984 if (alloc_flags != cache->flags) { in btrfs_inc_block_group_ro() 2985 ret = btrfs_chunk_alloc(trans, alloc_flags, in btrfs_inc_block_group_ro() 3013 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->space_info->flags); in btrfs_inc_block_group_ro() 3014 ret = btrfs_chunk_alloc(trans, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_inc_block_group_ro() 3030 alloc_flags = btrfs_get_alloc_profile(fs_info, cache->flags); in btrfs_inc_block_group_ro() 3032 check_system_chunk(trans, alloc_flags); in btrfs_inc_block_group_ro() 3867 u64 alloc_flags = btrfs_get_alloc_profile(trans->fs_info, type); in btrfs_force_chunk_alloc() local 3869 return btrfs_chunk_alloc(trans, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_force_chunk_alloc()
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_alloc.h | 198 int xfs_alloc_fix_freelist(struct xfs_alloc_arg *args, uint32_t alloc_flags);
|
/linux/fs/xfs/scrub/ |
H A D | repair.h | 57 int xrep_fix_freelist(struct xfs_scrub *sc, int alloc_flags);
|
H A D | repair.c | 453 int alloc_flags) in xrep_fix_freelist() argument 463 return xfs_alloc_fix_freelist(&args, alloc_flags); in xrep_fix_freelist()
|
/linux/drivers/iommu/ |
H A D | dma-iommu.c | 915 gfp_t alloc_flags = gfp; in __iommu_dma_alloc_pages() local 919 alloc_flags |= __GFP_NORETRY; in __iommu_dma_alloc_pages() 920 page = alloc_pages_node(nid, alloc_flags, order); in __iommu_dma_alloc_pages()
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_object.h | 49 unsigned alloc_flags);
|
/linux/include/uapi/linux/ |
H A D | kfd_ioctl.h | 716 __u32 alloc_flags; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H 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/arch/s390/kvm/ |
H A D | kvm-s390.c | 3332 gfp_t alloc_flags = GFP_KERNEL_ACCOUNT; in kvm_arch_init_vm() local 3355 alloc_flags |= GFP_DMA; in kvm_arch_init_vm() 3358 kvm->arch.sca = (struct bsca_block *) get_zeroed_page(alloc_flags); in kvm_arch_init_vm()
|