| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | gfp_mask-from-fs-io.rst | 30 (注意后者意味着也要清除第一个)。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/ceph/ |
| H A D | mdsmap.c | 130 m = kzalloc_obj(*m, GFP_NOFS); in ceph_mdsmap_decode() 172 m->m_info = kzalloc_objs(*m->m_info, m->possible_max_rank, 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() 364 GFP_NOFS); in ceph_mdsmap_decode() 380 m->m_fs_name = kstrdup(CEPH_OLD_FS_NAME, GFP_NOFS); in ceph_mdsmap_decode()
|
| /linux/fs/quota/ |
| H A D | netlink.c | 50 skb = genlmsg_new(msg_size, GFP_NOFS); in quota_send_warning() 87 genlmsg_multicast("a_genl_family, skb, 0, 0, GFP_NOFS); in quota_send_warning()
|
| /linux/net/ceph/ |
| H A D | msgpool.c | 73 GFP_NOFS, false); in ceph_msgpool_get() 76 msg = mempool_alloc(pool->pool, GFP_NOFS); in ceph_msgpool_get()
|
| H A D | auth_none.c | 100 au = kmalloc_obj(*au, GFP_NOFS); in ceph_auth_none_create_authorizer() 136 xi = kzalloc_obj(*xi, GFP_NOFS); in ceph_auth_none_init()
|
| H A D | pagelist.c | 59 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 D | buffer.c | 52 *b = ceph_buffer_new(len, GFP_NOFS); in ceph_decode_buffer()
|
| H A D | osdmap.c | 86 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_list_bucket() 89 b->sum_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_list_bucket() 108 b->node_weights = kcalloc(b->num_nodes, sizeof(u32), GFP_NOFS); in crush_decode_tree_bucket() 124 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw_bucket() 127 b->straws = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw_bucket() 145 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw2_bucket() 448 c = kzalloc_obj(*c, GFP_NOFS); in crush_decode() 473 c->buckets = kzalloc_objs(*c->buckets, c->max_buckets, GFP_NOFS); in crush_decode() 476 c->rules = kzalloc_objs(*c->rules, c->max_rules, GFP_NOFS); in crush_decode() 514 b = c->buckets[i] = kzalloc(size, GFP_NOFS); in crush_decode() [all …]
|
| /linux/fs/afs/ |
| H A D | fsclient.c | 295 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() 1025 afs_make_op_call(op, call, GFP_NOFS); in afs_fs_rename() [all …]
|
| H A D | yfsclient.c | 504 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() 1073 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_rename() 1229 afs_make_op_call(op, call, GFP_NOFS); in yfs_fs_rename_replace() [all …]
|
| /linux/fs/dlm/ |
| H A D | config.c | 429 cl = kzalloc_obj(struct dlm_cluster, GFP_NOFS); in make_cluster() 430 sps = kzalloc_obj(struct dlm_spaces, GFP_NOFS); in make_cluster() 431 cms = kzalloc_obj(struct dlm_comms, GFP_NOFS); in make_cluster() 483 sp = kzalloc_obj(struct dlm_space, GFP_NOFS); in make_space() 484 nds = kzalloc_obj(struct dlm_nodes, GFP_NOFS); in make_space() 534 cm = kzalloc_obj(struct dlm_comm, GFP_NOFS); in make_comm() 580 nd = kzalloc_obj(struct dlm_node, GFP_NOFS); in make_node() 704 addr = kzalloc_obj(*addr, GFP_NOFS); in comm_addr_store() 949 nodes = kzalloc_objs(struct dlm_config_node, count, GFP_NOFS); in dlm_config_nodes()
|
| H A D | plock.c | 105 op = kzalloc_obj(*op, GFP_NOFS); in do_lock_cancel() 134 op = kzalloc_obj(*op, GFP_NOFS); in dlm_posix_lock() 151 op_data = kzalloc_obj(*op_data, GFP_NOFS); in dlm_posix_lock() 300 op = kzalloc_obj(*op, GFP_NOFS); in dlm_posix_unlock() 433 op = kzalloc_obj(*op, GFP_NOFS); in dlm_posix_get()
|
| /linux/fs/xfs/ |
| H A D | xfs_health.c | 121 fserror_report_metadata(mp->m_super, -EFSCORRUPTED, GFP_NOFS); in xfs_fs_mark_sick() 143 fserror_report_metadata(mp->m_super, -EFSCORRUPTED, GFP_NOFS); in xfs_fs_mark_corrupt() 230 fserror_report_metadata(xg->xg_mount->m_super, -EFSCORRUPTED, GFP_NOFS); in xfs_group_mark_sick() 255 fserror_report_metadata(xg->xg_mount->m_super, -EFSCORRUPTED, GFP_NOFS); in xfs_group_mark_corrupt() 326 GFP_NOFS); in xfs_inode_report_fserror() 330 fserror_report_file_metadata(VFS_I(ip), -EFSCORRUPTED, GFP_NOFS); in xfs_inode_report_fserror()
|
| /linux/fs/ext4/ |
| H A D | acl.c | 37 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/ocfs2/ |
| H A D | acl.c | 46 acl = posix_acl_alloc(count, GFP_NOFS); in ocfs2_acl_from_xattr() 86 ocfs2_acl = kmalloc(*size, GFP_NOFS); in ocfs2_acl_to_xattr() 135 value = kmalloc(retval, GFP_NOFS); in ocfs2_get_acl_nolock() 392 ret = __posix_acl_create(&acl, GFP_NOFS, &mode); in ocfs2_init_acl()
|
| /linux/security/tomoyo/ |
| H A D | audit.c | 26 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() 273 buf = kzalloc(len, GFP_NOFS); in tomoyo_init_log() 377 entry = kzalloc_obj(*entry, GFP_NOFS); in tomoyo_write_log2()
|
| H A D | memory.c | 76 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 D | realpath.c | 45 cp = kzalloc(len + 10, GFP_NOFS); in tomoyo_encode2() 251 buf = kmalloc(buf_len, GFP_NOFS); in tomoyo_realpath_from_path()
|
| H A D | domain.c | 476 entry = kzalloc(sizeof(*entry) + len + 1, GFP_NOFS | __GFP_NOWARN); in tomoyo_assign_namespace() 634 arg_ptr = kzalloc(TOMOYO_EXEC_TMPSIZE, GFP_NOFS); in tomoyo_environ() 711 struct tomoyo_execve *ee = kzalloc_obj(*ee, GFP_NOFS); in tomoyo_find_next_domain() 715 ee->tmp = kzalloc(TOMOYO_EXEC_TMPSIZE, GFP_NOFS); in tomoyo_find_next_domain() 916 dump->data = kzalloc(PAGE_SIZE, GFP_NOFS); in tomoyo_dump_page()
|
| /linux/fs/btrfs/ |
| H A D | ref-verify.c | 252 re = kzalloc_obj(struct root_entry, GFP_NOFS); in add_block_entry() 253 be = kzalloc_obj(struct block_entry, GFP_NOFS); in add_block_entry() 301 ref = kmalloc_obj(struct ref_entry, GFP_NOFS); in add_tree_block() 346 ref = kzalloc_obj(struct ref_entry, GFP_NOFS); in add_shared_data_ref() 381 ref = kzalloc_obj(struct ref_entry, GFP_NOFS); in add_extent_data_ref() 683 ref = kzalloc_obj(struct ref_entry, GFP_NOFS); in btrfs_ref_tree_mod() 684 ra = kmalloc_obj(struct ref_action, GFP_NOFS); in btrfs_ref_tree_mod() 758 re = kmalloc_obj(struct root_entry, GFP_NOFS); in btrfs_ref_tree_mod()
|
| /linux/fs/netfs/ |
| H A D | rolling_buffer.c | 67 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/security/integrity/ima/ |
| H A D | ima_api.c | 52 GFP_NOFS); in ima_alloc_init_template() 58 GFP_NOFS); in ima_alloc_init_template() 307 tmpbuf = krealloc(iint->ima_hash, length, GFP_NOFS); in ima_collect_measurement()
|
| /linux/net/rxrpc/ |
| H A D | rxgk_app.c | 75 payload = kzalloc(payload_len, GFP_NOFS); in rxgk_yfs_decode_ticket() 222 ret = rxgk_set_up_token_cipher(server_secret, &token_enc, enctype, &krb5, GFP_NOFS); in rxgk_extract_token()
|
| /linux/fs/ntfs/ |
| H A D | bitmap.c | 43 ra = kzalloc(sizeof(*ra), GFP_NOFS); in ntfs_trim_fs() 81 aligned_count >> 9, GFP_NOFS); in ntfs_trim_fs()
|
| /linux/fs/ubifs/ |
| H A D | orphan.c | 58 orphan = kzalloc_obj(struct ubifs_orphan, GFP_NOFS); in ubifs_add_orphan() 539 ino = kmalloc(UBIFS_MAX_INO_NODE_SZ, GFP_NOFS); in do_kill_orphans() 761 orphan = kzalloc_obj(struct check_orphan, GFP_NOFS); in dbg_ins_check_orphan() 879 buf = __vmalloc(c->leb_size, GFP_NOFS); in dbg_scan_orphans() 917 ci.node = kmalloc(UBIFS_MAX_INO_NODE_SZ, GFP_NOFS); in dbg_check_orphans()
|