Lines Matching refs:standalone_work
84 struct dsa_standalone_event_work *standalone_work = in dsa_user_standalone_event_work() local
86 const unsigned char *addr = standalone_work->addr; in dsa_user_standalone_event_work()
87 struct net_device *dev = standalone_work->dev; in dsa_user_standalone_event_work()
91 u16 vid = standalone_work->vid; in dsa_user_standalone_event_work()
94 switch (standalone_work->event) { in dsa_user_standalone_event_work()
140 kfree(standalone_work); in dsa_user_standalone_event_work()
148 struct dsa_standalone_event_work *standalone_work; in dsa_user_schedule_standalone_work() local
150 standalone_work = kzalloc(sizeof(*standalone_work), GFP_ATOMIC); in dsa_user_schedule_standalone_work()
151 if (!standalone_work) in dsa_user_schedule_standalone_work()
154 INIT_WORK(&standalone_work->work, dsa_user_standalone_event_work); in dsa_user_schedule_standalone_work()
155 standalone_work->event = event; in dsa_user_schedule_standalone_work()
156 standalone_work->dev = dev; in dsa_user_schedule_standalone_work()
158 ether_addr_copy(standalone_work->addr, addr); in dsa_user_schedule_standalone_work()
159 standalone_work->vid = vid; in dsa_user_schedule_standalone_work()
161 dsa_schedule_work(&standalone_work->work); in dsa_user_schedule_standalone_work()