Lines Matching defs:ctl_be_lun
83 struct ctl_be_lun;
84 typedef void (*be_callback_t)(struct ctl_be_lun *be_lun);
147 struct ctl_be_lun {
167 STAILQ_ENTRY(ctl_be_lun) links; /* used by CTL */
181 typedef int (*be_luninfo_t)(struct ctl_be_lun *be_lun, struct sbuf *sb);
182 typedef uint64_t (*be_lunattr_t)(struct ctl_be_lun *be_lun, const char *attrname);
211 int ctl_add_lun(struct ctl_be_lun *be_lun);
218 int ctl_remove_lun(struct ctl_be_lun *be_lun);
225 int ctl_start_lun(struct ctl_be_lun *be_lun);
226 int ctl_stop_lun(struct ctl_be_lun *be_lun);
231 int ctl_lun_no_media(struct ctl_be_lun *be_lun);
232 int ctl_lun_has_media(struct ctl_be_lun *be_lun);
233 int ctl_lun_ejected(struct ctl_be_lun *be_lun);
238 int ctl_lun_primary(struct ctl_be_lun *be_lun);
239 int ctl_lun_secondary(struct ctl_be_lun *be_lun);
244 void ctl_lun_capacity_changed(struct ctl_be_lun *be_lun);