Searched refs:frag_len (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/tests/
H A Dlinebuf_test.c17 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 Ddigest_test.c46 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 Dnvs.c43 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 Dhash_df.c71 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 Dhmac_drbg.c300 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 Dcms.c541 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 Ddigest_cmd.c67 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 Dundinet.c302 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 Dtcp.c433 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 Dtls.c287 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 Discsi.c1631 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 Dlinda.c956 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 Dqib7322.c1194 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 Dint13.c399 size_t frag_len; local
412 frag_len = ( int13->capacity.blksize * frag_count );
418 frag_len ) ) != 0 ) ||
428 buffer = userptr_add ( buffer, frag_len );

Completed in 83 milliseconds