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