Home
last modified time | relevance | path

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

/linux/mm/
H A Dpage_alloc.c295 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 Dcompaction.c2299 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 Dinternal.h897 const unsigned int alloc_flags; /* alloc flags of a direct compactor */ member
/linux/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()
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 Dxfs_alloc.h198 int xfs_alloc_fix_freelist(struct xfs_alloc_arg *args, uint32_t alloc_flags);
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_gpuvm.c312 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 Dstackdepot.h159 gfp_t alloc_flags,
178 unsigned int nr_entries, gfp_t alloc_flags);
H A Dcompaction.h93 unsigned int order, unsigned int alloc_flags,
104 int alloc_flags);
H A Dgfp.h434 acr_flags_t alloc_flags, gfp_t gfp_mask);
H A Dmmzone.h1540 int highest_zoneidx, unsigned int alloc_flags,
1544 unsigned int alloc_flags);
/linux/lib/
H A Dstackdepot.c635 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 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()
/linux/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/fs/xfs/scrub/
H A Drepair.h49 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/fs/btrfs/
H A Dzoned.c2552 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 Ddma-iommu.c902 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 Damdgpu_drm.h865 __u64 alloc_flags; member
/linux/include/uapi/linux/
H A Dkfd_ioctl.h727 __u32 alloc_flags; member
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo.c883 return bo->bdev->alloc_flags & TTM_ALLOCATION_PROPAGATE_ENOSPC ? in ttm_bo_validate()
/linux/arch/s390/kvm/
H A Dkvm-s390.c3329 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()