Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/include/linux/
Dgfp.h213 static inline void warn_if_node_offline(int this_node, gfp_t gfp_mask) in warn_if_node_offline()
232 __alloc_pages_node(int nid, gfp_t gfp_mask, unsigned int order) in __alloc_pages_node()
254 static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, in alloc_pages_node()
269 static inline struct page *alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages()
280 #define alloc_page(gfp_mask) alloc_pages(gfp_mask, 0) argument
296 #define __get_free_page(gfp_mask) \ argument
299 #define __get_dma_pages(gfp_mask, order) \ argument
312 unsigned int fragsz, gfp_t gfp_mask) in page_frag_alloc()
Dcpuset.h85 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed()
92 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
97 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
226 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed()
231 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
236 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
Dpage_owner.h28 unsigned short order, gfp_t gfp_mask) in set_page_owner()
59 unsigned int order, gfp_t gfp_mask) in set_page_owner()
/linux-6.1.9/block/
Dblk-lib.c39 sector_t nr_sects, gfp_t gfp_mask, struct bio **biop) in __blkdev_issue_discard()
98 sector_t nr_sects, gfp_t gfp_mask) in blkdev_issue_discard()
119 sector_t sector, sector_t nr_sects, gfp_t gfp_mask, in __blkdev_issue_write_zeroes()
169 sector_t sector, sector_t nr_sects, gfp_t gfp_mask, in __blkdev_issue_zero_pages()
219 sector_t nr_sects, gfp_t gfp_mask, struct bio **biop, in __blkdev_issue_zeroout()
253 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()
130 struct iov_iter *iter, gfp_t gfp_mask) in bio_copy_user_iov()
245 unsigned int nr_vecs, gfp_t gfp_mask) in blk_rq_map_bio_alloc()
266 gfp_t gfp_mask) in bio_map_user_iov()
380 unsigned int len, gfp_t gfp_mask) in bio_map_kern()
465 unsigned int len, gfp_t gfp_mask, int reading) in bio_copy_kern()
624 const struct iov_iter *iter, gfp_t gfp_mask) in blk_rq_map_user_iov()
679 unsigned long len, gfp_t gfp_mask) in blk_rq_map_user()
693 void __user *ubuf, unsigned long buf_len, gfp_t gfp_mask, in blk_rq_map_user_io()
774 unsigned int len, gfp_t gfp_mask) in blk_rq_map_kern()
Dblk-crypto.c85 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], gfp_t gfp_mask) in bio_crypt_set_ctx()
109 int __bio_crypt_clone(struct bio *dst, struct bio *src, gfp_t gfp_mask) in __bio_crypt_clone()
299 gfp_t gfp_mask) in __blk_crypto_rq_bio_prep()
Dblk-zoned.c187 gfp_t gfp_mask) in blkdev_zone_reset_all_emulated()
232 static int blkdev_zone_reset_all(struct block_device *bdev, gfp_t gfp_mask) in blkdev_zone_reset_all()
257 sector_t sector, sector_t nr_sectors, gfp_t gfp_mask) in blkdev_zone_mgmt()
Dbio-integrity.c49 gfp_t gfp_mask, in bio_integrity_alloc()
405 gfp_t gfp_mask) in bio_integrity_clone()
/linux-6.1.9/fs/nfs/blocklayout/
Ddev.c236 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_simple()
327 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_scsi()
382 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_slice()
398 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_concat()
427 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_stripe()
456 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_deviceid()
477 gfp_t gfp_mask) in bl_alloc_deviceid_node()
/linux-6.1.9/mm/
Dmempool.c181 gfp_t gfp_mask, int node_id) in mempool_init_node()
262 gfp_t gfp_mask, int node_id) in mempool_create_node()
374 void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) in mempool_alloc()
508 void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data) in mempool_alloc_slab()
527 void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data) in mempool_kmalloc()
544 void *mempool_alloc_pages(gfp_t gfp_mask, void *pool_data) in mempool_alloc_pages()
Dswap.h85 gfp_t gfp_mask, struct vm_fault *vmf) in swap_cluster_readahead()
90 static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, in swapin_readahead()
124 gfp_t gfp_mask, void **shadowp) in add_to_swap_cache()
Dswap_state.c412 struct page *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, in __read_swap_cache_async()
516 struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, in read_swap_cache_async()
610 struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t gfp_mask, in swap_cluster_readahead()
788 static struct page *swap_vma_readahead(swp_entry_t fentry, gfp_t gfp_mask, in swap_vma_readahead()
850 struct page *swapin_readahead(swp_entry_t entry, gfp_t gfp_mask, in swapin_readahead()
Dpage_alloc.c3888 static bool __should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) in __should_fail_alloc_page()
3934 static inline bool __should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) in __should_fail_alloc_page()
3941 noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) in should_fail_alloc_page()
4049 unsigned int alloc_flags, gfp_t gfp_mask) in zone_watermark_fast()
4127 alloc_flags_nofragment(struct zone *zone, gfp_t gfp_mask) in alloc_flags_nofragment()
4159 static inline unsigned int gfp_to_alloc_flags_cma(gfp_t gfp_mask, in gfp_to_alloc_flags_cma()
4174 get_page_from_freelist(gfp_t gfp_mask, unsigned int order, int alloc_flags, in get_page_from_freelist()
4324 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem()
4343 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc()
4369 __alloc_pages_cpuset_fallback(gfp_t gfp_mask, unsigned int order, in __alloc_pages_cpuset_fallback()
[all …]
Dpage_owner.c27 gfp_t gfp_mask; member
161 unsigned short order, gfp_t gfp_mask) in __set_page_owner_handle()
185 gfp_t gfp_mask) in __set_page_owner()
458 gfp_t gfp_mask; in __dump_page_owner() local
/linux-6.1.9/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()
/linux-6.1.9/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-6.1.9/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()
284 unsigned int nents_first_chunk, gfp_t gfp_mask, in __sg_alloc_table()
371 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table()
386 gfp_t gfp_mask) in get_next_sg()
445 unsigned int left_pages, gfp_t gfp_mask) in sg_alloc_append_table_from_pages()
568 gfp_t gfp_mask) in sg_alloc_table_from_pages_segment()
/linux-6.1.9/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()
/linux-6.1.9/include/linux/sched/
Dmm.h231 static inline void fs_reclaim_acquire(gfp_t gfp_mask) { } in fs_reclaim_acquire()
232 static inline void fs_reclaim_release(gfp_t gfp_mask) { } in fs_reclaim_release()
269 static inline void might_alloc(gfp_t gfp_mask) in might_alloc()
/linux-6.1.9/kernel/power/
Dsnapshot.c189 static void *get_image_page(gfp_t gfp_mask, int safe_needed) in get_image_page()
208 static void *__get_safe_page(gfp_t gfp_mask) in __get_safe_page()
220 unsigned long get_safe_page(gfp_t gfp_mask) in get_safe_page()
225 static struct page *alloc_image_page(gfp_t gfp_mask) in alloc_image_page()
295 gfp_t gfp_mask; /* mask for allocating pages */ member
299 static void chain_init(struct chain_allocator *ca, gfp_t gfp_mask, in chain_init()
439 static struct rtree_node *alloc_rtree_node(gfp_t gfp_mask, int safe_needed, in alloc_rtree_node()
465 static int add_rtree_block(struct mem_zone_bm_rtree *zone, gfp_t gfp_mask, in add_rtree_block()
535 static struct mem_zone_bm_rtree *create_zone_bm_rtree(gfp_t gfp_mask, in create_zone_bm_rtree()
624 static int create_mem_extents(struct list_head *list, gfp_t gfp_mask) in create_mem_extents()
[all …]
/linux-6.1.9/drivers/connector/
Dconnector.c62 gfp_t gfp_mask) in cn_netlink_send_mult()
122 gfp_t gfp_mask) in cn_netlink_send()
/linux-6.1.9/kernel/
Dumh.c360 char **envp, gfp_t gfp_mask, in call_usermodehelper_setup()
483 gfp_t gfp_mask = (wait == UMH_NO_WAIT) ? GFP_ATOMIC : GFP_KERNEL; in call_usermodehelper() local
/linux-6.1.9/fs/ntfs/
Dmalloc.h28 static inline void *__ntfs_malloc(unsigned long size, gfp_t gfp_mask) in __ntfs_malloc()
/linux-6.1.9/drivers/infiniband/hw/mthca/
Dmthca_memfree.c107 static int mthca_alloc_icm_pages(struct scatterlist *mem, int order, gfp_t gfp_mask) in mthca_alloc_icm_pages()
124 int order, gfp_t gfp_mask) in mthca_alloc_icm_coherent()
138 gfp_t gfp_mask, int coherent) in mthca_alloc_icm()

1234567