Home
last modified time | relevance | path

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

12345678910>>...12

/linux/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/fs/crypto/
H A Dbio.c62 GFP_NOFS); in fscrypt_zeroout_range_inline_crypt()
69 fscrypt_set_bio_crypt_ctx(bio, inode, lblk, GFP_NOFS); in fscrypt_zeroout_range_inline_crypt()
150 pages[i] = fscrypt_alloc_bounce_page(i == 0 ? GFP_NOFS : in fscrypt_zeroout_range()
160 bio = bio_alloc(inode->i_sb->s_bdev, nr_pages, REQ_OP_WRITE, GFP_NOFS); in fscrypt_zeroout_range()
/linux/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/fs/afs/
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/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()
H A Dosdmap.c87 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_list_bucket()
90 b->sum_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_list_bucket()
109 b->node_weights = kcalloc(b->num_nodes, sizeof(u32), GFP_NOFS); in crush_decode_tree_bucket()
125 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw_bucket()
128 b->straws = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw_bucket()
146 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw2_bucket()
442 c = kzalloc(sizeof(*c), GFP_NOFS); in crush_decode()
467 c->buckets = kcalloc(c->max_buckets, sizeof(*c->buckets), GFP_NOFS); in crush_decode()
470 c->rules = kcalloc(c->max_rules, sizeof(*c->rules), GFP_NOFS); in crush_decode()
508 b = c->buckets[i] = kzalloc(size, GFP_NOFS); in crush_decode()
[all …]
/linux/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/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/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()
H A Drealpath.c45 cp = kzalloc(len + 10, GFP_NOFS); in tomoyo_encode2()
251 buf = kmalloc(buf_len, GFP_NOFS); in tomoyo_realpath_from_path()
H A Ddomain.c476 entry = kzalloc(sizeof(*entry) + len + 1, GFP_NOFS | __GFP_NOWARN); in tomoyo_assign_namespace()
633 arg_ptr = kzalloc(TOMOYO_EXEC_TMPSIZE, GFP_NOFS); in tomoyo_environ()
710 struct tomoyo_execve *ee = kzalloc(sizeof(*ee), GFP_NOFS); in tomoyo_find_next_domain()
714 ee->tmp = kzalloc(TOMOYO_EXEC_TMPSIZE, GFP_NOFS); in tomoyo_find_next_domain()
915 dump->data = kzalloc(PAGE_SIZE, GFP_NOFS); in tomoyo_dump_page()
/linux/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/fs/ubifs/
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/fs/btrfs/
H A Dref-verify.c252 re = kzalloc(sizeof(struct root_entry), GFP_NOFS); in add_block_entry()
253 be = kzalloc(sizeof(struct block_entry), GFP_NOFS); in add_block_entry()
301 ref = kmalloc(sizeof(struct ref_entry), GFP_NOFS); in add_tree_block()
346 ref = kzalloc(sizeof(struct ref_entry), GFP_NOFS); in add_shared_data_ref()
381 ref = kzalloc(sizeof(struct ref_entry), GFP_NOFS); in add_extent_data_ref()
683 ref = kzalloc(sizeof(struct ref_entry), GFP_NOFS); in btrfs_ref_tree_mod()
684 ra = kmalloc(sizeof(struct ref_action), GFP_NOFS); in btrfs_ref_tree_mod()
758 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()
488 ret = ulist_add(parents, eb->start, 0, GFP_NOFS); in add_all_parents()
561 eie, (void **)&old, GFP_NOFS); in add_all_parents()
742 parents = ulist_alloc(GFP_NOFS); in resolve_indirect_refs()
802 GFP_NOFS); in resolve_indirect_refs()
1074 ctx->bytenr, 1, NULL, GFP_NOFS); in add_inline_refs()
1084 ctx->bytenr, count, sc, GFP_NOFS); in add_inline_refs()
1090 ctx->bytenr, 1, NULL, GFP_NOFS); in add_inline_refs()
1117 count, sc, GFP_NOFS); in add_inline_refs()
1176 ctx->bytenr, 1, NULL, GFP_NOFS); in add_keyed_refs()
[all …]
H A Dtree-mod-log.c246 tm = kzalloc(sizeof(*tm), GFP_NOFS); in alloc_tree_mod_elem()
304 tm = kzalloc(sizeof(*tm), GFP_NOFS); in tree_mod_log_alloc_move()
331 tm_list = kcalloc(nr_items, sizeof(struct tree_mod_elem *), GFP_NOFS); in btrfs_tree_mod_log_insert_move()
443 GFP_NOFS); in btrfs_tree_mod_log_insert_root()
458 tm = kzalloc(sizeof(*tm), GFP_NOFS); in btrfs_tree_mod_log_insert_root()
599 GFP_NOFS); in btrfs_tree_mod_log_eb_copy()
717 tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), GFP_NOFS); in btrfs_tree_mod_log_free_eb()
H A Dbio.c69 bio = bio_alloc_bioset(NULL, nr_vecs, opf, GFP_NOFS, &btrfs_bioset); in btrfs_bio_alloc()
82 bio = bio_split(&orig_bbio->bio, map_length >> SECTOR_SHIFT, GFP_NOFS, in btrfs_split_bio()
229 fbio = mempool_alloc(&btrfs_failed_bio_pool, GFP_NOFS); in repair_one_sector()
237 repair_bio = bio_alloc_bioset(NULL, 1, REQ_OP_READ, GFP_NOFS, in repair_one_sector()
467 bio = bio_alloc_clone(NULL, orig_bio, GFP_NOFS, &fs_bio_set); in btrfs_submit_mirrored_bio()
627 async = kmalloc(sizeof(*async), GFP_NOFS); in btrfs_wq_submit_bio()
/linux/fs/dlm/
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/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/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()
/linux/fs/netfs/
H A Drolling_buffer.c67 fq = netfs_folioq_alloc(rreq_id, GFP_NOFS, netfs_trace_folioq_rollbuf_init); in rolling_buffer_init()
87 fq = netfs_folioq_alloc(head->rreq_id, GFP_NOFS, netfs_trace_folioq_make_space); in rolling_buffer_make_space()
/linux/fs/f2fs/
H A Dacl.c66 acl = posix_acl_alloc(count, GFP_NOFS); in f2fs_acl_from_disk()
122 GFP_NOFS); in f2fs_acl_to_disk()
382 clone = f2fs_acl_clone(p, GFP_NOFS); in f2fs_acl_create()

12345678910>>...12