Lines Matching defs:lcount

431     struct fcp_ipkt *icmd, uchar_t opcode, int lcount, int tcount, int cause);
443 int nodma, int lcount, int tcount, int cause, uint32_t rscn_count);
454 int len, int lcount, int tcount, int cause, uint32_t rscn_count);
526 int lcount, int tcount);
534 int lcount, int tcount, int flags, int *circ);
536 int lcount, int tcount, int flags, int *circ);
566 struct fcp_tgt *ptgt, int lcount, int tcount, int cause);
568 struct fcp_tgt *ptgt, int lcount, int tcount, int cause);
582 static void fcp_offline_all(struct fcp_port *pptr, int lcount, int cause);
601 static mdi_pathinfo_t *fcp_create_pip(struct fcp_lun *plun, int lcount,
2319 int lcount;
2482 lcount = pptr->port_link_cnt;
2556 lcount, /* ipkt_link_cnt */
3184 int lcount;
3207 lcount = pptr->port_link_cnt;
3208 ptgt = fcp_alloc_tgt(pptr, &devlist, lcount);
3282 int lcount;
3289 lcount = pptr->port_link_cnt;
3296 lcount, tcount, 0, FC_INVALID_RSCN_COUNT);
3837 int lcount;
3863 lcount = pptr->port_link_cnt;
3879 FCP_OFFLINE, lcount, tcount, flag);
3917 int lcount;
3934 lcount = pptr->port_link_cnt;
3956 FCP_ONLINE, lcount, tcount, 0);
4934 int lcount;
5080 lcount = link_cnt;
5097 pptr->port_state & FCP_STATE_FCA_IS_NODMA, lcount, tcount,
5114 lcount, tcount, cause)) == DDI_SUCCESS) {
5135 * lcount Link state change counter
5144 struct fcp_ipkt *icmd, uchar_t opcode, int lcount, int tcount, int cause)
5177 lcount, tcount, cause, FC_INVALID_RSCN_COUNT);
5389 fcp_offline_all(struct fcp_port *pptr, int lcount, int cause)
5413 lcount, ptgt->tgt_change_cnt, cause);
5603 int lcount;
5615 lcount = pptr->port_link_cnt;
5621 lcount, tcount, 0, FC_INVALID_RSCN_COUNT)) == NULL) {
5710 * setting the fields ipkt_link_cnt and ipkt_change_cnt to lcount
5721 * lcount Link state change counter.
5730 int resp_len, int data_len, int nodma, int lcount, int tcount, int cause,
5753 icmd->ipkt_link_cnt = lcount;
6514 int lcount, int tcount, int cause, uint32_t rscn_count)
6540 FCP_MAX_RSP_IU_SIZE, alloc_len, nodma, lcount, tcount, cause,
8147 int online, int lcount, int tcount, int flags)
8248 ccip = fcp_get_cip(plun, cip, lcount, tcount);
8260 rval = fcp_online_child(plun, ccip, lcount, tcount, flags,
8265 rval = fcp_offline_child(plun, ccip, lcount, tcount, flags,
12403 fcp_get_cip(struct fcp_lun *plun, child_info_t *cip, int lcount,
12418 CIP(fcp_create_dip(plun, lcount, tcount));
12422 CIP(fcp_create_pip(plun, lcount, tcount));
12695 fcp_create_pip(struct fcp_lun *plun, int lcount, int tcount)
12761 FCP_OFFLINE, lcount, tcount,
13106 fcp_online_child(struct fcp_lun *plun, child_info_t *cip, int lcount,
13221 cdip = fcp_create_dip(plun, lcount, tcount);
13283 fcp_offline_child(struct fcp_lun *plun, child_info_t *cip, int lcount,
14667 int lcount, int tcount, int cause)
14672 rval = fcp_call_finish_init_held(pptr, ptgt, lcount, tcount, cause);
14681 int lcount, int tcount, int cause)
14698 pptr->port_link_cnt, lcount, ptgt->tgt_change_cnt, tcount,
14744 (void) fcp_finish_tgt(pptr, ptgt, lcount, tcount, cause);
14747 if (finish_init && lcount == pptr->port_link_cnt) {
14752 } else if (lcount != pptr->port_link_cnt) {
14913 int lcount;
14976 lcount = pptr->port_link_cnt;
14979 ptgt = fcp_alloc_tgt(pptr, devlist, lcount);
15009 lcount = pptr->port_link_cnt;
15012 if (fcp_handle_mapflags(pptr, ptgt, devlist, lcount,
15021 if (pptr->port_link_cnt != lcount ||
15030 "lcount=%x::port_link_cnt=%x, "
15032 ptgt, lcount, pptr->port_link_cnt,
15053 "lcount=%x::port_link_cnt=%x, "
15056 ntries, ptgt, lcount, pptr->port_link_cnt,
15061 while (ntries-- != 0 && pptr->port_link_cnt == lcount &&
15073 if (pptr->port_link_cnt != lcount || ptgt->tgt_change_cnt != tcount) {
15085 "lcount=%x::port_link_cnt=%x, "
15088 ntries, ptgt, lcount, pptr->port_link_cnt,
15104 "lcount=%x::port_link_cnt=%x, "
15107 ntries, ptgt, lcount, pptr->port_link_cnt,
15118 lcount = pptr->port_link_cnt;
15144 FCP_ONLINE, lcount, tcount,