/vbox/src/VBox/Devices/PC/ipxe/src/tests/ |
H A D | linebuf_test.c | 17 ssize_t frag_len; local 22 frag_len = line_buffer ( &linebuf, data, len ); 23 if ( frag_len < 0 ) { 25 strerror ( frag_len ) ); 28 data += frag_len; 29 len -= frag_len;
|
H A D | digest_test.c | 46 size_t frag_len = 0; local 56 frag_len = fragments->len[i]; 57 if ( ( frag_len == 0 ) || ( frag_len < len ) ) 58 frag_len = len; 59 digest_update ( digest, ctx, data, frag_len ); 60 data += frag_len; 61 len -= frag_len;
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/nvs/ |
H A D | nvs.c | 43 size_t frag_len; local 50 frag_len = ( ( nvs->block_size - 55 if ( max_len < frag_len ) 58 return frag_len; 72 size_t frag_len; local 83 frag_len = nvs_frag_len ( nvs, address, len ); 86 if ( ( rc = nvs->read ( nvs, address, data, frag_len ) ) != 0 ) 90 data += frag_len; 91 address += ( frag_len >> nvs->word_len_log2 ); 92 len -= frag_len; 137 size_t frag_len; local [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/crypto/ |
H A D | hash_df.c | 71 size_t frag_len; local 125 frag_len = sizeof ( digest ); 126 if ( frag_len > remaining ) 127 frag_len = remaining; 128 memcpy ( temp, digest, frag_len ); 129 temp += frag_len; 130 remaining -= frag_len;
|
H A D | hmac_drbg.c | 300 size_t frag_len; local 337 frag_len = len; 338 if ( frag_len > out_len ) 339 frag_len = out_len; 340 memcpy ( data, state->value, frag_len ); 341 data += frag_len; 342 len -= frag_len;
|
H A D | cms.c | 541 size_t frag_len; local 548 frag_len = len; 549 if ( frag_len > sizeof ( block ) ) 550 frag_len = sizeof ( block ); 551 copy_from_user ( block, data, offset, frag_len ); 552 digest_update ( digest, ctx, block, frag_len ); 553 offset += frag_len; 554 len -= frag_len;
|
/vbox/src/VBox/Devices/PC/ipxe/src/hci/commands/ |
H A D | digest_cmd.c | 67 size_t frag_len; local 87 frag_len = len; 88 if ( frag_len > sizeof ( buf ) ) 89 frag_len = sizeof ( buf ); 90 copy_from_user ( buf, image->data, offset, frag_len ); 91 digest_update ( digest, digest_ctx, buf, frag_len ); 92 len -= frag_len; 93 offset += frag_len;
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/drivers/net/ |
H A D | undinet.c | 302 size_t frag_len; local 348 frag_len = undi_isr.BufferLength; 349 if ( ( len == 0 ) || ( len < frag_len ) ) { 353 undinic, frag_len, len ); 368 if ( frag_len > max_frag_len ) { 371 undinic, iob_len ( iobuf ), frag_len, 373 frag_len = max_frag_len; 375 copy_from_real ( iob_put ( iobuf, frag_len ), 377 undi_isr.Frame.offset, frag_len ); local
|
/vbox/src/VBox/Devices/PC/ipxe/src/net/ |
H A D | tcp.c | 433 size_t frag_len; local 437 frag_len = iob_len ( iobuf ); 438 if ( frag_len > max_len ) 439 frag_len = max_len; 441 memcpy ( iob_put ( dest, frag_len ), iobuf->data, 442 frag_len ); local 445 iob_pull ( iobuf, frag_len ); 451 len += frag_len; 452 max_len -= frag_len;
|
H A D | tls.c | 287 size_t frag_len = digest->digestsize; local 318 if ( frag_len > out_len ) 319 frag_len = out_len; 320 memcpy ( out, out_tmp, frag_len ); 322 DBGC2_HD ( tls, out, frag_len ); 330 out += frag_len; 331 out_len -= frag_len; 2126 size_t frag_len; local 2152 frag_len = ( buf_len - tls->rx_rcvd ); 2153 if ( frag_len > iob_le [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/net/tcp/ |
H A D | iscsi.c | 1631 size_t frag_len; local 1663 frag_len = iscsi->rx_len - iscsi->rx_offset; 1664 if ( frag_len > iob_len ( iobuf ) ) 1665 frag_len = iob_len ( iobuf ); 1666 remaining = iscsi->rx_len - iscsi->rx_offset - frag_len; 1667 if ( ( rc = rx ( iscsi, iobuf->data, frag_len, 1674 iscsi->rx_offset += frag_len; 1675 iob_pull ( iobuf, frag_len );
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/infiniband/ |
H A D | linda.c | 956 ssize_t frag_len; local 989 for ( data = headers.data, frag_len = iob_len ( &headers ) ; 990 frag_len > 0 ; data++, offset += 4, frag_len -= 4 ) { 995 for ( data = iobuf->data, frag_len = iob_len ( iobuf ) ; 996 frag_len > 0 ; data++, offset += 4, frag_len -= 4 ) {
|
H A D | qib7322.c | 1194 ssize_t frag_len; local 1232 for ( data = headers.data, frag_len = iob_len ( &headers ) ; 1233 frag_len > 0 ; data++, offset += 4, frag_len -= 4 ) { 1238 for ( data = iobuf->data, frag_len = iob_len ( iobuf ) ; 1239 frag_len > 0 ; data++, offset += 4, frag_len -= 4 ) {
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/ |
H A D | int13.c | 399 size_t frag_len; local 412 frag_len = ( int13->capacity.blksize * frag_count ); 418 frag_len ) ) != 0 ) || 428 buffer = userptr_add ( buffer, frag_len );
|