Searched refs:filesz (Results 1 - 6 of 6) sorted by relevance
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/ |
H A D | segment.h | 15 extern int prep_segment ( userptr_t segment, size_t filesz, size_t memsz );
|
/vbox/src/VBox/Devices/PC/ipxe/src/image/ |
H A D | segment.c | 51 * @v filesz Size of the "allocated bytes" portion of the segment 55 int prep_segment ( userptr_t segment, size_t filesz, size_t memsz ) { argument 58 physaddr_t mid = user_to_phys ( segment, filesz ); 65 if ( filesz > memsz ) { 81 memset_user ( segment, filesz, 0, ( memsz - filesz ) );
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/image/ |
H A D | nbi.c | 108 * @v filesz Length of initialised-data portion of the segment 114 userptr_t dest, size_t filesz, size_t memsz ){ 117 if ( ( rc = prep_segment ( dest, filesz, memsz ) ) != 0 ) { 131 * @v filesz Length of initialised-data portion of the segment 137 userptr_t dest, size_t filesz, 139 memcpy_user ( dest, 0, image->data, offset, filesz ); 156 size_t filesz, 162 size_t filesz; local 169 filesz = memsz = NBI_HEADER_LENGTH; 170 if ( ( rc = process ( image, offset, dest, filesz, mems 113 nbi_prepare_segment( struct image *image, size_t offset __unused, userptr_t dest, size_t filesz, size_t memsz ) argument 136 nbi_load_segment( struct image *image, size_t offset, userptr_t dest, size_t filesz, size_t memsz __unused ) argument 151 nbi_process_segments( struct image *image, struct imgheader *imgheader, int ( * process ) ( struct image *image, size_t offset, userptr_t dest, size_t filesz, size_t memsz ) ) argument [all...] |
H A D | com32.c | 211 size_t filesz, memsz; local 218 filesz = image->len + 221 memsz = filesz; 223 if ( ( rc = prep_segment ( buffer, filesz, memsz ) ) != 0 ) { 252 memcpy_user ( buffer, 0, image->data, 0, filesz ); 265 size_t filesz, memsz; local 273 filesz = 0; 276 if ( ( rc = prep_segment ( seg_userptr, filesz, memsz ) ) != 0 ) {
|
H A D | comboot.c | 248 size_t filesz, memsz; local 255 filesz = image->len + 0x100; 261 if ( ( rc = prep_segment ( seg_userptr, filesz, memsz ) ) != 0 ) {
|
H A D | multiboot.c | 321 size_t filesz; local 335 filesz = ( hdr->mb.load_end_addr ? 339 ( hdr->mb.bss_end_addr - hdr->mb.load_addr ) : filesz ); 341 if ( ( rc = prep_segment ( buffer, filesz, memsz ) ) != 0 ) { 348 memcpy_user ( buffer, 0, image->data, offset, filesz );
|
Completed in 52 milliseconds