Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dmad.c1026 u32 n_blocks_req = OPA_AM_NBLK(am); in __subn_get_opa_pkeytable() local
1035 if (n_blocks_req == 0) { in __subn_get_opa_pkeytable()
1037 port, start_block, n_blocks_req); in __subn_get_opa_pkeytable()
1044 size = (n_blocks_req * OPA_PARTITION_TABLE_BLK_SIZE) * sizeof(u16); in __subn_get_opa_pkeytable()
1051 if (start_block + n_blocks_req > n_blocks_avail || in __subn_get_opa_pkeytable()
1052 n_blocks_req > OPA_NUM_PKEY_BLOCKS_PER_SMP) { in __subn_get_opa_pkeytable()
1055 start_block, n_blocks_req, n_blocks_avail, in __subn_get_opa_pkeytable()