Home
last modified time | relevance | path

Searched refs:uo_tbl (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_uobj.c77 sol_ofs_uobj_tbl_init(sol_ofs_uobj_table_t *uo_tbl, size_t uobj_sz) in sol_ofs_uobj_tbl_init() argument
79 ASSERT(uo_tbl != NULL); in sol_ofs_uobj_tbl_init()
81 rw_init(&uo_tbl->uobj_tbl_lock, NULL, RW_DRIVER, NULL); in sol_ofs_uobj_tbl_init()
82 uo_tbl->uobj_tbl_used_blks = 0; in sol_ofs_uobj_tbl_init()
83 uo_tbl->uobj_tbl_num_blks = 0; in sol_ofs_uobj_tbl_init()
84 uo_tbl->uobj_tbl_uo_cnt = 0; in sol_ofs_uobj_tbl_init()
85 uo_tbl->uobj_tbl_uo_sz = uobj_sz; in sol_ofs_uobj_tbl_init()
86 uo_tbl->uobj_tbl_uo_root = NULL; in sol_ofs_uobj_tbl_init()
106 sol_ofs_uobj_tbl_fini(sol_ofs_uobj_table_t *uo_tbl) in sol_ofs_uobj_tbl_fini() argument
112 ASSERT(uo_tbl != NULL); in sol_ofs_uobj_tbl_fini()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_event.c660 sol_ofs_uobj_table_t *uo_tbl = &uverbs_uctxt_uo_tbl; in uverbs_async_unaff_event_handler() local
673 rw_enter(&uo_tbl->uobj_tbl_lock, RW_READER); in uverbs_async_unaff_event_handler()
675 for (i = 0; i < uo_tbl->uobj_tbl_used_blks; i++) { in uverbs_async_unaff_event_handler()
676 blk = uo_tbl->uobj_tbl_uo_root[i]; in uverbs_async_unaff_event_handler()
695 rw_exit(&uo_tbl->uobj_tbl_lock); in uverbs_async_unaff_event_handler()
H A Dsol_uverbs.c2752 sol_ofs_uobj_table_t *uo_tbl; in sol_uverbs_qpnum2uqpid() local
2758 uo_tbl = &uverbs_uqp_uo_tbl; in sol_uverbs_qpnum2uqpid()
2759 rw_enter(&uo_tbl->uobj_tbl_lock, RW_READER); in sol_uverbs_qpnum2uqpid()
2764 for (i = 0; i < uo_tbl->uobj_tbl_used_blks; i++) { in sol_uverbs_qpnum2uqpid()
2765 blk = uo_tbl->uobj_tbl_uo_root[i]; in sol_uverbs_qpnum2uqpid()
2771 rw_exit(&uo_tbl->uobj_tbl_lock); in sol_uverbs_qpnum2uqpid()
2783 rw_exit(&uo_tbl->uobj_tbl_lock); in sol_uverbs_qpnum2uqpid()