ctl_be_lun
ctl_add_lun(struct ctl_be_lun *be_lun)
ctl_start_lun(struct ctl_be_lun *be_lun)
ctl_stop_lun(struct ctl_be_lun *be_lun)
ctl_lun_no_media(struct ctl_be_lun *be_lun)
ctl_lun_has_media(struct ctl_be_lun *be_lun)
ctl_lun_ejected(struct ctl_be_lun *be_lun)
ctl_lun_primary(struct ctl_be_lun *be_lun)
ctl_lun_secondary(struct ctl_be_lun *be_lun)
ctl_remove_lun(struct ctl_be_lun *be_lun)
ctl_lun_capacity_changed(struct ctl_be_lun *be_lun)
ctl_lun_nsdata_ids(struct ctl_be_lun *be_lun,
ctl_lun_nvme_ids(struct ctl_be_lun *be_lun, void *data)
STAILQ_ENTRY(ctl_be_lun) links; /* used by CTL */
typedef int (*be_luninfo_t)(struct ctl_be_lun *be_lun, struct sbuf *sb);
typedef uint64_t (*be_lunattr_t)(struct ctl_be_lun *be_lun, const char *attrname);
int ctl_add_lun(struct ctl_be_lun *be_lun);
int ctl_remove_lun(struct ctl_be_lun *be_lun);
int ctl_start_lun(struct ctl_be_lun *be_lun);
int ctl_stop_lun(struct ctl_be_lun *be_lun);
int ctl_lun_no_media(struct ctl_be_lun *be_lun);
int ctl_lun_has_media(struct ctl_be_lun *be_lun);
int ctl_lun_ejected(struct ctl_be_lun *be_lun);
int ctl_lun_primary(struct ctl_be_lun *be_lun);
int ctl_lun_secondary(struct ctl_be_lun *be_lun);
void ctl_lun_capacity_changed(struct ctl_be_lun *be_lun);
void ctl_lun_nsdata_ids(struct ctl_be_lun *be_lun,
void ctl_lun_nvme_ids(struct ctl_be_lun *be_lun, void *data);
struct ctl_be_lun;
typedef void (*be_callback_t)(struct ctl_be_lun *be_lun);
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun cbe_lun; /* Must be first element. */
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun;
static void ctl_be_block_lun_shutdown(struct ctl_be_lun *cbe_lun);
static int ctl_be_block_lun_info(struct ctl_be_lun *cbe_lun, struct sbuf *sb);
struct ctl_be_lun *cbe_lun;
static uint64_t ctl_be_block_lun_attr(struct ctl_be_lun *cbe_lun, const char *attrname);
struct ctl_be_lun *cbe_lun;
ctl_be_block_lun_shutdown(struct ctl_be_lun *cbe_lun)
struct ctl_be_lun *cbe_lun;
ctl_be_block_lun_info(struct ctl_be_lun *cbe_lun, struct sbuf *sb)
ctl_be_block_lun_attr(struct ctl_be_lun *cbe_lun, const char *attrname)
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun;
struct ctl_be_lun cbe_lun; /* Must be first element. */
struct ctl_be_lun *cbe_lun;
struct ctl_be_lun *cbe_lun;
ctl_backend_ramdisk_lun_shutdown(struct ctl_be_lun *cbe_lun)
static uint64_t ctl_backend_ramdisk_lun_attr(struct ctl_be_lun *cbe_lun, const char *attrname);
static void ctl_backend_ramdisk_lun_shutdown(struct ctl_be_lun *cbe_lun);
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
ctl_backend_ramdisk_delete(struct ctl_be_lun *cbe_lun, off_t lba, off_t len,
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io);
ctl_backend_ramdisk_lun_attr(struct ctl_be_lun *cbe_lun, const char *attrname)
struct ctl_be_lun *be_lun;