FreeBSD kernel CAM code
ctl_port Struct Reference

#include <ctl_frontend.h>

Collaboration diagram for ctl_port:

Public Member Functions

 STAILQ_ENTRY (ctl_port) fe_links
 
 STAILQ_ENTRY (ctl_port) links
 

Data Fields

struct ctl_softcctl_softc
 
struct ctl_frontendfrontend
 
ctl_port_type port_type
 
int num_requested_ctl_io
 
char * port_name
 
int physical_port
 
int virtual_port
 
port_func_t port_online
 
port_func_t port_offline
 
port_info_func_t port_info
 
void * onoff_arg
 
lun_func_t lun_enable
 
lun_func_t lun_disable
 
int lun_map_size
 
uint32_t * lun_map
 
void * targ_lun_arg
 
void(* fe_datamove )(union ctl_io *io)
 
void(* fe_done )(union ctl_io *io)
 
int32_t targ_port
 
void * ctl_pool_ref
 
uint32_t max_initiators
 
struct ctl_wwpn_iidwwpn_iid
 
uint64_t wwnn
 
uint64_t wwpn
 
ctl_port_status status
 
nvlist_t * options
 
struct ctl_devidport_devid
 
struct ctl_devidtarget_devid
 
struct ctl_devidinit_devid
 
struct ctl_io_stats stats
 
struct mtx port_lock
 

Detailed Description

Definition at line 215 of file ctl_frontend.h.

Member Function Documentation

◆ STAILQ_ENTRY() [1/2]

ctl_port::STAILQ_ENTRY ( ctl_port  )

◆ STAILQ_ENTRY() [2/2]

ctl_port::STAILQ_ENTRY ( ctl_port  )

Field Documentation

◆ ctl_pool_ref

◆ ctl_softc

◆ fe_datamove

void(* ctl_port::fe_datamove) (union ctl_io *io)

◆ fe_done

void(* ctl_port::fe_done) (union ctl_io *io)

◆ frontend

◆ init_devid

struct ctl_devid* ctl_port::init_devid

◆ lun_disable

lun_func_t ctl_port::lun_disable

◆ lun_enable

lun_func_t ctl_port::lun_enable

◆ lun_map

◆ lun_map_size

◆ max_initiators

uint32_t ctl_port::max_initiators

Definition at line 236 of file ctl_frontend.h.

Referenced by ctl_port_deregister(), ctl_port_register(), and tpcl_init().

◆ num_requested_ctl_io

int ctl_port::num_requested_ctl_io

◆ onoff_arg

void* ctl_port::onoff_arg

◆ options

nvlist_t* ctl_port::options

◆ physical_port

int ctl_port::physical_port

◆ port_devid

◆ port_info

port_info_func_t ctl_port::port_info

Definition at line 225 of file ctl_frontend.h.

Referenced by cfiscsi_ioctl_port_create(), and ctl_ioctl().

◆ port_lock

struct mtx ctl_port::port_lock

Definition at line 246 of file ctl_frontend.h.

Referenced by ctl_port_deregister(), ctl_port_register(), and ctl_process_done().

◆ port_name

◆ port_offline

port_func_t ctl_port::port_offline

Definition at line 224 of file ctl_frontend.h.

Referenced by cfcs_init(), cfiscsi_ioctl_port_create(), ctl_port_offline(), and ctlfeasync().

◆ port_online

port_func_t ctl_port::port_online

Definition at line 223 of file ctl_frontend.h.

Referenced by cfcs_init(), cfiscsi_ioctl_port_create(), ctl_port_online(), and ctlfeasync().

◆ port_type

◆ stats

struct ctl_io_stats ctl_port::stats

Definition at line 245 of file ctl_frontend.h.

Referenced by ctl_ioctl(), ctl_port_register(), and ctl_process_done().

◆ status

◆ targ_lun_arg

◆ targ_port

◆ target_devid

◆ virtual_port

int ctl_port::virtual_port

◆ wwnn

uint64_t ctl_port::wwnn

Definition at line 238 of file ctl_frontend.h.

Referenced by cfcs_init(), ctl_ioctl(), ctl_port_set_wwns(), and ctlfe_onoffline().

◆ wwpn

uint64_t ctl_port::wwpn

Definition at line 239 of file ctl_frontend.h.

Referenced by cfcs_init(), ctl_ioctl(), ctl_port_set_wwns(), and ctlfe_onoffline().

◆ wwpn_iid


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