Home
last modified time | relevance | path

Searched refs:GFP_NOFS (Results 1 – 200 of 360) sorted by relevance

12

/linux-4.1.27/fs/dlm/
Dmemory.c51 p = kzalloc(ls->ls_lvblen, GFP_NOFS); in dlm_allocate_lvb()
64 r = kmem_cache_zalloc(rsb_cache, GFP_NOFS); in dlm_allocate_rsb()
79 lkb = kmem_cache_zalloc(lkb_cache, GFP_NOFS); in dlm_allocate_lkb()
Dconfig.c460 cl = kzalloc(sizeof(struct dlm_cluster), GFP_NOFS); in make_cluster()
461 gps = kcalloc(3, sizeof(struct config_group *), GFP_NOFS); in make_cluster()
462 sps = kzalloc(sizeof(struct dlm_spaces), GFP_NOFS); in make_cluster()
463 cms = kzalloc(sizeof(struct dlm_comms), GFP_NOFS); in make_cluster()
535 sp = kzalloc(sizeof(struct dlm_space), GFP_NOFS); in make_space()
536 gps = kcalloc(2, sizeof(struct config_group *), GFP_NOFS); in make_space()
537 nds = kzalloc(sizeof(struct dlm_nodes), GFP_NOFS); in make_space()
589 cm = kzalloc(sizeof(struct dlm_comm), GFP_NOFS); in make_comm()
627 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node()
770 addr = kzalloc(sizeof(*addr), GFP_NOFS); in comm_addr_write()
[all …]
Dlowcomms.c390 new_node = kzalloc(sizeof(struct dlm_node_addr), GFP_NOFS); in dlm_lowcomms_addr()
394 new_addr = kzalloc(sizeof(struct sockaddr_storage), GFP_NOFS); in dlm_lowcomms_addr()
477 con = nodeid2con(nodeid, GFP_NOFS); in dlm_lowcomms_connect_node()
494 con->sock->sk->sk_allocation = GFP_NOFS; in add_sock()
633 mh = dlm_lowcomms_get_buffer(nodeid, len, GFP_NOFS, &retry_buf); in retry_failed_sctp_send()
717 new_con = nodeid2con(nodeid, GFP_NOFS); in process_sctp_notification()
969 newcon = nodeid2con(nodeid, GFP_NOFS); in tcp_accept_from_sock()
979 othercon = kmem_cache_zalloc(con_cache, GFP_NOFS); in tcp_accept_from_sock()
1320 addr = kmalloc(sizeof(*addr), GFP_NOFS); in init_local()
1359 struct connection *con = nodeid2con(0, GFP_NOFS); in sctp_listen_for_all()
[all …]
Dplock.c85 op = kzalloc(sizeof(*op), GFP_NOFS); in do_unlock_close()
116 xop = kzalloc(sizeof(*xop), GFP_NOFS); in dlm_posix_lock()
256 op = kzalloc(sizeof(*op), GFP_NOFS); in dlm_posix_unlock()
329 op = kzalloc(sizeof(*op), GFP_NOFS); in dlm_posix_get()
Duser.c253 ua = kzalloc(sizeof(struct dlm_user_args), GFP_NOFS); in device_user_lock()
301 ua = kzalloc(sizeof(struct dlm_user_args), GFP_NOFS); in device_user_unlock()
346 ls->ls_device.name = kzalloc(len, GFP_NOFS); in dlm_device_register()
521 kbuf = kzalloc(count + 1, GFP_NOFS); in device_write()
547 GFP_NOFS); in device_write()
643 proc = kzalloc(sizeof(struct dlm_user_proc), GFP_NOFS); in device_open()
Dmember.c221 array = kzalloc(array_size * sizeof(struct dlm_slot), GFP_NOFS); in dlm_slots_assign()
322 memb = kzalloc(sizeof(struct dlm_member), GFP_NOFS); in dlm_add_member()
409 array = kmalloc(sizeof(int) * total, GFP_NOFS); in make_member_array()
680 rv = kzalloc(sizeof(struct dlm_recover), GFP_NOFS); in dlm_ls_start()
Dmidcomms.c115 p = kmalloc(dlm_config.ci_buffer_size, GFP_NOFS); in dlm_process_incoming_buffer()
Dnetlink.c30 skb = genlmsg_new(size, GFP_NOFS); in prepare_data()
Drequestqueue.c39 e = kmalloc(sizeof(struct rq_entry) + length, GFP_NOFS); in dlm_add_requestqueue()
Ddir.c76 last_name = kmalloc(DLM_RESNAME_MAXLEN, GFP_NOFS); in dlm_recover_directory()
Drcom.c40 mh = dlm_lowcomms_get_buffer(to_nodeid, mb_len, GFP_NOFS, &mb); in create_rcom()
476 mh = dlm_lowcomms_get_buffer(nodeid, mb_len, GFP_NOFS, &mb); in dlm_send_ls_not_ready()
Dlockspace.c487 ls = kzalloc(sizeof(struct dlm_ls) + namelen, GFP_NOFS); in new_lockspace()
579 ls->ls_recover_buf = kmalloc(dlm_config.ci_buffer_size, GFP_NOFS); in new_lockspace()
/linux-4.1.27/fs/ext4/
Dcrypto.c143 ctx = ext4_alloc_and_init_crypto_ctx(GFP_NOFS); in ext4_get_crypto_ctx()
345 req = ablkcipher_request_alloc(atfm, GFP_NOFS); in ext4_page_crypto()
416 ciphertext_page = alloc_page(GFP_NOFS); in ext4_encrypt()
421 GFP_NOFS); in ext4_encrypt()
424 GFP_NOFS | __GFP_WAIT); in ext4_encrypt()
496 ciphertext_page = alloc_page(GFP_NOFS); in ext4_encrypted_zeroout()
501 GFP_NOFS); in ext4_encrypted_zeroout()
504 GFP_NOFS | __GFP_WAIT); in ext4_encrypted_zeroout()
Dacl.c35 acl = posix_acl_alloc(count, GFP_NOFS); in ext4_acl_from_disk()
97 sizeof(ext4_acl_entry), GFP_NOFS); in ext4_acl_to_disk()
162 value = kmalloc(retval, GFP_NOFS); in ext4_get_acl()
Dcrypto_fname.c82 req = ablkcipher_request_alloc(tfm, GFP_NOFS); in ext4_fname_encrypt()
156 req = ablkcipher_request_alloc(tfm, GFP_NOFS); in ext4_fname_decrypt()
310 ctx = kmalloc(sizeof(struct ext4_fname_crypto_ctx), GFP_NOFS); in ext4_alloc_fname_crypto_ctx()
394 ctx->workpage = alloc_page(GFP_NOFS); in ext4_get_fname_crypto_ctx()
510 crypto_str->name = kmalloc(olen+1, GFP_NOFS); in ext4_fname_crypto_alloc_buffer()
Dsymlink.c71 paddr = kmalloc(plen + 1, GFP_NOFS); in ext4_follow_link()
Dresize.c197 flex_gd = kmalloc(sizeof(*flex_gd), GFP_NOFS); in alloc_flex_gd()
206 flexbg_size, GFP_NOFS); in alloc_flex_gd()
210 flex_gd->bg_flags = kmalloc(flexbg_size * sizeof(__u16), GFP_NOFS); in alloc_flex_gd()
558 reserved_gdb, GFP_NOFS); in setup_new_flex_group_blocks()
573 GFP_NOFS); in setup_new_flex_group_blocks()
820 GFP_NOFS); in add_new_gdb()
898 GFP_NOFS); in add_new_gdb_meta_bg()
947 primary = kmalloc(reserved_gdb * sizeof(*primary), GFP_NOFS); in reserve_backup_gdb()
Dcrypto_key.c56 req = ablkcipher_request_alloc(tfm, GFP_NOFS); in ext4_derive_key_aes()
Dxattr.c832 s->base = kmalloc(bs->bh->b_size, GFP_NOFS); in ext4_xattr_block_set()
844 s->base = kzalloc(sb->s_blocksize, GFP_NOFS); in ext4_xattr_block_set()
1350 is = kzalloc(sizeof(struct ext4_xattr_ibody_find), GFP_NOFS); in ext4_expand_extra_isize_ea()
1351 bs = kzalloc(sizeof(struct ext4_xattr_block_find), GFP_NOFS); in ext4_expand_extra_isize_ea()
1400 buffer = kmalloc(EXT4_XATTR_SIZE(size), GFP_NOFS); in ext4_expand_extra_isize_ea()
1401 b_entry_name = kmalloc(entry->e_name_len + 1, GFP_NOFS); in ext4_expand_extra_isize_ea()
1538 ce = mb_cache_entry_alloc(ext4_mb_cache, GFP_NOFS); in ext4_xattr_cache_insert()
Dext4_jbd2.c76 return jbd2__journal_start(journal, blocks, rsv_blocks, GFP_NOFS, in __ext4_journal_start_sb()
Dmballoc.c850 bh = kzalloc(i, GFP_NOFS); in ext4_mb_init_cache()
994 page = find_or_create_page(inode->i_mapping, pnum, GFP_NOFS); in ext4_mb_get_buddy_page_lock()
1008 page = find_or_create_page(inode->i_mapping, pnum, GFP_NOFS); in ext4_mb_get_buddy_page_lock()
1160 page = find_or_create_page(inode->i_mapping, pnum, GFP_NOFS); in ext4_mb_load_buddy()
1196 page = find_or_create_page(inode->i_mapping, pnum, GFP_NOFS); in ext4_mb_load_buddy()
2390 meta_group_info = kmalloc(metalen, GFP_NOFS); in ext4_mb_add_groupinfo()
2404 meta_group_info[i] = kmem_cache_zalloc(cachep, GFP_NOFS); in ext4_mb_add_groupinfo()
2433 kmalloc(sb->s_blocksize, GFP_NOFS); in ext4_mb_add_groupinfo()
2759 return sb_issue_discard(sb, discard_block, count, GFP_NOFS, 0); in ext4_issue_discard()
3575 pa = kmem_cache_alloc(ext4_pspace_cachep, GFP_NOFS); in ext4_mb_new_inode_pa()
[all …]
Dinline.c338 value = kzalloc(len, GFP_NOFS); in ext4_update_inline_data()
1173 buf = kmalloc(inline_size, GFP_NOFS); in ext4_convert_inline_data_nolock()
1347 dir_buf = kmalloc(inline_size, GFP_NOFS); in htree_inlinedir_to_tree()
1456 dir_buf = kmalloc(inline_size, GFP_NOFS); in ext4_read_inline_dir()
1942 value = kmalloc(value_len, GFP_NOFS); in ext4_inline_data_truncate()
/linux-4.1.27/fs/btrfs/tests/
Dextent-io-tests.c93 page = find_or_create_page(inode->i_mapping, index, GFP_NOFS); in test_find_delalloc()
112 set_extent_delalloc(&tmp, 0, 4095, NULL, GFP_NOFS); in test_find_delalloc()
143 set_extent_delalloc(&tmp, 4096, max_bytes - 1, NULL, GFP_NOFS); in test_find_delalloc()
198 set_extent_delalloc(&tmp, max_bytes, total_dirty - 1, NULL, GFP_NOFS); in test_find_delalloc()
261 clear_extent_bits(&tmp, 0, total_dirty - 1, (unsigned)-1, GFP_NOFS); in test_find_delalloc()
Dbtrfs-tests.c82 GFP_NOFS); in btrfs_alloc_dummy_fs_info()
87 GFP_NOFS); in btrfs_alloc_dummy_fs_info()
93 GFP_NOFS); in btrfs_alloc_dummy_fs_info()
Dfree-space-tests.c29 cache = kzalloc(sizeof(*cache), GFP_NOFS); in init_test_block_group()
33 GFP_NOFS); in init_test_block_group()
Dinode-tests.c977 NULL, GFP_NOFS); in test_extent_accounting()
1048 NULL, GFP_NOFS); in test_extent_accounting()
1082 NULL, GFP_NOFS); in test_extent_accounting()
1099 NULL, GFP_NOFS); in test_extent_accounting()
/linux-4.1.27/fs/ntfs/
Dmalloc.h66 return __ntfs_malloc(size, GFP_NOFS | __GFP_HIGHMEM); in ntfs_malloc_nofs()
83 return __ntfs_malloc(size, GFP_NOFS | __GFP_HIGHMEM | __GFP_NOFAIL); in ntfs_malloc_nofs_nofail()
Dunistr.c269 ucs = kmem_cache_alloc(ntfs_name_cache, GFP_NOFS); in ntfs_nlstoucs()
353 ns = kmalloc(ns_len + 1, GFP_NOFS); in ntfs_ucstonls()
369 ~63, GFP_NOFS); in ntfs_ucstonls()
Ddir.c174 GFP_NOFS); in ntfs_lookup_inode_by_name()
228 name = kmalloc(name_size, GFP_NOFS); in ntfs_lookup_inode_by_name()
434 GFP_NOFS); in ntfs_lookup_inode_by_name()
490 name = kmalloc(name_size, GFP_NOFS); in ntfs_lookup_inode_by_name()
1134 name = kmalloc(NTFS_MAX_NAME_LEN * NLS_MAX_CHARSET_SIZE + 1, GFP_NOFS); in ntfs_readdir()
1175 ir = kmalloc(rc, GFP_NOFS); in ntfs_readdir()
Dcompress.c534 pages = kmalloc(nr_pages * sizeof(struct page *), GFP_NOFS); in ntfs_read_compressed_block()
538 bhs = kmalloc(bhs_size, GFP_NOFS); in ntfs_read_compressed_block()
/linux-4.1.27/net/ceph/
Dosdmap.c71 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_list_bucket()
74 b->sum_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_list_bucket()
93 b->node_weights = kcalloc(b->num_nodes, sizeof(u32), GFP_NOFS); in crush_decode_tree_bucket()
109 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw_bucket()
112 b->straws = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw_bucket()
130 b->item_weights = kcalloc(b->h.size, sizeof(u32), GFP_NOFS); in crush_decode_straw2_bucket()
168 c = kzalloc(sizeof(*c), GFP_NOFS); in crush_decode()
189 c->buckets = kcalloc(c->max_buckets, sizeof(*c->buckets), GFP_NOFS); in crush_decode()
192 c->rules = kcalloc(c->max_rules, sizeof(*c->rules), GFP_NOFS); in crush_decode()
231 b = c->buckets[i] = kzalloc(size, GFP_NOFS); in crush_decode()
[all …]
Dmon_client.c65 m = kmalloc(sizeof(*m) + sizeof(m->mon_inst[0])*num_mon, GFP_NOFS); in ceph_monmap_decode()
585 req = kzalloc(sizeof(*req), GFP_NOFS); in ceph_monc_do_statfs()
594 req->request = ceph_msg_new(CEPH_MSG_STATFS, sizeof(*h), GFP_NOFS, in ceph_monc_do_statfs()
598 req->reply = ceph_msg_new(CEPH_MSG_STATFS_REPLY, 1024, GFP_NOFS, in ceph_monc_do_statfs()
666 req = kzalloc(sizeof(*req), GFP_NOFS); in ceph_monc_do_get_version()
676 GFP_NOFS, true); in ceph_monc_do_get_version()
683 GFP_NOFS, true); in ceph_monc_do_get_version()
808 GFP_NOFS, true); in ceph_monc_init()
812 monc->m_subscribe = ceph_msg_new(CEPH_MSG_MON_SUBSCRIBE, 96, GFP_NOFS, in ceph_monc_init()
817 monc->m_auth_reply = ceph_msg_new(CEPH_MSG_AUTH_REPLY, 4096, GFP_NOFS, in ceph_monc_init()
[all …]
Dmsgpool.c65 return ceph_msg_new(pool->type, front_len, GFP_NOFS, false); in ceph_msgpool_get()
68 msg = mempool_alloc(pool->pool, GFP_NOFS); in ceph_msgpool_get()
Dpagelist.c38 page = __page_cache_alloc(GFP_NOFS); in ceph_pagelist_addpage()
89 struct page *page = __page_cache_alloc(GFP_NOFS); in ceph_pagelist_reserve()
Dcrypto.c19 dst->key = kmemdup(src->key, src->len, GFP_NOFS); in ceph_crypto_key_clone()
44 key->key = kmalloc(key->len, GFP_NOFS); in ceph_crypto_key_decode()
63 buf = kmalloc(blen, GFP_NOFS); in ceph_crypto_key_unarmor()
127 ret = sg_alloc_table(sgt, chunk_cnt, GFP_NOFS); in setup_sgtable()
Dbuffer.c51 *b = ceph_buffer_new(len, GFP_NOFS); in ceph_decode_buffer()
Dauth_x.c78 *obuf = kmalloc(len, GFP_NOFS); in ceph_x_decrypt()
115 th = kzalloc(sizeof(*th), GFP_NOFS); in get_ticket_handler()
310 au->buf = ceph_buffer_new(maxlen, GFP_NOFS); in ceph_x_build_authorizer()
556 au = kzalloc(sizeof(*au), GFP_NOFS); in ceph_x_create_authorizer()
752 xi = kzalloc(sizeof(*xi), GFP_NOFS); in ceph_x_init()
Dauth_none.c125 xi = kzalloc(sizeof(*xi), GFP_NOFS); in ceph_auth_none_init()
Dpagevec.c22 pages = kmalloc(sizeof(*pages) * num_pages, GFP_NOFS); in ceph_get_direct_page_vector()
Dauth.c46 ac = kzalloc(sizeof(*ac), GFP_NOFS); in ceph_auth_init()
/linux-4.1.27/fs/ceph/
Dmdsmap.c59 m = kzalloc(sizeof(*m), GFP_NOFS); in ceph_mdsmap_decode()
79 m->m_info = kcalloc(m->m_max_mds, sizeof(*m->m_info), GFP_NOFS); in ceph_mdsmap_decode()
143 sizeof(u32), GFP_NOFS); in ceph_mdsmap_decode()
157 m->m_data_pg_pools = kcalloc(n, sizeof(u64), GFP_NOFS); in ceph_mdsmap_decode()
Dacl.c63 value = kzalloc(size, GFP_NOFS); in ceph_get_acl()
118 value = kmalloc(size, GFP_NOFS); in ceph_set_acl()
190 tmp_buf = kmalloc(max(val_size1, val_size2), GFP_NOFS); in ceph_pre_init_acls()
193 pagelist = kmalloc(sizeof(struct ceph_pagelist), GFP_NOFS); in ceph_pre_init_acls()
Dxattr.c596 GFP_NOFS); in __build_xattrs()
603 GFP_NOFS); in __build_xattrs()
859 pagelist = kmalloc(sizeof(*pagelist), GFP_NOFS); in ceph_sync_setxattr()
882 req->r_path2 = kstrdup(name, GFP_NOFS); in ceph_sync_setxattr()
937 newname = kmemdup(name, name_len + 1, GFP_NOFS); in __ceph_setxattr()
942 newval = kmemdup(value, val_len, GFP_NOFS); in __ceph_setxattr()
947 xattr = kmalloc(sizeof(struct ceph_inode_xattr), GFP_NOFS); in __ceph_setxattr()
967 blob = ceph_buffer_new(required_blob_size, GFP_NOFS); in __ceph_setxattr()
1029 req->r_path2 = kstrdup(name, GFP_NOFS); in ceph_send_removexattr()
1081 blob = ceph_buffer_new(required_blob_size, GFP_NOFS); in __ceph_removexattr()
Dsnap.c113 realm = kzalloc(sizeof(*realm), GFP_NOFS); in ceph_create_snap_realm()
351 snapc = ceph_create_snap_context(num, GFP_NOFS); in build_snap_context()
428 *dst = kcalloc(num, sizeof(u64), GFP_NOFS); in dup_array()
460 capsnap = kzalloc(sizeof(*capsnap), GFP_NOFS); in ceph_queue_cap_snap()
967 empty_snapc = ceph_create_snap_context(0, GFP_NOFS); in ceph_snap_init()
Dmds_client.c432 s = kzalloc(sizeof(*s), GFP_NOFS); in register_session()
471 sa = kcalloc(newmax, sizeof(void *), GFP_NOFS); in register_session()
820 msg = ceph_msg_new(CEPH_MSG_CLIENT_SESSION, sizeof(*h), GFP_NOFS, in create_session_msg()
864 GFP_NOFS, false); in create_session_open_msg()
1462 GFP_NOFS, false); in ceph_add_cap_releases()
1638 rinfo->dir_in = (void*)__get_free_pages(GFP_NOFS | __GFP_NOWARN, in ceph_alloc_readdir_reply_buffer()
1663 struct ceph_mds_request *req = kzalloc(sizeof(*req), GFP_NOFS); in ceph_mdsc_create_request()
1749 path = kmalloc(len+1, GFP_NOFS); in ceph_mdsc_build_path()
1919 msg = ceph_msg_new(CEPH_MSG_CLIENT_REQUEST, len, GFP_NOFS, false); in create_request_message()
2797 sizeof(struct ceph_filelock), GFP_NOFS); in encode_caps_cb()
[all …]
Ddir.c41 di = kmem_cache_alloc(ceph_dentry_cachep, GFP_NOFS | __GFP_ZERO); in ceph_init_dentry()
234 fi->last_name = kmalloc(len+1, GFP_NOFS); in note_last_dentry()
345 req->r_path2 = kstrdup(fi->last_name, GFP_NOFS); in ceph_readdir()
767 req->r_path2 = kstrdup(dest, GFP_NOFS); in ceph_symlink()
1192 cf->dir_info = kmalloc(bufsize, GFP_NOFS); in ceph_read_dir()
Daddr.c349 pages = kmalloc(sizeof(*pages) * nr_pages, GFP_NOFS); in start_read()
361 GFP_NOFS)) { in start_read()
894 GFP_NOFS); in ceph_writepages_start()
897 pages = mempool_alloc(pool, GFP_NOFS); in ceph_writepages_start()
1492 page = __page_cache_alloc(GFP_NOFS); in ceph_uninline_data()
Dfile.c92 cf = kmem_cache_alloc(ceph_file_cachep, GFP_NOFS | __GFP_ZERO); in ceph_init_file()
486 pages = ceph_alloc_page_vector(num_pages, GFP_NOFS); in ceph_sync_read()
739 pages = ceph_alloc_page_vector(num_pages, GFP_NOFS); in ceph_sync_write()
863 page = __page_cache_alloc(GFP_NOFS); in ceph_read_iter()
/linux-4.1.27/fs/btrfs/
Dbackref.c60 e = kmalloc(sizeof(*e), GFP_NOFS); in check_extent_in_eb()
242 ret = ulist_add(parents, eb->start, 0, GFP_NOFS); in add_all_parents()
283 eie, (void **)&old, GFP_NOFS); in add_all_parents()
395 parents = ulist_alloc(GFP_NOFS); in __resolve_indirect_refs()
437 GFP_NOFS); in __resolve_indirect_refs()
738 bytenr, 1, GFP_NOFS); in __add_inline_refs()
747 bytenr, count, GFP_NOFS); in __add_inline_refs()
753 bytenr, 1, GFP_NOFS); in __add_inline_refs()
774 bytenr, count, GFP_NOFS); in __add_inline_refs()
825 bytenr, 1, GFP_NOFS); in __add_keyed_refs()
[all …]
Dacl.c51 value = kzalloc(size, GFP_NOFS); in btrfs_get_acl()
105 value = kmalloc(size, GFP_NOFS); in __btrfs_set_acl()
Dcompression.c348 cb = kmalloc(compressed_bio_size(root, compressed_len), GFP_NOFS); in btrfs_submit_compressed_write()
364 bio = compressed_bio_alloc(bdev, first_byte, GFP_NOFS); in btrfs_submit_compressed_write()
412 bio = compressed_bio_alloc(bdev, first_byte, GFP_NOFS); in btrfs_submit_compressed_write()
494 GFP_NOFS)) { in add_ra_bio_pages()
602 cb = kmalloc(compressed_bio_size(root, compressed_len), GFP_NOFS); in btrfs_submit_compressed_read()
626 GFP_NOFS); in btrfs_submit_compressed_read()
633 cb->compressed_pages[pg_index] = alloc_page(GFP_NOFS | in btrfs_submit_compressed_read()
654 comp_bio = compressed_bio_alloc(bdev, cur_disk_byte, GFP_NOFS); in btrfs_submit_compressed_read()
706 GFP_NOFS); in btrfs_submit_compressed_read()
Dzlib.c55 workspace = kzalloc(sizeof(*workspace), GFP_NOFS); in zlib_alloc_workspace()
62 workspace->buf = kmalloc(PAGE_CACHE_SIZE, GFP_NOFS); in zlib_alloc_workspace()
109 out_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in zlib_compress_pages()
151 out_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in zlib_compress_pages()
Dscrub.c472 sctx = kzalloc(sizeof(*sctx), GFP_NOFS); in scrub_setup_ctx()
483 sbio = kzalloc(sizeof(*sbio), GFP_NOFS); in scrub_setup_ctx()
716 page = find_or_create_page(inode->i_mapping, index, GFP_NOFS); in scrub_fixup_readpage()
756 EXTENT_DAMAGED, GFP_NOFS); in scrub_fixup_readpage()
774 EXTENT_DAMAGED, GFP_NOFS); in scrub_fixup_readpage()
968 sizeof(*sblocks_for_recheck), GFP_NOFS); in scrub_handle_errored_block()
1065 fixup_nodatasum = kzalloc(sizeof(*fixup_nodatasum), GFP_NOFS); in scrub_handle_errored_block()
1357 recover = kzalloc(sizeof(struct scrub_recover), GFP_NOFS); in scrub_setup_recheck_block()
1378 page = kzalloc(sizeof(*page), GFP_NOFS); in scrub_setup_recheck_block()
1411 page->page = alloc_page(GFP_NOFS); in scrub_setup_recheck_block()
[all …]
Dlzo.c53 workspace = kzalloc(sizeof(*workspace), GFP_NOFS); in lzo_alloc_workspace()
126 out_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in lzo_compress_pages()
196 out_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in lzo_compress_pages()
Dextent_io.c1341 cached_state, GFP_NOFS); in lock_extent_bits()
1363 &failed_start, NULL, GFP_NOFS); in try_lock_extent()
1367 EXTENT_LOCKED, 1, 0, NULL, GFP_NOFS); in try_lock_extent()
1383 GFP_NOFS); in unlock_extent()
1742 &cached_state, GFP_NOFS); in find_lock_delalloc_range()
1768 clear_extent_bit(tree, start, end, clear_bits, 1, 0, NULL, GFP_NOFS); in extent_clear_unlock_delalloc()
2002 EXTENT_LOCKED | EXTENT_DIRTY, GFP_NOFS); in free_io_failure()
2008 EXTENT_DAMAGED, GFP_NOFS); in free_io_failure()
2045 bio = btrfs_io_bio_alloc(GFP_NOFS, 1); in repair_io_failure()
2217 failrec = kzalloc(sizeof(*failrec), GFP_NOFS); in btrfs_get_io_failure_record()
[all …]
Ddelayed-ref.c798 ref = kmem_cache_alloc(btrfs_delayed_tree_ref_cachep, GFP_NOFS); in btrfs_add_delayed_tree_ref()
802 head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS); in btrfs_add_delayed_tree_ref()
847 ref = kmem_cache_alloc(btrfs_delayed_data_ref_cachep, GFP_NOFS); in btrfs_add_delayed_data_ref()
851 head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS); in btrfs_add_delayed_data_ref()
885 head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS); in btrfs_add_delayed_extent_op()
Dasync-thread.c93 struct __btrfs_workqueue *ret = kzalloc(sizeof(*ret), GFP_NOFS); in __btrfs_alloc_workqueue()
139 struct btrfs_workqueue *ret = kzalloc(sizeof(*ret), GFP_NOFS); in btrfs_alloc_workqueue()
Dreada.c283 zone = kzalloc(sizeof(*zone), GFP_NOFS); in reada_find_zone()
345 re = kzalloc(sizeof(*re), GFP_NOFS); in reada_find_extent()
567 rec = kzalloc(sizeof(*rec), GFP_NOFS); in reada_add_block()
792 rmw = kzalloc(sizeof(*rmw), GFP_NOFS); in reada_start_machine()
926 rc = kzalloc(sizeof(*rc), GFP_NOFS); in btrfs_reada_add()
Dqgroup.c283 fs_info->qgroup_ulist = ulist_alloc(GFP_NOFS); in btrfs_read_qgroup_config()
843 fs_info->qgroup_ulist = ulist_alloc(GFP_NOFS); in btrfs_quota_enable()
1118 tmp = ulist_alloc(GFP_NOFS); in btrfs_add_qgroup_relation()
1182 tmp = ulist_alloc(GFP_NOFS); in __del_qgroup_relation()
1480 oper = kmalloc(sizeof(*oper), GFP_NOFS); in btrfs_qgroup_record_ref()
1532 tmp = ulist_alloc(GFP_NOFS); in qgroup_excl_accounting()
1966 qgroups = ulist_alloc(GFP_NOFS); in qgroup_shared_accounting()
1970 tmp = ulist_alloc(GFP_NOFS); in qgroup_shared_accounting()
2076 parents = ulist_alloc(GFP_NOFS); in qgroup_subtree_accounting()
2746 qgroups = ulist_alloc(GFP_NOFS); in btrfs_qgroup_rescan_worker()
[all …]
Dinode.c347 async_extent = kmalloc(sizeof(*async_extent), GFP_NOFS); in add_async_extent()
474 pages = kcalloc(nr_pages, sizeof(struct page *), GFP_NOFS); in compress_file_range()
1128 1, 0, NULL, GFP_NOFS); in cow_file_range_async()
1130 async_cow = kmalloc(sizeof(*async_cow), GFP_NOFS); in cow_file_range_async()
1944 cached_state, GFP_NOFS); in btrfs_set_extent_delalloc()
1987 page_end, &cached_state, GFP_NOFS); in btrfs_writepage_fixup_worker()
2007 &cached_state, GFP_NOFS); in btrfs_writepage_fixup_worker()
2038 fixup = kzalloc(sizeof(*fixup), GFP_NOFS); in btrfs_writepage_start_hook()
2321 backref = kmalloc(sizeof(*backref), GFP_NOFS); in record_one_backref()
2591 &cached, GFP_NOFS); in relink_extent_backref()
[all …]
Dprops.c227 name_buf = kmalloc(name_buf_len, GFP_NOFS); in iterate_object_props()
243 value_buf = kmalloc(data_len, GFP_NOFS); in iterate_object_props()
Dfile-item.c189 csum_size, GFP_NOFS); in __btrfs_lookup_bio_sums()
247 EXTENT_NODATASUM, GFP_NOFS); in __btrfs_lookup_bio_sums()
389 GFP_NOFS); in btrfs_lookup_csums_range()
441 GFP_NOFS); in btrfs_csum_one_bio()
473 GFP_NOFS); in btrfs_csum_one_bio()
Dfree-space-cache.c295 ra = kzalloc(sizeof(*ra), GFP_NOFS); in readahead_cache()
327 io_ctl->pages = kcalloc(num_pages, sizeof(struct page *), GFP_NOFS); in io_ctl_init()
752 GFP_NOFS); in __load_free_space_cache()
780 e->bitmap = kzalloc(PAGE_CACHE_SIZE, GFP_NOFS); in __load_free_space_cache()
1001 GFP_NOFS); in update_cache_item()
1015 NULL, GFP_NOFS); in update_cache_item()
1116 GFP_NOFS); in flush_dirty_cache()
1142 GFP_NOFS); in cleanup_write_cache_enospc()
1320 i_size_read(inode) - 1, &cached_state, GFP_NOFS); in __btrfs_write_out_cache()
2084 GFP_NOFS); in insert_into_bitmap()
[all …]
Ddisk-io.c306 result = kzalloc(csum_size, GFP_NOFS); in csum_tree_block()
389 &cached_state, GFP_NOFS); in verify_parent_transid()
756 end_io_wq = kmem_cache_alloc(btrfs_end_io_wq_cache, GFP_NOFS); in btrfs_bio_wq_end_io()
837 async = kmalloc(sizeof(*async), GFP_NOFS); in btrfs_wq_submit_bio()
1035 btree_releasepage(page, GFP_NOFS); in btree_invalidatepage()
1187 writers = kmalloc(sizeof(*writers), GFP_NOFS); in btrfs_alloc_subvolume_writers()
1284 struct btrfs_root *root = kzalloc(sizeof(*root), GFP_NOFS); in btrfs_alloc_root()
1555 root->free_ino_ctl = kzalloc(sizeof(*root->free_ino_ctl), GFP_NOFS); in btrfs_init_fs_root()
1557 GFP_NOFS); in btrfs_init_fs_root()
1619 ret = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); in btrfs_insert_fs_root()
[all …]
Dfile.c166 defrag = kmem_cache_zalloc(btrfs_inode_defrag_cachep, GFP_NOFS); in btrfs_add_inode_defrag()
1395 cached_state, GFP_NOFS); in lock_and_cleanup_extent_if_need()
1410 0, 0, cached_state, GFP_NOFS); in lock_and_cleanup_extent_if_need()
1631 GFP_NOFS); in __btrfs_buffered_write()
1648 NULL, GFP_NOFS); in __btrfs_buffered_write()
2397 lockend, &cached_state, GFP_NOFS); in btrfs_punch_hole()
2525 &cached_state, GFP_NOFS); in btrfs_punch_hole()
2629 &cached_state, GFP_NOFS); in btrfs_fallocate()
2707 &cached_state, GFP_NOFS); in btrfs_fallocate()
2775 &cached_state, GFP_NOFS); in find_desired_extent()
Draid56.c960 GFP_NOFS); in alloc_rbio()
1010 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_pages()
1030 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_parity_pages()
1083 bio = btrfs_io_bio_alloc(GFP_NOFS, bio_max_len >> PAGE_SHIFT?:1); in rbio_add_io_page()
1803 pointers = kcalloc(rbio->real_stripes, sizeof(void *), GFP_NOFS); in __raid_recover_end_io()
2266 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_essential_pages()
2344 p_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in finish_parity_scrub()
2350 q_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in finish_parity_scrub()
Ddelayed-ref.h172 return kmem_cache_alloc(btrfs_delayed_extent_op_cachep, GFP_NOFS); in btrfs_alloc_delayed_extent_op()
Dsuper.c410 options = kstrdup(options, GFP_NOFS); in btrfs_parse_options()
1163 buf = dst = kmalloc(len, GFP_NOFS); in setup_root_args()
1349 fs_info = kzalloc(sizeof(struct btrfs_fs_info), GFP_NOFS); in btrfs_mount()
1357 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_NOFS); in btrfs_mount()
1358 fs_info->super_for_commit = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_NOFS); in btrfs_mount()
1690 GFP_NOFS); in btrfs_calc_avail_data_space()
Dvolumes.c60 fs_devs = kzalloc(sizeof(*fs_devs), GFP_NOFS); in __alloc_fs_devices()
142 dev = kzalloc(sizeof(*dev), GFP_NOFS); in __alloc_device()
156 INIT_RADIX_TREE(&dev->reada_zones, GFP_NOFS & ~__GFP_WAIT); in __alloc_device()
157 INIT_RADIX_TREE(&dev->reada_extents, GFP_NOFS & ~__GFP_WAIT); in __alloc_device()
488 name = rcu_string_strdup(path, GFP_NOFS); in device_list_add()
540 name = rcu_string_strdup(path, GFP_NOFS); in device_list_add()
592 name = rcu_string_strdup(orig_dev->name->str, GFP_NOFS); in clone_fs_devices()
725 name = rcu_string_strdup(device->name->str, GFP_NOFS); in __btrfs_close_devices()
926 index, GFP_NOFS); in btrfs_scan_one_device()
2145 name = rcu_string_strdup(device_path, GFP_NOFS); in btrfs_init_new_device()
[all …]
Dsend.c306 p = kmalloc(sizeof(*p), GFP_NOFS); in fs_path_alloc()
365 tmp_buf = kmalloc(len, GFP_NOFS); in fs_path_ensure_buf()
369 tmp_buf = krealloc(p->buf, len, GFP_NOFS); in fs_path_ensure_buf()
997 buf = kmalloc(buf_len, GFP_NOFS); in iterate_dir_item()
1044 GFP_NOFS | __GFP_NOWARN); in iterate_dir_item()
1302 backref_ctx = kmalloc(sizeof(*backref_ctx), GFP_NOFS); in find_extent_clone()
1973 nce_head = kmalloc(sizeof(*nce_head), GFP_NOFS); in name_cache_insert()
2168 nce = kmalloc(sizeof(*nce) + fs_path_len(dest) + 1, GFP_NOFS); in __get_cur_name_and_parent()
2298 name = kmalloc(BTRFS_PATH_NAME_MAX, GFP_NOFS); in send_subvol_begin()
2703 ref = kmalloc(sizeof(*ref), GFP_NOFS); in __record_ref()
[all …]
Ddelayed-inode.c135 node = kmem_cache_alloc(delayed_node_cache, GFP_NOFS); in btrfs_get_or_create_delayed_node()
143 ret = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); in btrfs_get_or_create_delayed_node()
318 item = kmalloc(sizeof(*item) + data_len, GFP_NOFS); in btrfs_alloc_delayed_item()
776 keys = kmalloc_array(nitems, sizeof(struct btrfs_key), GFP_NOFS); in btrfs_batch_insert_items()
782 data_size = kmalloc_array(nitems, sizeof(u32), GFP_NOFS); in btrfs_batch_insert_items()
1393 async_work = kmalloc(sizeof(*async_work), GFP_NOFS); in btrfs_wq_run_delayed_node()
Dtree-log.c379 dst_copy = kmalloc(item_size, GFP_NOFS); in overwrite_item()
380 src_copy = kmalloc(item_size, GFP_NOFS); in overwrite_item()
791 name = kmalloc(name_len, GFP_NOFS); in drop_one_dir_item()
967 victim_name = kmalloc(victim_name_len, GFP_NOFS); in __add_inode_ref()
1030 victim_name = kmalloc(victim_name_len, GFP_NOFS); in __add_inode_ref()
1110 *name = kmalloc(*namelen, GFP_NOFS); in extref_get_fields()
1132 *name = kmalloc(*namelen, GFP_NOFS); in ref_get_fields()
1640 name = kmalloc(name_len, GFP_NOFS); in replay_one_name()
1889 name = kmalloc(name_len, GFP_NOFS); in check_item_in_log()
2009 name = kmalloc(name_len, GFP_NOFS); in replay_xattr_deletes()
[all …]
Dtransaction.c195 cur_trans = kmem_cache_alloc(btrfs_transaction_cachep, GFP_NOFS); in join_transaction()
469 h = kmem_cache_alloc(btrfs_trans_handle_cachep, GFP_NOFS); in start_transaction()
878 mark, &cached_state, GFP_NOFS); in btrfs_write_marked_extents()
940 0, 0, &cached_state, GFP_NOFS); in btrfs_wait_marked_extents()
1283 new_root_item = kmalloc(sizeof(*new_root_item), GFP_NOFS); in create_pending_snapshot()
1640 ac = kmalloc(sizeof(*ac), GFP_NOFS); in btrfs_commit_transaction_async()
Dcheck-integrity.c429 b = kzalloc(sizeof(*b), GFP_NOFS); in btrfsic_block_alloc()
457 l = kzalloc(sizeof(*l), GFP_NOFS); in btrfsic_block_link_alloc()
487 ds = kzalloc(sizeof(*ds), GFP_NOFS); in btrfsic_dev_state_alloc()
667 selected_super = kzalloc(sizeof(*selected_super), GFP_NOFS); in btrfsic_process_superblock()
959 sf = kzalloc(sizeof(*sf), GFP_NOFS); in btrfsic_stack_frame_alloc()
1661 num_pages, GFP_NOFS); in btrfsic_read_block()
1667 block_ctx->pagev[i] = alloc_page(GFP_NOFS); in btrfsic_read_block()
1677 bio = btrfs_io_bio_alloc(GFP_NOFS, num_pages - i); in btrfsic_read_block()
2994 sizeof(*mapped_datav), GFP_NOFS); in __btrfsic_submit_bio()
Dctree.c48 path = kmem_cache_zalloc(btrfs_path_cachep, GFP_NOFS); in btrfs_alloc_path()
818 GFP_NOFS); in tree_mod_log_eb_copy()
826 MOD_LOG_KEY_REMOVE, GFP_NOFS); in tree_mod_log_eb_copy()
833 MOD_LOG_KEY_ADD, GFP_NOFS); in tree_mod_log_eb_copy()
877 nr_items, GFP_NOFS); in tree_mod_log_eb_move()
889 atomic ? GFP_ATOMIC : GFP_NOFS); in tree_mod_log_set_node_key()
908 tm_list = kcalloc(nritems, sizeof(struct tree_mod_elem *), GFP_NOFS); in tree_mod_log_free_eb()
914 MOD_LOG_KEY_REMOVE_WHILE_FREEING, GFP_NOFS); in tree_mod_log_free_eb()
947 new_root_node, GFP_NOFS, log_removal); in tree_mod_log_set_root_pointer()
1190 MOD_LOG_KEY_REPLACE, GFP_NOFS); in __btrfs_cow_block()
[all …]
Dioctl.c671 pending_snapshot = kzalloc(sizeof(*pending_snapshot), GFP_NOFS); in create_snapshot()
1000 unlock_extent_cached(io_tree, start, end, &cached, GFP_NOFS); in defrag_lookup_extent()
1145 &cached_state, GFP_NOFS); in cluster_pages_for_defrag()
1205 &cached_state, GFP_NOFS); in cluster_pages_for_defrag()
1217 &cached_state, GFP_NOFS); in cluster_pages_for_defrag()
1221 GFP_NOFS); in cluster_pages_for_defrag()
1286 ra = kzalloc(sizeof(*ra), GFP_NOFS); in btrfs_defrag_file()
1295 GFP_NOFS); in btrfs_defrag_file()
4064 dest = kmalloc(alloc_size, GFP_NOFS); in btrfs_ioctl_space_info()
4590 bctl = kzalloc(sizeof(*bctl), GFP_NOFS); in btrfs_ioctl_balance()
[all …]
Dextent-tree.c235 start, end, EXTENT_UPTODATE, GFP_NOFS); in add_excluded_extent()
237 start, end, EXTENT_UPTODATE, GFP_NOFS); in add_excluded_extent()
250 start, end, EXTENT_UPTODATE, GFP_NOFS); in free_excluded_extents()
252 start, end, EXTENT_UPTODATE, GFP_NOFS); in free_excluded_extents()
540 caching_ctl = kzalloc(sizeof(*caching_ctl), GFP_NOFS); in cache_block_group()
1890 return blkdev_issue_discard(bdev, start >> 9, len >> 9, GFP_NOFS, 0); in btrfs_issue_discard()
2758 async = kmalloc(sizeof(*async), GFP_NOFS); in btrfs_async_run_delayed_refs()
3701 found = kzalloc(sizeof(*found), GFP_NOFS); in update_space_info()
4961 block_rsv = kmalloc(sizeof(*block_rsv), GFP_NOFS); in btrfs_alloc_block_rsv()
5688 GFP_NOFS | __GFP_NOFAIL); in update_block_group()
[all …]
Drelocation.c250 node = kzalloc(sizeof(*node), GFP_NOFS); in alloc_backref_node()
274 edge = kzalloc(sizeof(*edge), GFP_NOFS); in alloc_backref_edge()
1281 node = kmalloc(sizeof(*node), GFP_NOFS);
1376 root_item = kmalloc(sizeof(*root_item), GFP_NOFS);
2811 EXTENT_DIRTY, GFP_NOFS);
3110 ra = kzalloc(sizeof(*ra), GFP_NOFS);
3177 EXTENT_BOUNDARY, GFP_NOFS);
3326 block = kmalloc(sizeof(*block), GFP_NOFS);
3618 block = kmalloc(sizeof(*block), GFP_NOFS);
4052 GFP_NOFS);
[all …]
/linux-4.1.27/fs/quota/
Dnetlink.c57 skb = genlmsg_new(msg_size, GFP_NOFS); in quota_send_warning()
92 genlmsg_multicast(&quota_genl_family, skb, 0, 0, GFP_NOFS); in quota_send_warning()
/linux-4.1.27/fs/afs/
Dfsclient.c306 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_fetch_file_status()
486 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_fetch_data64()
529 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_fetch_data()
614 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_give_up_callbacks()
713 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_create()
796 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_remove()
884 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_link()
991 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_symlink()
1097 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_rename()
1209 return afs_make_call(&server->addr, call, GFP_NOFS, wait_mode); in afs_fs_store_data64()
[all …]
Drxrpc.c95 socket->sk->sk_allocation = GFP_NOFS; in afs_open_socket()
223 call = kzalloc(sizeof(*call), GFP_NOFS); in afs_alloc_flat_call()
236 call->request = kmalloc(request_size, GFP_NOFS); in afs_alloc_flat_call()
242 call->buffer = kmalloc(reply_size, GFP_NOFS); in afs_alloc_flat_call()
Dsecurity.c188 GFP_NOFS); in afs_cache_permit()
/linux-4.1.27/fs/logfs/
Ddev_bdev.c88 bio = bio_alloc(GFP_NOFS, max_pages); in __bdev_writeseg()
108 bio = bio_alloc(GFP_NOFS, max_pages); in __bdev_writeseg()
180 bio = bio_alloc(GFP_NOFS, max_pages); in do_erase()
200 bio = bio_alloc(GFP_NOFS, max_pages); in do_erase()
Dsegment.c21 err = btree_insert32(head, segno, (void *)1, GFP_NOFS); in logfs_mark_segment_bad()
64 page = find_or_create_page(mapping, index, GFP_NOFS); in get_mapping_page()
182 return btree_insert128(head, ino, index, val, GFP_NOFS); in alias_tree_insert()
219 item = mempool_alloc(super->s_alias_pool, GFP_NOFS); in logfs_load_object_aliases()
543 item = mempool_alloc(super->s_alias_pool, GFP_NOFS); in move_page_to_btree()
919 mapping_set_gfp_mask(mapping, GFP_NOFS); in logfs_init_mapping()
Dinode.c230 li = kmem_cache_alloc(logfs_inode_cache, GFP_NOFS); in logfs_alloc_inode()
273 mapping_set_gfp_mask(&inode->i_data, GFP_NOFS); in logfs_new_meta_inode()
Dgc.c137 btree_insert32(&super->s_reserved_segments, segno, (void *)1, GFP_NOFS); in logfs_gc_segment()
304 cand = kmalloc(sizeof(*cand), GFP_NOFS); in add_candidate()
313 btree_insert32(&super->s_cand_tree, segno, cand, GFP_NOFS); in add_candidate()
Dreadwrite.c278 logfs_pack_index(bix, level), GFP_NOFS); in logfs_get_read_page()
321 page = __page_cache_alloc(GFP_NOFS); in logfs_get_write_page()
324 err = add_to_page_cache_lru(page, mapping, index, GFP_NOFS); in logfs_get_write_page()
590 block = mempool_alloc(super->s_block_pool, GFP_NOFS); in __alloc_block()
1223 shadow = mempool_alloc(super->s_shadow_pool, GFP_NOFS); in alloc_shadow()
1245 GFP_NOFS); in mark_segment()
1291 GFP_NOFS); in fill_shadow_tree()
1294 GFP_NOFS); in fill_shadow_tree()
/linux-4.1.27/fs/ocfs2/
Dacl.c55 acl = posix_acl_alloc(count, GFP_NOFS); in ocfs2_acl_from_xattr()
95 ocfs2_acl = kmalloc(*size, GFP_NOFS); in ocfs2_acl_to_xattr()
144 value = kmalloc(retval, GFP_NOFS); in ocfs2_get_acl_nolock()
378 ret = __posix_acl_create(&acl, GFP_NOFS, &mode); in ocfs2_init_acl()
Dquota_local.c259 newchunk = kmem_cache_alloc(ocfs2_qf_chunk_cachep, GFP_NOFS); in ocfs2_load_local_quota_bitmaps()
302 rc = kmalloc(sizeof(struct ocfs2_recovery_chunk), GFP_NOFS); in ocfs2_add_recovery_chunk()
306 rc->rc_bitmap = kmalloc(sb->s_blocksize, GFP_NOFS); in ocfs2_add_recovery_chunk()
376 rec = kmalloc(sizeof(struct ocfs2_quota_recovery), GFP_NOFS); in ocfs2_alloc_quota_recovery()
700 oinfo = kmalloc(sizeof(struct ocfs2_mem_dqinfo), GFP_NOFS); in ocfs2_local_read_info()
993 chunk = kmem_cache_alloc(ocfs2_qf_chunk_cachep, GFP_NOFS); in ocfs2_local_quota_add_chunk()
Dsysfile.c75 GFP_NOFS); in get_local_system_inode()
Duptodate.c413 new = kmem_cache_alloc(ocfs2_uptodate_cachep, GFP_NOFS); in __ocfs2_set_buffer_uptodate()
425 GFP_NOFS); in __ocfs2_set_buffer_uptodate()
Daops.c693 zero_len >> 9, GFP_NOFS, false); in ocfs2_direct_IO_zero_extend()
759 GFP_NOFS, false); in ocfs2_direct_IO_extend_no_holes()
915 zero_len_head >> 9, GFP_NOFS, false); in ocfs2_direct_IO_write()
1288 wc = kzalloc(sizeof(struct ocfs2_write_ctxt), GFP_NOFS); in ocfs2_alloc_write_ctxt()
1525 GFP_NOFS); in ocfs2_grab_pages_for_write()
1849 page = find_or_create_page(mapping, 0, GFP_NOFS); in ocfs2_write_begin_inline()
Ddcache.c295 dl = kmalloc(sizeof(*dl), GFP_NOFS); in ocfs2_dentry_attach_lock()
/linux-4.1.27/fs/ext3/
Dacl.c34 acl = posix_acl_alloc(count, GFP_NOFS); in ext3_acl_from_disk()
95 sizeof(ext3_acl_entry), GFP_NOFS); in ext3_acl_to_disk()
161 value = kmalloc(retval, GFP_NOFS); in ext3_get_acl()
/linux-4.1.27/fs/ubifs/
Dxattr.c147 ui->data = kmemdup(value, size, GFP_NOFS); in create_xattr()
212 ui->data = kmemdup(value, size, GFP_NOFS); in change_xattr()
321 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in setxattr()
390 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_getxattr()
553 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_removexattr()
634 strlen(xattr->name) + 1, GFP_NOFS); in init_xattrs()
Dlog.c182 bud = kmalloc(sizeof(struct ubifs_bud), GFP_NOFS); in ubifs_add_bud_to_log()
185 ref = kzalloc(c->ref_node_alsz, GFP_NOFS); in ubifs_add_bud_to_log()
372 buf = cs = kmalloc(max_len, GFP_NOFS); in ubifs_log_start_commit()
568 dr = kzalloc(sizeof(struct done_ref), GFP_NOFS); in done_already()
Djournal.c579 dent = kmalloc(len, GFP_NOFS); in ubifs_jnl_update()
708 data = kmalloc(dlen, GFP_NOFS | __GFP_NOWARN); in ubifs_jnl_write_data()
801 ino = kmalloc(len, GFP_NOFS); in ubifs_jnl_write_inode()
963 dent = kmalloc(len, GFP_NOFS); in ubifs_jnl_rename()
1110 buf = kmalloc(out_len * WORST_COMPR_FACTOR, GFP_NOFS); in recomp_data_node()
1165 ino = kmalloc(sz, GFP_NOFS); in ubifs_jnl_truncate()
1311 xent = kmalloc(len, GFP_NOFS); in ubifs_jnl_delete_xattr()
1418 ino = kmalloc(aligned_len, GFP_NOFS); in ubifs_jnl_change_xattr()
Dscan.c145 sleb = kzalloc(sizeof(struct ubifs_scan_leb), GFP_NOFS); in ubifs_start_scan()
201 snod = kmalloc(sizeof(struct ubifs_scan_node), GFP_NOFS); in ubifs_add_snod()
Dorphan.c70 orphan = kzalloc(sizeof(struct ubifs_orphan), GFP_NOFS); in ubifs_add_orphan()
774 orphan = kzalloc(sizeof(struct check_orphan), GFP_NOFS); in dbg_ins_check_orphan()
888 buf = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL); in dbg_scan_orphans()
926 ci.node = kmalloc(UBIFS_MAX_INO_NODE_SZ, GFP_NOFS); in dbg_check_orphans()
Dtnc_misc.c279 idx = kmalloc(c->max_idx_node_sz, GFP_NOFS); in read_znode()
418 znode = kzalloc(c->max_znode_sz, GFP_NOFS); in ubifs_load_znode()
Dlpt.c1208 nnode = kzalloc(sizeof(struct ubifs_nnode), GFP_NOFS); in ubifs_read_nnode()
1271 pnode = kzalloc(sizeof(struct ubifs_pnode), GFP_NOFS); in read_pnode()
1501 n = kmalloc(sizeof(struct ubifs_nnode), GFP_NOFS); in dirty_cow_nnode()
1552 p = kmalloc(sizeof(struct ubifs_pnode), GFP_NOFS); in dirty_cow_pnode()
1702 c->lsave = kmalloc(sizeof(int) * c->lsave_cnt, GFP_NOFS); in lpt_init_wr()
1945 GFP_NOFS); in ubifs_lpt_scan_nolock()
1991 nnode = kmemdup(&path[h].nnode, sz, GFP_NOFS); in ubifs_lpt_scan_nolock()
2008 pnode = kmemdup(&path[h].pnode, sz, GFP_NOFS); in ubifs_lpt_scan_nolock()
Dtnc.c82 old_idx = kmalloc(sizeof(struct ubifs_old_idx), GFP_NOFS); in insert_old_idx()
201 zn = kmalloc(c->max_znode_sz, GFP_NOFS); in copy_znode()
331 lnc_node = kmemdup(node, zbr->len, GFP_NOFS); in lnc_add()
530 dent = kmalloc(zbr->len, GFP_NOFS); in matches_name()
818 dent = kmalloc(zbr->len, GFP_NOFS); in fallible_matches_name()
1091 GFP_NOFS); in dirty_cow_bottom_up()
1996 zn = kzalloc(c->max_znode_sz, GFP_NOFS); in tnc_insert()
2107 zi = kzalloc(c->max_znode_sz, GFP_NOFS); in tnc_insert()
2800 dent = kmalloc(zbr->len, GFP_NOFS); in ubifs_tnc_next_ent()
Dfile.c129 dn = kmalloc(UBIFS_MAX_DATA_NODE_SZ, GFP_NOFS); in do_readpage()
757 bu->buf = kmalloc(bu->buf_len, GFP_NOFS | __GFP_NOWARN); in ubifs_do_bulk_read()
786 GFP_NOFS | __GFP_COLD); in ubifs_do_bulk_read()
865 bu = kmalloc(sizeof(struct bu_info), GFP_NOFS | __GFP_NOWARN); in ubifs_bulk_read()
Dcommit.c537 idx = kmalloc(c->max_idx_node_sz, GFP_NOFS); in dbg_old_index_check_init()
599 i = kmalloc(sz, GFP_NOFS); in dbg_check_old_index()
Dsuper.c119 ino = kmalloc(UBIFS_MAX_INO_NODE_SZ, GFP_NOFS); in ubifs_iget()
165 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget()
191 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget()
205 ui->data = kmalloc(sizeof(union ubifs_dev_desc), GFP_NOFS); in ubifs_iget()
261 ui = kmem_cache_alloc(ubifs_inode_slab, GFP_NOFS); in ubifs_alloc_inode()
1237 c->cbuf = kmalloc(sz, GFP_NOFS); in mount_ubifs()
Ddir.c198 dent = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS); in ubifs_lookup()
794 dev = kmalloc(sizeof(union ubifs_dev_desc), GFP_NOFS); in ubifs_mknod()
884 ui->data = kmalloc(len + 1, GFP_NOFS); in ubifs_symlink()
Dgc.c540 idx_gc = kmalloc(sizeof(struct ubifs_gced_idx_leb), GFP_NOFS); in ubifs_garbage_collect_leb()
886 idx_gc = kmalloc(sizeof(struct ubifs_gced_idx_leb), GFP_NOFS); in ubifs_gc_start_commit()
Ddebug.c820 buf = __vmalloc(c->leb_size, GFP_NOFS, PAGE_KERNEL); in ubifs_dump_leb()
1183 dent1 = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS); in dbg_check_key_order()
1186 dent2 = kmalloc(UBIFS_MAX_DENT_NODE_SZ, GFP_NOFS); in dbg_check_key_order()
1822 fscki = kzalloc(sizeof(struct fsck_inode), GFP_NOFS); in add_inode()
1939 ino = kmalloc(zbr->len, GFP_NOFS); in read_add_inode()
1993 node = kmalloc(zbr->len, GFP_NOFS); in check_leaf()
2234 ino = kmalloc(zbr->len, GFP_NOFS); in check_inodes()
/linux-4.1.27/security/tomoyo/
Daudit.c25 char *buffer = kzalloc(tomoyo_buffer_len, GFP_NOFS); in tomoyo_print_bprm()
153 char *buffer = kmalloc(tomoyo_buffer_len, GFP_NOFS); in tomoyo_print_header()
270 buf = kzalloc(len, GFP_NOFS); in tomoyo_init_log()
370 entry = kzalloc(sizeof(*entry), GFP_NOFS); in tomoyo_write_log2()
Dmemory.c74 void *ptr = kzalloc(size, GFP_NOFS); in tomoyo_commit_ok()
168 ptr = kzalloc(sizeof(*ptr) + len, GFP_NOFS); in tomoyo_get_name()
Ddomain.c458 entry = kzalloc(sizeof(*entry) + len + 1, GFP_NOFS); in tomoyo_assign_namespace()
608 arg_ptr = kzalloc(TOMOYO_EXEC_TMPSIZE, GFP_NOFS); in tomoyo_environ()
685 struct tomoyo_execve *ee = kzalloc(sizeof(*ee), GFP_NOFS); in tomoyo_find_next_domain()
689 ee->tmp = kzalloc(TOMOYO_EXEC_TMPSIZE, GFP_NOFS); in tomoyo_find_next_domain()
871 dump->data = kzalloc(PAGE_SIZE, GFP_NOFS); in tomoyo_dump_page()
Drealpath.c43 cp = kzalloc(len + 10, GFP_NOFS); in tomoyo_encode2()
265 buf = kmalloc(buf_len, GFP_NOFS); in tomoyo_realpath_from_path()
Dsecurityfs_if.c46 data = kzalloc(count + 1, GFP_NOFS); in tomoyo_write_self()
Dcommon.c494 entry = kzalloc(sizeof(*entry), GFP_NOFS); in tomoyo_assign_profile()
1967 buffer = kmalloc(len, GFP_NOFS); in tomoyo_add_entry()
2162 buf = kzalloc(len + 32, GFP_NOFS); in tomoyo_read_query()
2347 struct tomoyo_io_buffer *head = kzalloc(sizeof(*head), GFP_NOFS); in tomoyo_open_control()
2412 head->read_buf = kzalloc(head->readbuf_size, GFP_NOFS); in tomoyo_open_control()
2426 head->write_buf = kzalloc(head->writebuf_size, GFP_NOFS); in tomoyo_open_control()
2603 char *cp = kzalloc(len, GFP_NOFS); in tomoyo_write_control()
/linux-4.1.27/include/trace/events/
Dgfpflags.h19 {(unsigned long)GFP_NOFS, "GFP_NOFS"}, \
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Ddir.c166 page_pool = kcalloc(max_pages, sizeof(page), GFP_NOFS); in ll_dir_filler()
644 msp = kzalloc(sizeof(*msp), GFP_NOFS); in ll_send_mgc_param()
756 param = kzalloc(MGS_PARAM_MAXLEN, GFP_NOFS); in ll_dir_setstripe()
1064 copy = kzalloc(size, GFP_NOFS); in copy_and_ioctl()
1155 oqctl = kzalloc(sizeof(*oqctl), GFP_NOFS); in quotactl_ioctl()
1176 oqctl_tmp = kzalloc(sizeof(*oqctl_tmp), GFP_NOFS); in quotactl_ioctl()
1415 tmp = kzalloc(lum_size, GFP_NOFS); in ll_dir_ioctl()
1646 oqctl = kzalloc(sizeof(*oqctl), GFP_NOFS); in ll_dir_ioctl()
1670 check = kzalloc(sizeof(*check), GFP_NOFS); in ll_dir_ioctl()
1700 qctl = kzalloc(sizeof(*qctl), GFP_NOFS); in ll_dir_ioctl()
[all …]
Dxattr_cache.c123 OBD_SLAB_ALLOC_PTR_GFP(xattr, xattr_kmem, GFP_NOFS); in ll_xattr_cache_add()
129 xattr->xe_name = kstrdup(xattr_name, GFP_NOFS); in ll_xattr_cache_add()
135 xattr->xe_value = kmemdup(xattr_val, xattr_val_len, GFP_NOFS); in ll_xattr_cache_add()
Dllite_rmtacl.c81 rce = kzalloc(sizeof(*rce), GFP_NOFS); in rce_alloc()
187 ee = kzalloc(sizeof(*ee), GFP_NOFS); in ee_alloc()
Dllite_close.c286 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in ll_done_writing()
366 lcq = kzalloc(sizeof(*lcq), GFP_NOFS); in ll_close_thread_start()
Dfile.c67 OBD_SLAB_ALLOC_PTR_GFP(fd, ll_file_data_slab, GFP_NOFS); in ll_file_data_get()
149 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in ll_close_inode_openhandle()
650 *och_p = kzalloc(sizeof(struct obd_client_handle), GFP_NOFS); in ll_file_open()
802 och = kzalloc(sizeof(*och), GFP_NOFS); in ll_lease_open()
1654 och = kzalloc(sizeof(*och), GFP_NOFS); in ll_release_openhandle()
1764 gfout = kzalloc(outsize, GFP_NOFS); in ll_fid2path()
1872 obdo = kzalloc(sizeof(*obdo), GFP_NOFS); in ll_data_version()
1960 llss = kzalloc(sizeof(*llss), GFP_NOFS); in ll_swap_layouts()
2154 hss = kzalloc(sizeof(*hss), GFP_NOFS); in ll_hsm_import()
2167 attr = kzalloc(sizeof(*attr), GFP_NOFS); in ll_hsm_import()
[all …]
Dsymlink.c109 lli->lli_symlink_name = kzalloc(symlen, GFP_NOFS); in ll_readlink_internal()
Dsuper25.c55 OBD_SLAB_ALLOC_PTR_GFP(lli, ll_inode_cachep, GFP_NOFS); in ll_alloc_inode()
Dllite_lib.c78 sbi = kzalloc(sizeof(*sbi), GFP_NOFS); in ll_init_sbi()
174 data = kzalloc(sizeof(*data), GFP_NOFS); in client_common_fill_super()
178 osfs = kzalloc(sizeof(*osfs), GFP_NOFS); in client_common_fill_super()
490 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in client_common_fill_super()
925 cfg = kzalloc(sizeof(*cfg), GFP_NOFS); in ll_fill_super()
980 dt = kasprintf(GFP_NOFS, "%s-%p", lprof->lp_dt, cfg->cfg_instance); in ll_fill_super()
986 md = kasprintf(GFP_NOFS, "%s-%p", lprof->lp_md, cfg->cfg_instance); in ll_fill_super()
1365 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in ll_setattr_raw()
1952 ioc_data = kzalloc(sizeof(*ioc_data), GFP_NOFS); in ll_umount_begin()
2181 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in ll_prep_md_op_data()
Dvvp_dev.c83 OBD_SLAB_ALLOC_PTR_GFP(info, vvp_thread_kmem, GFP_NOFS); in vvp_key_init()
102 OBD_SLAB_ALLOC_PTR_GFP(session, vvp_session_kmem, GFP_NOFS); in vvp_session_key_init()
Ddcache.c190 lld = kzalloc(sizeof(*lld), GFP_NOFS); in ll_d_init()
Dstatahead.c205 entry = kzalloc(entry_size, GFP_NOFS); in ll_sa_entry_alloc()
467 sai = kzalloc(sizeof(*sai), GFP_NOFS); in ll_sai_alloc()
813 einfo = kzalloc(sizeof(*einfo), GFP_NOFS); in sa_args_init()
817 minfo = kzalloc(sizeof(*minfo), GFP_NOFS); in sa_args_init()
Dllite_nfs.c109 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in search_inode_for_lustre()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_dev.c125 OBD_SLAB_ALLOC_PTR_GFP(info, osc_thread_kmem, GFP_NOFS); in osc_key_init()
150 OBD_SLAB_ALLOC_PTR_GFP(info, osc_session_kmem, GFP_NOFS); in osc_session_init()
Dosc_object.c260 OBD_SLAB_ALLOC_PTR_GFP(osc, osc_object_kmem, GFP_NOFS); in osc_object_alloc()
/linux-4.1.27/fs/reiserfs/
Dxattr_acl.c73 acl = posix_acl_alloc(count, GFP_NOFS); in reiserfs_posix_acl_from_disk()
134 GFP_NOFS); in reiserfs_posix_acl_to_disk()
207 value = kmalloc(size, GFP_NOFS); in reiserfs_get_acl()
Ddir.c183 GFP_NOFS); in reiserfs_readdir_inode()
/linux-4.1.27/fs/xfs/
Dxfs_discard.c126 error = blkdev_issue_discard(bdev, dbno, dlen, GFP_NOFS, 0); in xfs_trim_extents()
227 GFP_NOFS, 0); in xfs_discard_extents()
Dxfs_mru_cache.c440 if (radix_tree_preload(GFP_NOFS)) in xfs_mru_cache_insert()
/linux-4.1.27/fs/ocfs2/dlmfs/
Ddlmfs.c153 fp = kmalloc(sizeof(*fp), GFP_NOFS); in dlmfs_file_open()
267 lvb_buf = kmalloc(readlen, GFP_NOFS); in dlmfs_file_read()
315 lvb_buf = kmalloc(writelen, GFP_NOFS); in dlmfs_file_write()
346 ip = kmem_cache_alloc(dlmfs_inode_cache, GFP_NOFS); in dlmfs_alloc_inode()
/linux-4.1.27/fs/f2fs/
Dacl.c65 acl = posix_acl_alloc(count, GFP_NOFS); in f2fs_acl_from_disk()
119 sizeof(struct f2fs_acl_entry), GFP_NOFS); in f2fs_acl_to_disk()
352 *acl = f2fs_acl_clone(p, GFP_NOFS); in f2fs_acl_create()
Dtrace.c63 if (radix_tree_preload(GFP_NOFS)) in f2fs_trace_pid()
Dcheckpoint.c325 if (radix_tree_preload(GFP_NOFS)) { in __add_ino_entry()
706 new = f2fs_kmem_cache_alloc(inode_entry_slab, GFP_NOFS); in update_dirty_page()
726 f2fs_kmem_cache_alloc(inode_entry_slab, GFP_NOFS); in add_dirty_dir_inode()
Dgc.c357 new_ie = f2fs_kmem_cache_alloc(inode_entry_slab, GFP_NOFS); in add_gc_inode()
698 .iroot = RADIX_TREE_INIT(GFP_NOFS), in f2fs_gc()
/linux-4.1.27/fs/hpfs/
Dbuffer.c113 qbh->data = data = kmalloc(2048, GFP_NOFS); in hpfs_map_4sectors()
163 if (!(qbh->data = kmalloc(2048, GFP_NOFS))) { in hpfs_get_4sectors()
Dea.c53 if (!(ret = kmalloc(size + 1, GFP_NOFS))) { in get_indirect_ea()
141 if (!(ret = kmalloc((*size = ea_valuelen(ea)) + 1, GFP_NOFS))) { in hpfs_get_ea()
167 if (!(ret = kmalloc((*size = ea_valuelen(ea)) + 1, GFP_NOFS))) { in hpfs_get_ea()
Ddnode.c34 if (!(ppos = kmalloc((i+0x11) * sizeof(loff_t*), GFP_NOFS))) { in hpfs_add_pos()
248 if (!(nname = kmalloc(256, GFP_NOFS))) { in hpfs_add_to_dnode()
285 if (!nd) if (!(nd = kmalloc(0x924, GFP_NOFS))) { in hpfs_add_to_dnode()
493 if (!(nde = kmalloc(le16_to_cpu(de->length), GFP_NOFS))) { in move_to_top()
607 if (!(de_cp = kmalloc(le16_to_cpu(de->length), GFP_NOFS))) { in delete_empty_dnode()
670 if (!(de_cp = kmalloc(le16_to_cpu(de_prev->length), GFP_NOFS))) { in delete_empty_dnode()
1011 if (!(name2 = kmalloc(256, GFP_NOFS))) { in map_fnode_dirent()
/linux-4.1.27/net/9p/
Dutil.c93 idr_preload(GFP_NOFS); in p9_idpool_get()
Dprotocol.c157 *sptr = kmalloc(len + 1, GFP_NOFS); in p9pdu_vreadf()
246 GFP_NOFS); in p9pdu_vreadf()
290 GFP_NOFS); in p9pdu_vreadf()
Dtrans_rdma.c463 rpl_context = kmalloc(sizeof *rpl_context, GFP_NOFS); in rdma_request()
492 c = kmalloc(sizeof *c, GFP_NOFS); in rdma_request()
/linux-4.1.27/fs/jfs/
Djfs_discard.c50 r = sb_issue_discard(sb, blkno, nblocks, GFP_NOFS, 0); in jfs_issue_discard()
Djfs_unicode.c124 kmalloc((length + 1) * sizeof(wchar_t), GFP_NOFS); in get_UCSname()
Djfs_metapage.c110 a = kzalloc(sizeof(struct meta_anchor), GFP_NOFS); in insert_metapage()
432 bio = bio_alloc(GFP_NOFS, 1); in metapage_writepage()
511 bio = bio_alloc(GFP_NOFS, 1); in metapage_readpage()
663 mp = alloc_metapage(GFP_NOFS); in __get_metapage()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd_support.h644 #define OBD_ALLOC(ptr, size) OBD_ALLOC_GFP(ptr, size, GFP_NOFS)
653 OBD_CPT_ALLOC_GFP(ptr, cptab, cpt, size, GFP_NOFS)
796 OBD_SLAB_ALLOC_GFP(ptr, slab, size, GFP_NOFS)
799 OBD_SLAB_CPT_ALLOC_GFP(ptr, slab, cptab, cpt, size, GFP_NOFS)
/linux-4.1.27/security/integrity/ima/
Dima_api.c49 sizeof(struct ima_field_data), GFP_NOFS); in ima_alloc_init_template()
227 GFP_NOFS); in ima_collect_measurement()
Dima_appraise.c174 0, GFP_NOFS); in ima_read_xattr()
/linux-4.1.27/fs/gfs2/
Ddir.c359 hc = kmalloc(hsize, GFP_NOFS | __GFP_NOWARN); in gfs2_dir_get_hash_table()
361 hc = __vmalloc(hsize, GFP_NOFS, PAGE_KERNEL); in gfs2_dir_get_hash_table()
1013 lp = kmalloc(half_len * sizeof(__be64), GFP_NOFS); in dir_split_leaf()
1126 hc2 = kmalloc(hsize_bytes * 2, GFP_NOFS | __GFP_NOWARN); in dir_double_exhash()
1128 hc2 = __vmalloc(hsize_bytes * 2, GFP_NOFS, PAGE_KERNEL); in dir_double_exhash()
1287 ptr = kmalloc(size, GFP_NOFS | __GFP_NOWARN); in gfs2_alloc_sort_buffer()
1289 ptr = __vmalloc(size, GFP_NOFS, PAGE_KERNEL); in gfs2_alloc_sort_buffer()
1503 darr = kmalloc(96 * sizeof(struct gfs2_dirent *), GFP_NOFS); in gfs2_dir_read()
1897 ht = kzalloc(size, GFP_NOFS | __GFP_NOWARN); in leaf_dealloc()
1899 ht = __vmalloc(size, GFP_NOFS | __GFP_NOWARN | __GFP_ZERO, in leaf_dealloc()
Dacl.c99 data = kmalloc(len, GFP_NOFS); in gfs2_set_acl()
Dtrans.c43 tr = kzalloc(sizeof(struct gfs2_trans), GFP_NOFS); in gfs2_trans_begin()
131 bd = kmem_cache_zalloc(gfs2_bufdata_cachep, GFP_NOFS | __GFP_NOFAIL); in gfs2_alloc_bufdata()
Drgrp.c610 ip->i_res = kmem_cache_zalloc(gfs2_rsrv_cachep, GFP_NOFS); in gfs2_rs_alloc()
775 rgd->rd_bits = kcalloc(length, sizeof(struct gfs2_bitmap), GFP_NOFS); in compute_bitstructs()
913 rgd = kmem_cache_zalloc(gfs2_rgrpd_cachep, GFP_NOFS); in read_rindex_entry()
1302 GFP_NOFS, 0); in gfs2_rgrp_send_discards()
1318 rv = sb_issue_discard(sb, start, nr_blks, GFP_NOFS, 0); in gfs2_rgrp_send_discards()
2181 GFP_NOFS | __GFP_NOFAIL); in rgblk_free()
2567 GFP_NOFS | __GFP_NOFAIL); in gfs2_rlist_add()
2597 GFP_NOFS | __GFP_NOFAIL); in gfs2_rlist_alloc()
Dbmap.c64 page = find_or_create_page(inode->i_mapping, 0, GFP_NOFS); in gfs2_unstuffer_page()
569 GFP_NOFS); in gfs2_bmap_alloc()
942 page = find_or_create_page(mapping, index, GFP_NOFS); in gfs2_block_truncate_page()
1370 jext = kzalloc(sizeof(struct gfs2_journal_extent), GFP_NOFS); in gfs2_add_jextent()
Dquota.c219 qd = kmem_cache_zalloc(gfs2_quotad_cachep, GFP_NOFS); in qd_alloc()
719 page = find_or_create_page(mapping, index, GFP_NOFS); in gfs2_adjust_quota()
812 ghs = kcalloc(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); in do_sync()
1276 sdp->sd_quota_bitmap = kzalloc(bm_size, GFP_NOFS | __GFP_NOWARN); in gfs2_quota_init()
1278 sdp->sd_quota_bitmap = __vmalloc(bm_size, GFP_NOFS | in gfs2_quota_init()
Dlock_dlm.c1015 ls->ls_lvb_bits = kzalloc(GDLM_LVB_SIZE, GFP_NOFS); in set_recover_size()
1033 submit = kcalloc(new_size, sizeof(uint32_t), GFP_NOFS); in set_recover_size()
1034 result = kcalloc(new_size, sizeof(uint32_t), GFP_NOFS); in set_recover_size()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_dev.c146 OBD_SLAB_ALLOC_PTR_GFP(info, lov_thread_kmem, GFP_NOFS); in lov_key_init()
173 OBD_SLAB_ALLOC_PTR_GFP(info, lov_session_kmem, GFP_NOFS); in lov_session_key_init()
263 OBD_SLAB_ALLOC_PTR_GFP(lr, lov_req_kmem, GFP_NOFS); in lov_req_init()
Dlovsub_object.c148 OBD_SLAB_ALLOC_PTR_GFP(los, lovsub_object_kmem, GFP_NOFS); in lovsub_object_alloc()
Dlovsub_dev.c149 OBD_SLAB_ALLOC_PTR_GFP(lsr, lovsub_req_kmem, GFP_NOFS); in lovsub_req_init()
Dlov_ea.c103 OBD_SLAB_ALLOC_PTR_GFP(loi, lov_oinfo_slab, GFP_NOFS); in lsm_alloc_plain()
Dlovsub_lock.c456 OBD_SLAB_ALLOC_PTR_GFP(lsk, lovsub_lock_kmem, GFP_NOFS); in lovsub_lock_init()
Dlov_lock.c147 OBD_SLAB_ALLOC_PTR_GFP(link, lov_lock_link_kmem, GFP_NOFS); in lov_sublock_alloc()
1142 OBD_SLAB_ALLOC_PTR_GFP(lck, lov_lock_kmem, GFP_NOFS); in lov_lock_init_raid0()
1177 OBD_SLAB_ALLOC_PTR_GFP(lck, lov_lock_kmem, GFP_NOFS); in lov_lock_init_empty()
/linux-4.1.27/security/integrity/evm/
Devm_main.c128 GFP_NOFS); in evm_verify_hmac()
458 xattr_data = kzalloc(sizeof(*xattr_data), GFP_NOFS); in evm_inode_init_security()
Devm_crypto.c158 &xattr_value, xattr_size, GFP_NOFS); in evm_calc_hmac_or_hash()
/linux-4.1.27/drivers/mtd/ubi/
Deba.c140 le = kmalloc(sizeof(struct ubi_ltree_entry), GFP_NOFS); in ltree_add_entry()
406 vid_hdr = ubi_zalloc_vid_hdr(ubi, GFP_NOFS); in ubi_eba_read_leb()
579 vid_hdr = ubi_zalloc_vid_hdr(ubi, GFP_NOFS); in recover_peb()
712 vid_hdr = ubi_zalloc_vid_hdr(ubi, GFP_NOFS); in ubi_eba_write_leb()
826 vid_hdr = ubi_zalloc_vid_hdr(ubi, GFP_NOFS); in ubi_eba_write_leb_st()
948 vid_hdr = ubi_zalloc_vid_hdr(ubi, GFP_NOFS); in ubi_eba_atomic_leb_change()
Dwl.c451 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_NOFS); in sync_erase()
592 wl_wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in schedule_erase()
622 wl_wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in do_sync_erase()
660 vid_hdr = ubi_zalloc_vid_hdr(ubi, GFP_NOFS);
994 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS);
1679 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_NOFS);
Dio.c1206 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_NOFS); in self_check_peb_ec_hdr()
1292 vid_hdr = ubi_zalloc_vid_hdr(ubi, GFP_NOFS); in self_check_peb_vid_hdr()
1344 buf1 = __vmalloc(len, GFP_NOFS, PAGE_KERNEL); in self_check_write()
1408 buf = __vmalloc(len, GFP_NOFS, PAGE_KERNEL); in ubi_self_check_all_ff()
Dfastmap-wl.c267 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in ubi_ensure_anchor_pebs()
/linux-4.1.27/fs/nilfs2/
Dgcinode.c173 mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS); in nilfs_init_gcinode()
Dbtnode.c191 err = radix_tree_preload(GFP_NOFS & ~__GFP_HIGHMEM); in nilfs_btnode_prepare_change_key()
Dthe_nilfs.c683 GFP_NOFS, 0); in nilfs_discard_segments()
693 GFP_NOFS, 0); in nilfs_discard_segments()
Drecovery.c361 rb = kmalloc(sizeof(*rb), GFP_NOFS); in nilfs_scan_dsync_log()
405 struct nilfs_segment_entry *ent = kmalloc(sizeof(*ent), GFP_NOFS); in nilfs_segment_list_add()
/linux-4.1.27/include/linux/
Df2fs_fs.h40 #define GFP_F2FS_ZERO (GFP_NOFS | __GFP_ZERO)
41 #define GFP_F2FS_HIGH_ZERO (GFP_NOFS | __GFP_ZERO | __GFP_HIGHMEM)
Dgfp.h112 #define GFP_NOFS (__GFP_WAIT | __GFP_IO) macro
/linux-4.1.27/fs/9p/
Dacl.c36 value = kzalloc(size, GFP_NOFS); in __v9fs_get_acl()
203 retval = __posix_acl_create(&acl, GFP_NOFS, &mode); in v9fs_acl_mode()
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c119 OBD_SLAB_ALLOC_PTR_GFP(info, ccc_thread_kmem, GFP_NOFS); in ccc_key_init()
138 OBD_SLAB_ALLOC_PTR_GFP(session, ccc_session_kmem, GFP_NOFS); in ccc_session_key_init()
255 OBD_SLAB_ALLOC_PTR_GFP(vrq, ccc_req_kmem, GFP_NOFS); in ccc_req_init()
331 OBD_SLAB_ALLOC_PTR_GFP(vob, ccc_object_kmem, GFP_NOFS); in ccc_object_alloc()
400 OBD_SLAB_ALLOC_PTR_GFP(clk, ccc_lock_kmem, GFP_NOFS); in ccc_lock_init()
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h153 LIBCFS_ALLOC_GFP(ptr, size, GFP_NOFS)
177 LIBCFS_CPT_ALLOC_GFP(ptr, cptab, cpt, size, GFP_NOFS)
/linux-4.1.27/crypto/
D842.c56 ctx->nx842_wmem = kmalloc(wmemsize, GFP_NOFS); in nx842_init()
/linux-4.1.27/fs/nfs/blocklayout/
Dextent_tree.c522 arg->layoutupdate_page = alloc_page(GFP_NOFS); in ext_tree_prepare_commit()
538 sizeof(struct page *), GFP_NOFS); in ext_tree_prepare_commit()
542 start_p = __vmalloc(buffer_size, GFP_NOFS, PAGE_KERNEL); in ext_tree_prepare_commit()
/linux-4.1.27/fs/udf/
Dunicode.c358 filename = kmalloc(sizeof(struct ustr), GFP_NOFS); in udf_get_filename()
362 unifilename = kmalloc(sizeof(struct ustr), GFP_NOFS); in udf_get_filename()
Ddir.c70 fname = kmalloc(UDF_NAME_LEN, GFP_NOFS); in udf_readdir()
/linux-4.1.27/fs/ocfs2/dlm/
Ddlmdebug.c332 buf = (char *) get_zeroed_page(GFP_NOFS); in dlm_print_one_mle()
419 buf = (char *) get_zeroed_page(GFP_NOFS); in debug_purgelist_open()
476 buf = (char *) get_zeroed_page(GFP_NOFS); in debug_mle_open()
867 buf = (char *) get_zeroed_page(GFP_NOFS); in debug_state_open()
Ddlmlock.c429 lock = kmem_cache_zalloc(dlm_lock_cache, GFP_NOFS); in dlm_new_lock()
435 lksb = kzalloc(sizeof(*lksb), GFP_NOFS); in dlm_new_lock()
Ddlmmaster.c616 res = kmem_cache_zalloc(dlm_lockres_cache, GFP_NOFS); in dlm_new_lockres()
620 res->lockname.name = kmem_cache_zalloc(dlm_lockname_cache, GFP_NOFS); in dlm_new_lockres()
808 alloc_mle = kmem_cache_alloc(dlm_mle_cache, GFP_NOFS); in dlm_get_lock_resource()
1596 mle = kmem_cache_alloc(dlm_mle_cache, GFP_NOFS); in dlm_master_request_handler()
2351 item = kzalloc(sizeof(*item), GFP_NOFS); in dlm_deref_lockres_handler()
2500 mres = (struct dlm_migratable_lockres *) __get_free_page(GFP_NOFS); in dlm_migrate_lockres()
2506 mle = kmem_cache_alloc(dlm_mle_cache, GFP_NOFS); in dlm_migrate_lockres()
3052 mle = kmem_cache_alloc(dlm_mle_cache, GFP_NOFS); in dlm_migrate_request_handler()
/linux-4.1.27/fs/jbd2/
Dtransaction.c383 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle()
465 return jbd2__journal_start(journal, nblocks, 0, GFP_NOFS, 0, 0); in jbd2_journal_start()
516 ret = start_this_handle(journal, handle, GFP_NOFS); in jbd2_journal_start_reserved()
673 return jbd2__journal_restart(handle, nblocks, GFP_NOFS); in jbd2_journal_restart()
926 GFP_NOFS); in do_get_write_access()
1160 committed_data = jbd2_alloc(jh2bh(jh)->b_size, GFP_NOFS); in jbd2_journal_get_undo_access()
/linux-4.1.27/net/sunrpc/auth_gss/
Dauth_gss.c172 dest->data = kmemdup(p, len, GFP_NOFS); in simple_get_netobj()
198 ctx = kzalloc(sizeof(*ctx), GFP_NOFS); in gss_alloc_context()
261 ret = gss_import_sec_context(p, seclen, gm, &ctx->gc_gss_ctx, NULL, GFP_NOFS); in gss_fill_context()
496 gss_msg = kzalloc(sizeof(*gss_msg), GFP_NOFS); in gss_alloc_msg()
688 buf = kmalloc(mlen, GFP_NOFS); in gss_pipe_downcall()
1316 if (!(cred = kzalloc(sizeof(*cred), GFP_NOFS))) in gss_create_cred()
1737 GFP_NOFS); in alloc_enc_pages()
1741 rqstp->rq_enc_pages[i] = alloc_page(GFP_NOFS); in alloc_enc_pages()
/linux-4.1.27/security/integrity/
Diint.c102 iint = kmem_cache_alloc(iint_cache, GFP_NOFS); in integrity_inode_get()
/linux-4.1.27/fs/cifs/
Dmisc.c165 ret_buf = mempool_alloc(cifs_req_poolp, GFP_NOFS); in cifs_buf_get()
202 ret_buf = mempool_alloc(cifs_sm_req_poolp, GFP_NOFS); in cifs_small_buf_get()
/linux-4.1.27/fs/nfs/
Dnfs4session.c179 if (!IS_ERR(nfs4_find_or_create_slot(tbl, max_reqs - 1, ivalue, GFP_NOFS))) in nfs4_grow_slot_table()
470 session = kzalloc(sizeof(struct nfs4_session), GFP_NOFS); in nfs4_alloc_session()
/linux-4.1.27/fs/befs/
Dlinuxvfs.c485 link = kmalloc(len, GFP_NOFS); in befs_follow_link()
540 *out = result = kmalloc(maxlen, GFP_NOFS); in befs_utf2nls()
620 *out = result = kmalloc(maxlen, GFP_NOFS); in befs_nls2utf()
Dbtree.c267 GFP_NOFS); in befs_btree_find()
442 this_node = kmalloc(sizeof(struct befs_btree_node), GFP_NOFS); in befs_btree_read()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_extent.c105 OBD_SLAB_ALLOC_PTR_GFP(node, ldlm_interval_slab, GFP_NOFS); in ldlm_interval_alloc()
/linux-4.1.27/fs/jbd/
Dtransaction.c103 GFP_NOFS|__GFP_NOFAIL); in start_this_handle()
245 handle_t *handle = jbd_alloc_handle(GFP_NOFS); in new_handle()
676 GFP_NOFS); in do_get_write_access()
899 committed_data = jbd_alloc(jh2bh(jh)->b_size, GFP_NOFS); in journal_get_undo_access()
Djournal.c329 new_bh = alloc_buffer_head(GFP_NOFS|__GFP_NOFAIL); in journal_write_metadata_buffer()
367 tmp = jbd_alloc(bh_in->b_size, GFP_NOFS); in journal_write_metadata_buffer()
1872 ret = kmem_cache_zalloc(journal_head_cache, GFP_NOFS); in journal_alloc_journal_head()
1880 ret = kmem_cache_zalloc(journal_head_cache, GFP_NOFS); in journal_alloc_journal_head()
/linux-4.1.27/net/sunrpc/
Dauth_unix.c71 if (!(cred = kmalloc(sizeof(*cred), GFP_NOFS))) in unx_create_cred()
/linux-4.1.27/fs/nfs/objlayout/
Dobjio_osd.c471 page = find_or_create_page(mapping, index, GFP_NOFS); in __r4w_get_page()
508 hdr->args.offset, hdr->args.count, hdr, GFP_NOFS, in objio_write_pagelist()
/linux-4.1.27/fs/ufs/
Dutil.c29 ubh = kmalloc (sizeof (struct ufs_buffer_head), GFP_NOFS); in _ubh_bread_()
/linux-4.1.27/fs/
Dposix_acl.c565 *acl = posix_acl_clone(p, GFP_NOFS); in posix_acl_create()
685 acl = posix_acl_alloc(count, GFP_NOFS); in posix_acl_from_xattr()
/linux-4.1.27/fs/fat/
Dcache.c63 return kmem_cache_alloc(fat_cache_cachep, GFP_NOFS); in fat_cache_alloc()

12