Searched refs:VNIC_HASH_KEY (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/uts/common/io/vnic/ |
H A D | vnic_dev.c | 112 #define VNIC_HASH_KEY(vnic_id) ((mod_hash_key_t)(uintptr_t)vnic_id) macro 360 err = mod_hash_find(vnic_hash, VNIC_HASH_KEY(vnic_id), in vnic_dev_create() 586 err = mod_hash_insert(vnic_hash, VNIC_HASH_KEY(vnic_id), in vnic_dev_create() 639 if (mod_hash_find(vnic_hash, VNIC_HASH_KEY(vnic_id), in vnic_dev_modify() 661 if (mod_hash_find(vnic_hash, VNIC_HASH_KEY(vnic_id), in vnic_dev_delete() 690 (void) mod_hash_remove(vnic_hash, VNIC_HASH_KEY(vnic_id), &val); in vnic_dev_delete() 1263 err = mod_hash_find(vnic_hash, VNIC_HASH_KEY(info->vn_vnic_id), in vnic_info()
|