Searched refs:uo_tbl (Results 1 – 3 of 3) sorted by relevance
77 sol_ofs_uobj_tbl_init(sol_ofs_uobj_table_t *uo_tbl, size_t uobj_sz) in sol_ofs_uobj_tbl_init() argument79 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() argument112 ASSERT(uo_tbl != NULL); in sol_ofs_uobj_tbl_fini()[all …]
660 sol_ofs_uobj_table_t *uo_tbl = &uverbs_uctxt_uo_tbl; in uverbs_async_unaff_event_handler() local673 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()
2752 sol_ofs_uobj_table_t *uo_tbl; in sol_uverbs_qpnum2uqpid() local2758 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()