Searched refs:dtb_sz (Results 1 – 1 of 1) sorted by relevance
21 size_t dtb_sz; in dtb_node_load_from_fs() local39 dtb_sz = lseek(fd, 0, SEEK_END); in dtb_node_load_from_fs()41 if (dtb_sz > 0) in dtb_node_load_from_fs()43 if ((fdt = (struct fdt_header *)malloc(sizeof(uint8_t) * dtb_sz)) == NULL) in dtb_node_load_from_fs()50 read(fd, fdt, sizeof(uint8_t) * dtb_sz); in dtb_node_load_from_fs()87 size_t dtb_sz = fdt_totalsize(dtb_ptr); in dtb_node_load_from_memory() local88 if (dtb_sz > 0) in dtb_node_load_from_memory()90 if ((fdt = (size_t *)malloc(dtb_sz)) != NULL) in dtb_node_load_from_memory()92 memcpy(fdt, dtb_ptr, dtb_sz); in dtb_node_load_from_memory()
Completed in 6 milliseconds