Home
last modified time | relevance | path

Searched refs:ctl_lun (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/cam/ctl/
H A Dctl.h144 struct ctl_lun;
191 void ctl_est_ua(struct ctl_lun *lun, uint32_t initidx, ctl_ua_type ua);
192 void ctl_est_ua_port(struct ctl_lun *lun, int port, uint32_t except,
194 void ctl_est_ua_all(struct ctl_lun *lun, uint32_t except, ctl_ua_type ua);
195 void ctl_clr_ua(struct ctl_lun *lun, uint32_t initidx, ctl_ua_type ua);
196 void ctl_clr_ua_all(struct ctl_lun *lun, uint32_t except, ctl_ua_type ua);
203 void ctl_isc_announce_lun(struct ctl_lun *lun);
206 void ctl_isc_announce_mode(struct ctl_lun *lun, uint32_t initidx,
H A Dctl_private.h322 struct ctl_lun { struct
337 STAILQ_ENTRY(ctl_lun) links; argument
407 struct ctl_lun **ctl_luns;
409 STAILQ_HEAD(, ctl_lun) lun_list;
491 void ctl_tpc_lun_init(struct ctl_lun *lun);
492 void ctl_tpc_lun_clear(struct ctl_lun *lun, uint32_t initidx);
493 void ctl_tpc_lun_shutdown(struct ctl_lun *lun);
H A Dctl.c399 static void ctl_ioctl_fill_ooa(struct ctl_lun *lun, uint32_t *cur_fill_num,
404 static int ctl_enable_lun(struct ctl_lun *lun);
405 static int ctl_disable_lun(struct ctl_lun *lun);
406 static int ctl_free_lun(struct ctl_lun *lun);
409 static int ctl_pro_preempt(struct ctl_softc *softc, struct ctl_lun *lun,
415 static void ctl_pro_preempt_other(struct ctl_lun *lun,
436 static ctl_action ctl_check_for_blockage(struct ctl_lun *lun,
439 static ctl_action ctl_check_ooa(struct ctl_lun *lun, union ctl_io *pending_io,
441 static void ctl_try_unblock_io(struct ctl_lun *lun, union ctl_io *io,
443 static void ctl_try_unblock_others(struct ctl_lun *lun, union ctl_io *io,
[all …]
H A Dctl_error.h47 struct ctl_lun;
62 ctl_ua_type ctl_build_qae(struct ctl_lun *lun, uint32_t initidx, uint8_t *resp);
63 ctl_ua_type ctl_build_ua(struct ctl_lun *lun, uint32_t initidx,
H A Dctl_error.c71 struct ctl_lun *lun; in ctl_set_sense_data_va()
73 lun = (struct ctl_lun *)lunptr; in ctl_set_sense_data_va()
129 struct ctl_lun *lun; in ctl_set_sense()
390 ctl_ua_to_ascq(struct ctl_lun *lun, ctl_ua_type ua_to_build, int *asc, in ctl_ua_to_ascq()
495 ctl_build_qae(struct ctl_lun *lun, uint32_t initidx, uint8_t *resp) in ctl_build_qae()
529 ctl_build_ua(struct ctl_lun *lun, uint32_t initidx, in ctl_build_ua()
H A Dctl_tpc.c149 struct ctl_lun *lun;
159 struct ctl_lun *lun; in tpc_timeout()
220 ctl_tpc_lun_init(struct ctl_lun *lun) in ctl_tpc_lun_init()
227 ctl_tpc_lun_clear(struct ctl_lun *lun, uint32_t initidx) in ctl_tpc_lun_clear()
242 ctl_tpc_lun_shutdown(struct ctl_lun *lun) in ctl_tpc_lun_shutdown()
271 struct ctl_lun *lun = CTL_LUN(ctsio); in ctl_inquiry_evpd_tpc()
502 tpc_find_list(struct ctl_lun *lun, uint32_t list_id, uint32_t init_idx) in tpc_find_list()
519 struct ctl_lun *lun = CTL_LUN(ctsio); in ctl_receive_copy_status_lid1()
589 struct ctl_lun *lun = CTL_LUN(ctsio); in ctl_receive_copy_failure_details()
649 struct ctl_lun *lun = CTL_LUN(ctsio); in ctl_receive_copy_status_lid4()
[all …]
H A Dctl_backend.h140 * The ctl_lun field is for CTL internal use only, and should not be used
164 void *ctl_lun; /* used by CTL */ member
H A Dctl_frontend.c312 struct ctl_lun *lun; in ctl_port_online()
355 struct ctl_lun *lun; in ctl_port_offline()
H A Dctl_tpc_local.c270 struct ctl_lun *lun; in tpcl_resolve()