Lines Matching refs:lkey_table
78 spin_lock_init(&rdi->lkey_table.lock); in rvt_driver_mr_init()
87 rdi->lkey_table.max = 1 << lkey_table_size; in rvt_driver_mr_init()
88 rdi->lkey_table.shift = 32 - lkey_table_size; in rvt_driver_mr_init()
89 lk_tab_size = rdi->lkey_table.max * sizeof(*rdi->lkey_table.table); in rvt_driver_mr_init()
90 rdi->lkey_table.table = (struct rvt_mregion __rcu **) in rvt_driver_mr_init()
92 if (!rdi->lkey_table.table) in rvt_driver_mr_init()
96 for (i = 0; i < rdi->lkey_table.max; i++) in rvt_driver_mr_init()
97 RCU_INIT_POINTER(rdi->lkey_table.table[i], NULL); in rvt_driver_mr_init()
99 rdi->dparms.props.max_mr = rdi->lkey_table.max; in rvt_driver_mr_init()
114 vfree(rdi->lkey_table.table); in rvt_mr_exit()
184 struct rvt_lkey_table *rkt = &dev->lkey_table; in rvt_alloc_lkey()
253 struct rvt_lkey_table *rkt = &dev->lkey_table; in rvt_free_lkey()
691 struct rvt_lkey_table *rkt = &dev->lkey_table; in rvt_invalidate_rkey()
871 struct rvt_lkey_table *rkt = &dev->lkey_table; in rvt_rkey_ok()