FreeBSD kernel CAM code
ctl_be_lun Struct Reference

#include <ctl_backend.h>

Collaboration diagram for ctl_be_lun:

Public Member Functions

 STAILQ_ENTRY (ctl_be_lun) links
 

Data Fields

uint8_t lun_type
 
ctl_backend_lun_flags flags
 
ctl_lun_serseq serseq
 
uint64_t maxlba
 
uint32_t blocksize
 
uint16_t pblockexp
 
uint16_t pblockoff
 
uint16_t ublockexp
 
uint16_t ublockoff
 
uint32_t atomicblock
 
uint32_t opttxferlen
 
uint32_t req_lun_id
 
uint32_t lun_id
 
uint8_t serial_num [CTL_SN_LEN]
 
uint8_t device_id [CTL_DEVID_LEN]
 
be_callback_t lun_shutdown
 
struct ctl_backend_driverbe
 
void * ctl_lun
 
nvlist_t * options
 

Detailed Description

Definition at line 147 of file ctl_backend.h.

Member Function Documentation

◆ STAILQ_ENTRY()

ctl_be_lun::STAILQ_ENTRY ( ctl_be_lun  )

Field Documentation

◆ atomicblock

uint32_t ctl_be_lun::atomicblock

◆ be

struct ctl_backend_driver* ctl_be_lun::be

Definition at line 164 of file ctl_backend.h.

Referenced by ctl_add_lun(), ctl_backend_ramdisk_create(), and ctl_be_block_create().

◆ blocksize

◆ ctl_lun

◆ device_id

uint8_t ctl_be_lun::device_id[CTL_DEVID_LEN]

◆ flags

◆ lun_id

◆ lun_shutdown

be_callback_t ctl_be_lun::lun_shutdown

Definition at line 163 of file ctl_backend.h.

Referenced by ctl_backend_ramdisk_create(), and ctl_be_block_create().

◆ lun_type

◆ maxlba

◆ options

◆ opttxferlen

uint32_t ctl_be_lun::opttxferlen

◆ pblockexp

◆ pblockoff

◆ req_lun_id

uint32_t ctl_be_lun::req_lun_id

Definition at line 159 of file ctl_backend.h.

Referenced by ctl_add_lun(), ctl_backend_ramdisk_create(), and ctl_be_block_create().

◆ serial_num

uint8_t ctl_be_lun::serial_num[CTL_SN_LEN]

◆ serseq

◆ ublockexp

uint16_t ctl_be_lun::ublockexp

◆ ublockoff

uint16_t ctl_be_lun::ublockoff

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