iPXE
Data Fields
block_translator Struct Reference

A block device translator. More...

#include <blocktrans.h>

Data Fields

struct refcnt refcnt
 Reference count. More...
 
struct interface block
 Block device interface. More...
 
struct interface xfer
 Data transfer interface. More...
 
struct xfer_buffer xferbuf
 Data transfer buffer. More...
 
userptr_t buffer
 Data buffer. More...
 
size_t blksize
 Block size. More...
 

Detailed Description

A block device translator.

Definition at line 19 of file blocktrans.h.

Field Documentation

◆ refcnt

struct refcnt block_translator::refcnt

Reference count.

Definition at line 21 of file blocktrans.h.

Referenced by block_translate().

◆ block

struct interface block_translator::block

Block device interface.

Definition at line 23 of file blocktrans.h.

Referenced by blktrans_close(), and block_translate().

◆ xfer

struct interface block_translator::xfer

Data transfer interface.

Definition at line 25 of file blocktrans.h.

Referenced by blktrans_close(), and block_translate().

◆ xferbuf

struct xfer_buffer block_translator::xferbuf

◆ buffer

userptr_t block_translator::buffer

Data buffer.

Definition at line 30 of file blocktrans.h.

Referenced by blktrans_xferbuf_read(), blktrans_xferbuf_realloc(), blktrans_xferbuf_write(), and block_translate().

◆ blksize

size_t block_translator::blksize

Block size.

Definition at line 32 of file blocktrans.h.

Referenced by blktrans_close(), and block_translate().


The documentation for this struct was generated from the following file: