/linux-6.3-rc2/include/trace/events/ |
A D | vmscan.h | 93 TP_ARGS(nid, zid, order, gfp_flags), 99 __field( unsigned long, gfp_flags ) 106 __entry->gfp_flags = (__force unsigned long)gfp_flags; 119 TP_ARGS(order, gfp_flags), 128 __entry->gfp_flags = (__force unsigned long)gfp_flags; 140 TP_ARGS(order, gfp_flags) 148 TP_ARGS(order, gfp_flags) 155 TP_ARGS(order, gfp_flags) 213 __field(unsigned long, gfp_flags) 444 TP_ARGS(nid, order, gfp_flags), [all …]
|
A D | kmem.h | 17 gfp_t gfp_flags, 27 __field( unsigned long, gfp_flags ) 37 __entry->gfp_flags = (__force unsigned long)gfp_flags; 40 ((gfp_flags & __GFP_ACCOUNT) || 49 show_gfp_flags(__entry->gfp_flags), 60 gfp_t gfp_flags, 70 __field( unsigned long, gfp_flags ) 79 __entry->gfp_flags = (__force unsigned long)gfp_flags; 88 show_gfp_flags(__entry->gfp_flags), 180 gfp_t gfp_flags, int migratetype), [all …]
|
A D | percpu.h | 16 void __percpu *ptr, size_t bytes_alloc, gfp_t gfp_flags), 19 ptr, bytes_alloc, gfp_flags), 31 __field( unsigned long, gfp_flags ) 43 __entry->gfp_flags = (__force unsigned long)gfp_flags; 51 __entry->bytes_alloc, show_gfp_flags(__entry->gfp_flags))
|
/linux-6.3-rc2/kernel/livepatch/ |
A D | shadow.c | 105 size_t size, gfp_t gfp_flags, in __klp_shadow_get_or_alloc() argument 123 new_shadow = kzalloc(size + sizeof(*new_shadow), gfp_flags); in __klp_shadow_get_or_alloc() 197 size_t size, gfp_t gfp_flags, in klp_shadow_alloc() argument 200 return __klp_shadow_get_or_alloc(obj, id, size, gfp_flags, in klp_shadow_alloc() 226 size_t size, gfp_t gfp_flags, in klp_shadow_get_or_alloc() argument 229 return __klp_shadow_get_or_alloc(obj, id, size, gfp_flags, in klp_shadow_get_or_alloc()
|
/linux-6.3-rc2/fs/crypto/ |
A D | crypto.c | 50 struct page *fscrypt_alloc_bounce_page(gfp_t gfp_flags) in fscrypt_alloc_bounce_page() argument 52 return mempool_alloc(fscrypt_bounce_page_pool, gfp_flags); in fscrypt_alloc_bounce_page() 104 unsigned int offs, gfp_t gfp_flags) in fscrypt_crypt_block() argument 121 req = skcipher_request_alloc(tfm, gfp_flags); in fscrypt_crypt_block() 175 gfp_t gfp_flags) in fscrypt_encrypt_pagecache_blocks() argument 193 ciphertext_page = fscrypt_alloc_bounce_page(gfp_flags); in fscrypt_encrypt_pagecache_blocks() 200 blocksize, i, gfp_flags); in fscrypt_encrypt_pagecache_blocks() 231 u64 lblk_num, gfp_t gfp_flags) in fscrypt_encrypt_block_inplace() argument 234 len, offs, gfp_flags); in fscrypt_encrypt_block_inplace()
|
/linux-6.3-rc2/kernel/bpf/ |
A D | bpf_local_storage.c | 66 void *value, bool charge_mem, gfp_t gfp_flags) in bpf_selem_alloc() argument 74 gfp_flags | __GFP_NOWARN); in bpf_selem_alloc() 305 gfp_t gfp_flags) in bpf_local_storage_alloc() argument 316 gfp_flags | __GFP_NOWARN); in bpf_local_storage_alloc() 373 void *value, u64 map_flags, gfp_t gfp_flags) in bpf_local_storage_update() argument 399 selem = bpf_selem_alloc(smap, owner, value, true, gfp_flags); in bpf_local_storage_update() 403 err = bpf_local_storage_alloc(owner, smap, selem, gfp_flags); in bpf_local_storage_update() 430 if (gfp_flags == GFP_KERNEL) { in bpf_local_storage_update() 431 selem = bpf_selem_alloc(smap, owner, value, true, gfp_flags); in bpf_local_storage_update() 461 if (gfp_flags != GFP_KERNEL) { in bpf_local_storage_update() [all …]
|
A D | bpf_task_storage.c | 216 u64 flags, gfp_t gfp_flags, bool nobusy) in __bpf_task_storage_get() argument 229 BPF_NOEXIST, gfp_flags); in __bpf_task_storage_get() 238 task, void *, value, u64, flags, gfp_t, gfp_flags) in BPF_CALL_5() argument 249 gfp_flags, nobusy); in BPF_CALL_5() 257 task, void *, value, u64, flags, gfp_t, gfp_flags) in BPF_CALL_5() argument 267 gfp_flags, true); in BPF_CALL_5()
|
/linux-6.3-rc2/drivers/infiniband/hw/hns/ |
A D | hns_roce_alloc.c | 72 gfp_t gfp_flags; in hns_roce_buf_alloc() local 79 gfp_flags = (flags & HNS_ROCE_BUF_NOSLEEP) ? GFP_ATOMIC : GFP_KERNEL; in hns_roce_buf_alloc() 80 buf = kzalloc(sizeof(*buf), gfp_flags); in hns_roce_buf_alloc() 96 trunks = kcalloc(ntrunk, sizeof(*trunks), gfp_flags); in hns_roce_buf_alloc() 106 &trunks[i].map, gfp_flags); in hns_roce_buf_alloc()
|
/linux-6.3-rc2/fs/nfs/filelayout/ |
A D | filelayoutdev.c | 64 gfp_t gfp_flags) in nfs4_fl_alloc_deviceid_node() argument 80 scratch = alloc_page(gfp_flags); in nfs4_fl_alloc_deviceid_node() 102 stripe_indices = kcalloc(cnt, sizeof(u8), gfp_flags); in nfs4_fl_alloc_deviceid_node() 139 dsaddr = kzalloc(struct_size(dsaddr, ds_list, num), gfp_flags); in nfs4_fl_alloc_deviceid_node() 162 &stream, gfp_flags); in nfs4_fl_alloc_deviceid_node() 172 dsaddr->ds_list[i] = nfs4_pnfs_ds_add(&dsaddrs, gfp_flags); in nfs4_fl_alloc_deviceid_node()
|
A D | filelayout.c | 540 gfp_t gfp_flags) in filelayout_check_deviceid() argument 552 lo->plh_lc_cred, gfp_flags); in filelayout_check_deviceid() 602 gfp_t gfp_flags) in filelayout_check_layout() argument 653 gfp_t gfp_flags) in filelayout_decode_layout() argument 664 scratch = alloc_page(gfp_flags); in filelayout_decode_layout() 706 gfp_flags); in filelayout_decode_layout() 768 gfp_t gfp_flags) in filelayout_alloc_lseg() argument 774 fl = kzalloc(sizeof(*fl), gfp_flags); in filelayout_alloc_lseg() 843 gfp_t gfp_flags) in fl_pnfs_update_layout() argument 851 gfp_flags); in fl_pnfs_update_layout() [all …]
|
/linux-6.3-rc2/lib/livepatch/ |
A D | test_klp_shadow_vars.c | 73 gfp_t gfp_flags, klp_shadow_ctor_t ctor, in shadow_alloc() argument 79 sv = klp_shadow_alloc(obj, id, size, gfp_flags, ctor, var); in shadow_alloc() 81 __func__, ptr_id(obj), id, size, &gfp_flags, ptr_id(ctor), in shadow_alloc() 88 gfp_t gfp_flags, klp_shadow_ctor_t ctor, in shadow_get_or_alloc() argument 94 sv = klp_shadow_get_or_alloc(obj, id, size, gfp_flags, ctor, var); in shadow_get_or_alloc() 96 __func__, ptr_id(obj), id, size, &gfp_flags, ptr_id(ctor), in shadow_get_or_alloc()
|
/linux-6.3-rc2/tools/perf/ |
A D | builtin-kmem.c | 295 unsigned gfp_flags; member 480 data->gfp_flags = pstat->gfp_flags; in __page_stat__findnew_page() 535 data->gfp_flags = pstat->gfp_flags; in __page_stat__findnew_alloc() 590 data->gfp_flags = pstat->gfp_flags; in __page_stat__findnew_caller() 733 .flags = gfp_flags, in compact_gfp_string() 757 .flags = gfp_flags, in parse_gfp_flags() 780 new->flags = gfp_flags; in parse_gfp_flags() 808 .gfp_flags = gfp_flags, in evsel__process_page_alloc_event() 898 this.gfp_flags = pstat->gfp_flags; in evsel__process_page_free_event() 1643 if (l->gfp_flags < r->gfp_flags) in gfp_flags_cmp() [all …]
|
/linux-6.3-rc2/tools/include/linux/ |
A D | gfp.h | 8 static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags) in gfpflags_allow_blocking() argument 10 return !!(gfp_flags & __GFP_DIRECT_RECLAIM); in gfpflags_allow_blocking()
|
/linux-6.3-rc2/net/sunrpc/ |
A D | backchannel_rqst.c | 64 static int xprt_alloc_xdr_buf(struct xdr_buf *buf, gfp_t gfp_flags) in xprt_alloc_xdr_buf() argument 68 page = alloc_page(gfp_flags); in xprt_alloc_xdr_buf() 77 gfp_t gfp_flags = GFP_KERNEL | __GFP_NORETRY | __GFP_NOWARN; in xprt_alloc_bc_req() local 81 req = kzalloc(sizeof(*req), gfp_flags); in xprt_alloc_bc_req() 89 if (xprt_alloc_xdr_buf(&req->rq_rcv_buf, gfp_flags) < 0) { in xprt_alloc_bc_req() 96 if (xprt_alloc_xdr_buf(&req->rq_snd_buf, gfp_flags) < 0) { in xprt_alloc_bc_req()
|
A D | sysfs.h | 36 struct rpc_xprt *xprt, gfp_t gfp_flags); 39 struct rpc_xprt *xprt, gfp_t gfp_flags);
|
A D | xprtmultipath.c | 102 static int xprt_switch_alloc_id(struct rpc_xprt_switch *xps, gfp_t gfp_flags) in xprt_switch_alloc_id() argument 106 id = ida_alloc(&rpc_xprtswitch_ids, gfp_flags); in xprt_switch_alloc_id() 128 gfp_t gfp_flags) in xprt_switch_alloc() argument 132 xps = kmalloc(sizeof(*xps), gfp_flags); in xprt_switch_alloc() 136 xprt_switch_alloc_id(xps, gfp_flags); in xprt_switch_alloc() 142 rpc_sysfs_xprt_switch_setup(xps, xprt, gfp_flags); in xprt_switch_alloc() 145 rpc_sysfs_xprt_setup(xps, xprt, gfp_flags); in xprt_switch_alloc()
|
/linux-6.3-rc2/drivers/scsi/aic94xx/ |
A D | aic94xx_task.c | 38 gfp_t gfp_flags) in asd_map_scatterlist() argument 77 gfp_flags); in asd_map_scatterlist() 349 gfp_t gfp_flags) in asd_build_ata_ascb() argument 404 gfp_flags); in asd_build_ata_ascb() 417 gfp_t gfp_flags) in asd_build_smp_ascb() argument 467 gfp_t gfp_flags) in asd_build_ssp_ascb() argument 530 int asd_execute_task(struct sas_task *task, gfp_t gfp_flags) in asd_execute_task() argument 543 ascb = asd_ascb_alloc_list(asd_ha, &res, gfp_flags); in asd_execute_task() 563 res = asd_build_ata_ascb(a, t, gfp_flags); in asd_execute_task() 566 res = asd_build_smp_ascb(a, t, gfp_flags); in asd_execute_task() [all …]
|
/linux-6.3-rc2/include/linux/sched/ |
A D | mm.h | 242 static inline void memalloc_retry_wait(gfp_t gfp_flags) in memalloc_retry_wait() argument 249 gfp_flags = current_gfp_context(gfp_flags); in memalloc_retry_wait() 250 if (gfpflags_allow_blocking(gfp_flags) && in memalloc_retry_wait() 251 !(gfp_flags & __GFP_NORETRY)) in memalloc_retry_wait()
|
/linux-6.3-rc2/drivers/gpu/drm/ttm/ |
A D | ttm_pool.c | 79 static struct page *ttm_pool_alloc_page(struct ttm_pool *pool, gfp_t gfp_flags, in ttm_pool_alloc_page() argument 92 gfp_flags |= __GFP_NOMEMALLOC | __GFP_NORETRY | __GFP_NOWARN | in ttm_pool_alloc_page() 96 p = alloc_pages(gfp_flags, order); in ttm_pool_alloc_page() 110 &dma->addr, gfp_flags, attr); in ttm_pool_alloc_page() 389 gfp_t gfp_flags = GFP_USER; in ttm_pool_alloc() local 398 gfp_flags |= __GFP_ZERO; in ttm_pool_alloc() 401 gfp_flags |= __GFP_RETRY_MAYFAIL; in ttm_pool_alloc() 404 gfp_flags |= GFP_DMA32; in ttm_pool_alloc() 406 gfp_flags |= GFP_HIGHUSER; in ttm_pool_alloc() 438 (p = ttm_pool_alloc_page(pool, gfp_flags, order))) { in ttm_pool_alloc()
|
/linux-6.3-rc2/include/linux/ |
A D | bpf_local_storage.h | 154 bool charge_mem, gfp_t gfp_flags); 160 gfp_t gfp_flags); 164 void *value, u64 map_flags, gfp_t gfp_flags);
|
A D | stackdepot.h | 96 gfp_t gfp_flags, bool can_alloc); 111 unsigned int nr_entries, gfp_t gfp_flags);
|
A D | gfp.h | 16 static inline int gfp_migratetype(const gfp_t gfp_flags) in gfp_migratetype() argument 18 VM_WARN_ON((gfp_flags & GFP_MOVABLE_MASK) == GFP_MOVABLE_MASK); in gfp_migratetype() 29 return (__force unsigned long)(gfp_flags & GFP_MOVABLE_MASK) >> GFP_MOVABLE_SHIFT; in gfp_migratetype() 34 static inline bool gfpflags_allow_blocking(const gfp_t gfp_flags) in gfpflags_allow_blocking() argument 36 return !!(gfp_flags & __GFP_DIRECT_RECLAIM); in gfpflags_allow_blocking()
|
/linux-6.3-rc2/net/ceph/ |
A D | snapshot.c | 28 gfp_t gfp_flags) in ceph_create_snap_context() argument 35 snapc = kzalloc(size, gfp_flags); in ceph_create_snap_context()
|
/linux-6.3-rc2/drivers/scsi/libsas/ |
A D | sas_event.c | 165 gfp_t gfp_flags) in sas_notify_port_event() argument 172 ev = sas_alloc_event(phy, gfp_flags); in sas_notify_port_event() 192 gfp_t gfp_flags) in sas_notify_phy_event() argument 199 ev = sas_alloc_event(phy, gfp_flags); in sas_notify_phy_event()
|
/linux-6.3-rc2/fs/nfs/ |
A D | pnfs_nfs.c | 97 pnfs_alloc_commit_array(size_t n, gfp_t gfp_flags) in pnfs_alloc_commit_array() argument 102 p = kmalloc(struct_size(p, buckets, n), gfp_flags); in pnfs_alloc_commit_array() 717 nfs4_pnfs_remotestr(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_remotestr() argument 729 remotestr = kzalloc(len, gfp_flags); in nfs4_pnfs_remotestr() 766 nfs4_pnfs_ds_add(struct list_head *dsaddrs, gfp_t gfp_flags) in nfs4_pnfs_ds_add() argument 776 ds = kzalloc(sizeof(*ds), gfp_flags); in nfs4_pnfs_ds_add() 781 remotestr = nfs4_pnfs_remotestr(dsaddrs, gfp_flags); in nfs4_pnfs_ds_add() 1058 gfp_flags); in nfs4_decode_mp_ds_addr() 1065 IPV6_SCOPE_ID_LEN + 8, gfp_flags); in nfs4_decode_mp_ds_addr() 1087 da = nfs4_pnfs_ds_addr_alloc(gfp_flags); in nfs4_decode_mp_ds_addr() [all …]
|