Lines Matching refs:file_size
330 elf_word mem_size, file_size, data_offset;
427 file_size = ph->p_filesz; /* Size of the allocated data */
430 if (file_size > 0) {
432 file_size + data_offset) {
459 if (mem_size > file_size) {
463 * only file_size bytes are loaded will be rejected by
468 elf_word zero_start = ph->p_paddr + file_size;
480 mem_size = file_size;
504 for (j = 0; j < file_size; j += (1 << data_swab)) {
548 rom_add_elf_program(label, mapped_file, data, file_size,
555 data, file_size);
563 if (file_size < mem_size) {
565 addr + file_size, 0,
566 mem_size - file_size,
586 file_size = ph->p_filesz; /* Size of the range of ELF notes */
589 if (file_size > 0) {
591 file_size + data_offset) {
605 nhdr = glue(get_elf_note_type, SZ)(nhdr, file_size, ph->p_align,