Searched refs:blksize (Results 1 - 21 of 21) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Dpadimg.pl9 my $blksize = 512;
15 'blksize|s=o' => sub { $blksize = $_[1]; },
25 my $padsize = ( ( -$oldsize ) % $blksize );
43 unless ( ( ( -s $filename ) % $blksize ) == 0 );
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pxe/
H A Dpxe_tftp.c55 size_t blksize; member in struct:pxe_tftp_connection
156 * @v blksize Requested block size
160 const unsigned char *filename, size_t blksize,
175 if ( blksize < TFTP_DEFAULT_BLKSIZE )
176 blksize = TFTP_DEFAULT_BLKSIZE;
178 "tftp%s://%s:%d%s%s?blksize=%zd",
181 ( ( filename[0] == '/' ) ? "" : "/" ), filename, blksize );
202 * @v s_PXENV_TFTP_OPEN::PacketSize TFTP blksize option to request
206 * @ret s_PXENV_TFTP_OPEN::PacketSize Negotiated blksize
207 * @err #PXENV_STATUS_TFTP_INVALID_PACKET_SIZE Requested blksize to
159 pxe_tftp_open( uint32_t ipaddress, unsigned int port, const unsigned char *filename, size_t blksize, int sizeonly ) argument
[all...]
/vbox/src/VBox/Devices/PC/BIOS/
H A Data.c103 bios_dsk->devices[device].blksize = 0x200;
210 uint16_t iobase1, iobase2, blksize, mult_blk_cnt; local
226 blksize = bios_dsk->devices[device].blksize;
227 if (blksize == 0) { /* If transfer size is exactly 64K */
229 blksize = 0x4000;
231 blksize = 0x8000;
234 blksize >>= 2;
236 blksize >>= 1;
320 buffer = rep_insd(buffer, blksize, iobase
463 uint16_t cylinders, heads, spt, blksize; local
563 uint16_t blksize; local
687 uint16_t iobase1, iobase2, blksize; local
[all...]
H A Ddisk.c455 uint16_t blksize; local
461 blksize = bios_dsk->devices[device].blksize;
468 dpt->blksize = blksize;
H A Data.h188 uint16_t blksize; member in struct:__anon14960
H A Deltorito.c889 uint16_t blksize; local
891 blksize = bios_dsk->devices[device].blksize;
898 dpt->blksize = blksize;
H A Debda.h192 uint16_t blksize; /* Disk block size. */ member in struct:__anon14989
H A Dscsi.c522 bios_dsk->devices[hd_index].blksize = sector_size;
583 bios_dsk->devices[hd_index].blksize = 2048;
H A Dahci.c726 bios_dsk->devices[hd_index].blksize = 512;
797 bios_dsk->devices[hd_index].blksize = 2048;
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dtftp.h83 extern void tftp_set_request_blksize ( unsigned int blksize );
H A Dblockdev.h22 size_t blksize; member in struct:block_device_capacity
H A Dscsi.h161 uint32_t blksize; member in struct:scsi_capacity_10
191 uint32_t blksize; member in struct:scsi_capacity_16
/vbox/src/VBox/NetworkServices/NAT/
H A Dproxy_tftpd.c70 unsigned int blksize; member in struct:xfer
138 { "blksize", tftp_opt_blksize, tftp_ack_blksize }, /* RFC 2348 */
293 xfer->pbuf = pbuf_alloc(PBUF_RAW, xfer->blksize + 4, PBUF_RAM);
384 if (xfer->pbuf->len < xfer->blksize) {
437 nread = read(xfer->fd, (char *)xfer->pbuf->payload + 4, xfer->blksize);
495 xfer->blksize = 512;
715 long blksize; local
718 blksize = strtol(optval, &end, 10);
723 if (blksize < 8) {
727 if (blksize > 142
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/net/udp/
H A Dtftp.c54 ( EINFO_EINVAL, 0x01, "Invalid blksize" )
94 * This is the "blksize" option negotiated with the TFTP
98 unsigned int blksize; member in struct:tftp_request
145 /** Request blksize and tsize options */
279 num_blocks = ( ( filesize / tftp->blksize ) + 1 );
299 * @v blksize Requested block size
301 void tftp_set_request_blksize ( unsigned int blksize ) {
302 if ( blksize < TFTP_DEFAULT_BLKSIZE )
303 blksize = TFTP_DEFAULT_BLKSIZE;
304 tftp_request_blksize = blksize;
[all...]
/vbox/src/VBox/Additions/solaris/SharedFolders/
H A Dvboxfs_prov.h88 uint64_t blksize; member in struct:sffs_fsinfo
H A Dvboxfs_vfs.c558 sbp->f_bsize = fsinfo.blksize;
559 sbp->f_frsize = fsinfo.blksize;
H A Dvboxfs_prov.c182 fsinfo->blksize = info.ulBytesPerAllocationUnit;
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/block/
H A Dscsi.c607 capacity.blksize = be32_to_cpu ( capacity16->blksize );
610 capacity.blksize = be32_to_cpu ( capacity10->blksize );
H A Data.c391 capacity.blksize = ATA_SECTOR_SIZE;
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/
H A Dint13.c188 * @ret blksize Sector size
191 return ( int13->capacity.blksize << int13->blksize_shift );
412 frag_len = ( int13->capacity.blksize * frag_count );
479 unsigned int blksize; local
484 blksize = int13_blksize ( int13 );
486 while ( blksize < ISO9660_BLKSIZE ) {
487 blksize <<= 1;
490 if ( blksize > ISO9660_BLKSIZE ) {
491 /* Do nothing if the blksize is invalid for CD-ROM access */
673 /* Don't even try when the blksize i
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/net/tcp/
H A Dhttpcore.c340 capacity.blksize = HTTP_BLKSIZE;

Completed in 153 milliseconds