Lines Matching refs:update_work
623 nfp_tun_release_neigh_update_work(struct nfp_neigh_update_work *update_work) in nfp_tun_release_neigh_update_work() argument
625 neigh_release(update_work->n); in nfp_tun_release_neigh_update_work()
626 kfree(update_work); in nfp_tun_release_neigh_update_work()
631 struct nfp_neigh_update_work *update_work; in nfp_tun_neigh_update() local
637 update_work = container_of(work, struct nfp_neigh_update_work, work); in nfp_tun_neigh_update()
638 app = update_work->app; in nfp_tun_neigh_update()
639 n = update_work->n; in nfp_tun_neigh_update()
691 nfp_tun_release_neigh_update_work(update_work); in nfp_tun_neigh_update()
697 struct nfp_neigh_update_work *update_work; in nfp_tun_alloc_neigh_update_work() local
699 update_work = kzalloc(sizeof(*update_work), GFP_ATOMIC); in nfp_tun_alloc_neigh_update_work()
700 if (!update_work) in nfp_tun_alloc_neigh_update_work()
703 INIT_WORK(&update_work->work, nfp_tun_neigh_update); in nfp_tun_alloc_neigh_update_work()
705 update_work->n = n; in nfp_tun_alloc_neigh_update_work()
706 update_work->app = app; in nfp_tun_alloc_neigh_update_work()
708 return update_work; in nfp_tun_alloc_neigh_update_work()
715 struct nfp_neigh_update_work *update_work; in nfp_tun_neigh_event_handler() local
741 update_work = nfp_tun_alloc_neigh_update_work(app, n); in nfp_tun_neigh_event_handler()
742 if (!update_work) in nfp_tun_neigh_event_handler()
745 queue_work(system_highpri_wq, &update_work->work); in nfp_tun_neigh_event_handler()