| /openbmc/u-boot/fs/yaffs2/ |
| H A D | yaffs_allocator.c | 115 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 D | yaffs_summary.c | 89 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 D | yaffs_checkptrw.c | 155 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 D | yaffs_yaffs1.c | 211 kmalloc(sizeof in yaffs1_scan()
|
| /openbmc/u-boot/include/linux/ |
| H A D | compat.h | 72 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 D | nand_bch.c | 191 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 D | linux_compat.c | 18 void *kmalloc(size_t size, int flags) in kmalloc() function
|
| H A D | list_sort.c | 223 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 D | device.h | 922 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 D | usage.rst | 150 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 D | eba.c | 132 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 D | fastmap-wl.c | 301 wrk = kmalloc(sizeof(struct ubi_work), GFP_NOFS); in ubi_ensure_anchor_pebs()
|
| H A D | vmt.c | 239 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 D | wl.c | 613 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 D | super.c | 282 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 D | lpt.c | 626 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 D | replay.c | 412 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 D | scan.c | 193 snod = kmalloc(sizeof(struct ubifs_scan_node), GFP_NOFS); in ubifs_add_snod()
|
| H A D | log.c | 173 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 D | gc.c | 530 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 D | tnc.c | 76 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 D | ubifs.c | 84 p = kmalloc(len, gfp); in kmemdup() 754 dn = kmalloc(UBIFS_MAX_DATA_NODE_SZ, GFP_NOFS); in do_readpage()
|
| H A D | tnc_misc.c | 270 idx = kmalloc(c->max_idx_node_sz, GFP_NOFS); in read_znode()
|
| /openbmc/u-boot/drivers/core/ |
| H A D | devres.c | 67 dr = kmalloc(tot_size, gfp); in __devres_alloc()
|
| /openbmc/u-boot/drivers/mtd/ |
| H A D | mtdconcat.c | 436 erase = kmalloc(sizeof (struct erase_info), GFP_KERNEL); in concat_erase() 881 kmalloc(num_erase_region * in mtd_concat_create()
|