Home
last modified time | relevance | path

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

12345678910>>...16

/openbmc/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`` 几乎
/openbmc/linux/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()
144 pages[i] = fscrypt_alloc_bounce_page(i == 0 ? GFP_NOFS : in fscrypt_zeroout_range()
154 bio = bio_alloc(inode->i_sb->s_bdev, nr_pages, REQ_OP_WRITE, GFP_NOFS); in fscrypt_zeroout_range()
164 blocksize, offset, 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()
/openbmc/linux/fs/ntfs/
H A Dmalloc.h52 return __ntfs_malloc(size, GFP_NOFS | __GFP_HIGHMEM); in ntfs_malloc_nofs()
69 return __ntfs_malloc(size, GFP_NOFS | __GFP_HIGHMEM | __GFP_NOFAIL); in ntfs_malloc_nofs_nofail()
H A Dunistr.c255 ucs = kmem_cache_alloc(ntfs_name_cache, GFP_NOFS); in ntfs_nlstoucs()
339 ns = kmalloc(ns_len + 1, GFP_NOFS); in ntfs_ucstonls()
355 ~63, GFP_NOFS); in ntfs_ucstonls()
/openbmc/linux/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)
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
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_allocator.c115 new_tnodes = kmalloc(n_tnodes * dev->tnode_size, GFP_NOFS); in yaffs_create_tnodes()
142 tnl = kmalloc(sizeof(struct yaffs_tnode_list), GFP_NOFS); in yaffs_create_tnodes()
258 new_objs = kmalloc(n_obj * sizeof(struct yaffs_obj), GFP_NOFS); in yaffs_create_free_objs()
259 list = kmalloc(sizeof(struct yaffs_obj_list), GFP_NOFS); in yaffs_create_free_objs()
350 allocator = kmalloc(sizeof(struct yaffs_allocator), GFP_NOFS); in yaffs_init_raw_tnodes_and_objs()
/openbmc/linux/fs/dlm/
H A Dmemory.c87 p = kzalloc(ls->ls_lvblen, GFP_NOFS); in dlm_allocate_lvb()
100 r = kmem_cache_zalloc(rsb_cache, GFP_NOFS); in dlm_allocate_rsb()
115 lkb = kmem_cache_zalloc(lkb_cache, GFP_NOFS); in dlm_allocate_lkb()
H A Dconfig.c401 cl = kzalloc(sizeof(struct dlm_cluster), GFP_NOFS); in make_cluster()
402 sps = kzalloc(sizeof(struct dlm_spaces), GFP_NOFS); in make_cluster()
403 cms = kzalloc(sizeof(struct dlm_comms), GFP_NOFS); in make_cluster()
469 sp = kzalloc(sizeof(struct dlm_space), GFP_NOFS); in make_space()
470 nds = kzalloc(sizeof(struct dlm_nodes), GFP_NOFS); in make_space()
513 cm = kzalloc(sizeof(struct dlm_comm), GFP_NOFS); in make_comm()
552 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node()
661 addr = kzalloc(sizeof(*addr), GFP_NOFS); in comm_addr_store()
885 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()
150 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in dlm_posix_lock()
304 op = kzalloc(sizeof(*op), GFP_NOFS); in dlm_posix_unlock()
440 op = kzalloc(sizeof(*op), GFP_NOFS); in dlm_posix_get()
/openbmc/linux/fs/quota/
H A Dquota_tree.c117 char *buf = kmalloc(info->dqi_usable_bs, GFP_NOFS); in get_free_dqblk()
169 char *tmpbuf = kmalloc(info->dqi_usable_bs, GFP_NOFS); in remove_free_dqentry()
216 char *tmpbuf = kmalloc(info->dqi_usable_bs, GFP_NOFS); in insert_free_dqentry()
264 char *buf = kmalloc(info->dqi_usable_bs, GFP_NOFS); in find_free_dqentry()
338 char *buf = kmalloc(info->dqi_usable_bs, GFP_NOFS); in do_insert_tree()
483 char *buf = kmalloc(info->dqi_usable_bs, GFP_NOFS); in free_dqentry()
547 char *buf = kmalloc(info->dqi_usable_bs, GFP_NOFS); in remove_tree()
625 char *buf = kmalloc(info->dqi_usable_bs, GFP_NOFS); in find_block_dqentry()
663 char *buf = kmalloc(info->dqi_usable_bs, GFP_NOFS); in find_tree_dqentry()
751 ddquot = kmalloc(info->dqi_entry_size, GFP_NOFS); in qtree_read_dquot()
[all …]
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()
/openbmc/linux/fs/afs/
H A Dfsclient.c294 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_fetch_status()
446 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_fetch_data64()
480 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_fetch_data()
563 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_create_file()
616 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_make_dir()
689 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_remove_file()
736 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_remove_dir()
816 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_link()
911 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_symlink()
1629 afs_make_call(ac, call, GFP_NOFS); in afs_fs_give_up_all_callbacks()
[all …]
H A Dyfsclient.c494 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_fetch_data()
576 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_create_file()
624 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_make_dir()
708 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_remove_file2()
777 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_remove_file()
818 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_remove_dir()
891 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_link()
972 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_symlink()
1051 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_rename()
1106 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_store_data()
[all …]
/openbmc/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()
/openbmc/linux/fs/ceph/
H A Dmdsmap.c128 m = kzalloc(sizeof(*m), GFP_NOFS); in ceph_mdsmap_decode()
170 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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/fs/ubifs/
H 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()
/openbmc/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()
/openbmc/linux/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()
693 ref = kzalloc(sizeof(struct ref_entry), GFP_NOFS); in btrfs_ref_tree_mod()
694 ra = kmalloc(sizeof(struct ref_action), GFP_NOFS); in btrfs_ref_tree_mod()
768 re = kmalloc(sizeof(struct root_entry), GFP_NOFS); in btrfs_ref_tree_mod()

12345678910>>...16