Lines Matching defs:p_pkey_tbl
89 osm_pkey_tbl_t *p_pkey_tbl;
94 p_pkey_tbl = &p_physp->pkeys;
105 p_orig_pkey = cl_map_get(&p_pkey_tbl->keys, ib_pkey_get_base(pkey));
108 cl_qlist_insert_tail(&p_pkey_tbl->pending,
115 if (osm_pkey_tbl_get_block_and_idx(p_pkey_tbl, p_orig_pkey,
127 cl_qlist_insert_head(&p_pkey_tbl->pending,
262 osm_pkey_tbl_t *p_pkey_tbl;
282 p_pkey_tbl = &p_physp->pkeys;
283 num_of_blocks = osm_pkey_tbl_get_num_blocks(p_pkey_tbl);
286 if (p_pkey_tbl->max_blocks > max_num_of_blocks) {
290 p_pkey_tbl->max_blocks, max_num_of_blocks,
294 p_pkey_tbl->max_blocks = max_num_of_blocks;
296 osm_pkey_tbl_init_new_blocks(p_pkey_tbl);
297 p_pkey_tbl->used_blocks = 0;
304 (osm_pending_pkey_t *) cl_qlist_remove_head(&p_pkey_tbl->pending);
306 (osm_pending_pkey_t *) cl_qlist_end(&p_pkey_tbl->pending)) {
312 found = osm_pkey_find_next_free_entry(p_pkey_tbl,
331 osm_pkey_tbl_set_new_entry(p_pkey_tbl, block_index,
347 (osm_pending_pkey_t *) cl_qlist_remove_head(&p_pkey_tbl->
353 block = osm_pkey_tbl_block_get(p_pkey_tbl, block_index);
354 new_block = osm_pkey_tbl_new_block_get(p_pkey_tbl, block_index);
393 const osm_pkey_tbl_t *p_pkey_tbl;
415 p_pkey_tbl = osm_physp_get_pkey_tbl(p_physp);
417 num_of_blocks = osm_pkey_tbl_get_num_blocks(p_pkey_tbl);
419 if (peer_max_blocks < p_pkey_tbl->used_blocks) {
435 p_peer_pkey_tbl->used_blocks = p_pkey_tbl->used_blocks;
436 for (block_index = 0; block_index < p_pkey_tbl->used_blocks;
438 block = osm_pkey_tbl_new_block_get(p_pkey_tbl, block_index);