Searched refs:new_pool (Results 1 – 3 of 3) sorted by relevance
314 char *new_pool = (char *) realloc (string_space, new_size); in read_alias_file() local315 if (new_pool == NULL) in read_alias_file()318 if (__builtin_expect (string_space != new_pool, 0)) in read_alias_file()324 map[i].alias += new_pool - string_space; in read_alias_file()325 map[i].value += new_pool - string_space; in read_alias_file()329 string_space = new_pool; in read_alias_file()
2823 struct mvpp2_bm_pool *new_pool = &port->priv->bm_pools[pool]; in mvpp2_bm_pool_use() local2826 if (new_pool->type != MVPP2_BM_FREE && new_pool->type != type) { in mvpp2_bm_pool_use()2831 if (new_pool->type == MVPP2_BM_FREE) in mvpp2_bm_pool_use()2832 new_pool->type = type; in mvpp2_bm_pool_use()2837 if (((type == MVPP2_BM_SWF_LONG) && (pkt_size > new_pool->pkt_size)) || in mvpp2_bm_pool_use()2838 (new_pool->pkt_size == 0)) { in mvpp2_bm_pool_use()2844 pkts_num = new_pool->buf_num; in mvpp2_bm_pool_use()2851 port->priv, new_pool); in mvpp2_bm_pool_use()2853 new_pool->pkt_size = pkt_size; in mvpp2_bm_pool_use()2856 num = mvpp2_bm_bufs_add(port, new_pool, pkts_num); in mvpp2_bm_pool_use()[all …]
2078 struct isakmp_cfg_port *new_pool; local2105 new_pool = racoon_realloc(isakmp_cfg_config.port_pool, len);2106 if (new_pool == NULL) {2121 bzero((char *)new_pool + (old_size * unit), 2125 isakmp_cfg_config.port_pool = new_pool;