Home
last modified time | relevance | path

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

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_pkey.c63 cl_ptr_vector_construct(&p_pkey_tbl->new_blocks); in osm_pkey_tbl_construct()
79 (uint16_t) (cl_ptr_vector_get_size(&p_pkey_tbl->new_blocks)); in osm_pkey_tbl_destroy()
81 if ((p_block = cl_ptr_vector_get(&p_pkey_tbl->new_blocks, i))) in osm_pkey_tbl_destroy()
83 cl_ptr_vector_destroy(&p_pkey_tbl->new_blocks); in osm_pkey_tbl_destroy()
96 cl_ptr_vector_init(&p_pkey_tbl->new_blocks, 0, 1); in osm_pkey_tbl_init()
110 size_t b, num_blocks = cl_ptr_vector_get_size(&p_pkey_tbl->new_blocks); in osm_pkey_tbl_init_new_blocks()
113 if ((p_block = cl_ptr_vector_get(&p_pkey_tbl->new_blocks, b))) in osm_pkey_tbl_init_new_blocks()
254 cl_ptr_vector_set(&p_pkey_tbl->new_blocks, block_idx, p_block); in osm_pkey_tbl_set_new_entry()
H A Dosm_pkey_mgr.c672 num_blocks = (uint16_t) cl_ptr_vector_get_size(&p_pkey_tbl->new_blocks); in new_pkey_exists()
/freebsd/sys/net/route/
H A Dnhop_utils.c116 uint32_t new_blocks = _BLOCKS_TO_ITEMS(new_items); in bitmask_copy() local
120 if (bi->blocks < new_blocks) { in bitmask_copy()
127 for (int i = new_blocks; i < bi->blocks; i++) { in bitmask_copy()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_pkey.h87 cl_ptr_vector_t new_blocks; member
303 return ((block < cl_ptr_vector_get_size(&p_pkey_tbl->new_blocks)) ? in osm_pkey_tbl_new_block_get()
305 &p_pkey_tbl->new_blocks, block) : NULL); in osm_pkey_tbl_new_block_get()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_table_value.c185 int new_blocks; in resize_shared_value_storage() local
205 &new_blocks); in resize_shared_value_storage()
218 ipfw_objhash_bitmap_merge(CHAIN_TO_VI(ch), &new_idx, &new_blocks); in resize_shared_value_storage()
225 ipfw_objhash_bitmap_swap(CHAIN_TO_VI(ch), &new_idx, &new_blocks); in resize_shared_value_storage()
238 ipfw_objhash_bitmap_free(new_idx, new_blocks); in resize_shared_value_storage()
H A Dip_fw_table.c1220 int i, new_blocks; in ipfw_resize_tables() local
1234 ipfw_objhash_bitmap_alloc(ntables, (void *)&new_idx, &new_blocks); in ipfw_resize_tables()
1252 ipfw_objhash_bitmap_merge(ni, &new_idx, &new_blocks); in ipfw_resize_tables()
1259 ipfw_objhash_bitmap_swap(ni, &new_idx, &new_blocks); in ipfw_resize_tables()
1281 ipfw_objhash_bitmap_free(new_idx, new_blocks); in ipfw_resize_tables()
H A Dip_fw_sockopt.c3337 int old_blocks, new_blocks; in ipfw_objhash_bitmap_merge() local
3344 new_blocks = *blocks; in ipfw_objhash_bitmap_merge()
3347 memcpy(&new_idx[new_blocks * i], &old_idx[old_blocks * i], in ipfw_objhash_bitmap_merge()
/freebsd/sys/contrib/openzfs/tests/unit/
H A Dmock_dmu.c89 mock_dbuf_t **new_blocks = in mock_dnode_block_get() local
92 memcpy(new_blocks, mdn->mdn_blocks, in mock_dnode_block_get()
97 mdn->mdn_blocks = new_blocks; in mock_dnode_block_get()