Print this page
8368 remove warlock leftovers from usr/src/uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_arp.c
          +++ new/usr/src/uts/common/io/ib/mgt/ibcm/ibcm_arp.c
↓ open down ↓ 37 lines elided ↑ open up ↑
  38   38  #include <sys/t_kuser.h>
  39   39  
  40   40  #include <sys/dls.h>
  41   41  
  42   42  extern char cmlog[];
  43   43  
  44   44  extern int ibcm_resolver_pr_lookup(ibcm_arp_streams_t *ib_s,
  45   45      ibt_ip_addr_t *dst_addr, ibt_ip_addr_t *src_addr, zoneid_t myzoneid);
  46   46  extern void ibcm_arp_delete_prwqn(ibcm_arp_prwqn_t *wqnp);
  47   47  
  48      -_NOTE(SCHEME_PROTECTS_DATA("Unshared data", ibt_ip_addr_s))
  49      -_NOTE(SCHEME_PROTECTS_DATA("Unshared data", ibcm_arp_ip_t))
  50      -_NOTE(SCHEME_PROTECTS_DATA("Unshared data", ibcm_arp_ibd_insts_t))
  51      -_NOTE(SCHEME_PROTECTS_DATA("Unshared data", ibcm_arp_prwqn_t))
  52      -_NOTE(SCHEME_PROTECTS_DATA("Unshared data", sockaddr_in))
  53      -_NOTE(SCHEME_PROTECTS_DATA("Unshared data", sockaddr_in6))
  54      -
  55   48  int ibcm_printip = 0;
  56   49  
  57   50  /*
  58   51   * Function:
  59   52   *      ibcm_ip_print
  60   53   * Input:
  61   54   *      label           Arbitrary qualifying string
  62   55   *      ipa             Pointer to IP Address to print
  63   56   */
  64   57  void
↓ open down ↓ 251 lines elided ↑ open up ↑
 316  309  
 317  310          IBTF_DPRINTF_L3(cmlog, "ibcm_do_lifconf: Family %d, lifn_count %d",
 318  311              family_loc, lifn.lifn_count);
 319  312          /*
 320  313           * Pad the interface count to account for additional interfaces that
 321  314           * may have been configured between the SIOCGLIFNUM and SIOCGLIFCONF.
 322  315           */
 323  316          lifn.lifn_count += 4;
 324  317  
 325  318          bzero(lifcp, sizeof (struct lifconf));
 326      -        _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*lifcp))
 327  319          lifcp->lifc_family = family_loc;
 328  320          lifcp->lifc_len = *bufsizep = lifn.lifn_count * sizeof (struct lifreq);
 329  321          lifcp->lifc_buf = kmem_zalloc(*bufsizep, KM_SLEEP);
 330  322          lifcp->lifc_flags = LIFC_NOXMIT | LIFC_TEMPORARY | LIFC_ALLZONES;
 331  323  
 332  324          err = ibcm_do_ip_ioctl(SIOCGLIFCONF, sizeof (struct lifconf), lifcp);
 333  325          if (err != 0) {
 334  326                  kmem_free(lifcp->lifc_buf, *bufsizep);
 335  327                  return (err);
 336  328          }
↓ open down ↓ 223 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX