| /Linux-v5.4/fs/dlm/ |
| D | memory.c | 47 p = kzalloc(ls->ls_lvblen, GFP_NOFS); in dlm_allocate_lvb() 60 r = kmem_cache_zalloc(rsb_cache, GFP_NOFS); in dlm_allocate_rsb() 75 lkb = kmem_cache_zalloc(lkb_cache, GFP_NOFS); in dlm_allocate_lkb()
|
| D | config.c | 349 cl = kzalloc(sizeof(struct dlm_cluster), 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() 413 sp = kzalloc(sizeof(struct dlm_space), GFP_NOFS); in make_space() 414 nds = kzalloc(sizeof(struct dlm_nodes), GFP_NOFS); in make_space() 455 cm = kzalloc(sizeof(struct dlm_comm), GFP_NOFS); in make_comm() 493 nd = kzalloc(sizeof(struct dlm_node), GFP_NOFS); in make_node() 602 addr = kzalloc(sizeof(*addr), GFP_NOFS); in comm_addr_store() 796 nodes = kcalloc(count, sizeof(struct dlm_config_node), GFP_NOFS); in dlm_config_nodes()
|
| /Linux-v5.4/net/sunrpc/auth_gss/ |
| D | gss_krb5_seqnum.c | 55 plain = kmalloc(8, GFP_NOFS); in krb5_make_rc4_seq_num() 92 plain = kmalloc(8, GFP_NOFS); in krb5_make_seq_num() 128 plain = kmalloc(8, GFP_NOFS); in krb5_get_rc4_seq_num() 170 plain = kmalloc(8, GFP_NOFS); in krb5_get_seq_num()
|
| D | gss_krb5_crypto.c | 186 rc4salt = kmalloc_array(4, sizeof(*rc4salt), GFP_NOFS); in make_checksum_hmac_md5() 195 checksumdata = kmalloc(GSS_KRB5_MAX_CKSUM_LEN, GFP_NOFS); in make_checksum_hmac_md5() 208 req = ahash_request_alloc(md5, GFP_NOFS); in make_checksum_hmac_md5() 238 req = ahash_request_alloc(hmac_md5, GFP_NOFS); in make_checksum_hmac_md5() 298 checksumdata = kmalloc(GSS_KRB5_MAX_CKSUM_LEN, GFP_NOFS); in make_checksum() 306 req = ahash_request_alloc(tfm, GFP_NOFS); in make_checksum() 394 checksumdata = kmalloc(GSS_KRB5_MAX_CKSUM_LEN, GFP_NOFS); in make_checksum_v2() 402 req = ahash_request_alloc(tfm, GFP_NOFS); in make_checksum_v2() 691 data = kmalloc(GSS_KRB5_MAX_BLOCKSIZE * 2, GFP_NOFS); in gss_krb5_cts_crypt() 971 GFP_NOFS); in krb5_rc4_setup_seq_key() [all …]
|
| /Linux-v5.4/fs/ntfs/ |
| D | malloc.h | 52 return __ntfs_malloc(size, GFP_NOFS | __GFP_HIGHMEM); in ntfs_malloc_nofs() 69 return __ntfs_malloc(size, GFP_NOFS | __GFP_HIGHMEM | __GFP_NOFAIL); in ntfs_malloc_nofs_nofail()
|
| D | unistr.c | 255 ucs = kmem_cache_alloc(ntfs_name_cache, GFP_NOFS); in ntfs_nlstoucs() 339 ns = kmalloc(ns_len + 1, GFP_NOFS); in ntfs_ucstonls() 355 ~63, GFP_NOFS); in ntfs_ucstonls()
|
| /Linux-v5.4/Documentation/core-api/ |
| D | gfp_mask-from-fs-io.rst | 21 the gfp mask when calling an allocator. GFP_NOFS respectively GFP_NOIO can be 25 of GFP_NOFS/GFP_NOIO can lead to memory over-reclaim or other memory 55 What about __vmalloc(GFP_NOFS) 58 vmalloc doesn't support GFP_NOFS semantic because there are hardcoded 60 to fix up. That means that calling ``vmalloc`` with GFP_NOFS/GFP_NOIO is
|
| /Linux-v5.4/fs/ceph/ |
| D | mdsmap.c | 114 m = kzalloc(sizeof(*m), GFP_NOFS); in ceph_mdsmap_decode() 140 m->m_info = kcalloc(m->m_num_mds, sizeof(*m->m_info), GFP_NOFS); in ceph_mdsmap_decode() 219 GFP_NOFS | __GFP_ZERO); in ceph_mdsmap_decode() 235 sizeof(u32), GFP_NOFS); in ceph_mdsmap_decode() 257 m->m_data_pg_pools = kcalloc(n, sizeof(u64), GFP_NOFS); in ceph_mdsmap_decode() 304 GFP_NOFS | __GFP_ZERO); in ceph_mdsmap_decode()
|
| /Linux-v5.4/fs/quota/ |
| D | netlink.c | 50 skb = genlmsg_new(msg_size, GFP_NOFS); in quota_send_warning() 87 genlmsg_multicast("a_genl_family, skb, 0, 0, GFP_NOFS); in quota_send_warning()
|
| /Linux-v5.4/fs/crypto/ |
| D | keysetup_v1.c | 63 req = skcipher_request_alloc(tfm, GFP_NOFS); in derive_key_aes() 102 description = kasprintf(GFP_NOFS, "%s%*phN", prefix, in find_and_lock_process_key() 229 dk = kzalloc(sizeof(*dk), GFP_NOFS); in fscrypt_get_direct_key() 296 derived_key = kmalloc(ci->ci_mode->keysize, GFP_NOFS); in setup_v1_file_key_derived()
|
| D | fname.c | 61 req = skcipher_request_alloc(tfm, GFP_NOFS); in fname_encrypt() 101 req = skcipher_request_alloc(tfm, GFP_NOFS); in fname_decrypt() 216 crypto_str->name = kmalloc(max_presented_len + 1, GFP_NOFS); in fscrypt_fname_alloc_buffer() 341 GFP_NOFS); in fscrypt_setup_filename()
|
| /Linux-v5.4/net/ceph/ |
| D | msgpool.c | 73 GFP_NOFS, false); in ceph_msgpool_get() 76 msg = mempool_alloc(pool->pool, GFP_NOFS); in ceph_msgpool_get()
|
| D | auth_none.c | 97 au = kmalloc(sizeof(*au), GFP_NOFS); in ceph_auth_none_create_authorizer() 134 xi = kzalloc(sizeof(*xi), GFP_NOFS); in ceph_auth_none_init()
|
| D | osdmap.c | 71 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() 353 c = kzalloc(sizeof(*c), GFP_NOFS); in crush_decode() 376 c->buckets = kcalloc(c->max_buckets, sizeof(*c->buckets), GFP_NOFS); in crush_decode() 379 c->rules = kcalloc(c->max_rules, sizeof(*c->rules), GFP_NOFS); in crush_decode() 417 b = c->buckets[i] = kzalloc(size, GFP_NOFS); in crush_decode() [all …]
|
| D | pagelist.c | 59 page = __page_cache_alloc(GFP_NOFS); in ceph_pagelist_addpage() 110 struct page *page = __page_cache_alloc(GFP_NOFS); in ceph_pagelist_reserve()
|
| /Linux-v5.4/fs/btrfs/ |
| D | backref.c | 52 e = kmalloc(sizeof(*e), GFP_NOFS); in check_extent_in_eb() 430 ret = ulist_add(parents, eb->start, 0, GFP_NOFS); in add_all_parents() 475 eie, (void **)&old, GFP_NOFS); in add_all_parents() 622 parents = ulist_alloc(GFP_NOFS); in resolve_indirect_refs() 684 GFP_NOFS); in resolve_indirect_refs() 940 bytenr, 1, NULL, GFP_NOFS); in add_inline_refs() 950 bytenr, count, sc, GFP_NOFS); in add_inline_refs() 956 bytenr, 1, NULL, GFP_NOFS); in add_inline_refs() 979 sc, GFP_NOFS); in add_inline_refs() 1034 bytenr, 1, NULL, GFP_NOFS); in add_keyed_refs() [all …]
|
| D | extent_io.h | 309 GFP_NOFS, NULL); in unlock_extent_cached() 341 return set_extent_bit(tree, start, end, bits, NULL, NULL, GFP_NOFS); in set_extent_bits() 348 cached_state, GFP_NOFS, NULL); in clear_extent_uptodate() 376 NULL, cached_state, GFP_NOFS); in set_extent_delalloc() 384 NULL, cached_state, GFP_NOFS); in set_extent_defrag() 391 GFP_NOFS); in set_extent_new()
|
| /Linux-v5.4/fs/ocfs2/ |
| D | acl.c | 47 acl = posix_acl_alloc(count, GFP_NOFS); in ocfs2_acl_from_xattr() 87 ocfs2_acl = kmalloc(*size, GFP_NOFS); in ocfs2_acl_to_xattr() 136 value = kmalloc(retval, GFP_NOFS); in ocfs2_get_acl_nolock() 385 ret = __posix_acl_create(&acl, GFP_NOFS, &mode); in ocfs2_init_acl()
|
| /Linux-v5.4/fs/afs/ |
| D | fsclient.c | 311 afs_make_call(&fc->ac, call, GFP_NOFS); in afs_fs_fetch_file_status() 510 afs_make_call(&fc->ac, call, GFP_NOFS); in afs_fs_fetch_data64() 558 afs_make_call(&fc->ac, call, GFP_NOFS); in afs_fs_fetch_data() 672 afs_make_call(&fc->ac, call, GFP_NOFS); in afs_fs_create() 764 afs_make_call(&fc->ac, call, GFP_NOFS); in afs_fs_remove() 857 afs_make_call(&fc->ac, call, GFP_NOFS); in afs_fs_link() 970 afs_make_call(&fc->ac, call, GFP_NOFS); in afs_fs_symlink() 1083 afs_make_call(&fc->ac, call, GFP_NOFS); in afs_fs_rename() 1185 afs_make_call(&fc->ac, call, GFP_NOFS); in afs_fs_store_data64() 1263 afs_make_call(&fc->ac, call, GFP_NOFS); in afs_fs_store_data() [all …]
|
| D | xattr.c | 52 scb = kzalloc(sizeof(struct afs_status_cb), GFP_NOFS); in afs_xattr_get_acl() 113 scb = kzalloc(sizeof(struct afs_status_cb), GFP_NOFS); in afs_xattr_set_acl() 196 scb = kzalloc(sizeof(struct afs_status_cb), GFP_NOFS); in afs_xattr_get_yfs() 284 scb = kzalloc(sizeof(struct afs_status_cb), GFP_NOFS); in afs_xattr_set_yfs()
|
| D | yfsclient.c | 429 afs_make_call(&fc->ac, call, GFP_NOFS); in yfs_fs_fetch_file_status() 623 afs_make_call(&fc->ac, call, GFP_NOFS); in yfs_fs_fetch_data() 720 afs_make_call(&fc->ac, call, GFP_NOFS); in yfs_fs_create_file() 782 afs_make_call(&fc->ac, call, GFP_NOFS); in yfs_fs_make_dir() 870 afs_make_call(&fc->ac, call, GFP_NOFS); in yfs_fs_remove_file2() 955 afs_make_call(&fc->ac, call, GFP_NOFS); in yfs_fs_remove() 1040 afs_make_call(&fc->ac, call, GFP_NOFS); in yfs_fs_link() 1135 afs_make_call(&fc->ac, call, GFP_NOFS); in yfs_fs_symlink() 1228 afs_make_call(&fc->ac, call, GFP_NOFS); in yfs_fs_rename() 1307 afs_make_call(&fc->ac, call, GFP_NOFS); in yfs_fs_store_data() [all …]
|
| /Linux-v5.4/fs/ubifs/ |
| D | xattr.c | 128 ui->data = kmemdup(value, size, GFP_NOFS); in create_xattr() 206 buf = kmemdup(value, size, GFP_NOFS); in change_xattr() 284 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_set() 340 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_get() 591 xent = kmalloc(UBIFS_MAX_XENT_NODE_SZ, GFP_NOFS); in ubifs_xattr_remove() 633 strlen(xattr->name) + 1, GFP_NOFS); in init_xattrs()
|
| /Linux-v5.4/fs/ext4/ |
| D | acl.c | 37 acl = posix_acl_alloc(count, GFP_NOFS); in ext4_acl_from_disk() 99 sizeof(ext4_acl_entry), GFP_NOFS); in ext4_acl_to_disk() 164 value = kmalloc(retval, GFP_NOFS); in ext4_get_acl()
|
| /Linux-v5.4/security/tomoyo/ |
| D | audit.c | 26 char *buffer = kzalloc(tomoyo_buffer_len, GFP_NOFS); in tomoyo_print_bprm() 156 char *buffer = kmalloc(tomoyo_buffer_len, GFP_NOFS); in tomoyo_print_header() 275 buf = kzalloc(len, GFP_NOFS); in tomoyo_init_log() 378 entry = kzalloc(sizeof(*entry), GFP_NOFS); in tomoyo_write_log2()
|
| D | memory.c | 76 void *ptr = kzalloc(size, GFP_NOFS); in tomoyo_commit_ok() 173 ptr = kzalloc(sizeof(*ptr) + len, GFP_NOFS); in tomoyo_get_name()
|