Home
last modified time | relevance | path

Searched refs:kmalloc (Results 1 – 25 of 48) sorted by relevance

12

/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_allocator.c115 new_tnodes = kmalloc(n_tnodes * dev->tnode_size, GFP_NOFS); in yaffs_create_tnodes()
142 tnl = kmalloc(sizeof(struct yaffs_tnode_list), GFP_NOFS); in yaffs_create_tnodes()
258 new_objs = kmalloc(n_obj * sizeof(struct yaffs_obj), GFP_NOFS); in yaffs_create_free_objs()
259 list = kmalloc(sizeof(struct yaffs_obj_list), GFP_NOFS); in yaffs_create_free_objs()
350 allocator = kmalloc(sizeof(struct yaffs_allocator), GFP_NOFS); in yaffs_init_raw_tnodes_and_objs()
H A Dyaffs_summary.c89 dev->sum_tags = kmalloc(sum_tags_bytes, GFP_NOFS); in yaffs_summary_init()
90 dev->gc_sum_tags = kmalloc(sum_tags_bytes, GFP_NOFS); in yaffs_summary_init()
H A Dyaffs_checkptrw.c155 kmalloc(dev->param.total_bytes_per_chunk, GFP_NOFS); in yaffs2_checkpt_open()
182 kmalloc(sizeof(int) * dev->checkpt_max_blocks, GFP_NOFS); in yaffs2_checkpt_open()
H A Dyaffs_yaffs1.c211 kmalloc(sizeof in yaffs1_scan()
/openbmc/u-boot/include/linux/
H A Dcompat.h72 void *kmalloc(size_t size, int flags);
76 return kmalloc(size, flags | __GFP_ZERO); in kzalloc()
83 return kmalloc(n * size, flags | __GFP_ZERO); in kmalloc_array()
91 #define vmalloc(size) kmalloc(size, 0)
92 #define __vmalloc(size, flags, pgsz) kmalloc(size, flags)
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_bch.c191 nbc->eccmask = kmalloc(eccbytes, GFP_KERNEL); in nand_bch_init()
192 nbc->errloc = kmalloc(t*sizeof(*nbc->errloc), GFP_KERNEL); in nand_bch_init()
198 erased_page = kmalloc(eccsize, GFP_KERNEL); in nand_bch_init()
/openbmc/u-boot/lib/
H A Dlinux_compat.c18 void *kmalloc(size_t size, int flags) in kmalloc() function
H A Dlist_sort.c223 elts = kmalloc(sizeof(void *) * TEST_LIST_LEN, GFP_KERNEL); in list_sort_test()
231 el = kmalloc(sizeof(*el), GFP_KERNEL); in list_sort_test()
/openbmc/u-boot/include/dm/
H A Ddevice.h922 return kmalloc(size, gfp); in devm_kmalloc()
936 return kmalloc(n * size, flags); in devm_kmaloc_array()
943 return kmalloc(n * size, flags | __GFP_ZERO); in devm_kcalloc()
/openbmc/openbmc/poky/documentation/profile-manual/
H A Dusage.rst150 5566 kmem:kmalloc
478 kmem:kmalloc [Tracepoint event]
1518 drwxr-xr-x 2 root root 0 Nov 14 23:19 kmalloc
1531 specific tracepoint, in this case the one for ``kmalloc``::
1533 root@sugarbay:/sys/kernel/debug/tracing/events/kmem# cd kmalloc
1534 root@sugarbay:/sys/kernel/debug/tracing/events/kmem/kmalloc# ls -al
1547 ``kmalloc`` event looks like::
1549 root@sugarbay:/sys/kernel/debug/tracing/events/kmem/kmalloc# cat format
1550 name: kmalloc
1586 described previously. For example, this turns on the ``kmalloc`` tracepoint::
[all …]
/openbmc/u-boot/drivers/mtd/ubi/
H A Deba.c132 le = kmalloc(sizeof(struct ubi_ltree_entry), GFP_NOFS); in ltree_add_entry()
1302 scan_eba = kmalloc(sizeof(*scan_eba) * num_volumes, GFP_KERNEL); in self_check_eba()
1306 fm_eba = kmalloc(sizeof(*fm_eba) * num_volumes, GFP_KERNEL); in self_check_eba()
1317 scan_eba[i] = kmalloc(vol->reserved_pebs * sizeof(**scan_eba), in self_check_eba()
1324 fm_eba[i] = kmalloc(vol->reserved_pebs * sizeof(**fm_eba), in self_check_eba()
1408 vol->eba_tbl = kmalloc(vol->reserved_pebs * sizeof(int), in ubi_eba_init()
H A Dfastmap-wl.c301 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in ubi_ensure_anchor_pebs()
H A Dvmt.c239 vol->eba_tbl = kmalloc(vol->reserved_pebs * sizeof(int), GFP_KERNEL); in ubi_create_volume()
450 new_mapping = kmalloc(reserved_pebs * sizeof(int), GFP_KERNEL); in ubi_resize_volume()
H A Dwl.c613 wl_wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in schedule_erase()
647 wl_wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in do_sync_erase()
1019 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS);
/openbmc/u-boot/fs/ubifs/
H A Dsuper.c282 ino = kmalloc(UBIFS_MAX_INO_NODE_SZ, GFP_NOFS); in ubifs_iget()
329 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget()
355 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget()
370 ui->data = kmalloc(sizeof(union ubifs_dev_desc), GFP_NOFS); in ubifs_iget()
409 ui->data = kmalloc(ui->data_len + 1, GFP_NOFS); in ubifs_iget()
1289 c->bu.buf = kmalloc(c->max_bu_buf_len, GFP_KERNEL | __GFP_NOWARN); in bu_init()
1387 c->bottom_up_buf = kmalloc(BOTTOM_UP_HEIGHT * sizeof(int), GFP_KERNEL); in mount_ubifs()
1408 c->write_reserve_buf = kmalloc(COMPRESSED_DATA_NODE_BUF_SZ, in mount_ubifs()
1440 c->cbuf = kmalloc(sz, GFP_NOFS); in mount_ubifs()
1850 c->write_reserve_buf = kmalloc(COMPRESSED_DATA_NODE_BUF_SZ, GFP_KERNEL); in ubifs_remount_rw()
H A Dlpt.c626 lsave = kmalloc(sizeof(int) * c->lsave_cnt, GFP_KERNEL); in ubifs_create_dflt_lpt()
1500 n = kmalloc(sizeof(struct ubifs_nnode), GFP_NOFS); in dirty_cow_nnode()
1551 p = kmalloc(sizeof(struct ubifs_pnode), GFP_NOFS); in dirty_cow_pnode()
1635 c->lpt_nod_buf = kmalloc(i, GFP_KERNEL); in lpt_init_rd()
1640 c->lpt_heap[i].arr = kmalloc(sizeof(void *) * LPT_HEAP_SZ, in lpt_init_rd()
1648 c->dirty_idx.arr = kmalloc(sizeof(void *) * LPT_HEAP_SZ, GFP_KERNEL); in lpt_init_rd()
1702 c->lsave = kmalloc(sizeof(int) * c->lsave_cnt, GFP_NOFS); in lpt_init_wr()
1949 path = kmalloc(sizeof(struct lpt_scan_node) * (c->lpt_hght + 1), in ubifs_lpt_scan_nolock()
H A Dreplay.c412 nbuf = kmalloc(nlen + 1, GFP_KERNEL); in insert_dent()
746 bud = kmalloc(sizeof(struct ubifs_bud), GFP_KERNEL); in add_replay_bud()
750 b = kmalloc(sizeof(struct bud_entry), GFP_KERNEL); in add_replay_bud()
H A Dscan.c193 snod = kmalloc(sizeof(struct ubifs_scan_node), GFP_NOFS); in ubifs_add_snod()
H A Dlog.c173 bud = kmalloc(sizeof(struct ubifs_bud), GFP_NOFS); in ubifs_add_bud_to_log()
363 buf = cs = kmalloc(max_len, GFP_NOFS); in ubifs_log_start_commit()
H A Dgc.c530 idx_gc = kmalloc(sizeof(struct ubifs_gced_idx_leb), GFP_NOFS); in ubifs_garbage_collect_leb()
876 idx_gc = kmalloc(sizeof(struct ubifs_gced_idx_leb), GFP_NOFS); in ubifs_gc_start_commit()
H A Dtnc.c76 old_idx = kmalloc(sizeof(struct ubifs_old_idx), GFP_NOFS); in insert_old_idx()
195 zn = kmalloc(c->max_znode_sz, GFP_NOFS); in copy_znode()
524 dent = kmalloc(zbr->len, GFP_NOFS); in matches_name()
812 dent = kmalloc(zbr->len, GFP_NOFS); in fallible_matches_name()
1084 c->bottom_up_buf = kmalloc(c->zroot.znode->level * sizeof(int), in dirty_cow_bottom_up()
2798 dent = kmalloc(zbr->len, GFP_NOFS); in ubifs_tnc_next_ent()
H A Dubifs.c84 p = kmalloc(len, gfp); in kmemdup()
754 dn = kmalloc(UBIFS_MAX_DATA_NODE_SZ, GFP_NOFS); in do_readpage()
H A Dtnc_misc.c270 idx = kmalloc(c->max_idx_node_sz, GFP_NOFS); in read_znode()
/openbmc/u-boot/drivers/core/
H A Ddevres.c67 dr = kmalloc(tot_size, gfp); in __devres_alloc()
/openbmc/u-boot/drivers/mtd/
H A Dmtdconcat.c436 erase = kmalloc(sizeof (struct erase_info), GFP_KERNEL); in concat_erase()
881 kmalloc(num_erase_region * in mtd_concat_create()

12