/u-boot/arch/arm/mach-k3/ |
H A D | common_fdt.h | 12 unsigned int new_address, unsigned int new_size);
|
H A D | common_fdt.c | 117 unsigned int new_address, unsigned int new_size) 144 new_size = size; 158 .end = new_address + new_size - 1, 116 fdt_fixup_reserved(void *blob, const char *name, unsigned int new_address, unsigned int new_size) argument
|
/u-boot/lib/ |
H A D | abuf.c | 45 bool abuf_realloc(struct abuf *abuf, size_t new_size) argument 49 if (!new_size) { 55 ptr = realloc(abuf->data, new_size); 59 abuf->size = new_size; 61 } else if (new_size <= abuf->size) { 64 * it. Data is lost off the end if new_size < abuf->size 66 abuf->size = new_size; 72 ptr = malloc(new_size); 78 abuf->size = new_size;
|
H A D | fdtdec.c | 1848 u64 new_size; local 1851 new_size = get_ram_size((long *)(uintptr_t)addr, size); 1852 if (new_size == size) { 1855 debug("sized to %llx\n", new_size); 1856 size = new_size;
|
/u-boot/fs/yaffs2/ |
H A D | yaffs_yaffs2.h | 36 int yaffs2_handle_hole(struct yaffs_obj *obj, loff_t new_size);
|
H A D | yaffsfs.h | 98 int yaffs_truncate(const YCHAR *path, loff_t new_size); 99 int yaffs_ftruncate(int fd, loff_t new_size);
|
H A D | yaffs_guts.h | 852 int yaffs_resize_file(struct yaffs_obj *obj, loff_t new_size); 948 void yaffs_resize_file_down(struct yaffs_obj *obj, loff_t new_size);
|
H A D | yaffsfs.c | 1305 int yaffs_truncate(const YCHAR *path, loff_t new_size) argument 1340 else if (new_size < 0 || new_size > YAFFS_MAX_FILE_SIZE) 1343 result = yaffs_resize_file(obj, new_size); 1350 int yaffs_ftruncate(int handle, loff_t new_size) argument 1367 else if (new_size < 0 || new_size > YAFFS_MAX_FILE_SIZE) 1371 result = yaffs_resize_file(obj, new_size);
|
H A D | yaffs_guts.c | 3672 static void yaffs_prune_chunks(struct yaffs_obj *in, loff_t new_size) argument 3688 yaffs_addr_to_chunk(dev, new_size + dev->data_bytes_per_chunk - 1, 3722 void yaffs_resize_file_down(struct yaffs_obj *obj, loff_t new_size) argument 3728 yaffs_addr_to_chunk(dev, new_size, &new_full, &new_partial); 3730 yaffs_prune_chunks(obj, new_size); 3747 obj->variant.file_variant.file_size = new_size; 3752 int yaffs_resize_file(struct yaffs_obj *in, loff_t new_size) argument 3765 if (new_size == old_size) 3768 if (new_size > old_size) { 3769 yaffs2_handle_hole(in, new_size); [all...] |
H A D | yaffs_yaffs2.c | 832 int yaffs2_handle_hole(struct yaffs_obj *obj, loff_t new_size) argument 834 /* if new_size > old_file_size. 861 if (new_size <= old_file_size) 864 increase = new_size - old_file_size;
|
/u-boot/scripts/kconfig/ |
H A D | zconf.l | 53 int new_size = text_size + size + 1; 54 if (new_size > text_asize) { 55 new_size += START_STRSIZE - 1; 56 new_size &= -START_STRSIZE; 57 text = xrealloc(text, new_size); 58 text_asize = new_size;
|
H A D | confdata.c | 232 size_t new_size = slen + 1; local 233 if (new_size > *n) { 234 new_size += LINE_GROWTH - 1; 235 new_size *= 2; 236 nline = xrealloc(*lineptr, new_size); 241 *n = new_size;
|
/u-boot/include/ |
H A D | abuf.h | 82 * @new_size: new size in bytes. 87 * the end is lost. If @new_size is 0, this sets the alloced member to 91 bool abuf_realloc(struct abuf *abuf, size_t new_size);
|
H A D | bloblist.h | 329 * @new_size: New size of the blob (>0 to expand, <0 to contract) 333 int bloblist_resize(uint tag, int new_size);
|
/u-boot/common/ |
H A D | bloblist.c | 288 int new_size) 294 expand_by = ALIGN(new_size - rec->size, BLOBLIST_BLOB_ALIGN); 296 if (new_size < 0) { 298 new_size); 302 log_err("Failed to allocate %x bytes\n", new_size); 319 new_size - rec->size); 323 rec->size = new_size; 328 int bloblist_resize(uint tag, int new_size) argument 337 ret = bloblist_resize_rec(hdr, rec, new_size); 286 bloblist_resize_rec(struct bloblist_hdr *hdr, struct bloblist_rec *rec, int new_size) argument
|
H A D | dlmalloc.c | 174 long new_size = max (NEXT_SIZE, AlignPage (size)); local 178 new_address = findRegion (new_address, new_size); 184 (unsigned int)VirtualAlloc (new_address, new_size, 194 gAllocatedSize = new_size; 1067 static mchunkptr mremap_chunk(mchunkptr p, size_t new_size) argument 1069 static mchunkptr mremap_chunk(p, new_size) mchunkptr p; size_t new_size; 1083 new_size = (new_size + offset + SIZE_SZ + page_mask) & ~page_mask; 1085 cp = (char *)mremap((char *)p - offset, size + offset, new_size, [all...] |
/u-boot/test/ |
H A D | bloblist.c | 382 ulong new_size; local 394 new_size = TEST_BLOBLIST_SIZE + 0x100; 396 ut_assertok(bloblist_reloc(new_ptr, new_size)); 467 int new_size; local 488 new_size = small_size - BLOBLIST_ALIGN - 4; 489 ut_assertok(bloblist_resize(TEST_TAG, new_size)); 492 blob1_new = bloblist_find(TEST_TAG, new_size); 517 int new_size; local 538 new_size = small_size + (hdr->total_size - hdr->used_size); 539 ut_asserteq(-ENOSPC, bloblist_resize(TEST_TAG, new_size [all...] |
/u-boot/fs/ubifs/ |
H A D | replay.c | 44 * @new_size: truncation new size 62 loff_t new_size; member in struct:replay_entry::__anon487::__anon488 191 min_blk = r->new_size / UBIFS_BLOCK_SIZE; 192 if (r->new_size & (UBIFS_BLOCK_SIZE - 1)) 255 r->new_size); 342 * @new_size: truncation new size 354 loff_t new_size) 376 r->new_size = new_size; 598 loff_t new_size local 351 insert_node(struct ubifs_info *c, int lnum, int offs, int len, union ubifs_key *key, unsigned long long sqnum, int deletion, int *used, loff_t old_size, loff_t new_size) argument 610 loff_t new_size = le32_to_cpu(dn->size) + local 638 loff_t new_size = le64_to_cpu(trun->new_size); local [all...] |
H A D | recovery.c | 1353 * @new_size: inode size 1374 int deletion, loff_t new_size) 1387 e->i_size = new_size; 1390 err = add_ino(c, inum, new_size, 0, 1); 1399 if (new_size > e->d_size) 1400 e->d_size = new_size; 1402 err = add_ino(c, inum, 0, new_size, 0); 1410 e->d_size = new_size; 1373 ubifs_recover_size_accum(struct ubifs_info *c, union ubifs_key *key, int deletion, loff_t new_size) argument
|
H A D | ubifs-media.h | 560 * @new_size: size after truncation 571 __le64 new_size; member in struct:ubifs_trun_node
|
/u-boot/drivers/core/ |
H A D | dump.c | 307 int cur_size, new_size, delta; local 310 new_size = stats->dev_count * (sizeof(struct udevice) - 322 new_size += stats->attach_count[i] * sizeof(u32); 323 delta = cur_size - new_size; 327 cur_size, new_size, delta > 0 ? delta : 0, delta);
|
/u-boot/tools/ |
H A D | fit_image.c | 500 int fit_size, unpadded_size, new_size, pad_boundary; local 568 new_size = ALIGN(unpadded_size, align_size); 569 fdt_set_totalsize(fdt, new_size); 571 pad_boundary = new_size < fit_size ? new_size : fit_size; 578 if (ftruncate(fd, new_size)) { 587 if (params->external_offset < new_size) { 590 params->external_offset, new_size); 594 new_size = params->external_offset; 596 if (lseek(fd, new_size, SEEK_SE 625 int fit_size, new_size, size, data_base; local [all...] |
H A D | zynqmpbif.c | 242 size_t new_size; local 263 new_size = ROUND(bif_output.data_len + len, 64); 264 new_data = realloc(bif_output.data, new_size); 269 bif_output.data_len = new_size;
|
/u-boot/tools/binman/ |
H A D | entry.py | 450 new_size = len(data) 451 if state.AllowEntryExpansion() and new_size > self.contents_size: 454 elif state.AllowEntryContraction() and new_size < self.contents_size: 459 if new_size > self.contents_size: 461 (self.contents_size, new_size)) 464 if size_ok and new_size < self.contents_size: 465 data += tools.get_bytes(0, self.contents_size - new_size) 470 to_hex(new_size)))
|
/u-boot/lib/efi_loader/ |
H A D | efi_bootmgr.c | 1015 efi_uintn_t last, size, new_size; local 1020 new_size = size + sizeof(u16); 1021 new_bootorder = calloc(1, new_size); 1033 new_size, new_bootorder, false);
|