|
iPXE
|
Block device translator. More...
Go to the source code of this file.
Data Structures | |
| struct | block_translator |
| A block device translator. More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| int | block_translate (struct interface *block, void *buffer, size_t size) |
| Insert block device translator. More... | |
Block device translator.
Definition in file blocktrans.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |
Insert block device translator.
| block | Block device interface |
| buffer | Data buffer (or NULL) |
| size | Length of data buffer, or block size |
| rc | Return status code |
Definition at line 140 of file blocktrans.c.
References block_translator::blksize, blktrans_block_desc, blktrans_xfer_desc, block, block_translator::block, buffer, DBGC2, ENOMEM, intf_init(), intf_insert(), NULL, rc, ref_init, ref_put, block_translator::refcnt, size, block_translator::xfer, block_translator::xferbuf, xferbuf_fixed_init(), xferbuf_void_init(), and zalloc().
Referenced by http_block_read(), and http_block_read_capacity().
1.8.15