Home
last modified time | relevance | path

Searched refs:new_pool (Results 1 – 3 of 3) sorted by relevance

/external/e2fsprogs/intl/
Dlocalealias.c314 char *new_pool = (char *) realloc (string_space, new_size); in read_alias_file() local
315 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()
/external/u-boot/drivers/net/
Dmvpp2.c2823 struct mvpp2_bm_pool *new_pool = &port->priv->bm_pools[pool]; in mvpp2_bm_pool_use() local
2826 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 …]
/external/ipsec-tools/src/racoon/
Disakmp_cfg.c2078 struct isakmp_cfg_port *new_pool; local
2105 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;