Lines Matching defs:ibds
207 ibcm_arp_free_ibds(ibcm_arp_ibd_insts_t *ibds)
209 if (ibds->ibcm_arp_ip) {
210 kmem_free(ibds->ibcm_arp_ip, ibds->ibcm_arp_ibd_alloc *
212 ibds->ibcm_arp_ibd_alloc = 0;
213 ibds->ibcm_arp_ibd_cnt = 0;
214 ibds->ibcm_arp_ip = NULL;
219 ibcm_arp_get_ibd_insts(ibcm_arp_ibd_insts_t *ibds)
230 ibds->ibcm_arp_ibd_alloc = 0;
231 ibds->ibcm_arp_ibd_cnt = 0;
232 ibds->ibcm_arp_ip = NULL;
238 ibds->ibcm_arp_ibd_alloc = nparts;
239 ibds->ibcm_arp_ibd_cnt = 0;
240 ibds->ibcm_arp_ip = (ibcm_arp_ip_t *)kmem_zalloc(
248 ipp = &ibds->ibcm_arp_ip[ibds->ibcm_arp_ibd_cnt];
253 ibds->ibcm_arp_ibd_cnt++;
266 (void) ibt_free_part_attr(attr_list, ibds->ibcm_arp_ibd_alloc);
341 ibcm_arp_lookup(ibcm_arp_ibd_insts_t *ibds, char *linkname)
362 for (i = 0; i < ibds->ibcm_arp_ibd_cnt; i++) {
363 if (ibds->ibcm_arp_ip[i].ip_linkid == linkid)
364 return (&ibds->ibcm_arp_ip[i]);
373 * Fill in `ibds' with IP addresses tied to IFT_IB IP interfaces. Returns
377 ibcm_arp_get_ibd_ipaddr(ibcm_arp_ibd_insts_t *ibds, sa_family_t family_loc)
484 if ((ipp = ibcm_arp_lookup(ibds, ifname)) == NULL)