Lines Matching refs:size
15 struct spl_load_info *info, size_t size, in _spl_load() argument
41 if (!size) in _spl_load()
42 size = round_up(fdt_totalsize(header), 4); in _spl_load()
43 buf = map_sysmem(CONFIG_SYS_LOAD_ADDR, size); in _spl_load()
45 ALIGN(size, spl_get_bl_len(info)), in _spl_load()
47 if (read < size) in _spl_load()
87 size = ALIGN(spl_image->size + overhead, spl_get_bl_len(info)); in _spl_load()
89 read = info->read(info, offset + image_offset, size, in _spl_load()
90 map_sysmem(spl_image->load_addr - overhead, size)); in _spl_load()
95 return read < spl_image->size ? -EIO : 0; in _spl_load()
142 size_t size, size_t offset);
146 struct spl_load_info *info, size_t size, in spl_load() argument
149 return _spl_load(spl_image, bootdev, info, size, offset); in spl_load()