Lines Matching defs:ctr
816 int ctr;
910 for (ctr = 0; ctr < stl_hdr->stl_out_cnt; ctr++) {
911 (void) mbstowcs((*ppList)->keys[ctr].name,
912 (char *)stl_hdr->stl_list[ctr].ste_name,
915 (*ppList)->keys[ctr].tpgt = stl_hdr->stl_list[ctr].ste_tpgt;
917 (*ppList)->keys[ctr].address.portNumber =
918 stl_hdr->stl_list[ctr].ste_ipaddr.a_port;
920 if (stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_insize ==
922 (*ppList)->keys[ctr].address.ipAddress.ipv4Address =
924 } else if (stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_insize ==
926 (*ppList)->keys[ctr].address.ipAddress.ipv4Address =
933 (void) memcpy(&(*ppList)->keys[ctr].address.ipAddress.ipAddress,
934 &(stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_addr),
935 stl_hdr->stl_list[ctr].ste_ipaddr.a_addr.i_insize);
2842 int ctr;
2947 for (ctr = 0; ctr < pg_list->pg_out_cnt; ctr++) {
2948 (void) mbstowcs((*ppList)->keys[ctr].name,
2949 (char *)pg_list->pg_list[ctr].pg_iscsi_name,
2952 (*ppList)->keys[ctr].tpgt = pg_list->pg_list[ctr].pg_tag;
2954 (*ppList)->keys[ctr].address.portNumber =
2955 pg_list->pg_list[ctr].pg_port;
2957 if (pg_list->pg_list[ctr].insize == sizeof (struct in_addr)) {
2958 (*ppList)->keys[ctr].address.ipAddress.ipv4Address =
2960 } else if (pg_list->pg_list[ctr].insize ==
2962 (*ppList)->keys[ctr].address.ipAddress.ipv4Address =
2969 (void) memcpy(&(*ppList)->keys[ctr].address.ipAddress.ipAddress,
2970 &(pg_list->pg_list[ctr].pg_ip_addr),
2971 pg_list->pg_list[ctr].insize);