Home
last modified time | relevance | path

Searched refs:kmem_cache_alloc (Results 1 – 200 of 242) sorted by relevance

12

/linux-4.1.27/scripts/coccinelle/api/alloc/
Dalloc_cast.cocci2 /// like kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc.
5 //# kmalloc, kzalloc, kcalloc, kmem_cache_alloc, kmem_cache_zalloc,
30 \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
42 (\(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
54 (T@p *)\(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|
/linux-4.1.27/fs/jffs2/
Dmalloc.c139 ret = kmem_cache_alloc(full_dnode_slab, GFP_KERNEL); in jffs2_alloc_full_dnode()
153 ret = kmem_cache_alloc(raw_dirent_slab, GFP_KERNEL); in jffs2_alloc_raw_dirent()
167 ret = kmem_cache_alloc(raw_inode_slab, GFP_KERNEL); in jffs2_alloc_raw_inode()
181 ret = kmem_cache_alloc(tmp_dnode_info_slab, GFP_KERNEL); in jffs2_alloc_tmp_dnode_info()
197 ret = kmem_cache_alloc(raw_node_ref_slab, GFP_KERNEL); in jffs2_alloc_refblock()
260 ret = kmem_cache_alloc(node_frag_slab, GFP_KERNEL); in jffs2_alloc_node_frag()
274 ret = kmem_cache_alloc(inode_cache_slab, GFP_KERNEL); in jffs2_alloc_inode_cache()
Dsuper.c41 f = kmem_cache_alloc(jffs2_inode_cachep, GFP_KERNEL); in jffs2_alloc_inode()
/linux-4.1.27/arch/sparc/include/asm/
Dpgalloc_64.h27 return kmem_cache_alloc(pgtable_cache, GFP_KERNEL); in pgd_alloc()
44 return kmem_cache_alloc(pgtable_cache, in pud_alloc_one()
55 return kmem_cache_alloc(pgtable_cache, in pmd_alloc_one()
/linux-4.1.27/arch/sh/mm/
Dpgtable.c34 return kmem_cache_alloc(pgd_cachep, PGALLOC_GFP); in pgd_alloc()
50 return kmem_cache_alloc(pmd_cachep, PGALLOC_GFP); in pmd_alloc_one()
/linux-4.1.27/mm/
Dkmemleak-test.c65 kmem_cache_alloc(files_cachep, GFP_KERNEL)); in kmemleak_test_init()
67 kmem_cache_alloc(files_cachep, GFP_KERNEL)); in kmemleak_test_init()
Dslob.c562 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) in kmem_cache_alloc() function
566 EXPORT_SYMBOL(kmem_cache_alloc);
Dmempolicy.c285 policy = kmem_cache_alloc(policy_cache, GFP_KERNEL); in mpol_new()
2093 struct mempolicy *new = kmem_cache_alloc(policy_cache, GFP_KERNEL); in __mpol_dup()
2341 n = kmem_cache_alloc(sn_cache, GFP_KERNEL); in sp_alloc()
2413 n_new = kmem_cache_alloc(sn_cache, GFP_KERNEL); in shared_policy_replace()
2416 mpol_new = kmem_cache_alloc(policy_cache, GFP_KERNEL); in shared_policy_replace()
Dmempool.c450 return kmem_cache_alloc(mem, gfp_mask); in mempool_alloc_slab()
Drmap.c72 anon_vma = kmem_cache_alloc(anon_vma_cachep, GFP_KERNEL); in anon_vma_alloc()
119 return kmem_cache_alloc(anon_vma_chain_cachep, gfp); in anon_vma_chain_alloc()
Dkmemleak.c527 object = kmem_cache_alloc(object_cache, gfp_kmemleak_mask(gfp)); in create_object()
754 area = kmem_cache_alloc(scan_area_cache, gfp_kmemleak_mask(gfp)); in add_scan_area()
Dzswap.c222 entry = kmem_cache_alloc(zswap_entry_cache, gfp); in zswap_entry_cache_alloc()
Dnommu.c1576 region = kmem_cache_alloc(vm_region_jar, GFP_KERNEL); in split_vma()
1580 new = kmem_cache_alloc(vm_area_cachep, GFP_KERNEL); in split_vma()
Dslab_common.c1167 EXPORT_TRACEPOINT_SYMBOL(kmem_cache_alloc);
Dmmap.c2446 new = kmem_cache_alloc(vm_area_cachep, GFP_KERNEL); in __split_vma()
2959 new_vma = kmem_cache_alloc(vm_area_cachep, GFP_KERNEL); in copy_vma()
Dslub.c2518 void *kmem_cache_alloc(struct kmem_cache *s, gfp_t gfpflags) in kmem_cache_alloc() function
2527 EXPORT_SYMBOL(kmem_cache_alloc);
3584 n = kmem_cache_alloc(kmem_cache_node, GFP_KERNEL); in slab_mem_going_online_callback()
Dzsmalloc.c298 return (unsigned long)kmem_cache_alloc(pool->handle_cachep, in alloc_handle()
Dksm.c301 return kmem_cache_alloc(stable_node_cache, GFP_KERNEL); in alloc_stable_node()
Dslab.c3414 void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) in kmem_cache_alloc() function
3423 EXPORT_SYMBOL(kmem_cache_alloc);
/linux-4.1.27/include/linux/
Dslab.h290 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags);
304 return kmem_cache_alloc(s, flags); in kmem_cache_alloc_node()
329 void *ret = kmem_cache_alloc(s, flags); in kmem_cache_alloc_trace()
573 return kmem_cache_alloc(k, flags | __GFP_ZERO); in kmem_cache_zalloc()
Djbd2.h1208 return kmem_cache_alloc(jbd2_inode_cache, gfp_flags); in jbd2_alloc_inode()
/linux-4.1.27/arch/powerpc/include/asm/
Dpgalloc-64.h46 return kmem_cache_alloc(PGT_CACHE(PGD_INDEX_SIZE), GFP_KERNEL); in pgd_alloc()
60 return kmem_cache_alloc(PGT_CACHE(PUD_INDEX_SIZE), in pud_alloc_one()
226 return kmem_cache_alloc(PGT_CACHE(PMD_CACHE_INDEX), in pmd_alloc_one()
/linux-4.1.27/scripts/coccinelle/null/
Deno.cocci20 x = \(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\|kmem_cache_alloc_node\|kmallo…
30 *x = \(kmalloc@p1\|kzalloc@p1\|kcalloc@p1\|kmem_cache_alloc@p1\|kmem_cache_zalloc@p1\|kmem_cache_al…
/linux-4.1.27/arch/blackfin/mm/
Dsram-alloc.c79 kmem_cache_alloc(sram_piece_cache, GFP_KERNEL); in l1sram_init()
107 kmem_cache_alloc(sram_piece_cache, GFP_KERNEL); in l1_data_sram_init()
130 kmem_cache_alloc(sram_piece_cache, GFP_KERNEL); in l1_data_sram_init()
164 kmem_cache_alloc(sram_piece_cache, GFP_KERNEL); in l1_inst_sram_init()
229 kmem_cache_alloc(sram_piece_cache, GFP_KERNEL); in l2_sram_init()
297 pavail = kmem_cache_alloc(sram_piece_cache, GFP_ATOMIC); in _sram_alloc()
/linux-4.1.27/arch/arm64/mm/
Dpgd.c40 return kmem_cache_alloc(pgd_cache, PGALLOC_GFP); in pgd_alloc()
/linux-4.1.27/arch/sh/kernel/
Dprocess.c29 dst->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in arch_dup_task_struct()
/linux-4.1.27/fs/notify/fanotify/
Dfanotify.c162 pevent = kmem_cache_alloc(fanotify_perm_event_cachep, in fanotify_alloc_event()
171 event = kmem_cache_alloc(fanotify_event_cachep, GFP_KERNEL); in fanotify_alloc_event()
Dfanotify_user.c610 mark = kmem_cache_alloc(fanotify_mark_cache, GFP_KERNEL); in fanotify_add_new_mark()
/linux-4.1.27/arch/sh/kernel/cpu/
Dfpu.c19 tsk->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in init_fpu()
/linux-4.1.27/fs/freevxfs/
Dvxfs_inode.c101 if (!(vip = kmem_cache_alloc(vxfs_inode_cachep, GFP_KERNEL))) in vxfs_blkiget()
143 if (!(vip = kmem_cache_alloc(vxfs_inode_cachep, GFP_KERNEL))) in __vxfs_iget()
/linux-4.1.27/net/netfilter/
Dxt_connlimit.c125 conn = kmem_cache_alloc(connlimit_conn_cachep, GFP_ATOMIC); in add_hlist()
266 rbconn = kmem_cache_alloc(connlimit_rb_cachep, GFP_ATOMIC); in count_tree()
270 conn = kmem_cache_alloc(connlimit_conn_cachep, GFP_ATOMIC); in count_tree()
Dnf_conntrack_expect.c254 new = kmem_cache_alloc(nf_ct_expect_cachep, GFP_ATOMIC); in nf_ct_expect_alloc()
Dxt_hashlimit.c189 ent = kmem_cache_alloc(hashlimit_cachep, GFP_ATOMIC); in dsthash_alloc_init()
Dnf_conntrack_core.c820 ct = kmem_cache_alloc(net->ct.nf_conntrack_cachep, gfp); in __nf_conntrack_alloc()
/linux-4.1.27/fs/btrfs/
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()
Ddelayed-ref.h172 return kmem_cache_alloc(btrfs_delayed_extent_op_cachep, GFP_NOFS); in btrfs_alloc_delayed_extent_op()
Dbackref.c204 ref = kmem_cache_alloc(btrfs_prelim_ref_cache, gfp_mask); in __add_prelim_ref()
436 new_ref = kmem_cache_alloc(btrfs_prelim_ref_cache, in __resolve_indirect_refs()
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()
/linux-4.1.27/fs/xfs/
Dkmem.c118 ptr = kmem_cache_alloc(zone, lflags); in kmem_zone_alloc()
/linux-4.1.27/fs/notify/dnotify/
Ddnotify.c288 dn = kmem_cache_alloc(dnotify_struct_cache, GFP_KERNEL); in fcntl_dirnotify()
295 new_dn_mark = kmem_cache_alloc(dnotify_mark_cache, GFP_KERNEL); in fcntl_dirnotify()
/linux-4.1.27/drivers/infiniband/hw/amso1100/
Dc2_vq.c167 return kmem_cache_alloc(c2dev->host_msg_cache, GFP_ATOMIC); in vq_repbuf_alloc()
/linux-4.1.27/fs/ecryptfs/
Dsuper.c56 inode_info = kmem_cache_alloc(ecryptfs_inode_info_cache, GFP_KERNEL); in ecryptfs_alloc_inode()
Dmmap.c432 xattr_virt = kmem_cache_alloc(ecryptfs_xattr_cache, GFP_KERNEL); in ecryptfs_write_inode_size_to_xattr()
Dcrypto.c1438 page_virt = kmem_cache_alloc(ecryptfs_header_cache, GFP_USER); in ecryptfs_read_metadata()
1681 tmp_tfm = kmem_cache_alloc(ecryptfs_key_tfm_cache, GFP_KERNEL); in ecryptfs_add_new_key_tfm()
Dkeystore.c2407 key_rec = kmem_cache_alloc(ecryptfs_key_record_cache, GFP_KERNEL); in ecryptfs_generate_key_packet_set()
2488 new_key_sig = kmem_cache_alloc(ecryptfs_key_sig_cache, GFP_KERNEL); in ecryptfs_add_keysig()
Dinode.c340 dentry_info = kmem_cache_alloc(ecryptfs_dentry_info_cache, GFP_KERNEL); in ecryptfs_lookup_interpose()
/linux-4.1.27/net/dccp/ccids/lib/
Dpacket_history.c64 struct tfrc_tx_hist_entry *entry = kmem_cache_alloc(tfrc_tx_hist_slab, gfp_any()); in tfrc_tx_hist_add()
354 h->ring[i] = kmem_cache_alloc(tfrc_rx_hist_slab, GFP_ATOMIC); in tfrc_rx_hist_alloc()
Dloss_interval.c44 lh->ring[LIH_INDEX(lh->counter)] = kmem_cache_alloc(tfrc_lh_slab, in tfrc_lh_demand_next()
/linux-4.1.27/fs/
Dfs_struct.c112 struct fs_struct *fs = kmem_cache_alloc(fs_cachep, GFP_KERNEL); in copy_fs_struct()
Ddcookies.c95 struct dcookie_struct *dcs = kmem_cache_alloc(dcookie_cache, in alloc_dcookie()
Deventpoll.c1094 if (epi->nwait >= 0 && (pwq = kmem_cache_alloc(pwq_cache, GFP_KERNEL))) { in ep_ptable_queue_proc()
1276 if (!(epi = kmem_cache_alloc(epi_cache, GFP_KERNEL))) in ep_insert()
Dfcntl.c603 return kmem_cache_alloc(fasync_cache, GFP_KERNEL); in fasync_alloc()
Dmbcache.c546 ce = kmem_cache_alloc(cache->c_entry_cache, gfp_flags); in mb_cache_entry_alloc()
Dfile.c252 newf = kmem_cache_alloc(files_cachep, GFP_KERNEL); in dup_fd()
Ddirect-io.c1132 dio = kmem_cache_alloc(dio_cache, GFP_KERNEL); in do_blockdev_direct_IO()
Daio.c998 req = kmem_cache_alloc(kiocb_cachep, GFP_KERNEL|__GFP_ZERO); in aio_get_req()
Dblock_dev.c471 struct bdev_inode *ei = kmem_cache_alloc(bdev_cachep, GFP_KERNEL); in bdev_alloc_inode()
Dexec.c1023 newsighand = kmem_cache_alloc(sighand_cachep, GFP_KERNEL); in de_thread()
Dinode.c201 inode = kmem_cache_alloc(inode_cachep, GFP_KERNEL); in alloc_inode()
/linux-4.1.27/Documentation/RCU/
Drculist_nulls.txt83 obj = kmem_cache_alloc(...);
160 obj = kmem_cache_alloc(cachep);
/linux-4.1.27/fs/jbd/
Drevoke.c147 record = kmem_cache_alloc(revoke_record_cache, GFP_NOFS); in insert_revoke_hash()
234 table = kmem_cache_alloc(revoke_table_cache, GFP_KERNEL); in journal_init_revoke_table()
/linux-4.1.27/fs/ocfs2/
Duptodate.c413 new = kmem_cache_alloc(ocfs2_uptodate_cachep, GFP_NOFS); in __ocfs2_set_buffer_uptodate()
424 tree[i] = kmem_cache_alloc(ocfs2_uptodate_cachep, in __ocfs2_set_buffer_uptodate()
Dquota_local.c259 newchunk = kmem_cache_alloc(ocfs2_qf_chunk_cachep, GFP_NOFS); in ocfs2_load_local_quota_bitmaps()
993 chunk = kmem_cache_alloc(ocfs2_qf_chunk_cachep, GFP_NOFS); in ocfs2_local_quota_add_chunk()
/linux-4.1.27/security/integrity/
Diint.c102 iint = kmem_cache_alloc(iint_cache, GFP_NOFS); in integrity_inode_get()
/linux-4.1.27/lib/
Dtest_kasan.c224 p = kmem_cache_alloc(cache, GFP_KERNEL); in kmem_cache_oob()
Dradix-tree.c211 ret = kmem_cache_alloc(radix_tree_node_cachep, gfp_mask); in radix_tree_node_alloc()
262 node = kmem_cache_alloc(radix_tree_node_cachep, gfp_mask); in __radix_tree_preload()
Dlru_cache.c146 void *p = kmem_cache_alloc(cache, GFP_KERNEL); in lc_create()
Dbtree.c83 return kmem_cache_alloc(btree_cachep, gfp_mask); in btree_alloc()
/linux-4.1.27/fs/jbd2/
Drevoke.c146 record = kmem_cache_alloc(jbd2_revoke_record_cache, GFP_NOFS); in insert_revoke_hash()
228 table = kmem_cache_alloc(jbd2_revoke_table_cache, GFP_KERNEL); in jbd2_journal_init_revoke_table()
/linux-4.1.27/arch/s390/pci/
Dpci_dma.c31 table = kmem_cache_alloc(dma_region_table_cache, GFP_ATOMIC); in dma_alloc_cpu_table()
49 table = kmem_cache_alloc(dma_page_table_cache, GFP_ATOMIC); in dma_alloc_page_table()
/linux-4.1.27/net/dccp/
Dccid.c152 ccid = kmem_cache_alloc(rx ? ccid_ops->ccid_hc_rx_slab : in ccid_new()
Dackvec.c58 avr = kmem_cache_alloc(dccp_ackvec_record_slab, GFP_ATOMIC); in dccp_ackvec_update_records()
/linux-4.1.27/include/net/
Drequest_sock.h74 struct request_sock *req = kmem_cache_alloc(ops->slab, GFP_ATOMIC); in reqsk_alloc()
/linux-4.1.27/fs/ext4/
Dblock_validity.c84 new_entry = kmem_cache_alloc(ext4_system_zone_cachep, in add_system_zone()
Dextents_status.c333 es = kmem_cache_alloc(ext4_es_cachep, GFP_ATOMIC); in ext4_es_alloc_extent()
Dmballoc.c3575 pa = kmem_cache_alloc(ext4_pspace_cachep, GFP_NOFS); in ext4_mb_new_inode_pa()
3669 pa = kmem_cache_alloc(ext4_pspace_cachep, GFP_NOFS); in ext4_mb_new_group_pa()
4811 new_entry = kmem_cache_alloc(ext4_free_data_cachep, in ext4_free_blocks()
/linux-4.1.27/kernel/
Dnsproxy.c48 nsproxy = kmem_cache_alloc(nsproxy_cachep, GFP_KERNEL); in create_nsproxy()
Dcred.c246 new = kmem_cache_alloc(cred_jar, GFP_KERNEL); in prepare_creds()
594 new = kmem_cache_alloc(cred_jar, GFP_KERNEL); in prepare_kernel_cred()
Dfork.c441 tmp = kmem_cache_alloc(vm_area_cachep, GFP_KERNEL); in dup_mmap()
547 #define allocate_mm() (kmem_cache_alloc(mm_cachep, GFP_KERNEL))
1066 sig = kmem_cache_alloc(sighand_cachep, GFP_KERNEL); in copy_sighand()
Dpid.c306 pid = kmem_cache_alloc(ns->pid_cachep, GFP_KERNEL); in alloc_pid()
/linux-4.1.27/fs/ntfs/
Dunistr.c269 ucs = kmem_cache_alloc(ntfs_name_cache, GFP_NOFS); in ntfs_nlstoucs()
Dindex.c43 ictx = kmem_cache_alloc(ntfs_index_ctx_cache, GFP_NOFS); in ntfs_index_ctx_get()
Dinode.c326 ni = kmem_cache_alloc(ntfs_big_inode_cache, GFP_NOFS); in ntfs_alloc_big_inode()
357 ni = kmem_cache_alloc(ntfs_inode_cache, GFP_NOFS); in ntfs_alloc_extent_inode()
/linux-4.1.27/fs/cachefiles/
Dbind.c105 fsdef = kmem_cache_alloc(cachefiles_object_jar, GFP_KERNEL); in cachefiles_daemon_add_cache()
Dinterface.c47 object = kmem_cache_alloc(cachefiles_object_jar, cachefiles_gfp); in cachefiles_alloc_object()
/linux-4.1.27/arch/powerpc/perf/
Dhv-24x7.c663 kmem_cache_alloc(hv_page_cache, GFP_KERNEL); in create_events_from_catalog()
901 void *page = kmem_cache_alloc(hv_page_cache, GFP_USER); in catalog_read()
960 void *page = kmem_cache_alloc(hv_page_cache, GFP_USER); \
/linux-4.1.27/net/ipv4/
Dinet_timewait_sock.c195 tw = kmem_cache_alloc(sk->sk_prot_creator->twsk_prot->twsk_slab, in inet_twsk_alloc()
Dfib_trie.c327 struct tnode *kv = kmem_cache_alloc(trie_leaf_kmem, GFP_KERNEL); in leaf_new()
1156 new_fa = kmem_cache_alloc(fn_alias_kmem, GFP_KERNEL); in fib_table_insert()
1207 new_fa = kmem_cache_alloc(fn_alias_kmem, GFP_KERNEL); in fib_table_insert()
1684 new_fa = kmem_cache_alloc(fn_alias_kmem, GFP_KERNEL); in fib_trie_unmerge()
Dinetpeer.c460 p = create ? kmem_cache_alloc(peer_cachep, GFP_ATOMIC) : NULL; in inet_getpeer()
Dinet_hashtables.c65 struct inet_bind_bucket *tb = kmem_cache_alloc(cachep, GFP_ATOMIC); in inet_bind_bucket_create()
/linux-4.1.27/fs/coda/
Dinode.c45 ei = kmem_cache_alloc(coda_inode_cachep, GFP_KERNEL); in coda_alloc_inode()
/linux-4.1.27/net/rds/
Dtcp_recv.c173 tinc = kmem_cache_alloc(rds_tcp_incoming_slab, in rds_tcp_data_recv()
Dtcp.c203 tc = kmem_cache_alloc(rds_tcp_conn_slab, gfp); in rds_tcp_conn_alloc()
Diw_recv.c151 recv->r_iwinc = kmem_cache_alloc(rds_iw_incoming_slab, in rds_iw_recv_refill_one()
162 recv->r_frag = kmem_cache_alloc(rds_iw_frag_slab, kptr_gfp); in rds_iw_recv_refill_one()
Dib_recv.c258 ibinc = kmem_cache_alloc(rds_ib_incoming_slab, slab_mask); in rds_ib_refill_one_inc()
281 frag = kmem_cache_alloc(rds_ib_frag_slab, slab_mask); in rds_ib_refill_one_frag()
/linux-4.1.27/drivers/block/rsxx/
Ddev.c174 bio_meta = kmem_cache_alloc(bio_meta_pool, GFP_KERNEL); in rsxx_make_request()
Ddma.c622 dma = kmem_cache_alloc(rsxx_dma_pool, GFP_KERNEL); in rsxx_queue_discard()
656 dma = kmem_cache_alloc(rsxx_dma_pool, GFP_KERNEL); in rsxx_queue_dma()
Dcregs.c182 cmd = kmem_cache_alloc(creg_cmd_pool, GFP_KERNEL); in creg_queue_cmd()
/linux-4.1.27/drivers/infiniband/hw/ehca/
Dehca_av.c95 av = kmem_cache_alloc(av_cache, GFP_KERNEL); in ehca_create_ah()
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
Dsq.c164 map = kmem_cache_alloc(sq_cache, GFP_KERNEL); in sq_remap()
/linux-4.1.27/fs/efs/
Dsuper.c70 ei = (struct efs_inode_info *)kmem_cache_alloc(efs_inode_cachep, GFP_KERNEL); in efs_alloc_inode()
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx_hwi.h251 return kmem_cache_alloc(asd_dma_token_cache, flags); in asd_dmatok_alloc()
/linux-4.1.27/fs/hfsplus/
Dattributes.c84 return kmem_cache_alloc(hfsplus_attr_tree_cachep, GFP_KERNEL); in hfsplus_alloc_attr_entry()
Dsuper.c620 i = kmem_cache_alloc(hfsplus_inode_cachep, GFP_KERNEL); in hfsplus_alloc_inode()
/linux-4.1.27/net/core/
Ddst.c171 dst = kmem_cache_alloc(ops->kmem_cachep, GFP_ATOMIC); in dst_alloc()
Dflow.c235 fle = kmem_cache_alloc(flow_cachep, GFP_ATOMIC); in flow_cache_lookup()
Dskbuff.c309 skb = kmem_cache_alloc(skbuff_head_cache, GFP_ATOMIC); in __build_skb()
1004 n = kmem_cache_alloc(skbuff_head_cache, gfp_mask); in skb_clone()
/linux-4.1.27/fs/fat/
Dcache.c63 return kmem_cache_alloc(fat_cache_cachep, GFP_NOFS); in fat_cache_alloc()
/linux-4.1.27/net/ipv6/
Dxfrm6_tunnel.c157 x6spi = kmem_cache_alloc(xfrm6_tunnel_spi_kmem, GFP_ATOMIC); in __xfrm6_tunnel_alloc_spi()
/linux-4.1.27/fs/logfs/
Dinode.c230 li = kmem_cache_alloc(logfs_inode_cache, GFP_NOFS); in logfs_alloc_inode()
/linux-4.1.27/arch/powerpc/mm/
Dpgtable_32.c90 ret = kmem_cache_alloc(pgtable_cache, GFP_KERNEL | __GFP_ZERO); in pgd_alloc()
/linux-4.1.27/include/trace/events/
Dkmem.h53 DEFINE_EVENT(kmem_alloc, kmem_cache_alloc,
/linux-4.1.27/drivers/mtd/ubi/
Dattach.c134 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in add_to_list()
166 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in add_corrupted()
574 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in ubi_add_to_av()
Dfastmap.c146 aeb = kmem_cache_alloc(ai->aeb_slab_cache, GFP_KERNEL); in add_aeb()
307 victim = kmem_cache_alloc(ai->aeb_slab_cache, in update_vol()
525 new_aeb = kmem_cache_alloc(ai->aeb_slab_cache, in scan_pool()
1032 e = kmem_cache_alloc(ubi_wl_entry_slab, GFP_KERNEL); in ubi_scan_fastmap()
Dwl.c1520 e = kmem_cache_alloc(ubi_wl_entry_slab, GFP_KERNEL);
1539 e = kmem_cache_alloc(ubi_wl_entry_slab, GFP_KERNEL);
1559 e = kmem_cache_alloc(ubi_wl_entry_slab, GFP_KERNEL);
/linux-4.1.27/drivers/usb/mon/
Dmon_text.c200 (ep = kmem_cache_alloc(rp->e_slab, GFP_ATOMIC)) == NULL) { in mon_text_event()
272 (ep = kmem_cache_alloc(rp->e_slab, GFP_ATOMIC)) == NULL) { in mon_text_error()
/linux-4.1.27/fs/qnx4/
Dinode.c338 ei = kmem_cache_alloc(qnx4_inode_cachep, GFP_KERNEL); in qnx4_alloc_inode()
/linux-4.1.27/arch/x86/include/asm/
Dfpu-internal.h581 fpu->state = kmem_cache_alloc(task_xstate_cachep, GFP_KERNEL); in fpu_alloc()
/linux-4.1.27/fs/openpromfs/
Dinode.c332 oi = kmem_cache_alloc(op_inode_cachep, GFP_KERNEL); in openprom_alloc_inode()
/linux-4.1.27/arch/x86/mm/
Dpgtable.c332 return kmem_cache_alloc(pgd_cache, PGALLOC_GFP); in _pgd_alloc()
/linux-4.1.27/net/xfrm/
Dxfrm_input.c109 sp = kmem_cache_alloc(secpath_cachep, GFP_ATOMIC); in secpath_dup()
/linux-4.1.27/block/
Dblk-integrity.c423 bi = kmem_cache_alloc(integrity_cachep, in blk_integrity_register()
Dbio.c227 bvl = kmem_cache_alloc(bvs->slab, __gfp_mask); in bvec_alloc()
/linux-4.1.27/fs/sysv/
Dinode.c316 si = kmem_cache_alloc(sysv_inode_cachep, GFP_KERNEL); in sysv_alloc_inode()
/linux-4.1.27/fs/hfs/
Dsuper.c165 i = kmem_cache_alloc(hfs_inode_cachep, GFP_KERNEL); in hfs_alloc_inode()
/linux-4.1.27/fs/squashfs/
Dsuper.c469 kmem_cache_alloc(squashfs_inode_cachep, GFP_KERNEL); in squashfs_alloc_inode()
/linux-4.1.27/arch/tile/mm/
Dpgtable.c216 pgd_t *pgd = kmem_cache_alloc(pgd_cache, GFP_KERNEL); in pgd_alloc()
/linux-4.1.27/drivers/iommu/
Diova.c49 return kmem_cache_alloc(iommu_iova_cache, GFP_ATOMIC); in alloc_iova_mem()
/linux-4.1.27/fs/afs/
Dsuper.c484 vnode = kmem_cache_alloc(afs_inode_cachep, GFP_KERNEL); in afs_alloc_inode()
/linux-4.1.27/tools/perf/Documentation/
Dexamples.txt15 kmem:kmem_cache_alloc [Tracepoint event]
/linux-4.1.27/fs/proc/
Dinode.c61 ei = (struct proc_inode *)kmem_cache_alloc(proc_inode_cachep, GFP_KERNEL); in proc_alloc_inode()
/linux-4.1.27/Documentation/trace/
Devents-kmem.txt30 kmem_cache_alloc call_site=%lx ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s
/linux-4.1.27/fs/nfsd/
Dnfscache.c134 rp = kmem_cache_alloc(drc_slab, GFP_KERNEL); in nfsd_reply_cache_alloc()
Dnfs4layouts.c388 new = kmem_cache_alloc(nfs4_layout_cache, GFP_KERNEL); in nfsd4_insert_layout()
/linux-4.1.27/arch/powerpc/platforms/pseries/
Dsetup.c309 dtl = kmem_cache_alloc(dtl_cache, GFP_KERNEL); in alloc_dispatch_logs()
/linux-4.1.27/fs/romfs/
Dsuper.c393 inode = kmem_cache_alloc(romfs_inode_cachep, GFP_KERNEL); in romfs_alloc_inode()
/linux-4.1.27/fs/ocfs2/dlmfs/
Ddlmfs.c346 ip = kmem_cache_alloc(dlmfs_inode_cache, GFP_NOFS); in dlmfs_alloc_inode()
/linux-4.1.27/fs/nilfs2/
Dsegbuf.c51 segbuf = kmem_cache_alloc(nilfs_segbuf_cachep, GFP_NOFS); in nilfs_segbuf_new()
Dsuper.c162 ii = kmem_cache_alloc(nilfs_inode_cachep, GFP_NOFS); in nilfs_alloc_inode()
/linux-4.1.27/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c103 ctxt = kmem_cache_alloc(svc_rdma_ctxt_cachep, GFP_KERNEL); in svc_rdma_get_context()
160 map = kmem_cache_alloc(svc_rdma_map_cachep, GFP_KERNEL); in svc_rdma_get_req_map()
/linux-4.1.27/fs/bfs/
Dinode.c244 bi = kmem_cache_alloc(bfs_inode_cachep, GFP_KERNEL); in bfs_alloc_inode()
/linux-4.1.27/fs/fscache/
Dcookie.c89 cookie = kmem_cache_alloc(fscache_cookie_jar, GFP_KERNEL); in __fscache_acquire_cookie()
/linux-4.1.27/net/tipc/
Dserver.c255 buf = kmem_cache_alloc(s->rcvbuf_cache, GFP_ATOMIC); in tipc_receive_from_sock()
/linux-4.1.27/fs/adfs/
Dsuper.c245 ei = (struct adfs_inode_info *)kmem_cache_alloc(adfs_inode_cachep, GFP_KERNEL); in adfs_alloc_inode()
/linux-4.1.27/fs/affs/
Dsuper.c97 i = kmem_cache_alloc(affs_inode_cachep, GFP_KERNEL); in affs_alloc_inode()
/linux-4.1.27/Documentation/fault-injection/
Dfault-injection.txt12 injects slab allocation failures. (kmalloc(), kmem_cache_alloc(), ...)
/linux-4.1.27/fs/f2fs/
Drecovery.c197 entry = kmem_cache_alloc(fsync_entry_slab, GFP_F2FS_ZERO); in find_fsync_dnodes()
Dcheckpoint.c334 e = kmem_cache_alloc(ino_entry_slab, GFP_ATOMIC); in __add_ino_entry()
Dsuper.c394 fi = kmem_cache_alloc(f2fs_inode_cachep, GFP_F2FS_ZERO); in f2fs_alloc_inode()
Df2fs.h1148 entry = kmem_cache_alloc(cachep, flags); in f2fs_kmem_cache_alloc()
/linux-4.1.27/net/can/
Daf_can.c483 r = kmem_cache_alloc(rcv_cache, GFP_KERNEL); in can_rx_register()
Dgw.c822 gwj = kmem_cache_alloc(cgw_cache, GFP_KERNEL); in cgw_create_job()
/linux-4.1.27/fs/notify/inotify/
Dinotify_user.c579 tmp_i_mark = kmem_cache_alloc(inotify_inode_mark_cachep, GFP_KERNEL); in inotify_new_watch()
/linux-4.1.27/drivers/s390/block/
Ddasd_fba.c329 char *copy = kmem_cache_alloc(dasd_page_cache, in dasd_fba_build_cp()
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-trans.h805 u8 *dev_cmd_ptr = kmem_cache_alloc(trans->dev_cmd_pool, GFP_ATOMIC); in iwl_trans_alloc_tx_cmd()
/linux-4.1.27/drivers/s390/cio/
Dqdio_setup.c143 q = kmem_cache_alloc(qdio_q_cache, GFP_KERNEL); in __qdio_allocate_qs()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd_support.h769 kmem_cache_alloc(slab, type | __GFP_ZERO) : \
/linux-4.1.27/fs/ocfs2/dlm/
Ddlmmaster.c808 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()
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/arch/powerpc/platforms/cell/spufs/
Dinode.c63 ei = kmem_cache_alloc(spufs_inode_cache, GFP_KERNEL); in spufs_alloc_inode()
/linux-4.1.27/fs/qnx6/
Dinode.c598 ei = kmem_cache_alloc(qnx6_inode_cachep, GFP_KERNEL); in qnx6_alloc_inode()
/linux-4.1.27/fs/hpfs/
Dsuper.c208 ei = (struct hpfs_inode_info *)kmem_cache_alloc(hpfs_inode_cachep, GFP_NOFS); in hpfs_alloc_inode()
/linux-4.1.27/net/openvswitch/
Dflow_table.c83 flow = kmem_cache_alloc(flow_cache, GFP_KERNEL); in ovs_flow_alloc()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_user_sdma.c424 pkt = kmem_cache_alloc(pq->pkt_slab, GFP_KERNEL); in ipath_user_sdma_queue_pkts()
/linux-4.1.27/fs/minix/
Dinode.c65 ei = (struct minix_inode_info *)kmem_cache_alloc(minix_inode_cachep, GFP_KERNEL); in minix_alloc_inode()
/linux-4.1.27/drivers/scsi/
Dscsi.c209 cmd->sense_buffer = kmem_cache_alloc(pool->sense_slab, in scsi_host_alloc_command()
/linux-4.1.27/fs/befs/
Dlinuxvfs.c279 bi = kmem_cache_alloc(befs_inode_cachep, GFP_KERNEL); in befs_alloc_inode()
/linux-4.1.27/Documentation/
Dkmemleak.txt72 The memory allocations via kmalloc, vmalloc, kmem_cache_alloc and
Dkmemcheck.txt440 204 q = kmem_cache_alloc(sigqueue_cachep, flags);
645 This flag can be passed to kmalloc() or kmem_cache_alloc() (therefore
/linux-4.1.27/drivers/staging/ozwpan/
Dozpd.c322 f = kmem_cache_alloc(oz_tx_frame_cache, GFP_ATOMIC); in oz_tx_frame_alloc()
/linux-4.1.27/fs/jfs/
Dsuper.c117 jfs_inode = kmem_cache_alloc(jfs_inode_cachep, GFP_NOFS); in jfs_alloc_inode()
/linux-4.1.27/drivers/md/
Ddm-snap.c665 e = kmem_cache_alloc(exception_cache, gfp); in alloc_completed_exception()
667 e = kmem_cache_alloc(exception_cache, GFP_ATOMIC); in alloc_completed_exception()
Ddm-bufio.c377 return kmem_cache_alloc(DM_BUFIO_CACHE(c), gfp_mask); in alloc_buffer_data()
/linux-4.1.27/fs/exofs/
Dsuper.c158 oi = kmem_cache_alloc(exofs_inode_cachep, GFP_KERNEL); in exofs_alloc_inode()
/linux-4.1.27/drivers/infiniband/core/
Dmad.c774 mad_priv = kmem_cache_alloc(ib_mad_cache, GFP_ATOMIC); in handle_outgoing_dr_smp()
1985 response = kmem_cache_alloc(ib_mad_cache, GFP_KERNEL); in ib_mad_recv_done_handler()
2666 mad_priv = kmem_cache_alloc(ib_mad_cache, GFP_KERNEL); in ib_mad_post_receive_mads()
/linux-4.1.27/net/bridge/
Dbr_fdb.c476 fdb = kmem_cache_alloc(br_fdb_cache, GFP_ATOMIC); in fdb_create()
/linux-4.1.27/fs/cifs/
Dcifsfs.c252 cifs_inode = kmem_cache_alloc(cifs_inode_cachep, GFP_KERNEL); in cifs_alloc_inode()
/linux-4.1.27/fs/hugetlbfs/
Dinode.c664 p = kmem_cache_alloc(hugetlbfs_inode_cachep, GFP_KERNEL); in hugetlbfs_alloc_inode()
/linux-4.1.27/kernel/trace/
Dtrace_events.c111 field = kmem_cache_alloc(field_cachep, GFP_TRACE); in __trace_define_field()
1851 file = kmem_cache_alloc(file_cachep, GFP_TRACE); in trace_create_new_event()
/linux-4.1.27/fs/ncpfs/
Dinode.c55 ei = (struct ncp_inode_info *)kmem_cache_alloc(ncp_inode_cachep, GFP_KERNEL); in ncp_alloc_inode()
/linux-4.1.27/drivers/staging/unisys/uislib/
Duislib.c965 void *p = kmem_cache_alloc(cur_pool, GFP_ATOMIC | __GFP_NORETRY); in uislib_cache_alloc()
/linux-4.1.27/fs/fuse/
Dinode.c84 inode = kmem_cache_alloc(fuse_inode_cachep, GFP_KERNEL); in fuse_alloc_inode()
/linux-4.1.27/fs/isofs/
Dinode.c68 ei = kmem_cache_alloc(isofs_inode_cachep, GFP_KERNEL); in isofs_alloc_inode()
/linux-4.1.27/fs/9p/
Dvfs_inode.c241 v9inode = (struct v9fs_inode *)kmem_cache_alloc(v9fs_inode_cache, in v9fs_alloc_inode()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_user_sdma.c962 pkt = kmem_cache_alloc(pq->pkt_slab, GFP_KERNEL); in qib_user_sdma_queue_pkts()
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_conn.c882 cp = kmem_cache_alloc(ip_vs_conn_cachep, GFP_ATOMIC); in ip_vs_conn_new()
/linux-4.1.27/drivers/staging/fwserial/
Dfwserial.c248 txn = kmem_cache_alloc(fwtty_txn_cache, GFP_ATOMIC); in fwtty_send_data_async()
739 txn = kmem_cache_alloc(fwtty_txn_cache, GFP_ATOMIC); in fwtty_tx()
/linux-4.1.27/fs/gfs2/
Dsuper.c1630 ip = kmem_cache_alloc(gfs2_inode_cachep, GFP_KERNEL); in gfs2_alloc_inode()
/linux-4.1.27/net/mac80211/
Dmesh.c241 p = kmem_cache_alloc(rm_cache, GFP_ATOMIC); in mesh_rmc_check()
/linux-4.1.27/fs/ceph/
Dfile.c92 cf = kmem_cache_alloc(ceph_file_cachep, GFP_NOFS | __GFP_ZERO); in ceph_init_file()
Ddir.c41 di = kmem_cache_alloc(ceph_dentry_cachep, GFP_NOFS | __GFP_ZERO); in ceph_init_dentry()
Dcaps.c176 cap = kmem_cache_alloc(ceph_cap_cachep, GFP_NOFS); in ceph_reserve_caps()
231 cap = kmem_cache_alloc(ceph_cap_cachep, GFP_NOFS); in ceph_get_cap()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c1266 runqueue_node = kmem_cache_alloc(g2d->runqueue_slab, GFP_KERNEL); in exynos_g2d_exec_ioctl()
/linux-4.1.27/net/sunrpc/
Drpc_pipe.c198 rpci = kmem_cache_alloc(rpc_inode_cachep, GFP_KERNEL); in rpc_alloc_inode()
/linux-4.1.27/ipc/
Dmqueue.c354 ei = kmem_cache_alloc(mqueue_inode_cachep, GFP_KERNEL); in mqueue_alloc_inode()
/linux-4.1.27/fs/ext2/
Dsuper.c163 ei = kmem_cache_alloc(ext2_inode_cachep, GFP_KERNEL); in ext2_alloc_inode()
/linux-4.1.27/drivers/firewire/
Dnet.c1236 ptask = kmem_cache_alloc(fwnet_packet_task_cache, GFP_ATOMIC); in fwnet_tx()
/linux-4.1.27/fs/ufs/
Dsuper.c1426 ei = kmem_cache_alloc(ufs_inode_cachep, GFP_NOFS); in ufs_alloc_inode()
/linux-4.1.27/drivers/dma/ioat/
Ddma_v3.c262 sed = kmem_cache_alloc(ioat3_sed_cache, flags); in ioat3_alloc_sed()
/linux-4.1.27/drivers/xen/
Dxen-scsiback.c731 pending_req = kmem_cache_alloc(scsiback_cachep, GFP_KERNEL); in scsiback_do_cmd_fn()
/linux-4.1.27/drivers/staging/unisys/visorchipset/
Dvisorchipset_main.c2073 p = kmem_cache_alloc(pool, gfp); in visorchipset_cache_alloc()

12