Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/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.h87 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
92 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
223 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
228 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.6.21/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()
132 struct iov_iter *iter, gfp_t gfp_mask) in bio_copy_user_iov()
254 unsigned int nr_vecs, gfp_t gfp_mask) in blk_rq_map_bio_alloc()
273 gfp_t gfp_mask) in bio_map_user_iov()
390 unsigned int len, gfp_t gfp_mask) in bio_map_kern()
475 unsigned int len, gfp_t gfp_mask, int reading) in bio_copy_kern()
634 const struct iov_iter *iter, gfp_t gfp_mask) in blk_rq_map_user_iov()
689 unsigned long len, gfp_t gfp_mask) in blk_rq_map_user()
702 void __user *ubuf, unsigned long buf_len, gfp_t gfp_mask, in blk_rq_map_user_io()
783 unsigned int len, gfp_t gfp_mask) in blk_rq_map_kern()
Dblk-crypto.c92 const u64 dun[BLK_CRYPTO_DUN_ARRAY_SIZE], gfp_t gfp_mask) in bio_crypt_set_ctx()
116 int __bio_crypt_clone(struct bio *dst, struct bio *src, gfp_t gfp_mask) in __bio_crypt_clone()
304 gfp_t gfp_mask) in __blk_crypto_rq_bio_prep()
Dblk-zoned.c181 gfp_t gfp_mask) in blkdev_zone_reset_all_emulated()
226 static int blkdev_zone_reset_all(struct block_device *bdev, gfp_t gfp_mask) in blkdev_zone_reset_all()
251 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()
401 gfp_t gfp_mask) in bio_integrity_clone()
/linux-6.6.21/fs/nfs/blocklayout/
Ddev.c236 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_simple()
329 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_scsi()
384 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_slice()
400 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_concat()
429 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_stripe()
458 struct pnfs_block_volume *volumes, int idx, gfp_t gfp_mask) in bl_parse_deviceid()
479 gfp_t gfp_mask) in bl_alloc_deviceid_node()
/linux-6.6.21/mm/
Dmempool.c187 gfp_t gfp_mask, int node_id) in mempool_init_node()
268 gfp_t gfp_mask, int node_id) in mempool_create_node()
380 void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) in mempool_alloc()
514 void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data) in mempool_alloc_slab()
533 void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data) in mempool_kmalloc()
550 void *mempool_alloc_pages(gfp_t gfp_mask, void *pool_data) in mempool_alloc_pages()
Dpage_alloc.c2798 noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) in should_fail_alloc_page()
2922 unsigned int alloc_flags, gfp_t gfp_mask) in zone_watermark_fast()
3001 alloc_flags_nofragment(struct zone *zone, gfp_t gfp_mask) in alloc_flags_nofragment()
3033 static inline unsigned int gfp_to_alloc_flags_cma(gfp_t gfp_mask, in gfp_to_alloc_flags_cma()
3048 get_page_from_freelist(gfp_t gfp_mask, unsigned int order, int alloc_flags, in get_page_from_freelist()
3208 static void warn_alloc_show_mem(gfp_t gfp_mask, nodemask_t *nodemask) in warn_alloc_show_mem()
3227 void warn_alloc(gfp_t gfp_mask, nodemask_t *nodemask, const char *fmt, ...) in warn_alloc()
3253 __alloc_pages_cpuset_fallback(gfp_t gfp_mask, unsigned int order, in __alloc_pages_cpuset_fallback()
3273 __alloc_pages_may_oom(gfp_t gfp_mask, unsigned int order, in __alloc_pages_may_oom()
3368 __alloc_pages_direct_compact(gfp_t gfp_mask, unsigned int order, in __alloc_pages_direct_compact()
[all …]
Dswap.h84 gfp_t gfp_mask, struct vm_fault *vmf) in swap_cluster_readahead()
89 static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, in swapin_readahead()
128 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()
527 struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, in read_swap_cache_async()
620 struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t gfp_mask, in swap_cluster_readahead()
780 static struct page *swap_vma_readahead(swp_entry_t fentry, gfp_t gfp_mask, in swap_vma_readahead()
853 struct page *swapin_readahead(swp_entry_t entry, gfp_t gfp_mask, in swapin_readahead()
Dpage_owner.c27 gfp_t gfp_mask; member
162 unsigned short order, gfp_t gfp_mask) in __set_page_owner_handle()
187 gfp_t gfp_mask) in __set_page_owner()
460 gfp_t gfp_mask; in __dump_page_owner() local
/linux-6.6.21/net/sunrpc/auth_gss/
Dgss_krb5_keys.c152 const struct xdr_netobj *in_constant, gfp_t gfp_mask) in krb5_DK()
271 gfp_t gfp_mask) in krb5_derive_key_v2()
372 gfp_t gfp_mask) in krb5_kdf_feedback_cmac()
504 gfp_t gfp_mask) in krb5_kdf_hmac_sha2()
Dgss_krb5_mech.c297 gss_krb5_import_ctx_v2(struct krb5_ctx *ctx, gfp_t gfp_mask) in gss_krb5_import_ctx_v2()
396 gfp_t gfp_mask) in gss_import_v2_context()
461 time64_t *endtime, gfp_t gfp_mask) in gss_krb5_import_sec_context()
/linux-6.6.21/fs/btrfs/
Dulist.c97 struct ulist *ulist_alloc(gfp_t gfp_mask) in ulist_alloc()
193 int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask) in ulist_add()
199 u64 *old_aux, gfp_t gfp_mask) in ulist_add_merge()
/linux-6.6.21/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()
229 gfp_t gfp_mask) in __genradix_prealloc()
Dscatterlist.c151 static struct scatterlist *sg_kmalloc(unsigned int nents, gfp_t gfp_mask) in sg_kmalloc()
287 unsigned int nents_first_chunk, gfp_t gfp_mask, in __sg_alloc_table()
374 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table()
389 gfp_t gfp_mask) in get_next_sg()
457 unsigned int left_pages, gfp_t gfp_mask) in sg_alloc_append_table_from_pages()
581 gfp_t gfp_mask) in sg_alloc_table_from_pages_segment()
/linux-6.6.21/include/linux/sched/
Dmm.h263 static inline void fs_reclaim_acquire(gfp_t gfp_mask) { } in fs_reclaim_acquire()
264 static inline void fs_reclaim_release(gfp_t gfp_mask) { } in fs_reclaim_release()
301 static inline void might_alloc(gfp_t gfp_mask) in might_alloc()
/linux-6.6.21/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.6.21/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()
440 static struct rtree_node *alloc_rtree_node(gfp_t gfp_mask, int safe_needed, in alloc_rtree_node()
466 static int add_rtree_block(struct mem_zone_bm_rtree *zone, gfp_t gfp_mask, in add_rtree_block()
536 static struct mem_zone_bm_rtree *create_zone_bm_rtree(gfp_t gfp_mask, in create_zone_bm_rtree()
626 static int create_mem_extents(struct list_head *list, gfp_t gfp_mask) in create_mem_extents()
[all …]
/linux-6.6.21/drivers/connector/
Dconnector.c62 gfp_t gfp_mask, in cn_netlink_send_mult()
125 gfp_t gfp_mask) in cn_netlink_send()
/linux-6.6.21/kernel/
Dumh.c357 char **envp, gfp_t gfp_mask, in call_usermodehelper_setup()
486 gfp_t gfp_mask = (wait == UMH_NO_WAIT) ? GFP_ATOMIC : GFP_KERNEL; in call_usermodehelper() local
/linux-6.6.21/fs/ntfs/
Dmalloc.h28 static inline void *__ntfs_malloc(unsigned long size, gfp_t gfp_mask) in __ntfs_malloc()

1234567