H A D | fcp.c | 411 static struct fcp_tgt *fcp_port_create_tgt(struct fcp_port *pptr, 423 static void fcp_handle_devices(struct fcp_port *pptr, 426 static int fcp_handle_mapflags(struct fcp_port *pptr, 430 static int fcp_send_els(struct fcp_port *pptr, struct fcp_tgt *ptgt, 432 static void fcp_update_state(struct fcp_port *pptr, uint32_t state, 440 static int fcp_unsol_prli(struct fcp_port *pptr, fc_unsol_buf_t *buf); 441 static struct fcp_ipkt *fcp_icmd_alloc(struct fcp_port *pptr, 444 static void fcp_icmd_free(struct fcp_port *pptr, struct fcp_ipkt *icmd); 445 static int fcp_alloc_dma(struct fcp_port *pptr, struct fcp_ipkt *icmd, 447 static void fcp_free_dma(struct fcp_port *pptr, struc 1437 struct fcp_port *pptr; local 1743 struct fcp_port *pptr; local 2290 struct fcp_port *pptr = NULL; local 2874 fcp_port_t *pptr = ptgt->tgt_port; local 3024 struct fcp_port *pptr = NULL; local 3101 fcp_copyin_fcp_ioctl_data(struct fcp_ioctl *data, int mode, int *rval, struct fcp_ioctl *fioctl, struct fcp_port **pptr) argument 3179 fcp_port_create_tgt(struct fcp_port *pptr, la_wwn_t *pwwn, int *ret_val, int *fc_status, int *fc_pkt_state, int *fc_pkt_reason, int *fc_pkt_action) argument 3276 struct fcp_port *pptr; local 3554 struct fcp_port *pptr; local 3660 struct fcp_port *pptr; local 3715 struct fcp_port *pptr = NULL; /* our soft state */ local 4218 struct fcp_port *pptr; local 4298 struct fcp_port *pptr; local 4615 fcp_handle_devices(struct fcp_port *pptr, fc_portmap_t devlist[], uint32_t dev_cnt, int link_cnt, fcp_map_tag_t *map_tag, int cause) argument 4858 struct fcp_port *pptr; local 4931 fcp_handle_mapflags(struct fcp_port *pptr, struct fcp_tgt *ptgt, fc_portmap_t *map_entry, int link_cnt, int tgt_cnt, int cause) argument 5143 fcp_send_els(struct fcp_port *pptr, struct fcp_tgt *ptgt, struct fcp_ipkt *icmd, uchar_t opcode, int lcount, int tcount, int cause) argument 5366 fcp_update_state(struct fcp_port *pptr, uint32_t state, int cause) argument 5389 fcp_offline_all(struct fcp_port *pptr, int lcount, int cause) argument 5528 struct fcp_port *pptr; local 5548 struct fcp_port *pptr = icmd->ipkt_port; local 5593 fcp_unsol_prli(struct fcp_port *pptr, fc_unsol_buf_t *buf) argument 5729 fcp_icmd_alloc(struct fcp_port *pptr, struct fcp_tgt *ptgt, int cmd_len, int resp_len, int data_len, int nodma, int lcount, int tcount, int cause, uint32_t rscn_count) argument 5910 fcp_icmd_free(struct fcp_port *pptr, struct fcp_ipkt *icmd) argument 5955 fcp_alloc_dma(struct fcp_port *pptr, struct fcp_ipkt *icmd, int nodma, int flags) argument 6093 fcp_free_dma(struct fcp_port *pptr, struct fcp_ipkt *icmd) argument 6142 fcp_lookup_target(struct fcp_port *pptr, uchar_t *wwn) argument 6168 fcp_get_target_by_did(struct fcp_port *pptr, uint32_t d_id) argument 6199 struct fcp_port *pptr; local 6519 struct fcp_port *pptr; local 6700 struct fcp_port *pptr = ptgt->tgt_port; local 6900 struct fcp_port *pptr; local 7184 struct fcp_port *pptr = ptgt->tgt_port; local 7235 struct fcp_port *pptr; local 7438 struct fcp_port *pptr; local 7578 struct fcp_port *pptr; local 7943 fcp_finish_tgt(struct fcp_port *pptr, struct fcp_tgt *ptgt, int link_cnt, int tgt_cnt, int cause) argument 8023 fcp_finish_init(struct fcp_port *pptr) argument 8058 struct fcp_port *pptr; local 8152 struct fcp_port *pptr = plun->lun_tgt->tgt_port; local 8291 fcp_offline_target(struct fcp_port *pptr, struct fcp_tgt *ptgt, int link_cnt, int tgt_cnt, int nowait, int flags) argument 8338 fcp_offline_target_now(struct fcp_port *pptr, struct fcp_tgt *ptgt, int link_cnt, int tgt_cnt, int flags) argument 8379 struct fcp_port *pptr = plun->lun_tgt->tgt_port; local 8475 fcp_scan_offline_luns(struct fcp_port *pptr) argument 8520 fcp_scan_offline_tgts(struct fcp_port *pptr) argument 8581 struct fcp_port *pptr = LUN_PORT; local 8623 struct fcp_port *pptr = LUN_PORT; local 8690 fcp_abort_commands(struct fcp_pkt *head, struct fcp_port *pptr) argument 8738 struct fcp_port *pptr = ADDR2FCP(&pkt->pkt_address); local 8776 struct fcp_port *pptr = ADDR2FCP(&pkt->pkt_address); local 9235 fcp_validate_fcp_response(struct fcp_rsp *rsp, struct fcp_port *pptr) argument 9284 fcp_device_changed(struct fcp_port *pptr, struct fcp_tgt *ptgt, fc_portmap_t *map_entry, int link_cnt, int tgt_cnt, int cause) argument 9404 fcp_alloc_tgt(struct fcp_port *pptr, fc_portmap_t *map_entry, int link_cnt) argument 9489 fcp_queue_ipkt(struct fcp_port *pptr, fc_packet_t *fpkt) argument 9622 struct fcp_port *pptr; local 9669 fcp_retry_ns_registry(struct fcp_port *pptr, uint32_t s_id) argument 9697 fcp_do_ns_registry(struct fcp_port *pptr, uint32_t s_id) argument 9771 struct fcp_port *pptr; local 10241 fcp_handle_port_detach(struct fcp_port *pptr, int flag, int instance) argument 10335 fcp_cleanup_port(struct fcp_port *pptr, int instance) argument 10473 struct fcp_port *pptr; local 10541 struct fcp_port *pptr; local 10576 fcp_alloc_cmd_resp(struct fcp_port *pptr, fc_packet_t *fpkt, int flags) argument 10774 fcp_free_cmd_resp(struct fcp_port *pptr, fc_packet_t *fpkt) argument 10819 struct fcp_port *pptr = (struct fcp_port *) local 10905 struct fcp_port *pptr = (struct fcp_port *) local 10997 struct fcp_port *pptr = (struct fcp_port *) local 11066 struct fcp_port *pptr = ADDR2FCP(ap); local 11273 struct fcp_port *pptr = ADDR2FCP(ap); local 11297 struct fcp_port *pptr = ADDR2FCP(ap); local 11377 struct fcp_port *pptr; local 11487 struct fcp_port *pptr = ADDR2FCP(&pkt->pkt_address); local 11524 struct fcp_port *pptr = ADDR2FCP(ap); local 11535 struct fcp_port *pptr = fcp_dip2port(dip); local 11551 struct fcp_port *pptr = fcp_dip2port(dip); local 11566 struct fcp_port *pptr = fcp_dip2port(dip); local 11582 struct fcp_port *pptr = fcp_dip2port(dip); local 11620 struct fcp_port *pptr = ADDR2FCP(ap); local 11809 struct fcp_port *pptr = ADDR2FCP(ap); local 11962 struct fcp_port *pptr; local 12099 fcp_linkreset(struct fcp_port *pptr, struct scsi_address *ap, int sleep) argument 12156 struct fcp_port *pptr; /* port state ptr */ local 12307 fcp_cp_pinfo(struct fcp_port *pptr, fc_ulp_port_info_t *pinfo) argument 12374 struct fcp_port *pptr = elem->port; local 12409 struct fcp_port *pptr = plun->lun_tgt->tgt_port; local 12506 struct fcp_port *pptr = ptgt->tgt_port; local 12704 struct fcp_port *pptr = ptgt->tgt_port; local 12915 struct fcp_port *pptr = ptgt->tgt_port; local 13092 struct fcp_port *pptr = ptgt->tgt_port; local 13110 struct fcp_port *pptr = plun->lun_tgt->tgt_port; local 13288 struct fcp_port *pptr = plun->lun_tgt->tgt_port; local 13483 struct fcp_port *pptr; local 13792 fcp_check_reset_delay(struct fcp_port *pptr) argument 13870 fcp_abort_all(struct fcp_port *pptr, struct fcp_tgt *ttgt, struct fcp_lun *rlun, int tgt_cnt) argument 14071 fcp_soft_state_unlink(struct fcp_port *pptr) argument 14105 fcp_lookup_lun(struct fcp_port *pptr, uchar_t *wwn, uint16_t lun) argument 14149 fcp_prepare_pkt(struct fcp_port *pptr, struct fcp_pkt *cmd, struct fcp_lun *plun) argument 14257 fcp_dopoll(struct fcp_port *pptr, struct fcp_pkt *cmd) argument 14333 fcp_get_lun_from_cip(struct fcp_port *pptr, child_info_t *cip) argument 14374 fcp_pass_to_hp_and_wait(struct fcp_port *pptr, struct fcp_lun *plun, child_info_t *cip, int what, int link_cnt, int tgt_cnt, int flags) argument 14420 fcp_pass_to_hp(struct fcp_port *pptr, struct fcp_lun *plun, child_info_t *cip, int what, int link_cnt, int tgt_cnt, int flags, int wait) argument 14476 fcp_retransport_cmd(struct fcp_port *pptr, struct fcp_pkt *cmd) argument 14582 fcp_queue_pkt(struct fcp_port *pptr, struct fcp_pkt *cmd) argument 14639 fcp_update_targets(struct fcp_port *pptr, fc_portmap_t *dev_list, uint32_t count, uint32_t state, int cause) argument 14666 fcp_call_finish_init(struct fcp_port *pptr, struct fcp_tgt *ptgt, int lcount, int tcount, int cause) argument 14680 fcp_call_finish_init_held(struct fcp_port *pptr, struct fcp_tgt *ptgt, int lcount, int tcount, int cause) argument 14768 struct fcp_port *pptr = ptgt->tgt_port; local 14815 fcp_free_targets(struct fcp_port *pptr) argument 14909 fcp_create_on_demand(struct fcp_port *pptr, uchar_t *pwwn) argument 15221 struct fcp_port *pptr; local 15375 fcp_handle_ipkt_errors(struct fcp_port *pptr, struct fcp_tgt *ptgt, struct fcp_ipkt *icmd, int rval, caddr_t op) argument 15502 fcp_construct_map(struct fcp_port *pptr, uint32_t *dev_cnt) argument 15572 fcp_update_mpxio_path_verifybusy(struct fcp_port *pptr) argument 15712 struct fcp_port *pptr = fcp_dip2port(parent); local 15859 fcp_reconfig_wait(struct fcp_port *pptr) argument 16120 fcp_port_t *pptr = ADDR2FCP(ap); local 16217 fcp_port_t *pptr = ADDR2FCP(ap); local 16242 fcp_port_t *pptr = ADDR2FCP(ap); local [all...] |