| /linux/mm/ |
| H A D | page_alloc.c | 295 int alloc_flags); 1863 unsigned int alloc_flags) in prep_new_page() argument 1876 if (alloc_flags & ALLOC_NO_WATERMARKS) in prep_new_page() 2282 int block_type, unsigned int alloc_flags) in try_to_claim_block() argument 2303 if (boost_watermark(zone) && (alloc_flags & ALLOC_KSWAPD)) in try_to_claim_block() 2356 unsigned int alloc_flags) in __rmqueue_claim() argument 2369 if (order < pageblock_order && alloc_flags & ALLOC_NOFRAGMENT) in __rmqueue_claim() 2394 alloc_flags); in __rmqueue_claim() 2447 unsigned int alloc_flags, enum rmqueue_mode *mode) in __rmqueue() argument 2457 if (alloc_flags & ALLOC_CMA && in __rmqueue() [all …]
|
| H A D | compaction.c | 2299 cc->highest_zoneidx, cc->alloc_flags, in __compact_finished() 2433 int alloc_flags) in compaction_zonelist_suitable() argument 2471 int highest_zoneidx, unsigned int alloc_flags, in compaction_suit_allocation_order() argument 2482 watermark = wmark_pages(zone, alloc_flags & ALLOC_WMARK_MASK); in compaction_suit_allocation_order() 2484 alloc_flags, free_pages)) in compaction_suit_allocation_order() 2497 !(alloc_flags & ALLOC_CMA)) { in compaction_suit_allocation_order() 2539 cc->alloc_flags, in compact_zone() 2751 unsigned int alloc_flags, int highest_zoneidx, in compact_zone_order() argument 2762 .alloc_flags = alloc_flags, in compact_zone_order() 2815 unsigned int alloc_flags, const struct alloc_context *ac, in try_to_compact_pages() argument [all …]
|
| H A D | internal.h | 897 const unsigned int alloc_flags; /* alloc flags of a direct compactor */ member
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_alloc.c | 1676 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() 1766 alloc_flags &= ~XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_near() 1792 uint32_t alloc_flags) in xfs_alloc_ag_vextent_size() argument 1807 alloc_flags |= XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_size() 1879 alloc_flags); in xfs_alloc_ag_vextent_size() 1883 alloc_flags &= ~XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_size() 1979 alloc_flags); in xfs_alloc_ag_vextent_size() 1983 alloc_flags &= ~XFS_ALLOC_FLAG_TRYFLUSH; in xfs_alloc_ag_vextent_size() [all …]
|
| H A D | xfs_alloc.h | 198 int xfs_alloc_fix_freelist(struct xfs_alloc_arg *args, uint32_t alloc_flags);
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd_gpuvm.c | 312 u32 alloc_flags = bo->kfd_bo->alloc_flags; in amdgpu_amdkfd_release_notify() local 315 amdgpu_amdkfd_unreserve_mem_limit(adev, size, alloc_flags, in amdgpu_amdkfd_release_notify() 342 if (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_USERPTR) in create_dmamap_sg_bo() 519 if (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE) in get_pte_flags() 521 if (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_EXECUTABLE) in get_pte_flags() 564 mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE ? in kfd_mem_dmamap_userptr() 660 mmio = (mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_MMIO_REMAP); in kfd_mem_dmamap_sg_bo() 666 dir = mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE ? in kfd_mem_dmamap_sg_bo() 725 mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE ? in kfd_mem_dmaunmap_userptr() 787 dir = mem->alloc_flags & KFD_IOC_ALLOC_MEM_FLAGS_WRITABLE ? in kfd_mem_dmaunmap_sg_bo() [all …]
|
| /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);
|
| H A D | gfp.h | 434 acr_flags_t alloc_flags, gfp_t gfp_mask);
|
| H A D | mmzone.h | 1540 int highest_zoneidx, unsigned int alloc_flags, 1544 unsigned int alloc_flags);
|
| /linux/lib/ |
| H A D | stackdepot.c | 635 gfp_t alloc_flags, in stack_depot_save_flags() argument 643 bool allow_spin = gfpflags_allow_spinning(alloc_flags); in stack_depot_save_flags() 677 page = alloc_pages(gfp_nested_mask(alloc_flags), in stack_depot_save_flags() 737 gfp_t alloc_flags) in stack_depot_save() argument 739 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/fs/xfs/ |
| H A D | xfs_extent_busy.c | 614 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 D | xfs_extent_busy.h | 59 unsigned busy_gen, uint32_t alloc_flags);
|
| /linux/fs/xfs/scrub/ |
| H A D | repair.h | 49 int xrep_fix_freelist(struct xfs_scrub *sc, int alloc_flags);
|
| H A D | repair.c | 454 int alloc_flags) in xrep_fix_freelist() argument 464 return xfs_alloc_fix_freelist(&args, alloc_flags); in xrep_fix_freelist()
|
| /linux/fs/btrfs/ |
| H A D | zoned.c | 2552 u64 alloc_flags; in btrfs_zoned_reserve_data_reloc_bg() local 2567 alloc_flags = btrfs_get_alloc_profile(fs_info, space_info->flags); in btrfs_zoned_reserve_data_reloc_bg() 2568 index = btrfs_bg_flags_to_raid_index(alloc_flags); in btrfs_zoned_reserve_data_reloc_bg() 2632 ret = btrfs_chunk_alloc(trans, space_info, alloc_flags, CHUNK_ALLOC_FORCE); in btrfs_zoned_reserve_data_reloc_bg()
|
| /linux/drivers/iommu/ |
| H A D | dma-iommu.c | 902 gfp_t alloc_flags = gfp; in __iommu_dma_alloc_pages() local 906 alloc_flags |= __GFP_NORETRY; in __iommu_dma_alloc_pages() 907 page = alloc_pages_node(nid, alloc_flags, order); in __iommu_dma_alloc_pages()
|
| /linux/include/uapi/drm/ |
| H A D | amdgpu_drm.h | 865 __u64 alloc_flags; member
|
| /linux/include/uapi/linux/ |
| H A D | kfd_ioctl.h | 727 __u32 alloc_flags; member
|
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo.c | 883 return bo->bdev->alloc_flags & TTM_ALLOCATION_PROPAGATE_ENOSPC ? in ttm_bo_validate()
|
| /linux/arch/s390/kvm/ |
| H A D | kvm-s390.c | 3329 gfp_t alloc_flags = GFP_KERNEL_ACCOUNT | __GFP_ZERO; in kvm_arch_init_vm() local 3351 alloc_flags |= GFP_DMA; in kvm_arch_init_vm() 3354 kvm->arch.sca = alloc_pages_exact(sizeof(*kvm->arch.sca), alloc_flags); in kvm_arch_init_vm()
|