Lines Matching refs:ip_work
2099 struct qeth_l3_ip_event_work *ip_work = to_ip_work(work); in qeth_l3_add_ip_worker() local
2101 qeth_l3_modify_ip(ip_work->card, &ip_work->addr, true); in qeth_l3_add_ip_worker()
2107 struct qeth_l3_ip_event_work *ip_work = to_ip_work(work); in qeth_l3_delete_ip_worker() local
2109 qeth_l3_modify_ip(ip_work->card, &ip_work->addr, false); in qeth_l3_delete_ip_worker()
2153 struct qeth_l3_ip_event_work *ip_work; in qeth_l3_ip6_event() local
2166 ip_work = kmalloc(sizeof(*ip_work), GFP_ATOMIC); in qeth_l3_ip6_event()
2167 if (!ip_work) in qeth_l3_ip6_event()
2171 INIT_WORK(&ip_work->work, qeth_l3_add_ip_worker); in qeth_l3_ip6_event()
2173 INIT_WORK(&ip_work->work, qeth_l3_delete_ip_worker); in qeth_l3_ip6_event()
2175 ip_work->card = card; in qeth_l3_ip6_event()
2176 qeth_l3_init_ipaddr(&ip_work->addr, QETH_IP_TYPE_NORMAL, in qeth_l3_ip6_event()
2178 ip_work->addr.u.a6.addr = ifa->addr; in qeth_l3_ip6_event()
2179 ip_work->addr.u.a6.pfxlen = ifa->prefix_len; in qeth_l3_ip6_event()
2181 queue_work(card->cmd_wq, &ip_work->work); in qeth_l3_ip6_event()