Lines Matching defs:rv

179 	int		rv;
215 rv = vsw_setup_switching(vswp);
216 if (rv == 0) {
220 if (rv != EAGAIN) {
292 int rv = 1;
305 rv = vsw_setup_layer2(vswp);
307 rv = vsw_setup_layer3(vswp);
310 rv = 1;
313 if (rv && (rv != EAGAIN)) {
316 } else if (rv == 0) {
325 return (rv);
339 int rv;
350 rv = strlen(vswp->physname);
351 if (rv == 0) {
363 rv = vsw_mac_open(vswp);
364 if (rv != 0) {
365 if (rv != EAGAIN) {
370 return (rv);
992 int rv;
998 rv = mod_hash_insert(vswp->vlan_hashp,
1001 if (rv != 0) {
1007 rv = mod_hash_insert(vswp->vlan_hashp,
1010 if (rv != 0) {
1021 rv = mod_hash_insert(portp->vlan_hashp,
1024 if (rv != 0) {
1031 rv = mod_hash_insert(portp->vlan_hashp,
1034 if (rv != 0) {
1051 int rv;
1057 rv = vsw_vlan_lookup(vswp->vlan_hashp, vswp->pvid);
1058 if (rv == B_TRUE) {
1059 rv = mod_hash_remove(vswp->vlan_hashp,
1062 ASSERT(rv == 0);
1066 rv = vsw_vlan_lookup(vswp->vlan_hashp,
1068 if (rv == B_TRUE) {
1069 rv = mod_hash_remove(vswp->vlan_hashp,
1073 ASSERT(rv == 0);
1081 rv = vsw_vlan_lookup(portp->vlan_hashp, portp->pvid);
1082 if (rv == B_TRUE) {
1083 rv = mod_hash_remove(portp->vlan_hashp,
1086 ASSERT(rv == 0);
1090 rv = vsw_vlan_lookup(portp->vlan_hashp,
1092 if (rv == B_TRUE) {
1093 rv = mod_hash_remove(portp->vlan_hashp,
1097 ASSERT(rv == 0);
1113 int rv;
1116 rv = mod_hash_find(vlan_hashp, VLAN_ID_KEY(vid), (mod_hash_val_t *)&vp);
1118 if (rv != 0)
1133 int rv;
1144 rv = mod_hash_insert(vswp->fdb_hashp, (mod_hash_key_t)addr,
1146 if (rv != 0) {
1162 int rv;
1170 rv = mod_hash_remove(vswp->fdb_hashp, (mod_hash_key_t)addr,
1172 if (rv != 0) {
1197 int rv;
1201 rv = mod_hash_find_cb(vswp->fdb_hashp, (mod_hash_key_t)key,
1204 if (rv != 0)
1318 * rv: count of the packets in the returned list
1332 boolean_t rv;
1440 rv = vsw_vlan_lookup(vlan_hashp,
1442 if (rv == B_FALSE) {
1641 int rv = 0;
1678 rv = 1;
1702 rv = 1;
1729 return (rv);