Home
last modified time | relevance | path

Searched refs:GFP_NOFS (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/linux-6.15/Documentation/translations/zh_CN/core-api/
H A Dgfp_mask-from-fs-io.rst30 (注意后者意味着也要清除第一个)。GFP_NOFS和GFP_NOIO可以作为快捷方式使用。但事
32 这导致了问题,因为过度使用GFP_NOFS/GFP_NOIO会导致内存过度回收或其他内存回收的问
57 那么__vmalloc(GFP_NOFS)呢?
60 vmalloc不支持GFP_NOFS语义,因为在分配器的深处有硬编码的GFP_KERNEL分配,要修
61 复这些分配是相当不容易的。这意味着用GFP_NOFS/GFP_NOIO调用 ``vmalloc`` 几乎
/linux-6.15/fs/crypto/
H A Dbio.c60 GFP_NOFS); in fscrypt_zeroout_range_inline_crypt()
67 fscrypt_set_bio_crypt_ctx(bio, inode, lblk, GFP_NOFS); in fscrypt_zeroout_range_inline_crypt()
148 pages[i] = fscrypt_alloc_bounce_page(i == 0 ? GFP_NOFS : in fscrypt_zeroout_range()
158 bio = bio_alloc(inode->i_sb->s_bdev, nr_pages, REQ_OP_WRITE, GFP_NOFS); in fscrypt_zeroout_range()
169 GFP_NOFS); in fscrypt_zeroout_range()
H A Dfname.c116 req = skcipher_request_alloc(tfm, GFP_NOFS); in fscrypt_fname_encrypt()
160 req = skcipher_request_alloc(tfm, GFP_NOFS); in fname_decrypt()
319 crypto_str->name = kmalloc(max_presented_len + 1, GFP_NOFS); in fscrypt_fname_alloc_buffer()
461 GFP_NOFS); in fscrypt_setup_filename()
/linux-6.15/Documentation/core-api/
H A Dgfp_mask-from-fs-io.rst21 the gfp mask when calling an allocator. GFP_NOFS respectively GFP_NOIO can be
25 of GFP_NOFS/GFP_NOIO can lead to memory over-reclaim or other memory
55 What about __vmalloc(GFP_NOFS)
59 alloc GFP_NO{FS,IO} for vmalloc"), GFP_NOFS/GFP_NOIO are now supported in
62 In earlier kernels ``vmalloc`` didn't support GFP_NOFS semantic because there
64 that calling ``vmalloc`` with GFP_NOFS/GFP_NOIO was almost always a bug.
/linux-6.15/fs/ubifs/
H A Dcompress.c128 ACOMP_REQUEST_ALLOC(req, compr->cc, GFP_NOFS | __GFP_NOWARN); in ubifs_compress()
180 ACOMP_REQUEST_ALLOC(req, compr->cc, GFP_NOFS | __GFP_NOWARN); in ubifs_compress_folio()
259 ACOMP_REQUEST_ALLOC(req, compr->cc, GFP_NOFS | __GFP_NOWARN); in ubifs_decompress()
307 ACOMP_REQUEST_ALLOC(req, compr->cc, GFP_NOFS | __GFP_NOWARN); in ubifs_decompress_folio()
H A Dxattr.c115 ui->data = kmemdup(value, size, GFP_NOFS); in create_xattr()
193 buf = kmemdup(value, size, GFP_NOFS); in change_xattr()
269 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_set()
327 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_get()
570 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_remove()
614 strlen(xattr->name) + 1, GFP_NOFS); in init_xattrs()
/linux-6.15/fs/dlm/
H A Dconfig.c414 cl = kzalloc(sizeof(struct dlm_cluster), GFP_NOFS); in make_cluster()
415 sps = kzalloc(sizeof(struct dlm_spaces), GFP_NOFS); in make_cluster()
416 cms = kzalloc(sizeof(struct dlm_comms), GFP_NOFS); in make_cluster()
468 sp = kzalloc(sizeof(struct dlm_space), GFP_NOFS); in make_space()
469 nds = kzalloc(sizeof(struct dlm_nodes), GFP_NOFS); in make_space()
518 cm = kzalloc(sizeof(struct dlm_comm), GFP_NOFS); in make_comm()
564 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node()
678 addr = kzalloc(sizeof(*addr), GFP_NOFS); in comm_addr_store()
900 nodes = kcalloc(count, sizeof(struct dlm_config_node), GFP_NOFS); in dlm_config_nodes()
H A Dplock.c105 op = kzalloc(sizeof(*op), GFP_NOFS); in do_lock_cancel()
134 op = kzalloc(sizeof(*op), GFP_NOFS); in dlm_posix_lock()
151 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in dlm_posix_lock()
300 op = kzalloc(sizeof(*op), GFP_NOFS); in dlm_posix_unlock()
433 op = kzalloc(sizeof(*op), GFP_NOFS); in dlm_posix_get()
/linux-6.15/fs/quota/
H A Dnetlink.c50 skb = genlmsg_new(msg_size, GFP_NOFS); in quota_send_warning()
87 genlmsg_multicast(&quota_genl_family, skb, 0, 0, GFP_NOFS); in quota_send_warning()
/linux-6.15/fs/afs/
H A Dfsclient.c295 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_fetch_status()
458 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_fetch_data64()
491 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_fetch_data()
575 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_create_file()
629 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_make_dir()
703 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_remove_file()
751 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_remove_dir()
832 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_link()
928 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_symlink()
1657 afs_make_call(call, GFP_NOFS); in afs_fs_give_up_all_callbacks()
[all …]
H A Dyfsclient.c504 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_fetch_data()
587 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_create_file()
636 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_make_dir()
722 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_remove_file2()
792 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_remove_file()
834 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_remove_dir()
908 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_link()
990 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_symlink()
1070 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_rename()
1126 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_store_data()
[all …]
/linux-6.15/net/ceph/
H A Dmsgpool.c73 GFP_NOFS, false); in ceph_msgpool_get()
76 msg = mempool_alloc(pool->pool, GFP_NOFS); in ceph_msgpool_get()
H A Dauth_none.c100 au = kmalloc(sizeof(*au), GFP_NOFS); in ceph_auth_none_create_authorizer()
136 xi = kzalloc(sizeof(*xi), GFP_NOFS); in ceph_auth_none_init()
H A Dpagelist.c59 page = __page_cache_alloc(GFP_NOFS); in ceph_pagelist_addpage()
110 struct page *page = __page_cache_alloc(GFP_NOFS); in ceph_pagelist_reserve()
/linux-6.15/fs/ceph/
H A Dmdsmap.c130 m = kzalloc(sizeof(*m), GFP_NOFS); in ceph_mdsmap_decode()
172 m->m_info = kcalloc(m->possible_max_rank, sizeof(*m->m_info), GFP_NOFS); in ceph_mdsmap_decode()
262 sizeof(u32), GFP_NOFS); in ceph_mdsmap_decode()
277 m->m_data_pg_pools = kcalloc(n, sizeof(u64), GFP_NOFS); in ceph_mdsmap_decode()
324 GFP_NOFS | __GFP_ZERO); in ceph_mdsmap_decode()
/linux-6.15/fs/ext4/
H A Dacl.c37 acl = posix_acl_alloc(count, GFP_NOFS); in ext4_acl_from_disk()
99 sizeof(ext4_acl_entry), GFP_NOFS); in ext4_acl_to_disk()
167 value = kmalloc(retval, GFP_NOFS); in ext4_get_acl()
/linux-6.15/fs/ocfs2/
H A Dacl.c45 acl = posix_acl_alloc(count, GFP_NOFS); in ocfs2_acl_from_xattr()
85 ocfs2_acl = kmalloc(*size, GFP_NOFS); in ocfs2_acl_to_xattr()
134 value = kmalloc(retval, GFP_NOFS); in ocfs2_get_acl_nolock()
391 ret = __posix_acl_create(&acl, GFP_NOFS, &mode); in ocfs2_init_acl()
/linux-6.15/security/tomoyo/
H A Daudit.c26 char *buffer = kzalloc(tomoyo_buffer_len, GFP_NOFS); in tomoyo_print_bprm()
156 char *buffer = kmalloc(tomoyo_buffer_len, GFP_NOFS); in tomoyo_print_header()
275 buf = kzalloc(len, GFP_NOFS); in tomoyo_init_log()
379 entry = kzalloc(sizeof(*entry), GFP_NOFS); in tomoyo_write_log2()
H A Dmemory.c76 void *ptr = kzalloc(size, GFP_NOFS | __GFP_NOWARN); in tomoyo_commit_ok()
173 ptr = kzalloc(sizeof(*ptr) + len, GFP_NOFS | __GFP_NOWARN); in tomoyo_get_name()
/linux-6.15/fs/btrfs/
H A Dref-verify.c270 re = kzalloc(sizeof(struct root_entry), GFP_NOFS); in add_block_entry()
271 be = kzalloc(sizeof(struct block_entry), GFP_NOFS); in add_block_entry()
319 ref = kmalloc(sizeof(struct ref_entry), GFP_NOFS); in add_tree_block()
364 ref = kzalloc(sizeof(struct ref_entry), GFP_NOFS); in add_shared_data_ref()
399 ref = kzalloc(sizeof(struct ref_entry), GFP_NOFS); in add_extent_data_ref()
701 ref = kzalloc(sizeof(struct ref_entry), GFP_NOFS); in btrfs_ref_tree_mod()
702 ra = kmalloc(sizeof(struct ref_action), GFP_NOFS); in btrfs_ref_tree_mod()
776 re = kmalloc(sizeof(struct root_entry), GFP_NOFS); in btrfs_ref_tree_mod()
H A Dbackref.c81 e = kmalloc(sizeof(*e), GFP_NOFS); in check_extent_in_eb()
561 eie, (void **)&old, GFP_NOFS); in add_all_parents()
743 parents = ulist_alloc(GFP_NOFS); in resolve_indirect_refs()
802 GFP_NOFS); in resolve_indirect_refs()
1117 count, sc, GFP_NOFS); in add_inline_refs()
1188 sc, GFP_NOFS); in add_keyed_refs()
1195 1, NULL, GFP_NOFS); in add_keyed_refs()
1224 count, sc, GFP_NOFS); in add_keyed_refs()
1642 (void **)&eie, GFP_NOFS); in find_parent_nodes()
1704 ctx->refs = ulist_alloc(GFP_NOFS); in btrfs_find_all_leafs()
[all …]
H A Dtree-mod-log.c207 tm = kzalloc(sizeof(*tm), GFP_NOFS); in alloc_tree_mod_elem()
267 tm = kzalloc(sizeof(*tm), GFP_NOFS); in tree_mod_log_alloc_move()
294 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); in btrfs_tree_mod_log_insert_move()
406 GFP_NOFS); in btrfs_tree_mod_log_insert_root()
421 tm = kzalloc(sizeof(*tm), GFP_NOFS); in btrfs_tree_mod_log_insert_root()
562 GFP_NOFS); in btrfs_tree_mod_log_eb_copy()
680 tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), GFP_NOFS); in btrfs_tree_mod_log_free_eb()
/linux-6.15/fs/9p/
H A Dacl.c32 value = kzalloc(size, GFP_NOFS); in v9fs_fid_get_acl()
171 value = kzalloc(size, GFP_NOFS); in v9fs_iop_set_acl()
335 retval = __posix_acl_create(&acl, GFP_NOFS, &mode); in v9fs_acl_mode()
/linux-6.15/crypto/krb5/
H A Drfc8009_aes2.c64 buffer = kzalloc(bsize, GFP_NOFS); in rfc8009_calc_KDF_HMAC_SHA2()
198 buffer = kzalloc(bsize, GFP_NOFS); in rfc8009_encrypt()
271 buffer = kzalloc(bsize, GFP_NOFS); in rfc8009_decrypt()
/linux-6.15/fs/bcachefs/
H A Dcompress.c51 b = kmalloc(size, GFP_NOFS|__GFP_NOWARN); in __bounce_alloc()
55 b = mempool_alloc(&c->compression_bounce[rw], GFP_NOFS); in __bounce_alloc()
117 ? kmalloc_array(nr_pages, sizeof(struct page *), GFP_NOFS) in __bio_map_or_bounce()
213 workspace = mempool_alloc(workspace_pool, GFP_NOFS); in __bio_uncompress()
234 workspace = mempool_alloc(workspace_pool, GFP_NOFS); in __bio_uncompress()
461 workspace = mempool_alloc(workspace_pool, GFP_NOFS); in __bio_compress()

12345678910>>...14