Searched refs:IB_NUM_PKEY_ELEMENTS_IN_BLOCK (Results 1 – 6 of 6) sorted by relevance
149 IB_NUM_PKEY_ELEMENTS_IN_BLOCK + in pkey_mgr_process_physical_port()178 IB_NUM_PKEY_ELEMENTS_IN_BLOCK + in pkey_mgr_process_physical_port()441 block_index = pkey_idx / IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in pkey_mgr_update_port()442 pkey_index = pkey_idx % IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in pkey_mgr_update_port()480 if (pkey_index >= IB_NUM_PKEY_ELEMENTS_IN_BLOCK) { in pkey_mgr_update_port()482 pkey_index -= IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in pkey_mgr_update_port()624 last_index = IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in last_used_pkey_index()678 for (pkey_idx = 0; pkey_idx < IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in new_pkey_exists()732 for (pkey_idx = 0; pkey_idx < IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in pkey_mgr_update_peer_port()747 if (++peer_pkey_idx == IB_NUM_PKEY_ELEMENTS_IN_BLOCK) { in pkey_mgr_update_peer_port()[all …]
625 IB_NUM_PKEY_ELEMENTS_IN_BLOCK - 1) in osm_physp_set_pkey_tbl()626 / IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in osm_physp_set_pkey_tbl()635 IB_NUM_PKEY_ELEMENTS_IN_BLOCK - in osm_physp_set_pkey_tbl()636 1) / IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in osm_physp_set_pkey_tbl()
492 IB_NUM_PKEY_ELEMENTS_IN_BLOCK - 1) in get_pkey_table()493 / IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in get_pkey_table()508 IB_NUM_PKEY_ELEMENTS_IN_BLOCK - in get_pkey_table()509 1) / IB_NUM_PKEY_ELEMENTS_IN_BLOCK; in get_pkey_table()
161 for (i = 0; i < IB_NUM_PKEY_ELEMENTS_IN_BLOCK; i++) { in osm_pkey_tbl_set()274 if (*p_pkey_idx > IB_NUM_PKEY_ELEMENTS_IN_BLOCK - 1) { in osm_pkey_find_next_free_entry()310 block->pkey_entry + IB_NUM_PKEY_ELEMENTS_IN_BLOCK)) { in osm_pkey_tbl_get_block_and_idx()
1557 pkey_ix = block * IB_NUM_PKEY_ELEMENTS_IN_BLOCK + index; in validate_redir_pkey()
370 #define IB_PKEY_ENTRIES_MAX (IB_PKEY_MAX_BLOCKS * IB_NUM_PKEY_ELEMENTS_IN_BLOCK)7226 #define IB_NUM_PKEY_ELEMENTS_IN_BLOCK 32 macro7239 ib_net16_t pkey_entry[IB_NUM_PKEY_ELEMENTS_IN_BLOCK];