Lines Matching refs:addrmap
81 struct netlbl_domaddr_map *addrmap = NULL; in netlbl_mgmt_add_common() local
153 addrmap = kzalloc(sizeof(*addrmap), GFP_KERNEL); in netlbl_mgmt_add_common()
154 if (addrmap == NULL) { in netlbl_mgmt_add_common()
158 INIT_LIST_HEAD(&addrmap->list4); in netlbl_mgmt_add_common()
159 INIT_LIST_HEAD(&addrmap->list6); in netlbl_mgmt_add_common()
187 ret_val = netlbl_af4list_add(&map->list, &addrmap->list4); in netlbl_mgmt_add_common()
193 entry->def.addrsel = addrmap; in netlbl_mgmt_add_common()
200 addrmap = kzalloc(sizeof(*addrmap), GFP_KERNEL); in netlbl_mgmt_add_common()
201 if (addrmap == NULL) { in netlbl_mgmt_add_common()
205 INIT_LIST_HEAD(&addrmap->list4); in netlbl_mgmt_add_common()
206 INIT_LIST_HEAD(&addrmap->list6); in netlbl_mgmt_add_common()
238 ret_val = netlbl_af6list_add(&map->list, &addrmap->list6); in netlbl_mgmt_add_common()
244 entry->def.addrsel = addrmap; in netlbl_mgmt_add_common()
257 kfree(addrmap); in netlbl_mgmt_add_common()