FreeBSD kernel /amd64 XEN device code
xbd_command Struct Reference

#include <block.h>

Collaboration diagram for xbd_command:

Public Member Functions

 TAILQ_ENTRY (xbd_command) cm_link
 

Data Fields

struct xbd_softccm_sc
 
xbdc_flag_t cm_flags
 
bus_dmamap_t cm_map
 
uint64_t cm_id
 
grant_ref_t * cm_sg_refs
 
struct bio * cm_bp
 
grant_ref_t cm_gref_head
 
void * cm_data
 
size_t cm_datalen
 
u_int cm_nseg
 
int cm_operation
 
blkif_sector_t cm_sector_number
 
int cm_status
 
xbd_cbcf_tcm_complete
 
void * cm_indirectionpages
 
grant_ref_t cm_indirectionrefs [BLKIF_MAX_INDIRECT_PAGES_PER_REQUEST]
 

Detailed Description

Definition at line 112 of file block.h.

Member Function Documentation

◆ TAILQ_ENTRY()

xbd_command::TAILQ_ENTRY ( xbd_command  )

Field Documentation

◆ cm_bp

struct bio* xbd_command::cm_bp

◆ cm_complete

xbd_cbcf_t* xbd_command::cm_complete

Definition at line 127 of file block.h.

Referenced by xbd_dump(), xbd_free_command(), and xbd_int().

◆ cm_data

void* xbd_command::cm_data

Definition at line 121 of file block.h.

Referenced by xbd_dump(), and xbd_queue_request().

◆ cm_datalen

size_t xbd_command::cm_datalen

Definition at line 122 of file block.h.

Referenced by xbd_dump(), and xbd_queue_request().

◆ cm_flags

◆ cm_gref_head

grant_ref_t xbd_command::cm_gref_head

Definition at line 120 of file block.h.

Referenced by xbd_bio_command(), xbd_dump(), and xbd_queue_cb().

◆ cm_id

uint64_t xbd_command::cm_id

Definition at line 117 of file block.h.

Referenced by xbd_connect(), and xbd_queue_cb().

◆ cm_indirectionpages

void* xbd_command::cm_indirectionpages

Definition at line 128 of file block.h.

Referenced by xbd_connect(), xbd_free(), and xbd_queue_cb().

◆ cm_indirectionrefs

grant_ref_t xbd_command::cm_indirectionrefs[BLKIF_MAX_INDIRECT_PAGES_PER_REQUEST]

Definition at line 129 of file block.h.

Referenced by xbd_connect(), xbd_free(), and xbd_queue_cb().

◆ cm_map

bus_dmamap_t xbd_command::cm_map

Definition at line 116 of file block.h.

Referenced by xbd_connect(), xbd_free(), xbd_int(), xbd_queue_cb(), and xbd_queue_request().

◆ cm_nseg

u_int xbd_command::cm_nseg

Definition at line 123 of file block.h.

Referenced by xbd_int(), and xbd_queue_cb().

◆ cm_operation

int xbd_command::cm_operation

Definition at line 124 of file block.h.

Referenced by xbd_bio_command(), xbd_dump(), xbd_int(), and xbd_queue_cb().

◆ cm_sc

struct xbd_softc* xbd_command::cm_sc

◆ cm_sector_number

blkif_sector_t xbd_command::cm_sector_number

Definition at line 125 of file block.h.

Referenced by xbd_bio_command(), xbd_dump(), and xbd_queue_cb().

◆ cm_sg_refs

grant_ref_t* xbd_command::cm_sg_refs

Definition at line 118 of file block.h.

Referenced by xbd_connect(), xbd_free(), xbd_int(), and xbd_queue_cb().

◆ cm_status

int xbd_command::cm_status

Definition at line 126 of file block.h.

Referenced by xbd_bio_complete(), xbd_dump(), and xbd_int().


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