Lines Matching full:ctl

33  * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_backend.h#2 $
36 * CTL backend driver definitions
44 #include <cam/ctl/ctl_ioctl.h>
79 MODULE_DEPEND(name, ctl, 1, 1, 1); \
94 * passsed back so that it can tell which LUN CTL is referencing.
100 * this should be 512. In theory CTL should be able to handle other block
115 * req_lun_id is the requested LUN ID. CTL only pays attention to this
134 * completed and CTL has deleted the resources for that LUN. When the CTL
138 * contains the backend methods to be called by CTL.
140 * The ctl_lun field is for CTL internal use only, and should not be used
143 * The links field is for CTL internal use only, and should not be used by
147 uint8_t lun_type; /* passed to CTL */
148 ctl_backend_lun_flags flags; /* passed to CTL */
149 ctl_lun_serseq serseq; /* passed to CTL */
150 uint64_t maxlba; /* passed to CTL */
151 uint32_t blocksize; /* passed to CTL */
152 uint16_t pblockexp; /* passed to CTL */
153 uint16_t pblockoff; /* passed to CTL */
154 uint16_t ublockexp; /* passed to CTL */
155 uint16_t ublockoff; /* passed to CTL */
156 uint32_t atomicblock; /* passed to CTL */
157 uint32_t opttxferlen; /* passed to CTL */
158 uint32_t req_lun_id; /* passed to CTL */
159 uint32_t lun_id; /* returned from CTL */
160 uint8_t serial_num[CTL_SN_LEN]; /* passed to CTL */
161 uint8_t device_id[CTL_DEVID_LEN];/* passed to CTL */
162 be_callback_t lun_shutdown; /* passed to CTL */
163 struct ctl_backend_driver *be; /* passed to CTL */
164 void *ctl_lun; /* used by CTL */
165 nvlist_t *options; /* passed to CTL */
166 STAILQ_ENTRY(ctl_be_lun) links; /* used by CTL */
184 char name[CTL_BE_NAME_LEN]; /* passed to CTL */
185 ctl_backend_flags flags; /* passed to CTL */
186 be_init_t init; /* passed to CTL */
187 be_shutdown_t shutdown; /* passed to CTL */
188 be_func_t data_submit; /* passed to CTL */
189 be_func_t config_read; /* passed to CTL */
190 be_func_t config_write; /* passed to CTL */
191 be_ioctl_t ioctl; /* passed to CTL */
192 be_luninfo_t lun_info; /* passed to CTL */
193 be_lunattr_t lun_attr; /* passed to CTL */
200 STAILQ_ENTRY(ctl_backend_driver) links; /* used by CTL */