Searched defs: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.c67 * uo_tbl - A pointer to the user object resource management table
77 sol_ofs_uobj_tbl_init(sol_ofs_uobj_table_t *uo_tbl, size_t uobj_sz) argument
79 ASSERT(uo_tbl != NULL);
81 rw_init(&uo_tbl->uobj_tbl_lock, NULL, RW_DRIVER, NULL);
82 uo_tbl->uobj_tbl_used_blks = 0;
83 uo_tbl->uobj_tbl_num_blks = 0;
84 uo_tbl->uobj_tbl_uo_cnt = 0;
85 uo_tbl->uobj_tbl_uo_sz = uobj_sz;
86 uo_tbl->uobj_tbl_uo_root = NULL;
93 * uo_tbl
106 sol_ofs_uobj_tbl_fini(sol_ofs_uobj_table_t *uo_tbl) argument
284 sol_ofs_uobj_add(sol_ofs_uobj_table_t *uo_tbl, sol_ofs_uobj_t *uobj) argument
405 sol_ofs_uobj_remove(sol_ofs_uobj_table_t *uo_tbl, sol_ofs_uobj_t *uobj) argument
501 ofs_uobj_find(sol_ofs_uobj_table_t *uo_tbl, uint32_t uo_id, int add_ref) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_event.c658 sol_ofs_uobj_table_t *uo_tbl = &uverbs_uctxt_uo_tbl; local
671 rw_enter(&uo_tbl->uobj_tbl_lock, RW_READER);
673 for (i = 0; i < uo_tbl->uobj_tbl_used_blks; i++) {
674 blk = uo_tbl->uobj_tbl_uo_root[i];
693 rw_exit(&uo_tbl->uobj_tbl_lock);
H A Dsol_uverbs.c2752 sol_ofs_uobj_table_t *uo_tbl; local
2758 uo_tbl = &uverbs_uqp_uo_tbl;
2759 rw_enter(&uo_tbl->uobj_tbl_lock, RW_READER);
2764 for (i = 0; i < uo_tbl->uobj_tbl_used_blks; i++) {
2765 blk = uo_tbl->uobj_tbl_uo_root[i];
2771 rw_exit(&uo_tbl->uobj_tbl_lock);
2783 rw_exit(&uo_tbl->uobj_tbl_lock);

Completed in 66 milliseconds