Home
last modified time | relevance | path

Searched refs:work (Results 1 – 25 of 181) sorted by relevance

12345678

/net/ceph/crush/
Dmapper.c75 struct crush_work_bucket *work, in bucket_perm_choose() argument
82 if (work->perm_x != (__u32)x || work->perm_n == 0) { in bucket_perm_choose()
84 work->perm_x = x; in bucket_perm_choose()
90 work->perm[0] = s; in bucket_perm_choose()
91 work->perm_n = 0xffff; /* magic value, see below */ in bucket_perm_choose()
96 work->perm[i] = i; in bucket_perm_choose()
97 work->perm_n = 0; in bucket_perm_choose()
98 } else if (work->perm_n == 0xffff) { in bucket_perm_choose()
101 work->perm[i] = i; in bucket_perm_choose()
102 work->perm[work->perm[0]] = 0; in bucket_perm_choose()
[all …]
/net/rds/
Dthreads.c162 void rds_connect_worker(struct work_struct *work) in rds_connect_worker() argument
164 struct rds_conn_path *cp = container_of(work, in rds_connect_worker()
166 cp_conn_w.work); in rds_connect_worker()
191 void rds_send_worker(struct work_struct *work) in rds_send_worker() argument
193 struct rds_conn_path *cp = container_of(work, in rds_send_worker()
195 cp_send_w.work); in rds_send_worker()
217 void rds_recv_worker(struct work_struct *work) in rds_recv_worker() argument
219 struct rds_conn_path *cp = container_of(work, in rds_recv_worker()
221 cp_recv_w.work); in rds_recv_worker()
241 void rds_shutdown_worker(struct work_struct *work) in rds_shutdown_worker() argument
[all …]
/net/netfilter/
Dxt_IDLETIMER.c44 struct work_struct work; member
88 schedule_work(&timer->work); in check_for_delayed_trigger()
194 static void idletimer_tg_work(struct work_struct *work) in idletimer_tg_work() argument
196 struct idletimer_tg *timer = container_of(work, struct idletimer_tg, in idletimer_tg_work()
197 work); in idletimer_tg_work()
213 schedule_work(&timer->work); in idletimer_tg_expired()
256 schedule_work(&timer->work); in idletimer_resume()
333 INIT_WORK(&info->timer->work, idletimer_tg_work); in idletimer_tg_create()
374 schedule_work(&timer->work); in reset_timer()
401 schedule_work(&info->timer->work); in idletimer_tg_target()
[all …]
Dnf_nat_masquerade.c13 struct work_struct work; member
77 static void iterate_cleanup_work(struct work_struct *work) in iterate_cleanup_work() argument
81 w = container_of(work, struct masq_dev_work, work); in iterate_cleanup_work()
119 INIT_WORK(&w->work, iterate_cleanup_work); in nf_nat_masq_schedule()
125 schedule_work(&w->work); in nf_nat_masq_schedule()
/net/strparser/
Dstrparser.c379 queue_work(strp_wq, &strp->work); in strp_data_ready()
389 queue_work(strp_wq, &strp->work); in strp_data_ready()
407 queue_work(strp_wq, &strp->work); in do_strp_work()
415 do_strp_work(container_of(w, struct strparser, work)); in strp_work()
421 msg_timer_work.work); in strp_msg_timeout()
475 INIT_WORK(&strp->work, strp_work); in strp_init()
501 queue_work(strp_wq, &strp->work); in strp_unpause()
513 cancel_work_sync(&strp->work); in strp_done()
530 queue_work(strp_wq, &strp->work); in strp_check_rcv()
/net/core/
Dsock_diag.c110 struct work_struct work; member
120 static void sock_diag_broadcast_destroy_work(struct work_struct *work) in sock_diag_broadcast_destroy_work() argument
123 container_of(work, struct broadcast_sk, work); in sock_diag_broadcast_destroy_work()
160 INIT_WORK(&bsk->work, sock_diag_broadcast_destroy_work); in sock_diag_broadcast_destroy()
161 queue_work(broadcast_wq, &bsk->work); in sock_diag_broadcast_destroy()
Ddrop_monitor.c113 int work, int budget);
114 void (*work_item_func)(struct work_struct *work);
115 void (*hw_work_item_func)(struct work_struct *work);
186 static void send_dm_alert(struct work_struct *work) in send_dm_alert() argument
191 data = container_of(work, struct per_cpu_dm_data, dm_alert_work); in send_dm_alert()
268 int work, int budget) in trace_napi_poll_hit() argument
408 static void net_dm_hw_summary_work(struct work_struct *work) in net_dm_hw_summary_work() argument
415 hw_data = container_of(work, struct per_cpu_dm_data, dm_alert_work); in net_dm_hw_summary_work()
533 int work, int budget) in net_dm_packet_trace_napi_poll_hit() argument
691 static void net_dm_packet_work(struct work_struct *work) in net_dm_packet_work() argument
[all …]
Dnetpoll.c99 static void queue_process(struct work_struct *work) in queue_process() argument
102 container_of(work, struct netpoll_info, tx_work.work); in queue_process()
155 int work; in poll_one_napi() local
167 work = napi->poll(napi, 0); in poll_one_napi()
168 WARN_ONCE(work, "%pS exceeded budget in poll\n", napi->poll); in poll_one_napi()
169 trace_napi_poll(napi, work, 0); in poll_one_napi()
/net/vmw_vsock/
Dvirtio_transport.c104 virtio_transport_send_pkt_work(struct work_struct *work) in virtio_transport_send_pkt_work() argument
107 container_of(work, struct virtio_vsock, send_pkt_work); in virtio_transport_send_pkt_work()
303 static void virtio_transport_tx_work(struct work_struct *work) in virtio_transport_tx_work() argument
306 container_of(work, struct virtio_vsock, tx_work); in virtio_transport_tx_work()
408 static void virtio_transport_event_work(struct work_struct *work) in virtio_transport_event_work() argument
411 container_of(work, struct virtio_vsock, event_work); in virtio_transport_event_work()
512 static void virtio_transport_loopback_work(struct work_struct *work) in virtio_transport_loopback_work() argument
515 container_of(work, struct virtio_vsock, loopback_work); in virtio_transport_loopback_work()
539 static void virtio_transport_rx_work(struct work_struct *work) in virtio_transport_rx_work() argument
542 container_of(work, struct virtio_vsock, rx_work); in virtio_transport_rx_work()
/net/smc/
Dsmc_ism.c182 struct work_struct work; member
240 static void smc_ism_event_work(struct work_struct *work) in smc_ism_event_work() argument
243 container_of(work, struct smc_ism_event_work, work); in smc_ism_event_work()
344 INIT_WORK(&wrk->work, smc_ism_event_work); in smcd_handle_event()
347 queue_work(smcd->event_wq, &wrk->work); in smcd_handle_event()
Dsmc_llc.c360 struct work_struct work; member
367 static void smc_llc_send_message_work(struct work_struct *work) in smc_llc_send_message_work() argument
369 struct smc_llc_send_work *llcwrk = container_of(work, in smc_llc_send_message_work()
370 struct smc_llc_send_work, work); in smc_llc_send_message_work()
393 INIT_WORK(&wrk->work, smc_llc_send_message_work); in smc_llc_send_message()
397 queue_work(link->llc_wq, &wrk->work); in smc_llc_send_message()
595 static void smc_llc_testlink_work(struct work_struct *work) in smc_llc_testlink_work() argument
597 struct smc_link *link = container_of(to_delayed_work(work), in smc_llc_testlink_work()
/net/tipc/
Dnet.c139 void tipc_net_finalize_work(struct work_struct *work) in tipc_net_finalize_work() argument
143 fwork = container_of(work, struct tipc_net_work, work); in tipc_net_finalize_work()
153 schedule_work(&tn->final_work.work); in tipc_sched_net_finalize()
Dtopsrv.c114 static void tipc_conn_recv_work(struct work_struct *work);
115 static void tipc_conn_send_work(struct work_struct *work);
301 static void tipc_conn_send_work(struct work_struct *work) in tipc_conn_send_work() argument
303 struct tipc_conn *con = container_of(work, struct tipc_conn, swork); in tipc_conn_send_work()
417 static void tipc_conn_recv_work(struct work_struct *work) in tipc_conn_recv_work() argument
419 struct tipc_conn *con = container_of(work, struct tipc_conn, rwork); in tipc_conn_recv_work()
452 static void tipc_topsrv_accept(struct work_struct *work) in tipc_topsrv_accept() argument
454 struct tipc_topsrv *srv = container_of(work, struct tipc_topsrv, awork); in tipc_topsrv_accept()
/net/mac80211/
Dht.c316 cancel_work_sync(&sta->ampdu_mlme.work); in ieee80211_sta_tear_down_BA_sessions()
333 void ieee80211_ba_session_work(struct work_struct *work) in ieee80211_ba_session_work() argument
336 container_of(work, struct sta_info, ampdu_mlme.work); in ieee80211_ba_session_work()
536 void ieee80211_request_smps_mgd_work(struct work_struct *work) in ieee80211_request_smps_mgd_work() argument
539 container_of(work, struct ieee80211_sub_if_data, in ieee80211_request_smps_mgd_work()
547 void ieee80211_request_smps_ap_work(struct work_struct *work) in ieee80211_request_smps_ap_work() argument
550 container_of(work, struct ieee80211_sub_if_data, in ieee80211_request_smps_ap_work()
Docb.c83 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_ocb_rx_no_sta()
159 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_ocb_housekeeping_timer()
199 ieee80211_queue_work(&local->hw, &sdata->work); in ieee80211_ocb_join()
/net/9p/
Dtrans_xen.c70 struct work_struct work; member
193 static void p9_xen_response(struct work_struct *work) in p9_xen_response() argument
202 ring = container_of(work, struct xen_9pfs_dataring, work); in p9_xen_response()
272 schedule_work(&ring->work); in xen_9pfs_front_event_handler()
304 cancel_work_sync(&ring->work); in xen_9pfs_front_free()
347 INIT_WORK(&ring->work, p9_xen_response); in xen_9pfs_front_alloc_dataring()
/net/batman-adv/
Dbat_v_elp.c154 void batadv_v_elp_throughput_metric_update(struct work_struct *work) in batadv_v_elp_throughput_metric_update() argument
159 neigh_bat_v = container_of(work, struct batadv_hardif_neigh_node_bat_v, in batadv_v_elp_throughput_metric_update()
242 static void batadv_v_elp_periodic_work(struct work_struct *work) in batadv_v_elp_periodic_work() argument
253 bat_v = container_of(work, struct batadv_hard_iface_bat_v, elp_wq.work); in batadv_v_elp_periodic_work()
Dtypes.h1024 struct delayed_work work; member
1082 struct delayed_work work; member
1181 struct delayed_work work; member
1295 struct delayed_work work; member
1304 struct delayed_work work; member
2476 struct work_struct work; member
/net/bluetooth/
Dhci_request.c1445 static void adv_timeout_expire(struct work_struct *work) in adv_timeout_expire() argument
1447 struct hci_dev *hdev = container_of(work, struct hci_dev, in adv_timeout_expire()
1448 adv_instance_expire.work); in adv_timeout_expire()
2046 static void scan_update_work(struct work_struct *work) in scan_update_work() argument
2048 struct hci_dev *hdev = container_of(work, struct hci_dev, scan_update); in scan_update_work()
2084 static void connectable_update_work(struct work_struct *work) in connectable_update_work() argument
2086 struct hci_dev *hdev = container_of(work, struct hci_dev, in connectable_update_work()
2197 static void discoverable_update_work(struct work_struct *work) in discoverable_update_work() argument
2199 struct hci_dev *hdev = container_of(work, struct hci_dev, in discoverable_update_work()
2308 static void bg_scan_update(struct work_struct *work) in bg_scan_update() argument
[all …]
D6lowpan.c618 static void do_notify_peers(struct work_struct *work) in do_notify_peers() argument
620 struct lowpan_btle_dev *dev = container_of(work, struct lowpan_btle_dev, in do_notify_peers()
621 notify_peers.work); in do_notify_peers()
772 static void delete_netdev(struct work_struct *work) in delete_netdev() argument
774 struct lowpan_btle_dev *entry = container_of(work, in delete_netdev()
1058 struct work_struct work; member
1062 static void do_enable_set(struct work_struct *work) in do_enable_set() argument
1064 struct set_enable *set_enable = container_of(work, in do_enable_set()
1065 struct set_enable, work); in do_enable_set()
1096 INIT_WORK(&set_enable->work, do_enable_set); in lowpan_enable_set()
[all …]
Dhci_conn.c135 static void le_scan_cleanup(struct work_struct *work) in le_scan_cleanup() argument
137 struct hci_conn *conn = container_of(work, struct hci_conn, in le_scan_cleanup()
394 static void hci_conn_timeout(struct work_struct *work) in hci_conn_timeout() argument
396 struct hci_conn *conn = container_of(work, struct hci_conn, in hci_conn_timeout()
397 disc_work.work); in hci_conn_timeout()
425 static void hci_conn_idle(struct work_struct *work) in hci_conn_idle() argument
427 struct hci_conn *conn = container_of(work, struct hci_conn, in hci_conn_idle()
428 idle_work.work); in hci_conn_idle()
459 static void hci_conn_auto_accept(struct work_struct *work) in hci_conn_auto_accept() argument
461 struct hci_conn *conn = container_of(work, struct hci_conn, in hci_conn_auto_accept()
[all …]
/net/xdp/
Dxdp_umem.c259 static void xdp_umem_release_deferred(struct work_struct *work) in xdp_umem_release_deferred() argument
261 struct xdp_umem *umem = container_of(work, struct xdp_umem, work); in xdp_umem_release_deferred()
277 INIT_WORK(&umem->work, xdp_umem_release_deferred); in xdp_put_umem()
278 schedule_work(&umem->work); in xdp_put_umem()
/net/openvswitch/
Ddp_notify.c34 void ovs_dp_notify_wq(struct work_struct *work) in ovs_dp_notify_wq() argument
36 struct ovs_net *ovs_net = container_of(work, struct ovs_net, dp_notify_work); in ovs_dp_notify_wq()
/net/wireless/
Dcore.c303 static void cfg80211_rfkill_block_work(struct work_struct *work) in cfg80211_rfkill_block_work() argument
307 rdev = container_of(work, struct cfg80211_registered_device, in cfg80211_rfkill_block_work()
312 static void cfg80211_event_work(struct work_struct *work) in cfg80211_event_work() argument
316 rdev = container_of(work, struct cfg80211_registered_device, in cfg80211_event_work()
336 static void cfg80211_destroy_iface_wk(struct work_struct *work) in cfg80211_destroy_iface_wk() argument
340 rdev = container_of(work, struct cfg80211_registered_device, in cfg80211_destroy_iface_wk()
348 static void cfg80211_sched_scan_stop_wk(struct work_struct *work) in cfg80211_sched_scan_stop_wk() argument
353 rdev = container_of(work, struct cfg80211_registered_device, in cfg80211_sched_scan_stop_wk()
364 static void cfg80211_propagate_radar_detect_wk(struct work_struct *work) in cfg80211_propagate_radar_detect_wk() argument
368 rdev = container_of(work, struct cfg80211_registered_device, in cfg80211_propagate_radar_detect_wk()
[all …]
/net/nfc/
Ddigital_core.c110 static void digital_wq_cmd_complete(struct work_struct *work) in digital_wq_cmd_complete() argument
113 struct nfc_digital_dev *ddev = container_of(work, in digital_wq_cmd_complete()
152 static void digital_wq_cmd(struct work_struct *work) in digital_wq_cmd() argument
157 struct nfc_digital_dev *ddev = container_of(work, in digital_wq_cmd()
427 static void digital_wq_poll(struct work_struct *work) in digital_wq_poll() argument
431 struct nfc_digital_dev *ddev = container_of(work, in digital_wq_poll()
433 poll_work.work); in digital_wq_poll()

12345678