Searched refs:IB_NUM_PKEY_ELEMENTS_IN_BLOCK (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_pkey_mgr.c149 IB_NUM_PKEY_ELEMENTS_IN_BLOCK +
178 IB_NUM_PKEY_ELEMENTS_IN_BLOCK +
365 *p_block_idx = (p_pkey_tbl->last_pkey_idx - 1) / IB_NUM_PKEY_ELEMENTS_IN_BLOCK;
366 *p_pkey_idx = (p_pkey_tbl->last_pkey_idx - 1) % IB_NUM_PKEY_ELEMENTS_IN_BLOCK;
441 block_index = pkey_idx / IB_NUM_PKEY_ELEMENTS_IN_BLOCK;
442 pkey_index = pkey_idx % IB_NUM_PKEY_ELEMENTS_IN_BLOCK;
480 if (pkey_index >= IB_NUM_PKEY_ELEMENTS_IN_BLOCK) {
482 pkey_index -= IB_NUM_PKEY_ELEMENTS_IN_BLOCK;
489 if (block_index * IB_NUM_PKEY_ELEMENTS_IN_BLOCK + pkey_index >= pkey_mgr_get_physp_max_pkeys(p_physp)) {
504 if (block_index * IB_NUM_PKEY_ELEMENTS_IN_BLOCK
[all...]
H A Dosm_port.c623 IB_NUM_PKEY_ELEMENTS_IN_BLOCK - 1)
624 / IB_NUM_PKEY_ELEMENTS_IN_BLOCK;
633 IB_NUM_PKEY_ELEMENTS_IN_BLOCK -
634 1) / IB_NUM_PKEY_ELEMENTS_IN_BLOCK;
H A Dosm_pkey.c161 for (i = 0; i < IB_NUM_PKEY_ELEMENTS_IN_BLOCK; i++) {
274 if (*p_pkey_idx > IB_NUM_PKEY_ELEMENTS_IN_BLOCK - 1) {
310 block->pkey_entry + IB_NUM_PKEY_ELEMENTS_IN_BLOCK)) {
H A Dosm_port_info_rcv.c492 IB_NUM_PKEY_ELEMENTS_IN_BLOCK - 1)
493 / IB_NUM_PKEY_ELEMENTS_IN_BLOCK;
508 IB_NUM_PKEY_ELEMENTS_IN_BLOCK -
509 1) / IB_NUM_PKEY_ELEMENTS_IN_BLOCK;
H A Dosm_perfmgr.c1541 pkey_ix = block * IB_NUM_PKEY_ELEMENTS_IN_BLOCK + index;
/freebsd-11-stable/contrib/ofed/opensm/include/iba/
H A Dib_types.h370 #define IB_PKEY_ENTRIES_MAX (IB_PKEY_MAX_BLOCKS * IB_NUM_PKEY_ELEMENTS_IN_BLOCK)
7226 #define IB_NUM_PKEY_ELEMENTS_IN_BLOCK 32 macro
7239 ib_net16_t pkey_entry[IB_NUM_PKEY_ELEMENTS_IN_BLOCK];

Completed in 218 milliseconds