Home
last modified time | relevance | path

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

12

/linux-4.4.14/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.c348 cl = kzalloc(sizeof(struct dlm_cluster), GFP_NOFS); in make_cluster()
349 gps = kcalloc(3, sizeof(struct config_group *), GFP_NOFS); in make_cluster()
350 sps = kzalloc(sizeof(struct dlm_spaces), GFP_NOFS); in make_cluster()
351 cms = kzalloc(sizeof(struct dlm_comms), GFP_NOFS); in make_cluster()
423 sp = kzalloc(sizeof(struct dlm_space), GFP_NOFS); in make_space()
424 gps = kcalloc(2, sizeof(struct config_group *), GFP_NOFS); in make_space()
425 nds = kzalloc(sizeof(struct dlm_nodes), GFP_NOFS); in make_space()
477 cm = kzalloc(sizeof(struct dlm_comm), GFP_NOFS); in make_comm()
515 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node()
624 addr = kzalloc(sizeof(*addr), GFP_NOFS); in comm_addr_store()
[all …]
Dlowcomms.c369 new_node = kzalloc(sizeof(struct dlm_node_addr), GFP_NOFS); in dlm_lowcomms_addr()
373 new_addr = kzalloc(sizeof(struct sockaddr_storage), GFP_NOFS); in dlm_lowcomms_addr()
461 con = nodeid2con(nodeid, GFP_NOFS); in dlm_lowcomms_connect_node()
515 con->sock->sk->sk_allocation = GFP_NOFS; in add_sock()
736 newcon = nodeid2con(nodeid, GFP_NOFS); in tcp_accept_from_sock()
746 othercon = kmem_cache_zalloc(con_cache, GFP_NOFS); in tcp_accept_from_sock()
847 newcon = nodeid2con(nodeid, GFP_NOFS); in sctp_accept_from_sock()
859 othercon = kmem_cache_zalloc(con_cache, GFP_NOFS); in sctp_accept_from_sock()
1235 addr = kmalloc(sizeof(*addr), GFP_NOFS); in init_local()
1248 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()
518 kbuf = kzalloc(count + 1, GFP_NOFS); in device_write()
544 GFP_NOFS); in device_write()
640 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()
Drequestqueue.c39 e = kmalloc(sizeof(struct rq_entry) + length, GFP_NOFS); in dlm_add_requestqueue()
Dnetlink.c30 skb = genlmsg_new(size, GFP_NOFS); in prepare_data()
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()
/linux-4.4.14/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.c30 cache = kzalloc(sizeof(*cache), GFP_NOFS); in init_test_block_group()
34 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.4.14/drivers/staging/lustre/lustre/obdclass/
Dobd_mount.c86 bufs = kzalloc(sizeof(*bufs), GFP_NOFS); in lustre_process_log()
231 mgcname = kasprintf(GFP_NOFS, in lustre_start_mgc()
233 niduuid = kasprintf(GFP_NOFS, "%s_%x", mgcname, i); in lustre_start_mgc()
241 data = kzalloc(sizeof(*data), GFP_NOFS); in lustre_start_mgc()
322 uuid = kzalloc(sizeof(*uuid), GFP_NOFS); in lustre_start_mgc()
457 niduuid = kzalloc(len, GFP_NOFS); in lustre_stop_mgc()
495 lsi = kzalloc(sizeof(*lsi), GFP_NOFS); in lustre_init_lsi()
498 lsi->lsi_lmd = kzalloc(sizeof(*lsi->lsi_lmd), GFP_NOFS); in lustre_init_lsi()
739 exclude_list = kcalloc(devmax, sizeof(index), GFP_NOFS); in lmd_make_exclusion()
769 sizeof(index), GFP_NOFS); in lmd_make_exclusion()
[all …]
Dacl.c106 new = kmemdup(*header, new_size, GFP_NOFS); in lustre_posix_acl_xattr_reduce_space()
126 new = kmemdup(*header, ext_size, GFP_NOFS); in lustre_ext_acl_xattr_reduce_space()
151 new = kzalloc(esize, GFP_NOFS); in lustre_posix_acl_xattr_2ext()
182 new = kzalloc(size, GFP_NOFS); in lustre_posix_acl_xattr_filter()
311 new = kzalloc(ext_size, GFP_NOFS); in lustre_acl_xattr_merge2ext()
Dllog.c62 loghandle = kzalloc(sizeof(*loghandle), GFP_NOFS); in llog_alloc_handle()
149 llh = kzalloc(sizeof(*llh), GFP_NOFS); in llog_init_handle()
225 buf = kzalloc(LLOG_CHUNK_SIZE, GFP_NOFS); in llog_process_thread()
368 lpi = kzalloc(sizeof(*lpi), GFP_NOFS); in llog_process_or_fork()
Dgenops.c71 obd = kmem_cache_alloc(obd_device_cachep, GFP_NOFS | __GFP_ZERO); in obd_device_alloc()
169 type = kzalloc(sizeof(*type), GFP_NOFS); in class_register_type()
173 type->typ_dt_ops = kzalloc(sizeof(*type->typ_dt_ops), GFP_NOFS); in class_register_type()
174 type->typ_md_ops = kzalloc(sizeof(*type->typ_md_ops), GFP_NOFS); in class_register_type()
175 type->typ_name = kzalloc(strlen(name) + 1, GFP_NOFS); in class_register_type()
729 export = kzalloc(sizeof(*export), GFP_NOFS); in class_new_export()
915 imp = kzalloc(sizeof(*imp), GFP_NOFS); in class_new_import()
Dobd_config.c631 lprof = kzalloc(sizeof(*lprof), GFP_NOFS); in class_add_profile()
637 lprof->lp_profile = kmemdup(prof, proflen, GFP_NOFS); in class_add_profile()
644 lprof->lp_dt = kmemdup(osc, osclen, GFP_NOFS); in class_add_profile()
652 lprof->lp_md = kmemdup(mdc, mdclen, GFP_NOFS); in class_add_profile()
1172 inst_name = kasprintf(GFP_NOFS, "%s-%p", in class_config_llog_handler()
1353 outstr = kzalloc(256, GFP_NOFS); in class_config_dump_handler()
Dlustre_peer.c107 data = kzalloc(sizeof(*data), GFP_NOFS); in class_add_uuid()
Dlustre_handles.c189 GFP_NOFS); in class_handle_init()
Dllog_obd.c48 ctxt = kzalloc(sizeof(*ctxt), GFP_NOFS); in llog_new_ctxt()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_request.c205 tmp_oa = kmem_cache_alloc(obdo_cachep, GFP_NOFS | __GFP_ZERO); in common_attr_done()
277 set = kzalloc(sizeof(*set), GFP_NOFS); in lov_prep_getattr_set()
303 req = kzalloc(sizeof(*req), GFP_NOFS); in lov_prep_getattr_set()
313 GFP_NOFS | __GFP_ZERO); in lov_prep_getattr_set()
360 set = kzalloc(sizeof(*set), GFP_NOFS); in lov_prep_destroy_set()
386 req = kzalloc(sizeof(*req), GFP_NOFS); in lov_prep_destroy_set()
396 GFP_NOFS | __GFP_ZERO); in lov_prep_destroy_set()
480 set = kzalloc(sizeof(*set), GFP_NOFS); in lov_prep_setattr_set()
503 req = kzalloc(sizeof(*req), GFP_NOFS); in lov_prep_setattr_set()
512 GFP_NOFS | __GFP_ZERO); in lov_prep_setattr_set()
[all …]
Dlov_dev.c145 info = kmem_cache_alloc(lov_thread_kmem, GFP_NOFS | __GFP_ZERO); in lov_key_init()
173 info = kmem_cache_alloc(lov_session_kmem, GFP_NOFS | __GFP_ZERO); in lov_session_key_init()
264 lr = kmem_cache_alloc(lov_req_kmem, GFP_NOFS | __GFP_ZERO); in lov_req_init()
326 emerg = kcalloc(nr, sizeof(emerg[0]), GFP_NOFS); in lov_emerg_alloc()
332 em = kzalloc(sizeof(*em), GFP_NOFS); in lov_emerg_alloc()
372 newd = kcalloc(tgt_size, sz, GFP_NOFS); in lov_expand_targets()
481 ld = kzalloc(sizeof(*ld), GFP_NOFS); in lov_device_alloc()
Dlovsub_dev.c149 lsr = kmem_cache_alloc(lovsub_req_kmem, GFP_NOFS | __GFP_ZERO); in lovsub_req_init()
175 lsd = kzalloc(sizeof(*lsd), GFP_NOFS); in lovsub_device_alloc()
Dlov_pool.c212 iter = kzalloc(sizeof(*iter), GFP_NOFS); in pool_proc_start()
307 op->op_array = kcalloc(op->op_size, sizeof(op->op_array[0]), GFP_NOFS); in lov_ost_pool_init()
327 new = kcalloc(new_size, sizeof(op->op_array[0]), GFP_NOFS); in lov_ost_pool_extend()
411 new_pool = kzalloc(sizeof(*new_pool), GFP_NOFS); in lov_pool_new()
Dlov_ea.c98 lsm = libcfs_kvzalloc(*size, GFP_NOFS); in lsm_alloc_plain()
103 loi = kmem_cache_alloc(lov_oinfo_slab, GFP_NOFS | __GFP_ZERO); in lsm_alloc_plain()
Dlovsub_object.c146 los = kmem_cache_alloc(lovsub_object_kmem, GFP_NOFS | __GFP_ZERO); in lovsub_object_alloc()
Dlov_pack.c181 *lmmp = libcfs_kvzalloc(lmm_size, GFP_NOFS); in lov_packmd()
267 buffer = libcfs_kvzalloc(sz, GFP_NOFS); in lov_verify_lmm()
Dlov_lock.c147 link = kmem_cache_alloc(lov_lock_link_kmem, GFP_NOFS | __GFP_ZERO); in lov_sublock_alloc()
318 lck->lls_sub = libcfs_kvzalloc(nr * sizeof(lck->lls_sub[0]), GFP_NOFS); in lov_lock_sub_init()
1142 lck = kmem_cache_alloc(lov_lock_kmem, GFP_NOFS | __GFP_ZERO); in lov_lock_init_raid0()
1178 lck = kmem_cache_alloc(lov_lock_kmem, GFP_NOFS | __GFP_ZERO); in lov_lock_init_empty()
Dlov_io.c182 GFP_NOFS); in lov_io_sub_init()
290 GFP_NOFS); in lov_io_subio_init()
609 GFP_NOFS); in lov_io_submit()
/linux-4.4.14/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.4.14/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()
601 req = kzalloc(sizeof(*req), GFP_NOFS); in ceph_monc_do_statfs()
610 req->request = ceph_msg_new(CEPH_MSG_STATFS, sizeof(*h), GFP_NOFS, in ceph_monc_do_statfs()
614 req->reply = ceph_msg_new(CEPH_MSG_STATFS_REPLY, 1024, GFP_NOFS, in ceph_monc_do_statfs()
682 req = kzalloc(sizeof(*req), GFP_NOFS); in ceph_monc_do_get_version()
692 GFP_NOFS, true); in ceph_monc_do_get_version()
699 GFP_NOFS, true); in ceph_monc_do_get_version()
836 GFP_NOFS, true); in ceph_monc_init()
840 monc->m_subscribe = ceph_msg_new(CEPH_MSG_MON_SUBSCRIBE, 96, GFP_NOFS, in ceph_monc_init()
845 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()
123 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.c79 *obuf = kmalloc(len, GFP_NOFS); in ceph_x_decrypt()
116 th = kzalloc(sizeof(*th), GFP_NOFS); in get_ticket_handler()
320 au->buf = ceph_buffer_new(maxlen, GFP_NOFS); in ceph_x_build_authorizer()
565 au = kzalloc(sizeof(*au), GFP_NOFS); in ceph_x_create_authorizer()
762 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()
/linux-4.4.14/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()
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()
940 newname = kmemdup(name, name_len + 1, GFP_NOFS); in __ceph_setxattr()
945 newval = kmemdup(value, val_len, GFP_NOFS); in __ceph_setxattr()
950 xattr = kmalloc(sizeof(struct ceph_inode_xattr), GFP_NOFS); in __ceph_setxattr()
985 blob = ceph_buffer_new(required_blob_size, GFP_NOFS); in __ceph_setxattr()
1054 req->r_path2 = kstrdup(name, GFP_NOFS); in ceph_send_removexattr()
1124 blob = ceph_buffer_new(required_blob_size, GFP_NOFS); in __ceph_removexattr()
Dacl.c63 value = kzalloc(size, GFP_NOFS); in ceph_get_acl()
118 value = kmalloc(size, GFP_NOFS); in ceph_set_acl()
Dsnap.c113 realm = kzalloc(sizeof(*realm), GFP_NOFS); in ceph_create_snap_realm()
345 snapc = ceph_create_snap_context(num, GFP_NOFS); in build_snap_context()
421 *dst = kcalloc(num, sizeof(u64), GFP_NOFS); in dup_array()
462 capsnap = kzalloc(sizeof(*capsnap), GFP_NOFS); in ceph_queue_cap_snap()
993 ceph_empty_snapc = ceph_create_snap_context(0, GFP_NOFS); in ceph_snap_init()
Dmds_client.c433 s = kzalloc(sizeof(*s), GFP_NOFS); in register_session()
471 sa = kcalloc(newmax, sizeof(void *), GFP_NOFS); in register_session()
840 msg = ceph_msg_new(CEPH_MSG_CLIENT_SESSION, sizeof(*h), GFP_NOFS, in create_session_msg()
884 GFP_NOFS, false); in create_session_open_msg()
1605 PAGE_CACHE_SIZE, GFP_NOFS, false); in ceph_send_cap_releases()
1706 struct ceph_mds_request *req = kzalloc(sizeof(*req), GFP_NOFS); in ceph_mdsc_create_request()
1789 path = kmalloc(len+1, GFP_NOFS); in ceph_mdsc_build_path()
1959 msg = ceph_msg_new(CEPH_MSG_CLIENT_REQUEST, len, GFP_NOFS, false); in create_request_message()
2857 sizeof(struct ceph_filelock), GFP_NOFS); in encode_caps_cb()
2921 pagelist = kmalloc(sizeof(*pagelist), GFP_NOFS); in send_mds_reconnect()
[all …]
Daddr.c902 GFP_NOFS); in ceph_writepages_start()
905 pages = mempool_alloc(pool, GFP_NOFS); in ceph_writepages_start()
1507 page = __page_cache_alloc(GFP_NOFS); in ceph_uninline_data()
1670 1, false, GFP_NOFS); in __ceph_pool_perm_get()
1685 1, false, GFP_NOFS); in __ceph_pool_perm_get()
1731 perm = kmalloc(sizeof(*perm), GFP_NOFS); in __ceph_pool_perm_get()
/linux-4.4.14/fs/btrfs/
Dbackref.c60 e = kmalloc(sizeof(*e), GFP_NOFS); in check_extent_in_eb()
265 ret = ulist_add(parents, eb->start, 0, GFP_NOFS); in add_all_parents()
310 eie, (void **)&old, GFP_NOFS); in add_all_parents()
438 parents = ulist_alloc(GFP_NOFS); in __resolve_indirect_refs()
480 GFP_NOFS); in __resolve_indirect_refs()
774 bytenr, 1, GFP_NOFS); in __add_inline_refs()
783 bytenr, count, GFP_NOFS); in __add_inline_refs()
789 bytenr, 1, GFP_NOFS); in __add_inline_refs()
810 bytenr, count, GFP_NOFS); in __add_inline_refs()
861 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.c345 cb = kmalloc(compressed_bio_size(root, compressed_len), GFP_NOFS); in btrfs_submit_compressed_write()
361 bio = compressed_bio_alloc(bdev, first_byte, GFP_NOFS); in btrfs_submit_compressed_write()
409 bio = compressed_bio_alloc(bdev, first_byte, GFP_NOFS); in btrfs_submit_compressed_write()
490 if (add_to_page_cache_lru(page, mapping, pg_index, GFP_NOFS)) { in add_ra_bio_pages()
598 cb = kmalloc(compressed_bio_size(root, compressed_len), GFP_NOFS); in btrfs_submit_compressed_read()
622 GFP_NOFS); in btrfs_submit_compressed_read()
629 cb->compressed_pages[pg_index] = alloc_page(GFP_NOFS | in btrfs_submit_compressed_read()
650 comp_bio = compressed_bio_alloc(bdev, cur_disk_byte, GFP_NOFS); in btrfs_submit_compressed_read()
704 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()
Ddelayed-ref.c767 ref = kmem_cache_alloc(btrfs_delayed_tree_ref_cachep, GFP_NOFS); in btrfs_add_delayed_tree_ref()
771 head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS); in btrfs_add_delayed_tree_ref()
776 record = kmalloc(sizeof(*record), GFP_NOFS); in btrfs_add_delayed_tree_ref()
823 ref = kmem_cache_alloc(btrfs_delayed_data_ref_cachep, GFP_NOFS); in btrfs_add_delayed_data_ref()
827 head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS); in btrfs_add_delayed_data_ref()
834 record = kmalloc(sizeof(*record), GFP_NOFS); in btrfs_add_delayed_data_ref()
899 head_ref = kmem_cache_alloc(btrfs_delayed_ref_head_cachep, GFP_NOFS); in btrfs_add_delayed_extent_op()
Dscrub.c464 sctx = kzalloc(sizeof(*sctx), GFP_NOFS); in scrub_setup_ctx()
475 sbio = kzalloc(sizeof(*sbio), GFP_NOFS); in scrub_setup_ctx()
708 page = find_or_create_page(inode->i_mapping, index, GFP_NOFS); in scrub_fixup_readpage()
748 EXTENT_DAMAGED, GFP_NOFS); in scrub_fixup_readpage()
766 EXTENT_DAMAGED, GFP_NOFS); in scrub_fixup_readpage()
956 sizeof(*sblocks_for_recheck), GFP_NOFS); in scrub_handle_errored_block()
1052 fixup_nodatasum = kzalloc(sizeof(*fixup_nodatasum), GFP_NOFS); in scrub_handle_errored_block()
1343 recover = kzalloc(sizeof(struct scrub_recover), GFP_NOFS); in scrub_setup_recheck_block()
1365 page = kzalloc(sizeof(*page), GFP_NOFS); in scrub_setup_recheck_block()
1406 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.c1409 cached_state, GFP_NOFS, NULL); in lock_extent_bits()
1431 &failed_start, NULL, GFP_NOFS, NULL); in try_lock_extent()
1435 EXTENT_LOCKED, 1, 0, NULL, GFP_NOFS); in try_lock_extent()
1451 GFP_NOFS); in unlock_extent()
1810 &cached_state, GFP_NOFS); in find_lock_delalloc_range()
1836 clear_extent_bit(tree, start, end, clear_bits, 1, 0, NULL, GFP_NOFS); in extent_clear_unlock_delalloc()
2070 EXTENT_LOCKED | EXTENT_DIRTY, GFP_NOFS); in free_io_failure()
2076 EXTENT_DAMAGED, GFP_NOFS); in free_io_failure()
2113 bio = btrfs_io_bio_alloc(GFP_NOFS, 1); in repair_io_failure()
2285 failrec = kzalloc(sizeof(*failrec), GFP_NOFS); in btrfs_get_io_failure_record()
[all …]
Dqgroup.c315 fs_info->qgroup_ulist = ulist_alloc(GFP_NOFS); in btrfs_read_qgroup_config()
875 fs_info->qgroup_ulist = ulist_alloc(GFP_NOFS); in btrfs_quota_enable()
1155 tmp = ulist_alloc(GFP_NOFS); in btrfs_add_qgroup_relation()
1215 tmp = ulist_alloc(GFP_NOFS); in __del_qgroup_relation()
1686 qgroups = ulist_alloc(GFP_NOFS); in btrfs_qgroup_account_extent()
1691 tmp = ulist_alloc(GFP_NOFS); in btrfs_qgroup_account_extent()
2524 changeset.range_changed = ulist_alloc(GFP_NOFS); in btrfs_qgroup_reserve_data()
2526 start + len -1, EXTENT_QGROUP_RESERVED, GFP_NOFS, in btrfs_qgroup_reserve_data()
2546 GFP_NOFS); in btrfs_qgroup_reserve_data()
2559 changeset.range_changed = ulist_alloc(GFP_NOFS); in __btrfs_qgroup_release_data()
[all …]
Dasync-thread.c100 struct __btrfs_workqueue *ret = kzalloc(sizeof(*ret), GFP_NOFS); in __btrfs_alloc_workqueue()
151 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()
346 re = kzalloc(sizeof(*re), GFP_NOFS); in reada_find_extent()
569 rec = kzalloc(sizeof(*rec), GFP_NOFS); in reada_add_block()
794 rmw = kzalloc(sizeof(*rmw), GFP_NOFS); in reada_start_machine()
929 rc = kzalloc(sizeof(*rc), GFP_NOFS); in btrfs_reada_add()
Dinode.c354 async_extent = kmalloc(sizeof(*async_extent), GFP_NOFS); in add_async_extent()
481 pages = kcalloc(nr_pages, sizeof(struct page *), GFP_NOFS); in compress_file_range()
1138 1, 0, NULL, GFP_NOFS); in cow_file_range_async()
1140 async_cow = kmalloc(sizeof(*async_cow), GFP_NOFS); in cow_file_range_async()
1959 cached_state, GFP_NOFS); in btrfs_set_extent_delalloc()
2002 page_end, &cached_state, GFP_NOFS); in btrfs_writepage_fixup_worker()
2023 &cached_state, GFP_NOFS); in btrfs_writepage_fixup_worker()
2054 fixup = kzalloc(sizeof(*fixup), GFP_NOFS); in btrfs_writepage_start_hook()
2343 backref = kmalloc(sizeof(*backref), GFP_NOFS); in record_one_backref()
2613 &cached, GFP_NOFS); in relink_extent_backref()
[all …]
Dprops.c225 name_buf = kmalloc(name_buf_len, GFP_NOFS); in iterate_object_props()
241 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()
Dsuper.c396 options = kstrdup(options, GFP_NOFS); in btrfs_parse_options()
867 name = kmalloc(PATH_MAX, GFP_NOFS); in get_subvol_name_from_objectid()
1248 return kstrdup("subvolid=0", GFP_NOFS); in setup_root_args()
1251 buf = dst = kmalloc(strlen(args) + strlen(",subvolid=0") + 1, GFP_NOFS); in setup_root_args()
1478 fs_info = kzalloc(sizeof(struct btrfs_fs_info), GFP_NOFS); in btrfs_mount()
1486 fs_info->super_copy = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_NOFS); in btrfs_mount()
1487 fs_info->super_for_commit = kzalloc(BTRFS_SUPER_INFO_SIZE, GFP_NOFS); in btrfs_mount()
1824 GFP_NOFS); in btrfs_calc_avail_data_space()
Dfree-space-cache.c293 ra = kzalloc(sizeof(*ra), GFP_NOFS); in readahead_cache()
325 io_ctl->pages = kcalloc(num_pages, sizeof(struct page *), GFP_NOFS); in io_ctl_init()
750 GFP_NOFS); in __load_free_space_cache()
778 e->bitmap = kzalloc(PAGE_CACHE_SIZE, GFP_NOFS); in __load_free_space_cache()
999 GFP_NOFS); in update_cache_item()
1013 NULL, GFP_NOFS); in update_cache_item()
1114 GFP_NOFS); in flush_dirty_cache()
1140 GFP_NOFS); in cleanup_write_cache_enospc()
1318 i_size_read(inode) - 1, &cached_state, GFP_NOFS); in __btrfs_write_out_cache()
2112 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()
755 end_io_wq = kmem_cache_alloc(btrfs_end_io_wq_cache, GFP_NOFS); in btrfs_bio_wq_end_io()
840 async = kmalloc(sizeof(*async), GFP_NOFS); in btrfs_wq_submit_bio()
1043 btree_releasepage(page, GFP_NOFS); in btree_invalidatepage()
1195 writers = kmalloc(sizeof(*writers), GFP_NOFS); in btrfs_alloc_subvolume_writers()
1293 struct btrfs_root *root = kzalloc(sizeof(*root), GFP_NOFS); in btrfs_alloc_root()
1563 root->free_ino_ctl = kzalloc(sizeof(*root->free_ino_ctl), GFP_NOFS); in btrfs_init_fs_root()
1565 GFP_NOFS); in btrfs_init_fs_root()
1627 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()
1405 cached_state, GFP_NOFS); in lock_and_cleanup_extent_if_need()
1420 0, 0, cached_state, GFP_NOFS); in lock_and_cleanup_extent_if_need()
1647 GFP_NOFS); in __btrfs_buffered_write()
1664 NULL, GFP_NOFS); in __btrfs_buffered_write()
2420 lockend, &cached_state, GFP_NOFS); in btrfs_punch_hole()
2561 &cached_state, GFP_NOFS); in btrfs_punch_hole()
2616 range = kmalloc(sizeof(*range), GFP_NOFS); in add_falloc_range()
2717 &cached_state, GFP_NOFS); in btrfs_fallocate()
2811 &cached_state, GFP_NOFS); in btrfs_fallocate()
[all …]
Draid56.c972 GFP_NOFS); in alloc_rbio()
1022 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_pages()
1042 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_parity_pages()
1095 bio = btrfs_io_bio_alloc(GFP_NOFS, bio_max_len >> PAGE_SHIFT?:1); in rbio_add_io_page()
1811 pointers = kcalloc(rbio->real_stripes, sizeof(void *), GFP_NOFS); in __raid_recover_end_io()
2280 page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in alloc_rbio_essential_pages()
2359 p_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in finish_parity_scrub()
2365 q_page = alloc_page(GFP_NOFS | __GFP_HIGHMEM); in finish_parity_scrub()
Ddelayed-ref.h209 return kmem_cache_alloc(btrfs_delayed_extent_op_cachep, GFP_NOFS); in btrfs_alloc_delayed_extent_op()
Dsend.c307 p = kmalloc(sizeof(*p), GFP_NOFS); in fs_path_alloc()
366 tmp_buf = kmalloc(len, GFP_NOFS); in fs_path_ensure_buf()
370 tmp_buf = krealloc(p->buf, len, GFP_NOFS); in fs_path_ensure_buf()
998 buf = kmalloc(buf_len, GFP_NOFS); in iterate_dir_item()
1045 GFP_NOFS | __GFP_NOWARN); in iterate_dir_item()
1306 backref_ctx = kmalloc(sizeof(*backref_ctx), GFP_NOFS); in find_extent_clone()
1987 nce_head = kmalloc(sizeof(*nce_head), GFP_NOFS); in name_cache_insert()
2182 nce = kmalloc(sizeof(*nce) + fs_path_len(dest) + 1, GFP_NOFS); in __get_cur_name_and_parent()
2318 name = kmalloc(BTRFS_PATH_NAME_MAX, GFP_NOFS); in send_subvol_begin()
2733 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()
780 keys = kmalloc_array(nitems, sizeof(struct btrfs_key), GFP_NOFS); in btrfs_batch_insert_items()
786 data_size = kmalloc_array(nitems, sizeof(u32), GFP_NOFS); in btrfs_batch_insert_items()
1397 async_work = kmalloc(sizeof(*async_work), GFP_NOFS); in btrfs_wq_run_delayed_node()
Dtree-log.c372 dst_copy = kmalloc(item_size, GFP_NOFS); in overwrite_item()
373 src_copy = kmalloc(item_size, GFP_NOFS); in overwrite_item()
838 name = kmalloc(name_len, GFP_NOFS); in drop_one_dir_item()
1014 victim_name = kmalloc(victim_name_len, GFP_NOFS); in __add_inode_ref()
1077 victim_name = kmalloc(victim_name_len, GFP_NOFS); in __add_inode_ref()
1157 *name = kmalloc(*namelen, GFP_NOFS); in extref_get_fields()
1179 *name = kmalloc(*namelen, GFP_NOFS); in ref_get_fields()
1690 name = kmalloc(name_len, GFP_NOFS); in replay_one_name()
1991 name = kmalloc(name_len, GFP_NOFS); in check_item_in_log()
2111 name = kmalloc(name_len, GFP_NOFS); in replay_xattr_deletes()
[all …]
Dtransaction.c213 cur_trans = kmem_cache_alloc(btrfs_transaction_cachep, GFP_NOFS); in join_transaction()
503 h = kmem_cache_zalloc(btrfs_trans_handle_cachep, GFP_NOFS); in start_transaction()
922 mark, &cached_state, GFP_NOFS); in btrfs_write_marked_extents()
984 0, 0, &cached_state, GFP_NOFS); in btrfs_wait_marked_extents()
1328 new_root_item = kmalloc(sizeof(*new_root_item), GFP_NOFS); in create_pending_snapshot()
1696 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()
1192 MOD_LOG_KEY_REPLACE, GFP_NOFS); in __btrfs_cow_block()
[all …]
Dvolumes.c140 fs_devs = kzalloc(sizeof(*fs_devs), GFP_NOFS); in __alloc_fs_devices()
222 dev = kzalloc(sizeof(*dev), GFP_NOFS); in __alloc_device()
236 INIT_RADIX_TREE(&dev->reada_zones, GFP_NOFS & ~__GFP_DIRECT_RECLAIM); in __alloc_device()
237 INIT_RADIX_TREE(&dev->reada_extents, GFP_NOFS & ~__GFP_DIRECT_RECLAIM); in __alloc_device()
625 name = rcu_string_strdup(path, GFP_NOFS); in device_list_add()
677 name = rcu_string_strdup(path, GFP_NOFS); in device_list_add()
735 name = rcu_string_strdup(orig_dev->name->str, GFP_NOFS); in clone_fs_devices()
1040 index, GFP_NOFS); in btrfs_scan_one_device()
2290 name = rcu_string_strdup(device_path, GFP_NOFS); in btrfs_init_new_device()
2503 name = rcu_string_strdup(device_path, GFP_NOFS); in btrfs_init_dev_replace_tgtdev()
[all …]
Dioctl.c672 pending_snapshot = kzalloc(sizeof(*pending_snapshot), GFP_NOFS); in create_snapshot()
1001 unlock_extent_cached(io_tree, start, end, &cached, GFP_NOFS); in defrag_lookup_extent()
1151 &cached_state, GFP_NOFS); in cluster_pages_for_defrag()
1211 &cached_state, GFP_NOFS); in cluster_pages_for_defrag()
1224 &cached_state, GFP_NOFS); in cluster_pages_for_defrag()
1228 GFP_NOFS); in cluster_pages_for_defrag()
1295 ra = kzalloc(sizeof(*ra), GFP_NOFS); in btrfs_defrag_file()
1304 GFP_NOFS); in btrfs_defrag_file()
2955 src_pgarr = kzalloc(num_pages * sizeof(struct page *), GFP_NOFS); in btrfs_cmp_data_prepare()
2956 dst_pgarr = kzalloc(num_pages * sizeof(struct page *), GFP_NOFS); in btrfs_cmp_data_prepare()
[all …]
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/osc/
Dosc_dev.c125 info = kmem_cache_alloc(osc_thread_kmem, GFP_NOFS | __GFP_ZERO); in osc_key_init()
150 info = kmem_cache_alloc(osc_session_kmem, GFP_NOFS | __GFP_ZERO); in osc_session_init()
220 od = kzalloc(sizeof(*od), GFP_NOFS); in osc_device_alloc()
Dosc_object.c258 osc = kmem_cache_alloc(osc_object_kmem, GFP_NOFS | __GFP_ZERO); in osc_object_alloc()
/linux-4.4.14/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()
/linux-4.4.14/fs/ubifs/
Dxattr.c147 ui->data = kmemdup(value, size, GFP_NOFS); in create_xattr()
212 buf = kmemdup(value, size, GFP_NOFS); in change_xattr()
325 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in setxattr()
394 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_getxattr()
559 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_removexattr()
600 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 = kmemdup(nnode, sizeof(struct ubifs_nnode), GFP_NOFS); in dirty_cow_nnode()
1551 p = kmemdup(pnode, sizeof(struct ubifs_pnode), GFP_NOFS); in dirty_cow_pnode()
1700 c->lsave = kmalloc(sizeof(int) * c->lsave_cnt, GFP_NOFS); in lpt_init_wr()
1943 GFP_NOFS); in ubifs_lpt_scan_nolock()
1989 nnode = kmemdup(&path[h].nnode, sz, GFP_NOFS); in ubifs_lpt_scan_nolock()
2006 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 = kmemdup(znode, c->max_znode_sz, GFP_NOFS); in copy_znode()
330 lnc_node = kmemdup(node, zbr->len, GFP_NOFS); in lnc_add()
529 dent = kmalloc(zbr->len, GFP_NOFS); in matches_name()
817 dent = kmalloc(zbr->len, GFP_NOFS); in fallible_matches_name()
1090 GFP_NOFS); in dirty_cow_bottom_up()
1995 zn = kzalloc(c->max_znode_sz, GFP_NOFS); in tnc_insert()
2106 zi = kzalloc(c->max_znode_sz, GFP_NOFS); in tnc_insert()
2799 dent = kmalloc(zbr->len, GFP_NOFS); in ubifs_tnc_next_ent()
Dfile.c128 dn = kmalloc(UBIFS_MAX_DATA_NODE_SZ, GFP_NOFS); in do_readpage()
756 bu->buf = kmalloc(bu->buf_len, GFP_NOFS | __GFP_NOWARN); in ubifs_do_bulk_read()
785 GFP_NOFS | __GFP_COLD); in ubifs_do_bulk_read()
864 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()
168 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget()
194 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget()
209 ui->data = kmalloc(sizeof(union ubifs_dev_desc), GFP_NOFS); in ubifs_iget()
265 ui = kmem_cache_alloc(ubifs_inode_slab, GFP_NOFS); in ubifs_alloc_inode()
1241 c->cbuf = kmalloc(sz, GFP_NOFS); in mount_ubifs()
/linux-4.4.14/fs/logfs/
Ddev_bdev.c86 bio = bio_alloc(GFP_NOFS, max_pages); in __bdev_writeseg()
106 bio = bio_alloc(GFP_NOFS, max_pages); in __bdev_writeseg()
176 bio = bio_alloc(GFP_NOFS, max_pages); in do_erase()
196 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.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dsec_null.c164 req->rq_reqbuf = libcfs_kvzalloc(alloc_size, GFP_NOFS); in null_alloc_reqbuf()
207 req->rq_repbuf = libcfs_kvzalloc(msgsize, GFP_NOFS); in null_alloc_repbuf()
252 newbuf = libcfs_kvzalloc(alloc_size, GFP_NOFS); in null_enlarge_reqbuf()
321 rs = libcfs_kvzalloc(rs_size, GFP_NOFS); in null_alloc_rs()
Dsec_plain.c379 ctx_new = kzalloc(sizeof(*ctx_new), GFP_NOFS); in plain_sec_install_ctx()
446 plsec = kzalloc(sizeof(*plsec), GFP_NOFS); in plain_create_sec()
562 req->rq_reqbuf = libcfs_kvzalloc(alloc_len, GFP_NOFS); in plain_alloc_reqbuf()
616 req->rq_repbuf = libcfs_kvzalloc(alloc_len, GFP_NOFS); in plain_alloc_repbuf()
667 newbuf = libcfs_kvzalloc(newbuf_size, GFP_NOFS); in plain_enlarge_reqbuf()
803 rs = libcfs_kvzalloc(rs_size, GFP_NOFS); in plain_alloc_rs()
Dservice.c77 rqbd = kzalloc_node(sizeof(*rqbd), GFP_NOFS, in ptlrpc_alloc_rqbd()
491 kzalloc_node(sizeof(struct list_head) * size, GFP_NOFS, in ptlrpc_service_part_init()
500 kzalloc_node(sizeof(__u32) * size, GFP_NOFS, in ptlrpc_service_part_init()
591 GFP_NOFS); in ptlrpc_register_service()
637 svcpt = kzalloc_node(sizeof(*svcpt), GFP_NOFS, in ptlrpc_register_service()
1046 reqcopy = ptlrpc_request_cache_alloc(GFP_NOFS); in ptlrpc_at_send_early_reply()
1049 reqmsg = libcfs_kvzalloc(req->rq_reqlen, GFP_NOFS); in ptlrpc_at_send_early_reply()
2017 env = kzalloc(sizeof(*env), GFP_NOFS); in ptlrpc_main()
2043 rs = libcfs_kvzalloc(svc->srv_max_reply_size, GFP_NOFS); in ptlrpc_main()
2396 thread = kzalloc_node(sizeof(*thread), GFP_NOFS, in ptlrpc_start_thread()
[all …]
Dnrs_fifo.c83 head = kzalloc_node(sizeof(*head), GFP_NOFS, in nrs_fifo_start()
Dsec_config.c244 rules = kcalloc(nslot, sizeof(*rset->srs_rules), GFP_NOFS); in sptlrpc_rule_set_expand()
506 conf_tgt = kzalloc(sizeof(*conf_tgt), GFP_NOFS); in sptlrpc_conf_get_tgt()
530 conf = kzalloc(sizeof(*conf), GFP_NOFS); in sptlrpc_conf_get()
Dconnection.c57 conn = kzalloc(sizeof(*conn), GFP_NOFS); in ptlrpc_connection_get()
Dlproc_ptlrpc.c510 infos = kcalloc(num_pols, sizeof(*infos), GFP_NOFS); in ptlrpc_lprocfs_nrs_seq_show()
654 cmd = kzalloc(LPROCFS_NRS_WR_MAX_CMD, GFP_NOFS); in ptlrpc_lprocfs_nrs_seq_write()
822 srhi = kzalloc(sizeof(*srhi), GFP_NOFS); in ptlrpc_lprocfs_svc_req_history_start()
1234 kbuf = kzalloc(count + 1, GFP_NOFS); in lprocfs_wr_import()
Dclient.c109 GFP_NOFS); in ptlrpc_new_bulk()
483 req = ptlrpc_request_cache_alloc(GFP_NOFS); in ptlrpc_add_rqs_to_pool()
486 msg = libcfs_kvzalloc(size, GFP_NOFS); in ptlrpc_add_rqs_to_pool()
516 pool = kzalloc(sizeof(struct ptlrpc_request_pool), GFP_NOFS); in ptlrpc_init_rq_pool()
721 request = ptlrpc_request_cache_alloc(GFP_NOFS); in __ptlrpc_request_alloc()
834 set = kzalloc_node(sizeof(*set), GFP_NOFS, in ptlrpc_prep_set()
3033 req = ptlrpc_request_cache_alloc(GFP_NOFS); in ptlrpcd_alloc_work()
Dptlrpcd.c526 pc->pc_partners = kzalloc_node(size, GFP_NOFS, in ptlrpcd_partners()
839 pd = kzalloc_node(size, GFP_NOFS, in ptlrpcd_init()
Dnrs.c747 policy = kzalloc_node(sizeof(*policy), GFP_NOFS, in nrs_policy_register()
964 kzalloc_node(sizeof(*svcpt->scp_nrs_hp), GFP_NOFS, in nrs_svcpt_setup_locked()
1156 desc = kzalloc(sizeof(*desc), GFP_NOFS); in ptlrpc_nrs_policy_register()
/linux-4.4.14/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()
392 ret = __posix_acl_create(&acl, GFP_NOFS, &mode); in ocfs2_init_acl()
Dquota_local.c258 newchunk = kmem_cache_alloc(ocfs2_qf_chunk_cachep, GFP_NOFS); in ocfs2_load_local_quota_bitmaps()
301 rc = kmalloc(sizeof(struct ocfs2_recovery_chunk), GFP_NOFS); in ocfs2_add_recovery_chunk()
305 rc->rc_bitmap = kmalloc(sb->s_blocksize, GFP_NOFS); in ocfs2_add_recovery_chunk()
375 rec = kmalloc(sizeof(struct ocfs2_quota_recovery), GFP_NOFS); in ocfs2_alloc_quota_recovery()
699 oinfo = kmalloc(sizeof(struct ocfs2_mem_dqinfo), GFP_NOFS); in ocfs2_local_read_info()
992 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.c705 zero_len >> 9, GFP_NOFS, false); in ocfs2_direct_IO_zero_extend()
771 GFP_NOFS, false); in ocfs2_direct_IO_extend_no_holes()
936 zero_len_head >> 9, GFP_NOFS, false); in ocfs2_direct_IO_write()
1322 wc = kzalloc(sizeof(struct ocfs2_write_ctxt), GFP_NOFS); in ocfs2_alloc_write_ctxt()
1559 GFP_NOFS); in ocfs2_grab_pages_for_write()
1883 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.4.14/fs/ext4/
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.c91 alloc_buf = kmalloc(ciphertext_len, GFP_NOFS); in ext4_fname_encrypt()
98 req = ablkcipher_request_alloc(tfm, GFP_NOFS); in ext4_fname_encrypt()
165 req = ablkcipher_request_alloc(tfm, GFP_NOFS); in ext4_fname_decrypt()
290 crypto_str->name = kmalloc(olen+1, GFP_NOFS); in ext4_fname_crypto_alloc_buffer()
Dcrypto.c123 ctx = kmem_cache_zalloc(ext4_crypto_ctx_cachep, GFP_NOFS); in ext4_get_crypto_ctx()
202 ctx = kmem_cache_zalloc(ext4_crypto_ctx_cachep, GFP_NOFS); in ext4_init_crypto()
271 req = ablkcipher_request_alloc(tfm, GFP_NOFS); in ext4_page_crypto()
Dsymlink.c65 paddr = kmalloc(plen + 1, GFP_NOFS); in ext4_encrypted_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()
819 GFP_NOFS); in add_new_gdb()
897 GFP_NOFS); in add_new_gdb_meta_bg()
946 primary = kmalloc(reserved_gdb * sizeof(*primary), GFP_NOFS); in reserve_backup_gdb()
Dxattr.c831 s->base = kmalloc(bs->bh->b_size, GFP_NOFS); in ext4_xattr_block_set()
843 s->base = kzalloc(sb->s_blocksize, GFP_NOFS); in ext4_xattr_block_set()
1349 is = kzalloc(sizeof(struct ext4_xattr_ibody_find), GFP_NOFS); in ext4_expand_extra_isize_ea()
1350 bs = kzalloc(sizeof(struct ext4_xattr_block_find), GFP_NOFS); in ext4_expand_extra_isize_ea()
1399 buffer = kmalloc(EXT4_XATTR_SIZE(size), GFP_NOFS); in ext4_expand_extra_isize_ea()
1400 b_entry_name = kmalloc(entry->e_name_len + 1, GFP_NOFS); in ext4_expand_extra_isize_ea()
1537 ce = mb_cache_entry_alloc(ext4_mb_cache, GFP_NOFS); in ext4_xattr_cache_insert()
/linux-4.4.14/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.4.14/fs/f2fs/
Dcrypto_fname.c95 alloc_buf = kmalloc(ciphertext_len, GFP_NOFS); in f2fs_fname_encrypt()
102 req = ablkcipher_request_alloc(tfm, GFP_NOFS); in f2fs_fname_encrypt()
164 req = ablkcipher_request_alloc(tfm, GFP_NOFS); in f2fs_fname_decrypt()
285 crypto_str->name = kmalloc(olen + 1, GFP_NOFS); in f2fs_fname_crypto_alloc_buffer()
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()
354 clone = f2fs_acl_clone(p, GFP_NOFS); in f2fs_acl_create()
Dcrypto_key.c59 req = ablkcipher_request_alloc(tfm, GFP_NOFS); in f2fs_derive_key_aes()
154 crypt_info = kmem_cache_alloc(f2fs_crypt_info_cachep, GFP_NOFS); in _f2fs_get_encryption_info()
Dcrypto.c134 ctx = kmem_cache_zalloc(f2fs_crypto_ctx_cachep, GFP_NOFS); in f2fs_get_crypto_ctx()
338 req = ablkcipher_request_alloc(tfm, GFP_NOFS); in f2fs_page_crypto()
Dtrace.c63 if (radix_tree_preload(GFP_NOFS)) in f2fs_trace_pid()
Dcheckpoint.c368 tmp = f2fs_kmem_cache_alloc(ino_entry_slab, GFP_NOFS); in __add_ino_entry()
370 radix_tree_preload(GFP_NOFS | __GFP_NOFAIL); in __add_ino_entry()
754 new = f2fs_kmem_cache_alloc(inode_entry_slab, GFP_NOFS); in update_dirty_page()
774 f2fs_kmem_cache_alloc(inode_entry_slab, GFP_NOFS); in add_dirty_dir_inode()
Dgc.c366 new_ie = f2fs_kmem_cache_alloc(inode_entry_slab, GFP_NOFS); in add_gc_inode()
583 GFP_NOFS); in move_encrypted_block()
826 .iroot = RADIX_TREE_INIT(GFP_NOFS), in f2fs_gc()
/linux-4.4.14/include/trace/events/
Dgfpflags.h19 {(unsigned long)GFP_NOFS, "GFP_NOFS"}, \
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Ddir.c166 page_pool = kcalloc(max_pages, sizeof(page), GFP_NOFS); in ll_dir_filler()
227 GFP_NOFS); in ll_dir_filler()
640 msp = kzalloc(sizeof(*msp), GFP_NOFS); in ll_send_mgc_param()
752 param = kzalloc(MGS_PARAM_MAXLEN, GFP_NOFS); in ll_dir_setstripe()
1055 copy = kzalloc(size, GFP_NOFS); in copy_and_ioctl()
1146 oqctl = kzalloc(sizeof(*oqctl), GFP_NOFS); in quotactl_ioctl()
1167 oqctl_tmp = kzalloc(sizeof(*oqctl_tmp), GFP_NOFS); in quotactl_ioctl()
1411 tmp = kzalloc(lum_size, GFP_NOFS); in ll_dir_ioctl()
1545 lmm = libcfs_kvzalloc(lmmsize, GFP_NOFS); in ll_dir_ioctl()
1612 oqctl = kzalloc(sizeof(*oqctl), GFP_NOFS); in ll_dir_ioctl()
[all …]
Dllite_close.c224 oa = kmem_cache_alloc(obdo_cachep, GFP_NOFS | __GFP_ZERO); in ll_som_update()
286 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in ll_done_writing()
365 lcq = kzalloc(sizeof(*lcq), GFP_NOFS); in ll_close_thread_start()
Dxattr_cache.c118 xattr = kmem_cache_alloc(xattr_kmem, GFP_NOFS | __GFP_ZERO); in ll_xattr_cache_add()
124 xattr->xe_name = kstrdup(xattr_name, GFP_NOFS); in ll_xattr_cache_add()
130 xattr->xe_value = kmemdup(xattr_val, xattr_val_len, GFP_NOFS); in ll_xattr_cache_add()
Dfile.c67 fd = kmem_cache_alloc(ll_file_data_slab, GFP_NOFS | __GFP_ZERO); in ll_file_data_get()
148 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in ll_close_inode_openhandle()
648 *och_p = kzalloc(sizeof(struct obd_client_handle), GFP_NOFS); in ll_file_open()
797 och = kzalloc(sizeof(*och), GFP_NOFS); in ll_lease_open()
1263 oa = kmem_cache_alloc(obdo_cachep, GFP_NOFS | __GFP_ZERO); in ll_lov_recreate()
1276 lsm2 = libcfs_kvzalloc(lsm_size, GFP_NOFS); in ll_lov_recreate()
1471 lump = libcfs_kvzalloc(lum_size, GFP_NOFS); in ll_lov_setea()
1645 och = kzalloc(sizeof(*och), GFP_NOFS); in ll_release_openhandle()
1755 gfout = kzalloc(outsize, GFP_NOFS); in ll_fid2path()
1796 fiemap_s = libcfs_kvzalloc(num_bytes, GFP_NOFS); in ll_ioctl_fiemap()
[all …]
Dllite_rmtacl.c81 rce = kzalloc(sizeof(*rce), GFP_NOFS); in rce_alloc()
186 ee = kzalloc(sizeof(*ee), GFP_NOFS); in ee_alloc()
Dllite_lib.c76 sbi = kzalloc(sizeof(*sbi), GFP_NOFS); in ll_init_sbi()
164 data = kzalloc(sizeof(*data), GFP_NOFS); in client_common_fill_super()
168 osfs = kzalloc(sizeof(*osfs), GFP_NOFS); in client_common_fill_super()
463 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in client_common_fill_super()
861 cfg = kzalloc(sizeof(*cfg), GFP_NOFS); in ll_fill_super()
916 dt = kasprintf(GFP_NOFS, "%s-%p", lprof->lp_dt, cfg->cfg_instance); in ll_fill_super()
922 md = kasprintf(GFP_NOFS, "%s-%p", lprof->lp_md, cfg->cfg_instance); in ll_fill_super()
1275 op_data = kzalloc(sizeof(*op_data), GFP_NOFS); in ll_setattr_raw()
1780 GFP_NOFS | __GFP_ZERO); in ll_iocontrol()
1849 ioc_data = kzalloc(sizeof(*ioc_data), GFP_NOFS); in ll_umount_begin()
[all …]
Dsymlink.c109 lli->lli_symlink_name = kzalloc(symlen, GFP_NOFS); in ll_readlink_internal()
Dsuper25.c56 lli = kmem_cache_alloc(ll_inode_cachep, GFP_NOFS | __GFP_ZERO); in ll_alloc_inode()
Dvvp_dev.c82 info = kmem_cache_alloc(vvp_thread_kmem, GFP_NOFS | __GFP_ZERO); in vvp_key_init()
101 session = kmem_cache_alloc(vvp_session_kmem, GFP_NOFS | __GFP_ZERO); in vvp_session_key_init()
/linux-4.4.14/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()
/linux-4.4.14/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()
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c119 info = kmem_cache_alloc(ccc_thread_kmem, GFP_NOFS | __GFP_ZERO); in ccc_key_init()
138 session = kmem_cache_alloc(ccc_session_kmem, GFP_NOFS | __GFP_ZERO); in ccc_session_key_init()
204 vdv = kzalloc(sizeof(*vdv), GFP_NOFS); in ccc_device_alloc()
213 site = kzalloc(sizeof(*site), GFP_NOFS); in ccc_device_alloc()
254 vrq = kmem_cache_alloc(ccc_req_kmem, GFP_NOFS | __GFP_ZERO); in ccc_req_init()
330 vob = kmem_cache_alloc(ccc_object_kmem, GFP_NOFS | __GFP_ZERO); in ccc_object_alloc()
399 clk = kmem_cache_alloc(ccc_lock_kmem, GFP_NOFS | __GFP_ZERO); in ccc_lock_init()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c399 el = kmem_cache_alloc(echo_lock_kmem, GFP_NOFS | __GFP_ZERO); in echo_lock_init()
483 *lsmp = kzalloc(lsm_size, GFP_NOFS); in echo_alloc_memmd()
487 (*lsmp)->lsm_oinfo[0] = kzalloc(sizeof(struct lov_oinfo), GFP_NOFS); in echo_alloc_memmd()
570 eco = kmem_cache_alloc(echo_object_kmem, GFP_NOFS | __GFP_ZERO); in echo_object_alloc()
633 info = kmem_cache_alloc(echo_thread_kmem, GFP_NOFS | __GFP_ZERO); in echo_thread_key_init()
664 session = kmem_cache_alloc(echo_session_kmem, GFP_NOFS | __GFP_ZERO); in echo_session_key_init()
705 ed = kzalloc(sizeof(*ed), GFP_NOFS); in echo_device_alloc()
1583 pga = kcalloc(npages, sizeof(*pga), GFP_NOFS); in echo_client_kbrw()
1587 pages = kcalloc(npages, sizeof(*pages), GFP_NOFS); in echo_client_kbrw()
1665 lnb = kcalloc(npages, sizeof(struct niobuf_local), GFP_NOFS); in echo_client_prep_commit()
[all …]
/linux-4.4.14/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.c458 rpl_context = kmalloc(sizeof *rpl_context, GFP_NOFS); in rdma_request()
487 c = kmalloc(sizeof *c, GFP_NOFS); in rdma_request()
/linux-4.4.14/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.4.14/fs/hpfs/
Dbuffer.c140 qbh->data = data = kmalloc(2048, GFP_NOFS); in hpfs_map_4sectors()
190 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.4.14/security/integrity/ima/
Dima_api.c47 sizeof(struct ima_field_data), GFP_NOFS); in ima_alloc_init_template()
226 GFP_NOFS); in ima_collect_measurement()
/linux-4.4.14/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()
1018 lp = kmalloc(half_len * sizeof(__be64), GFP_NOFS); in dir_split_leaf()
1131 hc2 = kmalloc(hsize_bytes * 2, GFP_NOFS | __GFP_NOWARN); in dir_double_exhash()
1133 hc2 = __vmalloc(hsize_bytes * 2, GFP_NOFS, PAGE_KERNEL); in dir_double_exhash()
1292 ptr = kmalloc(size, GFP_NOFS | __GFP_NOWARN); in gfs2_alloc_sort_buffer()
1294 ptr = __vmalloc(size, GFP_NOFS, PAGE_KERNEL); in gfs2_alloc_sort_buffer()
1508 darr = kmalloc(96 * sizeof(struct gfs2_dirent *), GFP_NOFS); in gfs2_dir_read()
1902 ht = kzalloc(size, GFP_NOFS | __GFP_NOWARN); in leaf_dealloc()
1904 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()
1318 GFP_NOFS, 0); in gfs2_rgrp_send_discards()
1334 rv = sb_issue_discard(sb, start, nr_blks, GFP_NOFS, 0); in gfs2_rgrp_send_discards()
2204 GFP_NOFS | __GFP_NOFAIL); in rgblk_free()
2590 GFP_NOFS | __GFP_NOFAIL); in gfs2_rlist_add()
2620 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()
674 page = find_or_create_page(mapping, index, GFP_NOFS); in gfs2_write_buf_to_page()
853 ghs = kcalloc(num_qd, sizeof(struct gfs2_holder), GFP_NOFS); in do_sync()
1320 sdp->sd_quota_bitmap = kzalloc(bm_size, GFP_NOFS | __GFP_NOWARN); in gfs2_quota_init()
1322 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.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h126 LIBCFS_ALLOC_GFP(ptr, size, GFP_NOFS)
150 LIBCFS_CPT_ALLOC_GFP(ptr, cptab, cpt, size, GFP_NOFS)
/linux-4.4.14/security/integrity/evm/
Devm_main.c128 GFP_NOFS); in evm_verify_hmac()
457 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.4.14/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.4.14/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()
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()
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()
657 vid_hdr = ubi_zalloc_vid_hdr(ubi, GFP_NOFS);
991 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS);
1684 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_NOFS);
/linux-4.4.14/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()
/linux-4.4.14/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)
/linux-4.4.14/fs/nfs/blocklayout/
Dextent_tree.c528 arg->layoutupdate_page = alloc_page(GFP_NOFS); in ext_tree_prepare_commit()
544 sizeof(struct page *), GFP_NOFS); in ext_tree_prepare_commit()
548 start_p = __vmalloc(buffer_size, GFP_NOFS, PAGE_KERNEL); in ext_tree_prepare_commit()
/linux-4.4.14/fs/udf/
Dunicode.c356 filename = kmalloc(sizeof(struct ustr), GFP_NOFS); in udf_get_filename()
360 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.4.14/drivers/staging/lustre/lustre/fid/
Dfid_request.c432 cli->cl_seq = kzalloc(sizeof(*cli->cl_seq), GFP_NOFS); in client_fid_init()
436 prefix = kzalloc(MAX_OBD_NAME + 5, GFP_NOFS); in client_fid_init()
/linux-4.4.14/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()
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_lockd.c200 lvb_data = kzalloc(lvb_len, GFP_NOFS); in ldlm_handle_cp_callback()
428 blwi = kzalloc(sizeof(*blwi), GFP_NOFS); in ldlm_bl_to_thread()
921 ldlm_state = kzalloc(sizeof(*ldlm_state), GFP_NOFS); in ldlm_setup()
990 blp = kzalloc(sizeof(*blp), GFP_NOFS); in ldlm_setup()
Dldlm_extent.c115 node = kmem_cache_alloc(ldlm_interval_slab, GFP_NOFS | __GFP_ZERO); in ldlm_interval_alloc()
/linux-4.4.14/drivers/staging/lustre/lustre/fld/
Dfld_cache.c71 cache = kzalloc(sizeof(*cache), GFP_NOFS); in fld_cache_init()
366 f_new = kzalloc(sizeof(*f_new), GFP_NOFS); in fld_cache_entry_create()
/linux-4.4.14/fs/jbd2/
Dtransaction.c395 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle()
477 return jbd2__journal_start(journal, nblocks, 0, GFP_NOFS, 0, 0); in jbd2_journal_start()
528 ret = start_this_handle(journal, handle, GFP_NOFS); in jbd2_journal_start_reserved()
685 return jbd2__journal_restart(handle, nblocks, GFP_NOFS); in jbd2_journal_restart()
971 frozen_buffer = jbd2_alloc(jh2bh(jh)->b_size, GFP_NOFS); in do_get_write_access()
1232 committed_data = jbd2_alloc(jh2bh(jh)->b_size, GFP_NOFS); in jbd2_journal_get_undo_access()
/linux-4.4.14/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()
1736 GFP_NOFS); in alloc_enc_pages()
1740 rqstp->rq_enc_pages[i] = alloc_page(GFP_NOFS); in alloc_enc_pages()
/linux-4.4.14/security/integrity/
Diint.c102 iint = kmem_cache_alloc(iint_cache, GFP_NOFS); in integrity_inode_get()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dlproc_mdc.c114 lh = kzalloc(len, GFP_NOFS); in mdc_kuc_write()
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c461 newtgts = kcalloc(newsize, sizeof(*newtgts), GFP_NOFS); in lmv_add_target()
483 tgt = kzalloc(sizeof(*tgt), GFP_NOFS); in lmv_add_target()
719 remote_gf = kzalloc(remote_gf_size, GFP_NOFS); in lmv_fid2path()
949 oqctl = kzalloc(sizeof(*oqctl), GFP_NOFS); in lmv_iocontrol()
1046 req = libcfs_kvzalloc(reqlen, GFP_NOFS); in lmv_iocontrol()
1293 lmv->tgts = kcalloc(32, sizeof(*lmv->tgts), GFP_NOFS); in lmv_setup()
1400 temp = kzalloc(sizeof(*temp), GFP_NOFS); in lmv_statfs()
1730 rdata = kzalloc(sizeof(*rdata), GFP_NOFS); in lmv_enqueue_remote()
2407 *lmmp = libcfs_kvzalloc(mea_size, GFP_NOFS); in lmv_packmd()
2457 *tmea = libcfs_kvzalloc(mea_size, GFP_NOFS); in lmv_unpackmd()
/linux-4.4.14/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.4.14/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.4.14/fs/befs/
Dlinuxvfs.c481 link = kmalloc(len, GFP_NOFS); in befs_follow_link()
523 *out = result = kmalloc(maxlen, GFP_NOFS); in befs_utf2nls()
603 *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.4.14/kernel/
Daudit_fsnotify.c130 ab = audit_log_start(NULL, GFP_NOFS, AUDIT_CONFIG_CHANGE); in audit_mark_log_rule_change()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_cfg.h237 GFP_NOFS); in lustre_cfg_new()
/linux-4.4.14/drivers/crypto/nx/
Dnx-842-pseries.c736 new_devdata = kzalloc(sizeof(*new_devdata), GFP_NOFS); in nx842_OF_upd()
995 new_devdata = kzalloc(sizeof(*new_devdata), GFP_NOFS); in nx842_probe()
1000 GFP_NOFS); in nx842_probe()
/linux-4.4.14/net/sunrpc/
Dauth_unix.c71 if (!(cred = kmalloc(sizeof(*cred), GFP_NOFS))) in unx_create_cred()
/linux-4.4.14/fs/nfs/objlayout/
Dobjio_osd.c471 page = find_or_create_page(mapping, index, GFP_NOFS); in __r4w_get_page()
505 hdr->args.offset, hdr->args.count, hdr, GFP_NOFS, in objio_write_pagelist()

12