Home
last modified time | relevance | path

Searched refs:ib_s (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_arp_link.c49 ibcm_arp_streams_t *ib_s; in ibcm_arp_delete_prwqn() local
53 ib_s = wqnp->ib_str; in ibcm_arp_delete_prwqn()
54 ib_s->wqnp = NULL; in ibcm_arp_delete_prwqn()
62 ibcm_arp_create_prwqn(ibcm_arp_streams_t *ib_s, ibt_ip_addr_t *dst_addr, in ibcm_arp_create_prwqn() argument
67 IBTF_DPRINTF_L4(cmlog, "ibcm_arp_create_prwqn(ib_s: 0x%p)", ib_s); in ibcm_arp_create_prwqn()
81 wqnp->ib_str = ib_s; in ibcm_arp_create_prwqn()
85 ib_s->wqnp = wqnp; in ibcm_arp_create_prwqn()
106 ibcm_resolver_pr_lookup(ibcm_arp_streams_t *ib_s, ibt_ip_addr_t *dst_addr, in ibcm_resolver_pr_lookup() argument
121 if ((wqnp = ibcm_arp_create_prwqn(ib_s, dst_addr, src_addr)) == NULL) { in ibcm_resolver_pr_lookup()
124 ib_s->status = ENOMEM; in ibcm_resolver_pr_lookup()
[all …]
H A Dibcm_arp.c44 extern int ibcm_resolver_pr_lookup(ibcm_arp_streams_t *ib_s,
86 ibcm_arp_streams_t *ib_s; in ibcm_arp_get_ibaddr() local
94 ib_s = (ibcm_arp_streams_t *)kmem_zalloc(sizeof (ibcm_arp_streams_t), in ibcm_arp_get_ibaddr()
97 mutex_init(&ib_s->lock, NULL, MUTEX_DEFAULT, NULL); in ibcm_arp_get_ibaddr()
98 cv_init(&ib_s->cv, NULL, CV_DRIVER, NULL); in ibcm_arp_get_ibaddr()
100 mutex_enter(&ib_s->lock); in ibcm_arp_get_ibaddr()
101 ib_s->done = B_FALSE; in ibcm_arp_get_ibaddr()
102 mutex_exit(&ib_s->lock); in ibcm_arp_get_ibaddr()
104 ret = ibcm_resolver_pr_lookup(ib_s, &destaddr, &srcaddr, myzoneid); in ibcm_arp_get_ibaddr()
109 mutex_enter(&ib_s->lock); in ibcm_arp_get_ibaddr()
[all …]