| /net/wireless/ |
| A D | debugfs.c | 115 struct wiphy_work work; member 133 struct debugfs_read_work *w = container_of(work, typeof(*w), work); in wiphy_locked_debugfs_read_work() 171 .cancel_data = &work, in wiphy_locked_debugfs_read() 177 wiphy_work_init(&work.work, wiphy_locked_debugfs_read_work); in wiphy_locked_debugfs_read() 178 wiphy_work_queue(wiphy, &work.work); in wiphy_locked_debugfs_read() 184 if (work.ret < 0) in wiphy_locked_debugfs_read() 185 return work.ret; in wiphy_locked_debugfs_read() 213 struct debugfs_write_work *w = container_of(work, typeof(*w), work); in wiphy_locked_debugfs_write_work() 262 wiphy_work_init(&work.work, wiphy_locked_debugfs_write_work); in wiphy_locked_debugfs_write() 263 wiphy_work_queue(wiphy, &work.work); in wiphy_locked_debugfs_write() [all …]
|
| A D | core.c | 366 struct wiphy_work *work) in cfg80211_sched_scan_stop_wk() argument 431 queue_work(system_unbound_wq, work); in cfg80211_wiphy_work() 1685 trace_wiphy_work_queue(wiphy, work); in wiphy_work_queue() 1688 if (list_empty(&work->entry)) in wiphy_work_queue() 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() 1718 trace_wiphy_work_flush(wiphy, work); in wiphy_work_flush() 1721 run = !work || !list_empty(&work->entry); in wiphy_work_flush() 1745 wiphy_work_queue(wiphy, &dwork->work); in wiphy_delayed_work_queue() [all …]
|
| A D | core.h | 316 struct wiphy_work *work); 427 void cfg80211_autodisconnect_wk(struct work_struct *work); 430 void cfg80211_conn_work(struct work_struct *work); 454 void cfg80211_sched_scan_results_wk(struct work_struct *work); 483 void cfg80211_dfs_channels_update_work(struct work_struct *work); 494 void cfg80211_background_cac_done_wk(struct work_struct *work); 496 void cfg80211_background_cac_abort_wk(struct work_struct *work); 568 void cfg80211_pmsr_free_wk(struct work_struct *work);
|
| /net/ceph/crush/ |
| A D | mapper.c | 82 if (work->perm_x != (__u32)x || work->perm_n == 0) { in bucket_perm_choose() 84 work->perm_x = x; in bucket_perm_choose() 102 work->perm[work->perm[0]] = 0; in bucket_perm_choose() 117 work->perm[p + i] = work->perm[p]; in bucket_perm_choose() 122 work->perm_n++; in bucket_perm_choose() 388 work, x, r); in crush_bucket_choose() 514 in, work->work[-1-in->id], in crush_choose_firstn() 518 in, work->work[-1-in->id], in crush_choose_firstn() 728 in, work->work[-1-in->id], in crush_choose_indep() 780 work, in crush_choose_indep() [all …]
|
| /net/rds/ |
| A D | threads.c | 162 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() 218 void rds_recv_worker(struct work_struct *work) in rds_recv_worker() argument 220 struct rds_conn_path *cp = container_of(work, in rds_recv_worker() 222 cp_recv_w.work); in rds_recv_worker() 243 void rds_shutdown_worker(struct work_struct *work) in rds_shutdown_worker() argument [all …]
|
| A D | ib_rdma.c | 44 static void rds_ib_odp_mr_worker(struct work_struct *work); 473 static void rds_ib_mr_pool_flush_worker(struct work_struct *work) in rds_ib_mr_pool_flush_worker() argument 475 struct rds_ib_mr_pool *pool = container_of(work, struct rds_ib_mr_pool, flush_worker.work); in rds_ib_mr_pool_flush_worker() 493 INIT_DELAYED_WORK(&ibmr->work, rds_ib_odp_mr_worker); in rds_ib_free_mr() 494 queue_delayed_work(rds_ib_mr_wq, &ibmr->work, 0); in rds_ib_free_mr() 690 static void rds_ib_odp_mr_worker(struct work_struct *work) in rds_ib_odp_mr_worker() argument 694 ibmr = container_of(work, struct rds_ib_mr, work.work); in rds_ib_odp_mr_worker()
|
| /net/ethtool/ |
| A D | module.c | 196 struct ethtool_module_fw_flash *work; in module_flash_fw_work_list_add() local 200 list_for_each_entry(work, &module_fw_flash_work_list, list) { in module_flash_fw_work_list_add() 202 work->fw_update.dev == module_fw->fw_update.dev) { in module_flash_fw_work_list_add() 221 static void module_flash_fw_work(struct work_struct *work) in module_flash_fw_work() argument 225 module_fw = container_of(work, struct ethtool_module_fw_flash, work); in module_flash_fw_work() 269 INIT_WORK(&module_fw->work, module_flash_fw_work); in module_flash_fw_work_init() 282 struct ethtool_module_fw_flash *work; in ethnl_module_fw_flash_sock_destroy() local 286 if (work->fw_update.dev == sk_priv->dev && in ethnl_module_fw_flash_sock_destroy() 287 work->fw_update.ntf_params.portid == sk_priv->portid) { in ethnl_module_fw_flash_sock_destroy() 288 work->fw_update.ntf_params.closed_sock = true; in ethnl_module_fw_flash_sock_destroy() [all …]
|
| /net/strparser/ |
| A D | strparser.c | 385 queue_work(strp_wq, &strp->work); in strp_data_ready() 395 queue_work(strp_wq, &strp->work); in strp_data_ready() 413 queue_work(strp_wq, &strp->work); in do_strp_work() 421 do_strp_work(container_of(w, struct strparser, work)); in strp_work() 427 msg_timer_work.work); in strp_msg_timeout() 482 INIT_WORK(&strp->work, strp_work); in strp_init() 495 queue_work(strp_wq, &strp->work); in strp_unpause() 507 cancel_work_sync(&strp->work); in strp_done() 524 queue_work(strp_wq, &strp->work); in strp_check_rcv()
|
| /net/netfilter/ |
| A D | xt_IDLETIMER.c | 36 struct work_struct work; member 93 static void idletimer_tg_work(struct work_struct *work) in idletimer_tg_work() argument 95 struct idletimer_tg *timer = container_of(work, struct idletimer_tg, in idletimer_tg_work() 96 work); in idletimer_tg_work() 107 schedule_work(&timer->work); in idletimer_tg_expired() 115 schedule_work(&timer->work); in idletimer_tg_alarmproc() 168 INIT_WORK(&info->timer->work, idletimer_tg_work); in idletimer_tg_create() 220 INIT_WORK(&info->timer->work, idletimer_tg_work); in idletimer_tg_create_v1() 423 cancel_work_sync(&info->timer->work); in idletimer_tg_destroy() 454 cancel_work_sync(&info->timer->work); in idletimer_tg_destroy_v1()
|
| A D | nf_nat_masquerade.c | 13 struct work_struct work; member 78 static void iterate_cleanup_work(struct work_struct *work) in iterate_cleanup_work() argument 83 w = container_of(work, struct masq_dev_work, work); in iterate_cleanup_work() 123 INIT_WORK(&w->work, iterate_cleanup_work); in nf_nat_masq_schedule() 130 schedule_work(&w->work); in nf_nat_masq_schedule()
|
| /net/rxrpc/ |
| A D | rxperf.c | 52 struct work_struct work; member 67 void (*processor)(struct work_struct *work); 74 static void rxperf_deliver_to_call(struct work_struct *work); 78 static void rxperf_charge_preallocation(struct work_struct *work); 113 queue_work(rxperf_workqueue, &call->work); in rxperf_queue_call_work() 149 static void rxperf_charge_preallocation(struct work_struct *work) in rxperf_charge_preallocation() argument 167 INIT_WORK(&call->work, rxperf_deliver_to_call); in rxperf_charge_preallocation() 280 static void rxperf_deliver_to_call(struct work_struct *work) in rxperf_deliver_to_call() argument 282 struct rxperf_call *call = container_of(work, struct rxperf_call, work); in rxperf_deliver_to_call() 352 cancel_work(&call->work); in rxperf_deliver_to_call()
|
| A D | conn_object.c | 22 static void rxrpc_clean_up_connection(struct work_struct *work); 306 static void rxrpc_clean_up_connection(struct work_struct *work) in rxrpc_clean_up_connection() argument 309 container_of(work, struct rxrpc_connection, destructor); in rxrpc_clean_up_connection() 387 void rxrpc_service_connection_reaper(struct work_struct *work) in rxrpc_service_connection_reaper() argument 391 container_of(work, struct rxrpc_net, service_conn_reaper); in rxrpc_service_connection_reaper()
|
| /net/core/ |
| A D | sock_diag.c | 116 struct work_struct work; member 144 static void sock_diag_broadcast_destroy_work(struct work_struct *work) in sock_diag_broadcast_destroy_work() argument 147 container_of(work, struct broadcast_sk, work); in sock_diag_broadcast_destroy_work() 184 INIT_WORK(&bsk->work, sock_diag_broadcast_destroy_work); in sock_diag_broadcast_destroy() 185 queue_work(broadcast_wq, &bsk->work); in sock_diag_broadcast_destroy()
|
| A D | netpoll.c | 88 static void queue_process(struct work_struct *work) in queue_process() argument 91 container_of(work, struct netpoll_info, tx_work.work); in queue_process() 144 int work; in poll_one_napi() local 156 work = napi->poll(napi, 0); in poll_one_napi() 157 WARN_ONCE(work, "%pS exceeded budget in poll\n", napi->poll); in poll_one_napi() 158 trace_napi_poll(napi, work, 0); in poll_one_napi() 545 static void refill_skbs_work_handler(struct work_struct *work) in refill_skbs_work_handler() argument 548 container_of(work, struct netpoll, refill_wq); in refill_skbs_work_handler()
|
| A D | drop_monitor.c | 115 int work, int budget); 116 void (*work_item_func)(struct work_struct *work); 117 void (*hw_work_item_func)(struct work_struct *work); 190 static void send_dm_alert(struct work_struct *work) in send_dm_alert() argument 195 data = container_of(work, struct per_cpu_dm_data, dm_alert_work); in send_dm_alert() 275 int work, int budget) in trace_napi_poll_hit() argument 409 static void net_dm_hw_summary_work(struct work_struct *work) in net_dm_hw_summary_work() argument 543 int work, int budget) in net_dm_packet_trace_napi_poll_hit() argument 726 static void net_dm_packet_work(struct work_struct *work) in net_dm_packet_work() argument 733 data = container_of(work, struct per_cpu_dm_data, dm_alert_work); in net_dm_packet_work() [all …]
|
| /net/xdp/ |
| A D | xdp_umem.c | 67 static void xdp_umem_release_deferred(struct work_struct *work) in xdp_umem_release_deferred() argument 69 struct xdp_umem *umem = container_of(work, struct xdp_umem, work); in xdp_umem_release_deferred() 86 INIT_WORK(&umem->work, xdp_umem_release_deferred); in xdp_put_umem() 87 schedule_work(&umem->work); in xdp_put_umem()
|
| /net/mac802154/ |
| A D | ieee802154_i.h | 187 void ieee802154_xmit_sync_worker(struct work_struct *work); 276 void mac802154_scan_worker(struct work_struct *work); 284 void mac802154_rx_beacon_worker(struct work_struct *work); 291 void mac802154_beacon_worker(struct work_struct *work); 302 void mac802154_rx_mac_cmd_worker(struct work_struct *work);
|
| /net/ceph/ |
| A D | osdmap.c | 992 struct crush_work *work; in alloc_workspace() local 1000 if (!work) in alloc_workspace() 1005 return work; in alloc_workspace() 1011 kvfree(work); in free_workspace() 1035 struct crush_work *work; in cleanup_workspace_manager() local 1041 free_workspace(work); in cleanup_workspace_manager() 1065 return work; in get_workspace() 1082 if (!work) { in get_workspace() 1094 return work; in get_workspace() 1113 free_workspace(work); in put_workspace() [all …]
|
| /net/tipc/ |
| A D | topsrv.c | 114 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() 418 static void tipc_conn_recv_work(struct work_struct *work) in tipc_conn_recv_work() argument 420 struct tipc_conn *con = container_of(work, struct tipc_conn, rwork); in tipc_conn_recv_work() 455 static void tipc_topsrv_accept(struct work_struct *work) in tipc_topsrv_accept() argument 457 struct tipc_topsrv *srv = container_of(work, struct tipc_topsrv, awork); in tipc_topsrv_accept()
|
| /net/dsa/ |
| A D | tag_ocelot_8021q.c | 29 void (*xmit_work_fn)(struct kthread_work *work); in ocelot_defer_xmit() 51 kthread_init_work(&xmit_work->work, xmit_work_fn); in ocelot_defer_xmit() 58 kthread_queue_work(xmit_worker, &xmit_work->work); in ocelot_defer_xmit()
|
| /net/bluetooth/ |
| A D | 6lowpan.c | 598 static void do_notify_peers(struct work_struct *work) in do_notify_peers() argument 600 struct lowpan_btle_dev *dev = container_of(work, struct lowpan_btle_dev, in do_notify_peers() 601 notify_peers.work); in do_notify_peers() 753 static void delete_netdev(struct work_struct *work) in delete_netdev() argument 755 struct lowpan_btle_dev *entry = container_of(work, in delete_netdev() 1034 struct work_struct work; member 1038 static void do_enable_set(struct work_struct *work) in do_enable_set() argument 1040 struct set_enable *set_enable = container_of(work, in do_enable_set() 1041 struct set_enable, work); in do_enable_set() 1072 INIT_WORK(&set_enable->work, do_enable_set); in lowpan_enable_set() [all …]
|
| /net/9p/ |
| A D | trans_xen.c | 47 struct work_struct work; member 170 static void p9_xen_response(struct work_struct *work) in p9_xen_response() argument 179 ring = container_of(work, struct xen_9pfs_dataring, work); in p9_xen_response() 251 schedule_work(&ring->work); in xen_9pfs_front_event_handler() 284 cancel_work_sync(&ring->work); in xen_9pfs_front_free() 329 INIT_WORK(&ring->work, p9_xen_response); in xen_9pfs_front_alloc_dataring()
|
| /net/vmw_vsock/ |
| A D | virtio_transport.c | 155 virtio_transport_send_pkt_work(struct work_struct *work) in virtio_transport_send_pkt_work() argument 158 container_of(work, struct virtio_vsock, send_pkt_work); in virtio_transport_send_pkt_work() 339 static void virtio_transport_tx_work(struct work_struct *work) in virtio_transport_tx_work() argument 342 container_of(work, struct virtio_vsock, tx_work); in virtio_transport_tx_work() 445 static void virtio_transport_event_work(struct work_struct *work) in virtio_transport_event_work() argument 448 container_of(work, struct virtio_vsock, event_work); in virtio_transport_event_work() 611 static void virtio_transport_rx_work(struct work_struct *work) in virtio_transport_rx_work() argument 614 container_of(work, struct virtio_vsock, rx_work); in virtio_transport_rx_work()
|
| /net/xfrm/ |
| A D | espintcp.c | 416 static void espintcp_tx_work(struct work_struct *work) in espintcp_tx_work() argument 418 struct espintcp_ctx *ctx = container_of(work, in espintcp_tx_work() 419 struct espintcp_ctx, work); in espintcp_tx_work() 432 schedule_work(&ctx->work); in espintcp_write_space() 501 INIT_WORK(&ctx->work, espintcp_tx_work); in espintcp_init_sk() 539 cancel_work_sync(&ctx->work); in espintcp_close()
|
| /net/devlink/ |
| A D | core.c | 70 static void devlink_rel_nested_in_notify_work(struct work_struct *work) in devlink_rel_nested_in_notify_work() argument 72 struct devlink_rel *rel = container_of(work, struct devlink_rel, in devlink_rel_nested_in_notify_work() 73 nested_in.notify_work.work); in devlink_rel_nested_in_notify_work() 308 static void devlink_release(struct work_struct *work) in devlink_release() argument 312 devlink = container_of(to_rcu_work(work), struct devlink, rwork); in devlink_release()
|