Lines Matching refs:addrmap
97 struct netlbl_domaddr_map *addrmap = NULL; in netlbl_mgmt_add_common() local
145 addrmap = kzalloc(sizeof(*addrmap), GFP_KERNEL); in netlbl_mgmt_add_common()
146 if (addrmap == NULL) { in netlbl_mgmt_add_common()
150 INIT_LIST_HEAD(&addrmap->list4); in netlbl_mgmt_add_common()
151 INIT_LIST_HEAD(&addrmap->list6); in netlbl_mgmt_add_common()
178 ret_val = netlbl_af4list_add(&map->list, &addrmap->list4); in netlbl_mgmt_add_common()
185 entry->type_def.addrsel = addrmap; in netlbl_mgmt_add_common()
192 addrmap = kzalloc(sizeof(*addrmap), GFP_KERNEL); in netlbl_mgmt_add_common()
193 if (addrmap == NULL) { in netlbl_mgmt_add_common()
197 INIT_LIST_HEAD(&addrmap->list4); in netlbl_mgmt_add_common()
198 INIT_LIST_HEAD(&addrmap->list6); in netlbl_mgmt_add_common()
227 ret_val = netlbl_af6list_add(&map->list, &addrmap->list6); in netlbl_mgmt_add_common()
234 entry->type_def.addrsel = addrmap; in netlbl_mgmt_add_common()
249 kfree(addrmap); in netlbl_mgmt_add_common()