Searched refs:lkey_table (Results 1 – 3 of 3) sorted by relevance
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()[all …]
2089 rkt = &rdi->lkey_table; in rvt_post_one_wr()2329 rkt = &rdi->lkey_table; in init_sge()
391 struct rvt_lkey_table lkey_table; member