Lines Matching refs:addrmap
103 struct netlbl_domaddr_map *addrmap = NULL; in netlbl_cfg_unlbl_map_add() local
120 addrmap = kzalloc(sizeof(*addrmap), GFP_ATOMIC); in netlbl_cfg_unlbl_map_add()
121 if (addrmap == NULL) in netlbl_cfg_unlbl_map_add()
123 INIT_LIST_HEAD(&addrmap->list4); in netlbl_cfg_unlbl_map_add()
124 INIT_LIST_HEAD(&addrmap->list6); in netlbl_cfg_unlbl_map_add()
138 &addrmap->list4); in netlbl_cfg_unlbl_map_add()
159 &addrmap->list6); in netlbl_cfg_unlbl_map_add()
169 entry->def.addrsel = addrmap; in netlbl_cfg_unlbl_map_add()
185 kfree(addrmap); in netlbl_cfg_unlbl_map_add()
332 struct netlbl_domaddr_map *addrmap = NULL; in netlbl_cfg_cipsov4_map_add() local
353 addrmap = kzalloc(sizeof(*addrmap), GFP_ATOMIC); in netlbl_cfg_cipsov4_map_add()
354 if (addrmap == NULL) in netlbl_cfg_cipsov4_map_add()
356 INIT_LIST_HEAD(&addrmap->list4); in netlbl_cfg_cipsov4_map_add()
357 INIT_LIST_HEAD(&addrmap->list6); in netlbl_cfg_cipsov4_map_add()
367 ret_val = netlbl_af4list_add(&addrinfo->list, &addrmap->list4); in netlbl_cfg_cipsov4_map_add()
371 entry->def.addrsel = addrmap; in netlbl_cfg_cipsov4_map_add()
387 kfree(addrmap); in netlbl_cfg_cipsov4_map_add()
458 struct netlbl_domaddr_map *addrmap = NULL; in netlbl_cfg_calipso_map_add() local
479 addrmap = kzalloc(sizeof(*addrmap), GFP_ATOMIC); in netlbl_cfg_calipso_map_add()
480 if (addrmap == NULL) in netlbl_cfg_calipso_map_add()
482 INIT_LIST_HEAD(&addrmap->list4); in netlbl_cfg_calipso_map_add()
483 INIT_LIST_HEAD(&addrmap->list6); in netlbl_cfg_calipso_map_add()
497 ret_val = netlbl_af6list_add(&addrinfo->list, &addrmap->list6); in netlbl_cfg_calipso_map_add()
501 entry->def.addrsel = addrmap; in netlbl_cfg_calipso_map_add()
517 kfree(addrmap); in netlbl_cfg_calipso_map_add()