Lines Matching defs:apidp

32 	apid_t		*apidp;
167 apid_t *apidp,
192 ret = make_xport_logid(apidp->xport_phys, &larg.xport_logp, &l_errno);
201 larg.apidp = apidp;
204 if ((ret = findMatchingAdapterPort(larg.apidp->xport_phys, &handle,
253 if (cvt_dyncomp_to_lawwn(apidp->dyncomp, &pwwn) != 0) {
290 inq_dtype = get_inq_dtype(apidp->xport_phys,
291 apidp->dyncomp, handle, &portAttrs, &discPortAttrs);
293 if (init_ldata_for_accessible_dev(apidp->dyncomp,
303 if (apidp->lunlist == NULL) {
332 if (apidp->lunlist == NULL) {
346 if (apidp->lunlist == NULL) {
380 inq_dtype = get_inq_dtype(apidp->xport_phys, dyncomp,
401 if (apidp->flags == FLAG_DEVINFO_FORCE) {
415 * DINFOPROP was sufficient on apidp->xport_phys prior to the support
420 ret = walk_tree(apidp->xport_phys, &larg, DINFOCPYALL | DINFOPATH,
539 larg.apidp = &apid_con;
542 ret = make_xport_logid(larg.apidp->xport_phys, &larg.xport_logp,
546 S_FREE(larg.apidp->xport_phys);
547 S_FREE(larg.apidp->dyncomp);
556 if ((ret = findMatchingAdapterPort(larg.apidp->xport_phys, &handle,
559 S_FREE(larg.apidp->dyncomp);
584 S_FREE(larg.apidp->xport_phys);
585 S_FREE(larg.apidp->dyncomp);
601 if (cvt_dyncomp_to_lawwn(larg.apidp->dyncomp, &pwwn) != 0) {
605 S_FREE(larg.apidp->xport_phys);
606 S_FREE(larg.apidp->dyncomp);
652 if (init_ldata_for_accessible_dev(larg.apidp->dyncomp,
658 S_FREE(larg.apidp->xport_phys);
659 S_FREE(larg.apidp->dyncomp);
665 larg.apidp->dyncomp, &larg, &l_errno))
670 S_FREE(larg.apidp->xport_phys);
671 S_FREE(larg.apidp->dyncomp);
686 if (larg.apidp->lunlist == NULL) {
721 S_FREE(larg.apidp->xport_phys);
722 S_FREE(larg.apidp->dyncomp);
744 S_FREE(larg.apidp->xport_phys);
745 S_FREE(larg.apidp->dyncomp);
756 S_FREE(larg.apidp->xport_phys);
757 S_FREE(larg.apidp->dyncomp);
769 if ((larg.apidp->flags & FLAG_DEVINFO_FORCE) == FLAG_DEVINFO_FORCE) {
783 * DINFOPROP was sufficient on apidp->xport_phys prior to the support
788 ret = walk_tree(larg.apidp->xport_phys, &larg, DINFOCPYALL | DINFOPATH,
803 S_FREE(larg.apidp->xport_phys);
804 S_FREE(larg.apidp->dyncomp);
819 S_FREE(larg.apidp->xport_phys);
820 S_FREE(larg.apidp->dyncomp);
830 S_FREE(larg.apidp->xport_phys);
831 S_FREE(larg.apidp->dyncomp);
1072 if ((ret = get_report_lun_data(lap->apidp->xport_phys, dyncomp,
1239 if (!dev_cmp(lap->apidp->xport_phys, nodepath, match_minor)) {
1270 if (strncmp(port_wwn, lap->apidp->dyncomp,
1368 if (!dev_cmp(lap->apidp->xport_phys, nodepath, match_minor)) {
1388 if (strncmp(port_wwn, lap->apidp->dyncomp,
1444 if (lap->apidp->flags == FLAG_DEVINFO_FORCE) {
1452 ret = walk_tree(lap->apidp->xport_phys, &devinfo_state,
1520 lap->apidp->xport_phys);
1583 assert(lap->apidp->xport_phys != NULL);
1867 lap->apidp->xport_phys, DYN_SEP, dyncomp);
1905 if ((lap->apidp->flags & (FLAG_FCP_DEV)) == FLAG_FCP_DEV) {
2007 if (strncmp(port_wwn, lap->apidp->dyncomp,
2218 if (strncmp(port_wwn, lap->apidp->dyncomp, WWN_SIZE*2)
2265 lap->apidp->xport_phys, DYN_SEP, port_wwn,
2377 lap->apidp->xport_phys, DYN_SEP, port_wwn,
2470 assert(lap->apidp->xport_phys != NULL);
2721 "%s%s%s%s%d", lap->apidp->xport_phys, DYN_SEP, port_wwn,
2921 lap->apidp->xport_phys, DYN_SEP, pwwn);
2996 lap->apidp->xport_phys, DYN_SEP, dyncomp);
3068 if ((ret = get_standard_inq_data(lap->apidp->xport_phys, port_wwn,
3136 "%s%s%s%s%d", lap->apidp->xport_phys, DYN_SEP, port_wwn,