Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dmad.c984 u32 n_blocks_req = OPA_AM_NBLK(am); in __subn_get_opa_pkeytable() local
993 if (n_blocks_req == 0) { in __subn_get_opa_pkeytable()
995 port, start_block, n_blocks_req); in __subn_get_opa_pkeytable()
1002 size = (n_blocks_req * OPA_PARTITION_TABLE_BLK_SIZE) * sizeof(u16); in __subn_get_opa_pkeytable()
1009 if (start_block + n_blocks_req > n_blocks_avail || in __subn_get_opa_pkeytable()
1010 n_blocks_req > OPA_NUM_PKEY_BLOCKS_PER_SMP) { in __subn_get_opa_pkeytable()
1013 start_block, n_blocks_req, n_blocks_avail, in __subn_get_opa_pkeytable()