/titanic_50/usr/src/uts/common/sys/ |
H A D | modhash.h | 44 typedef void *mod_hash_val_t; typedef 61 mod_hash_t *mod_hash_create_strhash(char *, size_t, void (*)(mod_hash_val_t)); 65 void mod_hash_strval_dtor(mod_hash_val_t); 71 mod_hash_t *mod_hash_create_ptrhash(char *, size_t, void (*)(mod_hash_val_t), 80 mod_hash_t *mod_hash_create_idhash(char *, size_t, void (*)(mod_hash_val_t)); 90 void (*)(mod_hash_val_t), uint_t (*)(void *, mod_hash_key_t), void *, 100 void mod_hash_null_valdtor(mod_hash_val_t); 122 int mod_hash_insert(mod_hash_t *, mod_hash_key_t, mod_hash_val_t); 123 int mod_hash_replace(mod_hash_t *, mod_hash_key_t, mod_hash_val_t); 124 int mod_hash_remove(mod_hash_t *, mod_hash_key_t, mod_hash_val_t *); [all …]
|
H A D | modhash_impl.h | 46 mod_hash_val_t mhe_val; /* stored hash value */ 66 void (*mh_vdtor)(mod_hash_val_t); 99 int i_mod_hash_insert_nosync(mod_hash_t *, mod_hash_key_t, mod_hash_val_t, 101 int i_mod_hash_remove_nosync(mod_hash_t *, mod_hash_key_t, mod_hash_val_t *); 102 int i_mod_hash_find_nosync(mod_hash_t *, mod_hash_key_t, mod_hash_val_t *); 104 mod_hash_val_t *, void *), void *);
|
/titanic_50/usr/src/uts/common/os/ |
H A D | modhash.c | 185 mod_hash_null_valdtor(mod_hash_val_t val) in mod_hash_null_valdtor() 236 mod_hash_strval_dtor(mod_hash_val_t val) in mod_hash_strval_dtor() 244 void (*val_dtor)(mod_hash_val_t)) in mod_hash_create_strhash() argument 294 void (*val_dtor)(mod_hash_val_t), size_t key_elem_size) in mod_hash_create_ptrhash() argument 383 void (*val_dtor)(mod_hash_val_t)) in mod_hash_create_idhash() argument 430 void (*vdtor)(mod_hash_val_t), /* value destructor */ in mod_hash_create_extended() argument 546 mod_hash_val_t val, mod_hash_hndl_t handle) in i_mod_hash_insert_nosync() 579 mod_hash_insert(mod_hash_t *hash, mod_hash_key_t key, mod_hash_val_t val) in mod_hash_insert() 582 mod_hash_val_t v; in mod_hash_insert() 603 mod_hash_val_t val, mod_hash_hndl_t handle) in mod_hash_insert_reserve() [all …]
|
H A D | dacf.c | 170 static void dacf_rule_val_dtor(mod_hash_val_t); 346 (mod_hash_val_t)rule) != 0) { in dacf_rule_insert() 421 dacf_rule_val_dtor(mod_hash_val_t val) in dacf_rule_val_dtor() 654 (mod_hash_val_t *)&rule) == 0) { in dacf_match() 710 (mod_hash_val_t)&module) == 0) { in dacf_module_register() 736 (mod_hash_val_t)module) != 0) { in dacf_module_register() 809 (mod_hash_val_t)&module) == 0) { in dacf_module_unregister() 940 (mod_hash_val_t *)&module) == 0) { in dacf_op_invoke() 1269 (mod_hash_val_t)data); in dacf_store_info() 1284 (mod_hash_val_t *)&data) != 0) { in dacf_retrieve_info()
|
H A D | modsubr.c | 875 (mod_hash_val_t)&entry) != 0) { in hwc_hash_insert() 879 if (mod_hash_insert(hash, key, (mod_hash_val_t)spec) != 0) { in hwc_hash_insert() 909 (mod_hash_val_t)&entry) != 0) { in hwc_hash_remove() 925 (mod_hash_val_t)spec->hwc_hash_next); in hwc_hash_remove() 1055 mod_hash_val_t val; in hwc_get_child_spec()
|
H A D | space.c | 309 (mod_hash_key_t)s, (mod_hash_val_t)ptr); in space_store() 342 mod_hash_val_t val; in space_fetch()
|
H A D | project.c | 156 project_hash_val_dtor(mod_hash_val_t val) in project_hash_val_dtor() 231 (mod_hash_val_t)&p) == MH_ERR_NOTFOUND) in project_hold_by_id() 252 (mod_hash_val_t *)&p) == MH_ERR_NOTFOUND) { in project_hold_by_id() 274 (mod_hash_val_t)p, hndl)) in project_hold_by_id()
|
H A D | labelsys.c | 210 mod_hash_val_t hv; in tnrhtp_find() 570 mod_hash_val_t hv; in tnrhtp_create() 594 (mod_hash_val_t)tpc); in tnrhtp_create() 605 mod_hash_val_t hv; in tnrhtp_delete() 624 tpc_delete(mod_hash_key_t key, mod_hash_val_t *val, void *arg) in tpc_delete()
|
H A D | task.c | 346 (mod_hash_val_t *)&tk) == MH_ERR_NOTFOUND || in task_find() 560 (mod_hash_val_t *)tk, hndl) != 0) { in task_create() 1014 (mod_hash_val_t *)task0p, hndl) != 0) { in task_init()
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vsw_switching.c | 112 static void vsw_fdbe_find_cb(mod_hash_key_t key, mod_hash_val_t val); 828 (mod_hash_val_t *)&entp) != 0) { in vsw_forward_grp() 1000 (mod_hash_val_t)B_TRUE); in vsw_vlan_add_ids() 1009 (mod_hash_val_t)B_TRUE); in vsw_vlan_add_ids() 1023 (mod_hash_val_t)B_TRUE); in vsw_vlan_add_ids() 1033 (mod_hash_val_t)B_TRUE); in vsw_vlan_add_ids() 1050 mod_hash_val_t vp; in vsw_vlan_remove_ids() 1061 (mod_hash_val_t *)&vp); in vsw_vlan_remove_ids() 1072 (mod_hash_val_t *)&vp); in vsw_vlan_remove_ids() 1085 (mod_hash_val_t *)&vp); in vsw_vlan_remove_ids() [all …]
|
/titanic_50/usr/src/uts/common/io/dls/ |
H A D | dls_link.c | 219 i_dls_head_hold(mod_hash_key_t key, mod_hash_val_t val) in i_dls_head_hold() 298 if (mod_hash_find_cb_rval(hash, key, (mod_hash_val_t *)&dhp, in i_dls_link_rx_func() 419 if (mod_hash_find_cb_rval(hash, key, (mod_hash_val_t *)&dhp, in i_dls_link_rx() 567 (mod_hash_val_t *)&dhp) != 0) in dls_rx_promisc() 715 (mod_hash_val_t *)&dlp)) == 0) in dls_link_hold_common() 732 (mod_hash_val_t)dlp); in dls_link_hold_common() 806 mod_hash_val_t val; in dls_link_rele() 832 (mod_hash_val_t *)&dlp) != 0) in dls_link_rele_by_name() 930 if ((err = mod_hash_find(hash, key, (mod_hash_val_t *)&dhp)) != 0) { in dls_link_add() 934 err = mod_hash_insert(hash, key, (mod_hash_val_t)dhp); in dls_link_add() [all …]
|
H A D | dls_mgmt.c | 728 (mod_hash_val_t *)&dlp) != 0) { in dls_devnet_stat_update() 817 (mod_hash_val_t *)&ddp) == 0) { in dls_devnet_set() 827 (mod_hash_key_t)macname, (mod_hash_val_t *)&ddp)) == 0) { in dls_devnet_set() 850 (mod_hash_key_t)ddp->dd_mac, (mod_hash_val_t)ddp) == 0); in dls_devnet_set() 859 (mod_hash_val_t)ddp) == 0); in dls_devnet_set() 906 mod_hash_val_t val; in dls_devnet_unset() 910 (mod_hash_key_t)macname, (mod_hash_val_t *)&ddp)) != 0) { in dls_devnet_unset() 993 (mod_hash_key_t)(uintptr_t)linkid, (mod_hash_val_t *)&ddp)) != 0) { in dls_devnet_hold_common() 1074 (mod_hash_key_t)name, (mod_hash_val_t *)&ddp)) != 0) { in dls_devnet_hold_by_dev() 1204 (mod_hash_val_t *)&ddp) != 0) { in dls_devnet_macname2linkid() [all …]
|
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei.h | 312 (mod_hash_val_t)&xch_tmp) == 0); \ 316 FMHK(xch->xch_oxid), (mod_hash_val_t)xch); \ 328 (mod_hash_val_t)&xch_tmp) == 0); \ 337 FMHK(xch->xch_rxid), (mod_hash_val_t)xch); \
|
H A D | fcoei_eth.c | 226 FMHK(sol_oxid), (mod_hash_val_t *)&xch) != 0) { in fcoei_process_unsol_xfer_rdy() 441 fcoei_search_abort_xch(mod_hash_key_t key, mod_hash_val_t *val, void *arg) in fcoei_search_abort_xch() 482 FMHK(sol_oxid), (mod_hash_val_t *)&xch); in fcoei_process_unsol_abts_req() 570 mod_hash_val_t val; in fcoei_process_sol_fcp_resp() 578 FMHK(sol_oxid), (mod_hash_val_t *)&xch) != 0) { in fcoei_process_sol_fcp_resp() 678 FMHK(sol_oxid), (mod_hash_val_t *)&xch) != 0) { in fcoei_process_sol_els_rsp() 746 FMHK(sol_oxid), (mod_hash_val_t *)&xch) != 0) { in fcoei_process_sol_ct_rsp() 1168 FMHK(sol_oxid), (mod_hash_val_t *)&xch) != 0) { in fcoei_process_unsol_frame()
|
H A D | fcoei.c | 60 mod_hash_key_t key, mod_hash_val_t *val, void *arg); 900 fcoei_xch_check(mod_hash_key_t key, mod_hash_val_t *val, void *arg) in fcoei_xch_check() 1082 mod_hash_val_t val; in fcoei_complete_xch()
|
/titanic_50/usr/src/uts/common/io/comstar/port/fcoet/ |
H A D | fcoet_eth.c | 446 (mod_hash_val_t)&xch_tmp) == 0); in fcoet_create_unsol_exchange() 451 (mod_hash_key_t)(intptr_t)xch->xch_rxid, (mod_hash_val_t)xch); in fcoet_create_unsol_exchange() 471 mod_hash_val_t val = NULL; in fcoet_clear_unsol_exchange() 495 mod_hash_val_t val = NULL; in fcoet_clear_sol_exchange() 520 (mod_hash_val_t)&xch, fcoet_modhash_find_cb) != 0) { in fcoet_process_sol_fcp_data() 676 (mod_hash_val_t *)&xch, fcoet_modhash_find_cb) != 0) { in fcoet_process_sol_els_rsp() 725 (mod_hash_val_t *)&xch, fcoet_modhash_find_cb) != 0) { in fcoet_process_unsol_abts_req() 773 (mod_hash_val_t *)&xch) != 0) { in fcoet_process_sol_abts_acc() 802 (mod_hash_val_t *)&xch) != 0) { in fcoet_process_sol_abts_rjt() 856 (mod_hash_val_t *)&xch) != 0) { in fcoet_process_sol_ct_rsp()
|
H A D | fcoet.c | 117 fcoet_sol_oxid_hash_empty(mod_hash_key_t key, mod_hash_val_t *val, void *arg); 119 fcoet_unsol_rxid_hash_empty(mod_hash_key_t key, mod_hash_val_t *val, void *arg); 1005 fcoet_sol_oxid_hash_empty(mod_hash_key_t key, mod_hash_val_t *val, void *arg) in fcoet_sol_oxid_hash_empty() 1016 fcoet_unsol_rxid_hash_empty(mod_hash_key_t key, mod_hash_val_t *val, void *arg) in fcoet_unsol_rxid_hash_empty() 1027 fcoet_modhash_find_cb(mod_hash_key_t key, mod_hash_val_t val) in fcoet_modhash_find_cb()
|
H A D | fcoet.h | 267 void fcoet_modhash_find_cb(mod_hash_key_t, mod_hash_val_t);
|
/titanic_50/usr/src/uts/common/io/dld/ |
H A D | dld_drv.c | 172 drv_ap_exist(mod_hash_key_t key, mod_hash_val_t *val, void *arg) in drv_ap_exist() 850 mod_hash_val_t val; in drv_ioc_rename() 920 if (mod_hash_find(dld_ap_hashp, key, (mod_hash_val_t *)&dap) != 0) { in drv_ioc_setap() 929 (mod_hash_val_t)dap) == 0); in drv_ioc_setap() 955 (mod_hash_val_t *)&dap) != 0) { in drv_ioc_getap() 978 mod_hash_val_t val; in drv_ioc_clrap() 1115 (mod_hash_val_t *)&dap) == 0) { in dld_autopush() 1181 (mod_hash_val_t *)&objp); in drv_ioc_secobj_set() 1198 (mod_hash_key_t)objp->so_name, (mod_hash_val_t)objp) == 0); in drv_ioc_secobj_set() 1217 drv_secobj_walker(mod_hash_key_t key, mod_hash_val_t *val, void *arg) in drv_secobj_walker() [all …]
|
/titanic_50/usr/src/uts/common/io/ |
H A D | sad_conf.c | 139 sad_hash_free_value(mod_hash_key_t key, mod_hash_val_t *val, void *arg) in sad_hash_free_value() 245 (mod_hash_val_t *)&ap_removed); in sad_ap_remove() 258 (mod_hash_val_t *)&ap_result); in sad_ap_find()
|
/titanic_50/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 343 vmu_free_object(mod_hash_val_t val) in vmu_free_object() 363 vmu_free_entity(mod_hash_val_t val) in vmu_free_entity() 383 vmu_free_zone(mod_hash_val_t val) in vmu_free_zone() 388 vmu_free_entity((mod_hash_val_t)zone->vmz_zone); in vmu_free_zone() 605 (mod_hash_val_t *)&object); in vmu_find_insert_object() 609 (mod_hash_val_t)object, (mod_hash_hndl_t)0); in vmu_find_insert_object() 622 (mod_hash_val_t *)&val); in vmu_find_insert_anon() 628 (mod_hash_val_t)key, (mod_hash_hndl_t)0); in vmu_find_insert_anon() 642 (mod_hash_val_t *)&entity); in vmu_find_insert_entity() 646 (mod_hash_key_t)(uintptr_t)id, (mod_hash_val_t)entity, in vmu_find_insert_entity() [all …]
|
/titanic_50/usr/src/uts/common/io/softmac/ |
H A D | softmac_main.c | 190 softmac_exist(mod_hash_key_t key, mod_hash_val_t *val, void *arg) in softmac_exist() 381 (mod_hash_val_t *)&softmac)) != 0) { in softmac_create() 388 (mod_hash_val_t)softmac); in softmac_create() 980 (mod_hash_val_t *)&softmac); in softmac_destroy() 1071 mod_hash_val_t hashval; in softmac_destroy() 1086 (mod_hash_val_t *)&hashval); in softmac_destroy() 1120 softmac_mac_recreate(mod_hash_key_t key, mod_hash_val_t *val, void *arg) in softmac_mac_recreate() 1574 (mod_hash_val_t *)&softmac) != 0) { in softmac_hold_device()
|
/titanic_50/usr/src/uts/common/io/vnic/ |
H A D | vnic_dev.c | 359 (mod_hash_val_t *)&vnic); in vnic_dev_create() 572 (mod_hash_val_t)vnic); in vnic_dev_create() 624 (mod_hash_val_t *)&vnic) != 0) { in vnic_dev_modify() 639 mod_hash_val_t val; in vnic_dev_delete() 646 (mod_hash_val_t *)&vnic) != 0) { in vnic_dev_delete() 1189 (mod_hash_val_t *)&vnic); in vnic_info()
|
/titanic_50/usr/src/uts/common/crypto/core/ |
H A D | kcf_mech_tabs.c | 149 mod_hash_val_t hv; in kcf_mech_hash_find() 263 (mod_hash_val_t)&(me_tab[i].me_mechid)); in kcf_init_mech_tabs() 346 (mod_hash_val_t)&(me_tab[i].me_mechid)); in kcf_create_mech_entry()
|
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_fm.c | 1673 static void i_hca_test_free_item(mod_hash_val_t); 2510 (mod_hash_val_t *)&t_item); in i_hca_test_register() 2536 hash_key, (mod_hash_val_t)t_item); in i_hca_test_register() 2540 (uintptr_t)t_item->num, (mod_hash_val_t)t_item); in i_hca_test_register() 2620 i_hca_test_free_item(mod_hash_val_t val) in i_hca_test_free_item()
|