Searched refs:ialp (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/iscsiadm/
H A Dsun_ima.c173 iscsi_addr_list_t *ialp; local
181 ialp = (iscsi_addr_list_t *)calloc(1, sizeof (iscsi_addr_list_t));
182 if (ialp == NULL) {
187 ialp->al_vers = ISCSI_INTERFACE_VERSION;
188 ialp->al_in_cnt = ialp->al_out_cnt = 1;
195 if (ioctl(fd, ISCSI_DISCOVERY_ADDR_LIST_GET, ialp) != 0) {
203 if (ialp->al_out_cnt > 1) {
206 * and free ialp
208 out_cnt = ialp
2665 iscsi_addr_list_t *ialp; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c1476 iscsi_addr_list_t ial, *ialp = NULL; local
2278 ialp = (iscsi_addr_list_t *)kmem_zalloc(list_space, KM_SLEEP);
2281 bcopy(&ial, ialp, sizeof (ial));
2285 rtn = iscsi_sess_get(ialp->al_oid, ihp, &isp);
2292 ialp->al_out_cnt = 0;
2293 ialp->al_tpgt = isp->sess_tpgt_conf;
2299 if (ialp->al_out_cnt < ialp->al_in_cnt) {
2302 ap = &ialp->al_addrs[ialp
[all...]
/illumos-gate/usr/src/lib/libsun_ima/common/
H A Dima.c3056 iscsi_addr_list_t *ialp, al_info; local
3086 ialp = (iscsi_addr_list_t *)calloc(1, discovery_addr_list_size);
3087 if (ialp == NULL) {
3091 ialp->al_vers = ISCSI_INTERFACE_VERSION;
3092 ialp->al_in_cnt = al_info.al_out_cnt;
3098 if (ioctl(fd, ISCSI_DISCOVERY_ADDR_LIST_GET, ialp) != 0) {
3099 free(ialp);
3109 ialp->al_out_cnt * sizeof (IMA_DISCOVERY_ADDRESS_PROPERTIES));
3112 free(ialp);
3116 (*ppList)->discAddrCount = ialp
[all...]
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Ddwarf_alloc.c886 const struct ial_s *ialp = &index_into_allocated[i]; local
887 unsigned int hdr_index = ialp->ia_al_num;
888 Dwarf_Word str_size = ialp->ia_struct_size;
889 Dwarf_Word str_count = ialp->ia_base_count;

Completed in 82 milliseconds