Home
last modified time | relevance | path

Searched refs:kzalloc (Results 1 – 25 of 53) sorted by relevance

123

/external/u-boot/fs/ubifs/
Dubifs.c402 file = kzalloc(sizeof(struct file), 0); in ubifs_finddir()
403 dentry = kzalloc(sizeof(struct dentry), 0); in ubifs_finddir()
404 dir = kzalloc(sizeof(struct inode), 0); in ubifs_finddir()
599 file = kzalloc(sizeof(struct file), 0); in ubifs_ls()
600 dentry = kzalloc(sizeof(struct dentry), 0); in ubifs_ls()
601 dir = kzalloc(sizeof(struct inode), 0); in ubifs_ls()
Dsb.c156 sup = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem()
202 mst = kzalloc(c->mst_node_alsz, GFP_KERNEL); in create_default_filesystem()
265 idx = kzalloc(ALIGN(tmp, c->min_io_size), GFP_KERNEL); in create_default_filesystem()
289 ino = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem()
325 cs = kzalloc(tmp, GFP_KERNEL); in create_default_filesystem()
Dorphan.c59 orphan = kzalloc(sizeof(struct ubifs_orphan), GFP_NOFS); in ubifs_add_orphan()
506 orphan = kzalloc(sizeof(struct ubifs_orphan), GFP_KERNEL); in insert_dead_orphan()
763 orphan = kzalloc(sizeof(struct check_orphan), GFP_NOFS); in dbg_ins_check_orphan()
Dlog.c176 ref = kzalloc(c->ref_node_alsz, GFP_NOFS); in ubifs_add_bud_to_log()
559 dr = kzalloc(sizeof(struct done_ref), GFP_NOFS); in done_already()
Dscan.c137 sleb = kzalloc(sizeof(struct ubifs_scan_leb), GFP_NOFS); in ubifs_start_scan()
Dreplay.c361 r = kzalloc(sizeof(struct replay_entry), GFP_KERNEL); in insert_node()
408 r = kzalloc(sizeof(struct replay_entry), GFP_KERNEL); in insert_dent()
Dtnc_misc.c409 znode = kzalloc(c->max_znode_sz, GFP_NOFS); in ubifs_load_znode()
Dlpt.c627 pnode = kzalloc(sizeof(struct ubifs_pnode), GFP_KERNEL); in ubifs_create_dflt_lpt()
628 nnode = kzalloc(sizeof(struct ubifs_nnode), GFP_KERNEL); in ubifs_create_dflt_lpt()
1205 nnode = kzalloc(sizeof(struct ubifs_nnode), GFP_NOFS); in ubifs_read_nnode()
1268 pnode = kzalloc(sizeof(struct ubifs_pnode), GFP_NOFS); in read_pnode()
/external/u-boot/drivers/video/exynos/
Dexynos_mipi_dsi.c53 dsim_ddi = kzalloc(sizeof(struct mipi_dsim_ddi), GFP_KERNEL); in exynos_mipi_dsi_register_lcd_device()
179 dsim = kzalloc(sizeof(struct mipi_dsim_device), GFP_KERNEL); in exynos_mipi_dsi_init()
/external/u-boot/include/linux/
Dcompat.h55 static inline void *kzalloc(size_t size, gfp_t flags) in kzalloc() function
76 return kzalloc(size, 0); in vzalloc()
/external/squashfs-tools/kernel/fs/squashfs/
Dsuper.c81 sb->s_fs_info = kzalloc(sizeof(*msblk), GFP_KERNEL); in squashfs_fill_super()
95 sblk = kzalloc(sizeof(*sblk), GFP_KERNEL); in squashfs_fill_super()
Dcache.c237 struct squashfs_cache *cache = kzalloc(sizeof(*cache), GFP_KERNEL); in squashfs_cache_init()
/external/u-boot/include/dm/
Ddevice.h807 return kzalloc(size, gfp); in devres_alloc()
856 return kzalloc(size, gfp); in devm_kzalloc()
/external/u-boot/drivers/mtd/ubi/
Dattach.c673 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in early_erase_peb()
1232 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_all()
1302 ai = kzalloc(sizeof(struct ubi_attach_info), GFP_KERNEL); in alloc_ai()
1341 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_fast()
1702 buf = kzalloc(ubi->peb_count, GFP_KERNEL); in self_check_ai()
Dfastmap.c468 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_pool()
898 fm = kzalloc(sizeof(*fm), GFP_KERNEL); in ubi_scan_fastmap()
941 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in ubi_scan_fastmap()
1366 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in erase_block()
1425 fm = kzalloc(sizeof(*fm), GFP_KERNEL); in invalidate_fastmap()
1514 new_fm = kzalloc(sizeof(*new_fm), GFP_KERNEL); in ubi_update_fastmap()
Dvtbl.c541 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL);
620 vol = kzalloc(sizeof(struct ubi_volume), GFP_KERNEL);
Dwl.c443 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_NOFS); in sync_erase()
1545 ubi->lookuptbl = kzalloc(ubi->peb_count * sizeof(void *), GFP_KERNEL);
1714 ec_hdr = kzalloc(ubi->ec_hdr_alsize, GFP_NOFS);
/external/u-boot/drivers/pinctrl/renesas/
Dpfc.c369 pfc->ranges = kzalloc(sizeof(*pfc->ranges), GFP_KERNEL); in sh_pfc_init_ranges()
390 pfc->ranges = kzalloc(sizeof(*pfc->ranges) * nr_ranges, GFP_KERNEL); in sh_pfc_init_ranges()
755 pmx->configs = kzalloc(sizeof(*pmx->configs) * pfc->info->nr_pins, in sh_pfc_map_pins()
/external/ltp/testcases/kernel/device-drivers/nls/
DnlsTest.c153 dev = kzalloc(sizeof(*dev), GFP_KERNEL); in test_init_module()
/external/u-boot/drivers/mtd/nand/
Dnand_bch.c134 nbc = kzalloc(sizeof(*nbc), GFP_KERNEL); in nand_bch_init()
Dfsl_elbc_nand.c639 elbc_ctrl = kzalloc(sizeof(*elbc_ctrl), GFP_KERNEL); in fsl_elbc_ctrl_init()
671 priv = kzalloc(sizeof(*priv), GFP_KERNEL); in fsl_elbc_chip_init()
Dsunxi_nand.c1394 data = kzalloc(sizeof(*data), GFP_KERNEL); in sunxi_nand_hw_common_ecc_ctrl_init()
1586 ecc->layout = kzalloc(sizeof(*ecc->layout), GFP_KERNEL); in sunxi_nand_ecc_init()
1620 chip = kzalloc(sizeof(*chip) + in sunxi_nand_chip_init()
1805 nfc = kzalloc(sizeof(*nfc), GFP_KERNEL); in sunxi_nand_init()
Dfsl_ifc_nand.c760 ifc_ctrl = kzalloc(sizeof(*ifc_ctrl), GFP_KERNEL); in fsl_ifc_ctrl_init()
888 priv = kzalloc(sizeof(*priv), GFP_KERNEL); in fsl_ifc_chip_init()
/external/u-boot/drivers/net/phy/
Dti.c218 dp83867 = kzalloc(sizeof(*dp83867), GFP_KERNEL); in dp83867_config()
/external/u-boot/drivers/usb/gadget/udc/
Dudc-core.c181 udc = kzalloc(sizeof(*udc), GFP_KERNEL); in usb_add_gadget_udc_release()

123