Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/include/linux/
Dgfp.h520 __alloc_pages(gfp_t gfp_mask, unsigned int order, int preferred_nid) in __alloc_pages()
530 __alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node()
543 static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, in alloc_pages_node()
556 alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages()
563 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument
566 static inline struct page *alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages()
570 #define alloc_pages_vma(gfp_mask, order, vma, addr, node, false)\ argument
572 #define alloc_hugepage_vma(gfp_mask, vma, addr, order) \ argument
575 #define alloc_page(gfp_mask) alloc_pages(gfp_mask, 0) argument
576 #define alloc_page_vma(gfp_mask, vma, addr) \ argument
[all …]
Dcpuset.h71 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed()
78 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
83 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
211 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed()
216 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
221 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()
/kernel/linux/linux-5.10/block/
Dblk-lib.c26 sector_t nr_sects, gfp_t gfp_mask, int flags, in __blkdev_issue_discard()
132 sector_t nr_sects, gfp_t gfp_mask, unsigned long flags) in blkdev_issue_discard()
166 sector_t nr_sects, gfp_t gfp_mask, struct page *page, in __blkdev_issue_write_same()
227 sector_t nr_sects, gfp_t gfp_mask, in blkdev_issue_write_same()
247 sector_t sector, sector_t nr_sects, gfp_t gfp_mask, in __blkdev_issue_write_zeroes()
303 sector_t sector, sector_t nr_sects, gfp_t gfp_mask, in __blkdev_issue_zero_pages()
359 sector_t nr_sects, gfp_t gfp_mask, struct bio **biop, in __blkdev_issue_zeroout()
393 sector_t nr_sects, gfp_t gfp_mask, unsigned flags) in blkdev_issue_zeroout()
Dblk-map.c22 gfp_t gfp_mask) in bio_alloc_map_data()
131 struct iov_iter *iter, gfp_t gfp_mask) in bio_copy_user_iov()
244 gfp_t gfp_mask) in bio_map_user_iov()
382 unsigned int len, gfp_t gfp_mask) in bio_map_kern()
464 unsigned int len, gfp_t gfp_mask, int reading) in bio_copy_kern()
580 const struct iov_iter *iter, gfp_t gfp_mask) in blk_rq_map_user_iov()
622 unsigned long len, gfp_t gfp_mask) in blk_rq_map_user()
685 unsigned int len, gfp_t gfp_mask) in blk_rq_map_kern()
Dblk-crypto.c83 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], gfp_t gfp_mask) in bio_crypt_set_ctx()
107 int __bio_crypt_clone(struct bio *dst, struct bio *src, gfp_t gfp_mask) in __bio_crypt_clone()
296 gfp_t gfp_mask) in __blk_crypto_rq_bio_prep()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/mm/
Dmempool.c180 gfp_t gfp_mask, int node_id) in mempool_init_node()
261 gfp_t gfp_mask, int node_id) in mempool_create_node()
373 void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) in mempool_alloc()
507 void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data) in mempool_alloc_slab()
526 void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data) in mempool_kmalloc()
543 void *mempool_alloc_pages(gfp_t gfp_mask, void *pool_data) in mempool_alloc_pages()
Dpage_owner.c26 gfp_t gfp_mask; member
170 unsigned int order, gfp_t gfp_mask) in __set_page_owner_handle()
191 gfp_t gfp_mask) in __set_page_owner()
420 gfp_t gfp_mask; in __dump_page_owner() local
Dpage_alloc.c3548 static bool __should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) in __should_fail_alloc_page()
3588 static inline bool __should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) in __should_fail_alloc_page()
3595 noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) in should_fail_alloc_page()
3703 unsigned int alloc_flags, gfp_t gfp_mask) in zone_watermark_fast()
3779 alloc_flags_nofragment(struct zone *zone, gfp_t gfp_mask) in alloc_flags_nofragment()
3810 static inline unsigned int current_alloc_flags(gfp_t gfp_mask, in current_alloc_flags()
3829 get_page_from_freelist(gfp_t gfp_mask, unsigned int order, int alloc_flags, in get_page_from_freelist()
3978 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem()
3997 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc()
4023 __alloc_pages_cpuset_fallback(gfp_t gfp_mask, unsigned int order, in __alloc_pages_cpuset_fallback()
[all …]
Dswap_state.c451 struct page *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, in __read_swap_cache_async()
557 struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, in read_swap_cache_async()
649 struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t gfp_mask, in swap_cluster_readahead()
832 static struct page *swap_vma_readahead(swp_entry_t fentry, gfp_t gfp_mask, in swap_vma_readahead()
891 struct page *swapin_readahead(swp_entry_t entry, gfp_t gfp_mask, in swapin_readahead()
/kernel/linux/common_modules/tzdriver/
Dko_adapt.h55 static inline struct page *koadpt_alloc_pages(gfp_t gfp_mask, unsigned int order) in koadpt_alloc_pages()
61 gfp_t gfp_mask) in koadpt_alloc_workqueue_attrs()
Dko_adapt.c82 struct page *koadpt_alloc_pages(gfp_t gfp_mask, unsigned int order) in koadpt_alloc_pages()
105 struct workqueue_attrs *koadpt_alloc_workqueue_attrs(gfp_t gfp_mask) in koadpt_alloc_workqueue_attrs()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dgss_krb5_mech.c312 context_derive_keys_des3(struct krb5_ctx *ctx, gfp_t gfp_mask) in context_derive_keys_des3()
357 context_derive_keys_new(struct krb5_ctx *ctx, gfp_t gfp_mask) in context_derive_keys_new()
469 gfp_t gfp_mask) in gss_import_v2_context()
547 gfp_t gfp_mask) in gss_import_sec_context_kerberos()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/lib/
Dgeneric-radix-tree.c79 static inline struct genradix_node *genradix_alloc_node(gfp_t gfp_mask) in genradix_alloc_node()
105 gfp_t gfp_mask) in __genradix_ptr_alloc()
218 gfp_t gfp_mask) in __genradix_prealloc()
Dscatterlist.c149 static struct scatterlist *sg_kmalloc(unsigned int nents, gfp_t gfp_mask) in sg_kmalloc()
268 unsigned int nents_first_chunk, gfp_t gfp_mask, in __sg_alloc_table()
355 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table()
371 gfp_t gfp_mask) in get_next_sg()
432 gfp_t gfp_mask) in __sg_alloc_table_from_pages()
547 unsigned long size, gfp_t gfp_mask) in sg_alloc_table_from_pages()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion_page_pool.c100 int ion_page_pool_shrink(struct ion_page_pool *pool, gfp_t gfp_mask, in ion_page_pool_shrink()
134 struct ion_page_pool *ion_page_pool_create(gfp_t gfp_mask, unsigned int order) in ion_page_pool_create()
/kernel/linux/linux-5.10/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()
133 gfp_t gfp_mask, int coherent) in mlx4_alloc_icm()
/kernel/linux/linux-5.10/drivers/connector/
Dconnector.c62 gfp_t gfp_mask) in cn_netlink_send_mult()
122 gfp_t gfp_mask) in cn_netlink_send()
/kernel/linux/linux-5.10/fs/ntfs/
Dmalloc.h28 static inline void *__ntfs_malloc(unsigned long size, gfp_t gfp_mask) in __ntfs_malloc()
/kernel/linux/linux-5.10/kernel/power/
Dsnapshot.c155 static void *get_image_page(gfp_t gfp_mask, int safe_needed) in get_image_page()
174 static void *__get_safe_page(gfp_t gfp_mask) in __get_safe_page()
186 unsigned long get_safe_page(gfp_t gfp_mask) in get_safe_page()
191 static struct page *alloc_image_page(gfp_t gfp_mask) in alloc_image_page()
261 gfp_t gfp_mask; /* mask for allocating pages */ member
265 static void chain_init(struct chain_allocator *ca, gfp_t gfp_mask, in chain_init()
401 static struct rtree_node *alloc_rtree_node(gfp_t gfp_mask, int safe_needed, in alloc_rtree_node()
427 static int add_rtree_block(struct mem_zone_bm_rtree *zone, gfp_t gfp_mask, in add_rtree_block()
497 static struct mem_zone_bm_rtree *create_zone_bm_rtree(gfp_t gfp_mask, in create_zone_bm_rtree()
586 static int create_mem_extents(struct list_head *list, gfp_t gfp_mask) in create_mem_extents()
[all …]
/kernel/linux/linux-5.10/kernel/
Dumh.c357 char **envp, gfp_t gfp_mask, in call_usermodehelper_setup()
475 gfp_t gfp_mask = (wait == UMH_NO_WAIT) ? GFP_ATOMIC : GFP_KERNEL; in call_usermodehelper() local
/kernel/linux/linux-5.10/drivers/net/wireless/ath/
Dmain.c31 gfp_t gfp_mask) in ath_rxbuf_alloc()
/kernel/linux/linux-5.10/fs/crypto/
Dinline_crypt.c243 u64 first_lblk, gfp_t gfp_mask) in fscrypt_set_bio_crypt_ctx()
293 gfp_t gfp_mask) in fscrypt_set_bio_crypt_ctx_bh()

1234567