Home
last modified time | relevance | path

Searched refs:ctl_be_lun (Results 1 – 5 of 5) sorted by relevance

/freebsd-12-stable/sys/cam/ctl/
Dctl_backend.h83 struct ctl_be_lun;
84 typedef void (*be_callback_t)(struct ctl_be_lun *be_lun);
147 struct ctl_be_lun { struct
167 STAILQ_ENTRY(ctl_be_lun) links; /* used by CTL */ argument
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);
[all …]
Dctl_backend_ramdisk.c109 struct ctl_be_lun cbe_lun; /* Must be first element. */
149 static uint64_t ctl_backend_ramdisk_lun_attr(struct ctl_be_lun *cbe_lun, const char *attrname);
158 static void ctl_backend_ramdisk_lun_shutdown(struct ctl_be_lun *cbe_lun);
368 struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io); in ctl_backend_ramdisk_cmp()
439 struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io); in ctl_backend_ramdisk_compare()
458 struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io); in ctl_backend_ramdisk_rw()
566 struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io); in ctl_backend_ramdisk_gls()
618 ctl_backend_ramdisk_delete(struct ctl_be_lun *cbe_lun, off_t lba, off_t len, in ctl_backend_ramdisk_delete()
662 struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io); in ctl_backend_ramdisk_ws()
713 struct ctl_be_lun *cbe_lun = CTL_BACKEND_LUN(io); in ctl_backend_ramdisk_unmap()
[all …]
Dctl_backend_block.c155 struct ctl_be_lun cbe_lun; /* Must be first element. */
278 static void ctl_be_block_lun_shutdown(struct ctl_be_lun *cbe_lun);
281 static int ctl_be_block_lun_info(struct ctl_be_lun *cbe_lun, struct sbuf *sb);
282 static uint64_t ctl_be_block_lun_attr(struct ctl_be_lun *cbe_lun, const char *attrname);
1225 struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun; in ctl_be_block_cw_dispatch_sync()
1264 struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun; in ctl_be_block_cw_dispatch_ws()
1530 struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun; in ctl_be_block_dispatch()
1645 struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun; in ctl_be_block_worker()
1791 struct ctl_be_lun *cbe_lun; in ctl_be_block_open_file()
1890 struct ctl_be_lun *cbe_lun = &be_lun->cbe_lun; in ctl_be_block_open_dev()
[all …]
Dctl_private.h385 struct ctl_be_lun *be_lun;
Dctl.c4516 ctl_add_lun(struct ctl_be_lun *be_lun) in ctl_add_lun()
4888 ctl_start_lun(struct ctl_be_lun *be_lun) in ctl_start_lun()
4899 ctl_stop_lun(struct ctl_be_lun *be_lun) in ctl_stop_lun()
4910 ctl_lun_no_media(struct ctl_be_lun *be_lun) in ctl_lun_no_media()
4921 ctl_lun_has_media(struct ctl_be_lun *be_lun) in ctl_lun_has_media()
4949 ctl_lun_ejected(struct ctl_be_lun *be_lun) in ctl_lun_ejected()
4960 ctl_lun_primary(struct ctl_be_lun *be_lun) in ctl_lun_primary()
4973 ctl_lun_secondary(struct ctl_be_lun *be_lun) in ctl_lun_secondary()
4992 ctl_remove_lun(struct ctl_be_lun *be_lun) in ctl_remove_lun()
5018 ctl_lun_capacity_changed(struct ctl_be_lun *be_lun) in ctl_lun_capacity_changed()