Lines Matching refs:work
313 static void cfg80211_rfkill_block_work(struct work_struct *work) in cfg80211_rfkill_block_work() argument
317 rdev = container_of(work, struct cfg80211_registered_device, in cfg80211_rfkill_block_work()
322 static void cfg80211_event_work(struct work_struct *work) in cfg80211_event_work() argument
326 rdev = container_of(work, struct cfg80211_registered_device, in cfg80211_event_work()
353 static void cfg80211_destroy_iface_wk(struct work_struct *work) in cfg80211_destroy_iface_wk() argument
357 rdev = container_of(work, struct cfg80211_registered_device, in cfg80211_destroy_iface_wk()
366 struct wiphy_work *work) in cfg80211_sched_scan_stop_wk() argument
371 rdev = container_of(work, struct cfg80211_registered_device, in cfg80211_sched_scan_stop_wk()
380 static void cfg80211_propagate_radar_detect_wk(struct work_struct *work) in cfg80211_propagate_radar_detect_wk() argument
384 rdev = container_of(work, struct cfg80211_registered_device, in cfg80211_propagate_radar_detect_wk()
396 static void cfg80211_propagate_cac_done_wk(struct work_struct *work) in cfg80211_propagate_cac_done_wk() argument
400 rdev = container_of(work, struct cfg80211_registered_device, in cfg80211_propagate_cac_done_wk()
412 static void cfg80211_wiphy_work(struct work_struct *work) in cfg80211_wiphy_work() argument
417 rdev = container_of(work, struct cfg80211_registered_device, wiphy_work); in cfg80211_wiphy_work()
431 queue_work(system_unbound_wq, work); in cfg80211_wiphy_work()
1680 void wiphy_work_queue(struct wiphy *wiphy, struct wiphy_work *work) in wiphy_work_queue() argument
1685 trace_wiphy_work_queue(wiphy, work); in wiphy_work_queue()
1688 if (list_empty(&work->entry)) in wiphy_work_queue()
1689 list_add_tail(&work->entry, &rdev->wiphy_work_list); in wiphy_work_queue()
1696 void wiphy_work_cancel(struct wiphy *wiphy, struct wiphy_work *work) in wiphy_work_cancel() argument
1703 trace_wiphy_work_cancel(wiphy, work); in wiphy_work_cancel()
1706 if (!list_empty(&work->entry)) in wiphy_work_cancel()
1707 list_del_init(&work->entry); in wiphy_work_cancel()
1712 void wiphy_work_flush(struct wiphy *wiphy, struct wiphy_work *work) in wiphy_work_flush() argument
1718 trace_wiphy_work_flush(wiphy, work); in wiphy_work_flush()
1721 run = !work || !list_empty(&work->entry); in wiphy_work_flush()
1725 cfg80211_process_wiphy_works(rdev, work); in wiphy_work_flush()
1733 wiphy_work_queue(dwork->wiphy, &dwork->work); in wiphy_delayed_work_timer()
1741 trace_wiphy_delayed_work_queue(wiphy, &dwork->work, delay); in wiphy_delayed_work_queue()
1745 wiphy_work_queue(wiphy, &dwork->work); in wiphy_delayed_work_queue()
1760 wiphy_work_cancel(wiphy, &dwork->work); in wiphy_delayed_work_cancel()
1770 wiphy_work_flush(wiphy, &dwork->work); in wiphy_delayed_work_flush()