Lines Matching refs:lkey_table
36 spin_lock_init(&rdi->lkey_table.lock); in rvt_driver_mr_init()
45 rdi->lkey_table.max = 1 << lkey_table_size; in rvt_driver_mr_init()
46 rdi->lkey_table.shift = 32 - lkey_table_size; in rvt_driver_mr_init()
47 lk_tab_size = rdi->lkey_table.max * sizeof(*rdi->lkey_table.table); in rvt_driver_mr_init()
48 rdi->lkey_table.table = (struct rvt_mregion __rcu **) in rvt_driver_mr_init()
50 if (!rdi->lkey_table.table) in rvt_driver_mr_init()
54 for (i = 0; i < rdi->lkey_table.max; i++) in rvt_driver_mr_init()
55 RCU_INIT_POINTER(rdi->lkey_table.table[i], NULL); in rvt_driver_mr_init()
57 rdi->dparms.props.max_mr = rdi->lkey_table.max; in rvt_driver_mr_init()
72 vfree(rdi->lkey_table.table); in rvt_mr_exit()
142 struct rvt_lkey_table *rkt = &dev->lkey_table; in rvt_alloc_lkey()
211 struct rvt_lkey_table *rkt = &dev->lkey_table; in rvt_free_lkey()
650 struct rvt_lkey_table *rkt = &dev->lkey_table; in rvt_invalidate_rkey()
830 struct rvt_lkey_table *rkt = &dev->lkey_table; in rvt_rkey_ok()