Home
last modified time | relevance | path

Searched defs:gfp_mask (Results 1 – 25 of 161) sorted by relevance

1234567

/Linux-v4.19/include/linux/
Dgfp.h471 __alloc_pages(gfp_t gfp_mask, unsigned int order, int preferred_nid) in __alloc_pages()
481 __alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node()
494 static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, in alloc_pages_node()
507 alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages()
514 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument
517 #define alloc_pages(gfp_mask, order) \ argument
519 #define alloc_pages_vma(gfp_mask, order, vma, addr, node, false)\ argument
521 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument
524 #define alloc_page(gfp_mask) alloc_pages(gfp_mask, 0) argument
525 #define alloc_page_vma(gfp_mask, vma, addr) \ argument
[all …]
Dcpuset.h67 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed()
74 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
79 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
202 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed()
207 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
212 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
Dpage_owner.h28 unsigned int order, gfp_t gfp_mask) in set_page_owner()
59 unsigned int order, gfp_t gfp_mask) in set_page_owner()
Dpagemap.h107 gfp_t gfp_mask) in mapping_gfp_constraint()
320 pgoff_t offset, gfp_t gfp_mask) in find_or_create_page()
631 struct address_space *mapping, pgoff_t offset, gfp_t gfp_mask) in add_to_page_cache()
/Linux-v4.19/block/
Dblk-lib.c27 sector_t nr_sects, gfp_t gfp_mask, int flags, in __blkdev_issue_discard()
109 sector_t nr_sects, gfp_t gfp_mask, unsigned long flags) in blkdev_issue_discard()
143 sector_t nr_sects, gfp_t gfp_mask, struct page *page, in __blkdev_issue_write_same()
204 sector_t nr_sects, gfp_t gfp_mask, in blkdev_issue_write_same()
224 sector_t sector, sector_t nr_sects, gfp_t gfp_mask, in __blkdev_issue_write_zeroes()
280 sector_t sector, sector_t nr_sects, gfp_t gfp_mask, in __blkdev_issue_zero_pages()
336 sector_t nr_sects, gfp_t gfp_mask, struct bio **biop, in __blkdev_issue_zeroout()
370 sector_t nr_sects, gfp_t gfp_mask, unsigned flags) in blkdev_issue_zeroout()
Dblk-map.c60 gfp_t gfp_mask, bool copy) in __blk_rq_map_user_iov()
116 const struct iov_iter *iter, gfp_t gfp_mask) in blk_rq_map_user_iov()
157 unsigned long len, gfp_t gfp_mask) in blk_rq_map_user()
216 unsigned int len, gfp_t gfp_mask) in blk_rq_map_kern()
Dbio.c181 struct bio_vec *bvec_alloc(gfp_t gfp_mask, int nr, unsigned long *idx, in bvec_alloc()
438 struct bio *bio_alloc_bioset(gfp_t gfp_mask, unsigned int nr_iovecs, in bio_alloc_bioset()
624 struct bio *bio_clone_fast(struct bio *bio, gfp_t gfp_mask, struct bio_set *bs) in bio_clone_fast()
1048 gfp_t gfp_mask) in bio_alloc_map_data()
1180 gfp_t gfp_mask) in bio_copy_user_iov()
1291 gfp_t gfp_mask) in bio_map_user_iov()
1426 gfp_t gfp_mask) in bio_map_kern()
1498 gfp_t gfp_mask, int reading) in bio_copy_kern()
Dblk-zoned.c111 gfp_t gfp_mask) in blkdev_report_zones()
248 gfp_t gfp_mask) in blkdev_reset_zones()
Dbounce.c84 static void *mempool_alloc_pages_isa(gfp_t gfp_mask, void *data) in mempool_alloc_pages_isa()
198 static struct bio *bounce_clone_bio(struct bio *bio_src, gfp_t gfp_mask, in bounce_clone_bio()
/Linux-v4.19/fs/nfs/blocklayout/
Ddev.c236 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_simple()
353 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_scsi()
402 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_slice()
418 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_concat()
447 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_stripe()
476 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_deviceid()
497 gfp_t gfp_mask) in bl_alloc_deviceid_node()
/Linux-v4.19/mm/
Dmempool.c182 gfp_t gfp_mask, int node_id) in mempool_init_node()
259 gfp_t gfp_mask, int node_id) in mempool_create_node()
367 void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) in mempool_alloc()
501 void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data) in mempool_alloc_slab()
520 void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data) in mempool_kmalloc()
537 void *mempool_alloc_pages(gfp_t gfp_mask, void *pool_data) in mempool_alloc_pages()
Dswap_state.c160 int add_to_swap_cache(struct page *page, swp_entry_t entry, gfp_t gfp_mask) in add_to_swap_cache()
377 struct page *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, in __read_swap_cache_async()
475 struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, in read_swap_cache_async()
566 struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t gfp_mask, in swap_cluster_readahead()
732 static struct page *swap_vma_readahead(swp_entry_t fentry, gfp_t gfp_mask, in swap_vma_readahead()
791 struct page *swapin_readahead(swp_entry_t entry, gfp_t gfp_mask, in swapin_readahead()
Dpage_owner.c25 gfp_t gfp_mask; member
173 depot_stack_handle_t handle, unsigned int order, gfp_t gfp_mask) in __set_page_owner_handle()
187 gfp_t gfp_mask) in __set_page_owner()
420 gfp_t gfp_mask; in __dump_page_owner() local
Dpage_alloc.c3045 static bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) in should_fail_alloc_page()
3095 static inline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) in should_fail_alloc_page()
3250 get_page_from_freelist(gfp_t gfp_mask, unsigned int order, int alloc_flags, in get_page_from_freelist()
3383 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem()
3406 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc()
3431 __alloc_pages_cpuset_fallback(gfp_t gfp_mask, unsigned int order, in __alloc_pages_cpuset_fallback()
3451 __alloc_pages_may_oom(gfp_t gfp_mask, unsigned int order, in __alloc_pages_may_oom()
3547 __alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order, in __alloc_pages_direct_compact()
3664 __alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order, in __alloc_pages_direct_compact()
3704 static bool __need_fs_reclaim(gfp_t gfp_mask) in __need_fs_reclaim()
[all …]
/Linux-v4.19/fs/btrfs/
Dulist.c92 struct ulist *ulist_alloc(gfp_t gfp_mask) in ulist_alloc()
186 int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask) in ulist_add()
192 u64 *old_aux, gfp_t gfp_mask) in ulist_add_merge()
/Linux-v4.19/net/sunrpc/auth_gss/
Dgss_krb5_mech.c379 context_derive_keys_des3(struct krb5_ctx *ctx, gfp_t gfp_mask) in context_derive_keys_des3()
499 context_derive_keys_new(struct krb5_ctx *ctx, gfp_t gfp_mask) in context_derive_keys_new()
611 gfp_t gfp_mask) in gss_import_v2_context()
686 gfp_t gfp_mask) in gss_import_sec_context_kerberos()
/Linux-v4.19/drivers/staging/android/ion/
Dion_page_pool.c97 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, in ion_page_pool_shrink()
131 struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order) in ion_page_pool_create()
/Linux-v4.19/lib/
Dscatterlist.c151 static struct scatterlist *sg_kmalloc(unsigned int nents, gfp_t gfp_mask) in sg_kmalloc()
265 gfp_t gfp_mask, sg_alloc_fn *alloc_fn) in __sg_alloc_table()
347 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table()
384 gfp_t gfp_mask) in __sg_alloc_table_from_pages()
458 unsigned long size, gfp_t gfp_mask) in sg_alloc_table_from_pages()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dicm.c99 gfp_t gfp_mask, int node) in mlx4_alloc_icm_pages()
115 int order, gfp_t gfp_mask) in mlx4_alloc_icm_coherent()
134 gfp_t gfp_mask, int coherent) in mlx4_alloc_icm()
/Linux-v4.19/drivers/connector/
Dconnector.c75 gfp_t gfp_mask) in cn_netlink_send_mult()
135 gfp_t gfp_mask) in cn_netlink_send()
/Linux-v4.19/kernel/power/
Dsnapshot.c158 static void *get_image_page(gfp_t gfp_mask, int safe_needed) in get_image_page()
177 static void *__get_safe_page(gfp_t gfp_mask) in __get_safe_page()
189 unsigned long get_safe_page(gfp_t gfp_mask) in get_safe_page()
194 static struct page *alloc_image_page(gfp_t gfp_mask) in alloc_image_page()
264 gfp_t gfp_mask; /* mask for allocating pages */ member
268 static void chain_init(struct chain_allocator *ca, gfp_t gfp_mask, in chain_init()
404 static struct rtree_node *alloc_rtree_node(gfp_t gfp_mask, int safe_needed, in alloc_rtree_node()
430 static int add_rtree_block(struct mem_zone_bm_rtree *zone, gfp_t gfp_mask, in add_rtree_block()
500 static struct mem_zone_bm_rtree *create_zone_bm_rtree(gfp_t gfp_mask, in create_zone_bm_rtree()
589 static int create_mem_extents(struct list_head *list, gfp_t gfp_mask) in create_mem_extents()
[all …]
/Linux-v4.19/fs/ntfs/
Dmalloc.h42 static inline void *__ntfs_malloc(unsigned long size, gfp_t gfp_mask) in __ntfs_malloc()
/Linux-v4.19/include/linux/sched/
Dmm.h173 static inline void fs_reclaim_acquire(gfp_t gfp_mask) { } in fs_reclaim_acquire()
174 static inline void fs_reclaim_release(gfp_t gfp_mask) { } in fs_reclaim_release()
/Linux-v4.19/drivers/infiniband/core/
Dsa_query.c833 static int ib_nl_send_msg(struct ib_sa_query *query, gfp_t gfp_mask) in ib_nl_send_msg()
874 static int ib_nl_make_request(struct ib_sa_query *query, gfp_t gfp_mask) in ib_nl_make_request()
1345 static int alloc_mad(struct ib_sa_query *query, gfp_t gfp_mask) in alloc_mad()
1412 static int send_mad(struct ib_sa_query *query, int timeout_ms, gfp_t gfp_mask) in send_mad()
1602 int timeout_ms, gfp_t gfp_mask, in ib_sa_path_rec_get()
1756 int timeout_ms, gfp_t gfp_mask, in ib_sa_service_rec_query()
1853 int timeout_ms, gfp_t gfp_mask, in ib_sa_mcmember_rec_query()
1944 int timeout_ms, gfp_t gfp_mask, in ib_sa_guid_info_rec_query()
2119 gfp_t gfp_mask = GFP_KERNEL; in ib_sa_classport_info_rec_query() local
/Linux-v4.19/drivers/net/wireless/ath/
Dmain.c31 gfp_t gfp_mask) in ath_rxbuf_alloc()

1234567