Home
last modified time | relevance | path

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

/NextBSD/sys/cam/ctl/
HDctl.h143 struct ctl_lun;
185 void ctl_est_ua(struct ctl_lun *lun, uint32_t initidx, ctl_ua_type ua);
186 void ctl_est_ua_port(struct ctl_lun *lun, int port, uint32_t except,
188 void ctl_est_ua_all(struct ctl_lun *lun, uint32_t except, ctl_ua_type ua);
189 void ctl_clr_ua(struct ctl_lun *lun, uint32_t initidx, ctl_ua_type ua);
190 void ctl_clr_ua_all(struct ctl_lun *lun, uint32_t except, ctl_ua_type ua);
197 void ctl_isc_announce_lun(struct ctl_lun *lun);
200 void ctl_isc_announce_mode(struct ctl_lun *lun, uint32_t initidx,
HDctl.c428 static void ctl_ioctl_fill_ooa(struct ctl_lun *lun, uint32_t *cur_fill_num,
433 static int ctl_alloc_lun(struct ctl_softc *ctl_softc, struct ctl_lun *lun,
435 static int ctl_free_lun(struct ctl_lun *lun);
440 static int ctl_pro_preempt(struct ctl_softc *softc, struct ctl_lun *lun,
446 static void ctl_pro_preempt_other(struct ctl_lun *lun,
466 static ctl_action ctl_check_for_blockage(struct ctl_lun *lun,
468 static ctl_action ctl_check_ooa(struct ctl_lun *lun, union ctl_io *pending_io,
470 static int ctl_check_blocked(struct ctl_lun *lun);
471 static int ctl_scsiio_lun_check(struct ctl_lun *lun,
482 static int ctl_do_lun_reset(struct ctl_lun *lun, union ctl_io *io,
[all …]
HDctl_error.h46 struct ctl_lun;
61 ctl_ua_type ctl_build_qae(struct ctl_lun *lun, uint32_t initidx, uint8_t *resp);
62 ctl_ua_type ctl_build_ua(struct ctl_lun *lun, uint32_t initidx,
HDctl_private.h364 struct ctl_lun { struct
380 STAILQ_ENTRY(ctl_lun) links; argument
440 struct ctl_lun *ctl_luns[CTL_MAX_LUNS];
442 STAILQ_HEAD(, ctl_lun) lun_list;
510 void ctl_tpc_lun_init(struct ctl_lun *lun);
511 void ctl_tpc_lun_shutdown(struct ctl_lun *lun);
HDctl_tpc.c141 struct ctl_lun *lun;
151 struct ctl_lun *lun; in tpc_timeout()
211 ctl_tpc_lun_init(struct ctl_lun *lun) in ctl_tpc_lun_init()
218 ctl_tpc_lun_shutdown(struct ctl_lun *lun) in ctl_tpc_lun_shutdown()
260 struct ctl_lun *lun; in ctl_inquiry_evpd_tpc()
263 lun = (struct ctl_lun *)ctsio->io_hdr.ctl_private[CTL_PRIV_LUN].ptr; in ctl_inquiry_evpd_tpc()
500 tpc_find_list(struct ctl_lun *lun, uint32_t list_id, uint32_t init_idx) in tpc_find_list()
517 struct ctl_lun *lun; in ctl_receive_copy_status_lid1()
529 lun = (struct ctl_lun *)ctsio->io_hdr.ctl_private[CTL_PRIV_LUN].ptr; in ctl_receive_copy_status_lid1()
599 struct ctl_lun *lun; in ctl_receive_copy_failure_details()
[all …]
HDctl_error.c72 struct ctl_lun *lun; in ctl_set_sense_data_va()
74 lun = (struct ctl_lun *)lunptr; in ctl_set_sense_data_va()
115 struct ctl_lun *lun; in ctl_set_sense()
122 lun = (struct ctl_lun *)ctsio->io_hdr.ctl_private[CTL_PRIV_LUN].ptr; in ctl_set_sense()
370 ctl_ua_to_acsq(struct ctl_lun *lun, ctl_ua_type ua_to_build, int *asc, in ctl_ua_to_acsq()
470 ctl_build_qae(struct ctl_lun *lun, uint32_t initidx, uint8_t *resp) in ctl_build_qae()
504 ctl_build_ua(struct ctl_lun *lun, uint32_t initidx, in ctl_build_ua()
HDctl_frontend.c312 struct ctl_lun *lun; in ctl_port_online()
355 struct ctl_lun *lun; in ctl_port_offline()
HDctl_backend.h221 void *ctl_lun; /* used by CTL */ member
HDctl_tpc_local.c277 struct ctl_lun *lun; in tpcl_resolve()