Searched refs:vh (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/uts/common/os/ |
H A D | sunmdi.c | 274 mdi_vhci_t *vh, int flags, int op); 383 mdi_vhci_t *vh = NULL; in mdi_vhci_register() local 409 for (vh = mdi_vhci_head; vh != NULL; vh = vh->vh_next) { in mdi_vhci_register() 410 if (strcmp(vh->vh_class, class) == 0) { in mdi_vhci_register() 416 if (vh->vh_ops != NULL) { in mdi_vhci_register() 428 if (vh == NULL) { in mdi_vhci_register() 435 vh = kmem_zalloc(sizeof (mdi_vhci_t), KM_SLEEP); in mdi_vhci_register() 438 vh->vh_client_table = hash; in mdi_vhci_register() 439 vh->vh_class = kmem_zalloc(strlen(class) + 1, KM_SLEEP); in mdi_vhci_register() 440 (void) strcpy(vh->vh_class, class); in mdi_vhci_register() [all …]
|
/titanic_50/usr/src/lib/libvrrpadm/common/ |
H A D | libvrrpadm.c | 284 vrrp_open(vrrp_handle_t *vh) in vrrp_open() argument 291 if ((*vh = malloc(sizeof (struct vrrp_handle))) == NULL) { in vrrp_open() 295 (*vh)->vh_dh = dh; in vrrp_open() 300 vrrp_close(vrrp_handle_t vh) in vrrp_close() argument 302 if (vh != NULL) { in vrrp_close() 303 dladm_close(vh->vh_dh); in vrrp_close() 304 free(vh); in vrrp_close() 327 vrrp_create(vrrp_handle_t vh, vrrp_vr_conf_t *conf) in vrrp_create() argument 362 vrrp_delete(vrrp_handle_t vh, const char *vn) in vrrp_delete() argument 386 vrrp_enable(vrrp_handle_t vh, const char *vn) in vrrp_enable() argument [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | mdi_impldefs.h | 290 #define MDI_VHCI_PHCI_LOCK(vh) mutex_enter(&(vh)->vh_phci_mutex) argument 291 #define MDI_VHCI_PHCI_TRYLOCK(vh) mutex_tryenter(&(vh)->vh_phci_mutex) argument 292 #define MDI_VHCI_PHCI_UNLOCK(vh) mutex_exit(&(vh)->vh_phci_mutex) argument 294 #define MDI_VHCI_PCHI_LOCKED(vh) MUTEX_HELD(&(vh)->vh_phci_mutex) argument 296 #define MDI_VHCI_CLIENT_LOCK(vh) mutex_enter(&(vh)->vh_client_mutex) argument 297 #define MDI_VHCI_CLIENT_TRYLOCK(vh) mutex_tryenter(&(vh)->vh_client_mutex) argument 298 #define MDI_VHCI_CLIENT_UNLOCK(vh) mutex_exit(&(vh)->vh_client_mutex) argument 300 #define MDI_VHCI_CLIENT_LOCKED(vh) MUTEX_HELD(&(vh)->vh_client_mutex) argument 379 #define MDI_PHCI_LOCKED(vh) MUTEX_HELD(&(ph)->ph_mutex) argument
|
/titanic_50/usr/src/cmd/avs/dsstat/ |
H A D | dsstat.c | 279 char *vh = NULL; in set_vol_list() local 288 vh = volume; in set_vol_list() 295 if (vslist->volhost && vh) { in set_vol_list() 296 if (strcmp(vslist->volhost, vh) == 0 && in set_vol_list() 317 if (vh == NULL) in set_vol_list() 320 newvol->volhost = (char *)calloc((strlen(vh) + 1), in set_vol_list() 322 (void) strcpy(newvol->volhost, vh); in set_vol_list()
|
H A D | sndr_stats.c | 791 char *vh; in sndr_vol_selected() local 805 vh = kstat_value(ksp, RDC_IKSTAT_PRIMARY_HOST); in sndr_vol_selected() 808 sndr_strcmp(vh, vslist->volhost) == 0) in sndr_vol_selected() 813 vh = kstat_value(ksp, RDC_IKSTAT_SECONDARY_HOST); in sndr_vol_selected() 816 sndr_strcmp(vh, vslist->volhost) == 0) in sndr_vol_selected()
|
/titanic_50/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge.c | 1777 struct ether_vlan_header *vh; in myri10ge_send_hash() local 1802 vh = (struct ether_vlan_header *)(void *)mp->b_rptr; in myri10ge_send_hash() 1803 if (vh->ether_type != BE_16(ETHERTYPE_IP)) in myri10ge_send_hash() 1806 ip = (struct ip *)(void *)(vh + 1); in myri10ge_send_hash()
|