Lines Matching +refs:val +refs:current

54  * to use reference counting mechanisms to cv_wait until any current data
944 * Returns whether the current thread holds the mac perimeter. Used in making
1248 * Return the current promiscuity.
1663 mac_hwring_getstat(mac_ring_handle_t rh, uint_t stat, uint64_t *val)
1668 return (info->mri_stat(info->mri_driver, stat, val));
2152 * need to make sure that there aren't any mac client threads doing current or
2595 * Call the refresh function with the current promiscuity.
2602 * be less than the specified value. If "current" is B_TRUE, then the client
2604 * current size. Further, return the current margin size value in this case.
2609 mac_margin_add(mac_handle_t mh, uint32_t *marginp, boolean_t current)
2616 if (current)
2620 * If the current margin value cannot satisfy the margin requested,
2730 * range of the device's current minimum and the device's current maximum. eg. a
2734 * If "current" is set to B_TRUE, then the request is to simply to reserve the
2735 * current underlying mac's maximum for this mac client and return it in mtup.
2738 mac_mtu_add(mac_handle_t mh, uint32_t *mtup, boolean_t current)
2748 if (current == B_TRUE)
2950 mod_hash_val_t val;
2973 err = mod_hash_remove(i_mactype_hash, (mod_hash_key_t)ident, &val);
2980 ASSERT(mtp == (mactype_t *)val);
3168 mac_set_prop(mac_handle_t mh, mac_prop_id_t id, char *name, void *val,
3183 bcopy(val, mrp, sizeof (*mrp));
3193 err = mac_set_pvid(mh, *(uint16_t *)val);
3200 bcopy(val, &mtu, sizeof (mtu));
3212 bcopy(val, &learnval, sizeof (learnval));
3227 name, id, valsize, val);
3242 mac_get_prop(mac_handle_t mh, mac_prop_id_t id, char *name, void *val,
3250 bzero(val, valsize);
3260 bcopy(mrp, val, sizeof (*mrp));
3271 bcopy(mrp, val, sizeof (*mrp));
3280 *(uint16_t *)val = mac_get_pvid(mh);
3289 bcopy(&mip->mi_llimit, val, sizeof (mip->mi_llimit));
3291 bcopy(&mip->mi_ldecay, val, sizeof (mip->mi_ldecay));
3299 bcopy(&sdu, val, sizeof (sdu));
3309 bcopy(&link_state, val, sizeof (link_state));
3319 bcopy(&rings, val, sizeof (uint_t));
3327 bcopy(&vlinks, val, sizeof (uint_t));
3346 valsize, val);
4101 /* The current group size should be equal to default value */
4124 /* The current group size should be equal to ring_left */
4611 * current default ring gets removed, then a new one gets
4625 * Remove a ring from it's current group. MAC internal function for dynamic
4862 * Remove it from current group first.
5608 i_mac_impl_list_walker(mod_hash_key_t key, mod_hash_val_t *val, void *arg)
5611 mac_impl_t *mip = (mac_impl_t *)val;
5704 i_mac_fastpath_walker(mod_hash_key_t key, mod_hash_val_t *val,
5708 mac_handle_t mh = (mac_handle_t)val;
7743 mac_pool_link_update(mod_hash_key_t key, mod_hash_val_t *val, void *arg)
7746 mac_impl_t *mip = (mac_impl_t *)val;