Home
last modified time | relevance | path

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

12345678910>>...14

/linux/Documentation/translations/zh_CN/core-api/
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/fs/crypto/
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()
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/Documentation/core-api/
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)
58 vmalloc doesn't support GFP_NOFS semantic because there are hardcoded
60 to fix up. That means that calling ``vmalloc`` with GFP_NOFS/GFP_NOIO is
/linux/fs/quota/
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/fs/afs/
A Dfsclient.c295 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_fetch_status()
453 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_fetch_data64()
488 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_fetch_data()
572 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_create_file()
626 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_make_dir()
700 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_remove_file()
748 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_remove_dir()
829 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_link()
925 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_symlink()
1654 afs_make_call(call, GFP_NOFS); in afs_fs_give_up_all_callbacks()
[all …]
A Dyfsclient.c503 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_fetch_data()
586 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_create_file()
635 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_make_dir()
720 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_remove_file2()
790 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_remove_file()
832 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_remove_dir()
906 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_link()
988 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_symlink()
1068 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_rename()
1124 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_store_data()
[all …]
/linux/fs/dlm/
A Dconfig.c409 cl = kzalloc(sizeof(struct dlm_cluster), GFP_NOFS); in make_cluster()
410 sps = kzalloc(sizeof(struct dlm_spaces), GFP_NOFS); in make_cluster()
411 cms = kzalloc(sizeof(struct dlm_comms), GFP_NOFS); in make_cluster()
477 sp = kzalloc(sizeof(struct dlm_space), GFP_NOFS); in make_space()
478 nds = kzalloc(sizeof(struct dlm_nodes), GFP_NOFS); in make_space()
521 cm = kzalloc(sizeof(struct dlm_comm), GFP_NOFS); in make_comm()
560 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node()
669 addr = kzalloc(sizeof(*addr), GFP_NOFS); in comm_addr_store()
893 nodes = kcalloc(count, sizeof(struct dlm_config_node), GFP_NOFS); in dlm_config_nodes()
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/net/ceph/
A Dmsgpool.c73 GFP_NOFS, false); in ceph_msgpool_get()
76 msg = mempool_alloc(pool->pool, GFP_NOFS); in ceph_msgpool_get()
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()
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/fs/ceph/
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/fs/ext4/
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/security/tomoyo/
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()
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/fs/ocfs2/
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/fs/bcachefs/
A Dcompress.c30 b = kmalloc(size, GFP_NOFS|__GFP_NOWARN); in __bounce_alloc()
34 b = mempool_alloc(&c->compression_bounce[rw], GFP_NOFS); in __bounce_alloc()
96 ? kmalloc_array(nr_pages, sizeof(struct page *), GFP_NOFS) in __bio_map_or_bounce()
179 workspace = mempool_alloc(&c->decompress_workspace, GFP_NOFS); in __bio_uncompress()
198 workspace = mempool_alloc(&c->decompress_workspace, GFP_NOFS); in __bio_uncompress()
407 workspace = mempool_alloc(&c->compress_workspace[compression_type], GFP_NOFS); in __bio_compress()
/linux/fs/ubifs/
A Dxattr.c128 ui->data = kmemdup(value, size, GFP_NOFS); in create_xattr()
206 buf = kmemdup(value, size, GFP_NOFS); in change_xattr()
282 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_set()
340 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_get()
609 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_remove()
653 strlen(xattr->name) + 1, GFP_NOFS); in init_xattrs()
/linux/fs/btrfs/
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()
A Dbackref.c81 e = kmalloc(sizeof(*e), GFP_NOFS); in check_extent_in_eb()
562 eie, (void **)&old, GFP_NOFS); in add_all_parents()
744 parents = ulist_alloc(GFP_NOFS); in resolve_indirect_refs()
803 GFP_NOFS); in resolve_indirect_refs()
1118 count, sc, GFP_NOFS); in add_inline_refs()
1189 sc, GFP_NOFS); in add_keyed_refs()
1196 1, NULL, GFP_NOFS); in add_keyed_refs()
1225 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 …]
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/fs/9p/
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/fs/exfat/
A Dballoc.c167 (1 << sbi->sect_per_clus_bits), GFP_NOFS, 0); in exfat_clear_bitmap()
294 count * sbi->sect_per_clus, GFP_NOFS, 0); in exfat_trim_fs()
321 count * sbi->sect_per_clus, GFP_NOFS, 0); in exfat_trim_fs()
/linux/fs/reiserfs/
A Dxattr_acl.c87 acl = posix_acl_alloc(count, GFP_NOFS); in reiserfs_posix_acl_from_disk()
148 GFP_NOFS); in reiserfs_posix_acl_to_disk()
222 value = kmalloc(size, GFP_NOFS); in reiserfs_get_acl()

Completed in 51 milliseconds

12345678910>>...14