Home
last modified time | relevance | path

Searched refs:hfi1_lkey_table_size (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/hfi1/
Dkeys.c112 mr->lkey = (r << (32 - hfi1_lkey_table_size)) | in hfi1_alloc_lkey()
113 ((((1 << (24 - hfi1_lkey_table_size)) - 1) & rkt->gen) in hfi1_alloc_lkey()
151 r = lkey >> (32 - hfi1_lkey_table_size); in hfi1_free_lkey()
211 rkt->table[(sge->lkey >> (32 - hfi1_lkey_table_size))]); in hfi1_lkey_ok()
309 rkt->table[(rkey >> (32 - hfi1_lkey_table_size))]); in hfi1_rkey_ok()
Dverbs.c68 unsigned int hfi1_lkey_table_size = 16; variable
69 module_param_named(lkey_table_size, hfi1_lkey_table_size, uint,
1950 dev->lk_table.max = 1 << hfi1_lkey_table_size; in hfi1_register_ib_device()
1952 if (hfi1_lkey_table_size > MAX_LKEY_TABLE_BITS) { in hfi1_register_ib_device()
1954 hfi1_lkey_table_size, MAX_LKEY_TABLE_BITS); in hfi1_register_ib_device()
1955 hfi1_lkey_table_size = MAX_LKEY_TABLE_BITS; in hfi1_register_ib_device()
Dverbs.h1122 extern unsigned int hfi1_lkey_table_size;