Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dmad.c1031 u16 n_blocks_avail; in __subn_get_opa_pkeytable() local
1042 n_blocks_avail = (u16)(npkeys / OPA_PARTITION_TABLE_BLK_SIZE) + 1; in __subn_get_opa_pkeytable()
1051 if (start_block + n_blocks_req > n_blocks_avail || in __subn_get_opa_pkeytable()
1055 start_block, n_blocks_req, n_blocks_avail, in __subn_get_opa_pkeytable()
1730 u16 n_blocks_avail; in __subn_set_opa_pkeytable() local
1741 n_blocks_avail = (u16)(npkeys / OPA_PARTITION_TABLE_BLK_SIZE) + 1; in __subn_set_opa_pkeytable()
1750 if (start_block + n_blocks_sent > n_blocks_avail || in __subn_set_opa_pkeytable()
1753 start_block, n_blocks_sent, n_blocks_avail, in __subn_set_opa_pkeytable()