Lines Matching refs:notify_peers
626 team = container_of(work, struct team, notify_peers.dw.work); in team_notify_peers_work()
629 schedule_delayed_work(&team->notify_peers.dw, 0); in team_notify_peers_work()
632 val = atomic_dec_if_positive(&team->notify_peers.count_pending); in team_notify_peers_work()
640 schedule_delayed_work(&team->notify_peers.dw, in team_notify_peers_work()
641 msecs_to_jiffies(team->notify_peers.interval)); in team_notify_peers_work()
646 if (!team->notify_peers.count || !netif_running(team->dev)) in team_notify_peers()
648 atomic_add(team->notify_peers.count, &team->notify_peers.count_pending); in team_notify_peers()
649 schedule_delayed_work(&team->notify_peers.dw, 0); in team_notify_peers()
654 INIT_DELAYED_WORK(&team->notify_peers.dw, team_notify_peers_work); in team_notify_peers_init()
659 cancel_delayed_work_sync(&team->notify_peers.dw); in team_notify_peers_fini()
1309 ctx->data.u32_val = team->notify_peers.count; in team_notify_peers_count_get()
1316 team->notify_peers.count = ctx->data.u32_val; in team_notify_peers_count_set()
1323 ctx->data.u32_val = team->notify_peers.interval; in team_notify_peers_interval_get()
1330 team->notify_peers.interval = ctx->data.u32_val; in team_notify_peers_interval_set()