Home
last modified time | relevance | path

Searched refs:rwork (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/drivers/input/mouse/
Dpsmouse-smbus.c134 struct psmouse_smbus_removal_work *rwork = in psmouse_smbus_remove_i2c_device() local
137 dev_dbg(&rwork->client->dev, "destroying SMBus companion device\n"); in psmouse_smbus_remove_i2c_device()
138 i2c_unregister_device(rwork->client); in psmouse_smbus_remove_i2c_device()
140 kfree(rwork); in psmouse_smbus_remove_i2c_device()
155 struct psmouse_smbus_removal_work *rwork; in psmouse_smbus_schedule_remove() local
157 rwork = kzalloc(sizeof(*rwork), GFP_KERNEL); in psmouse_smbus_schedule_remove()
158 if (rwork) { in psmouse_smbus_schedule_remove()
159 INIT_WORK(&rwork->work, psmouse_smbus_remove_i2c_device); in psmouse_smbus_schedule_remove()
160 rwork->client = client; in psmouse_smbus_schedule_remove()
162 schedule_work(&rwork->work); in psmouse_smbus_schedule_remove()
/Linux-v5.4/net/sched/
Dcls_tcindex.c32 struct rcu_work rwork; member
39 struct rcu_work rwork; member
52 struct rcu_work rwork; member
152 rwork); in tcindex_destroy_rexts_work()
169 rwork); in tcindex_destroy_fexts_work()
211 tcf_queue_work(&f->rwork, tcindex_destroy_fexts_work); in tcindex_delete()
216 tcf_queue_work(&r->rwork, tcindex_destroy_rexts_work); in tcindex_delete()
229 rwork); in tcindex_destroy_work()
262 rwork); in tcindex_partial_destroy_work()
479 tcf_queue_work(&oldp->rwork, tcindex_partial_destroy_work); in tcindex_set_parms()
[all …]
Dcls_cgroup.c22 struct rcu_work rwork; member
70 rwork); in cls_cgroup_destroy_work()
123 tcf_queue_work(&head->rwork, cls_cgroup_destroy_work); in cls_cgroup_change()
140 tcf_queue_work(&head->rwork, cls_cgroup_destroy_work); in cls_cgroup_destroy()
Dcls_basic.c36 struct rcu_work rwork; member
100 rwork); in basic_delete_filter_work()
117 tcf_queue_work(&f->rwork, basic_delete_filter_work); in basic_destroy()
135 tcf_queue_work(&f->rwork, basic_delete_filter_work); in basic_delete()
234 tcf_queue_work(&fold->rwork, basic_delete_filter_work); in basic_change()
Dcls_fw.c40 struct rcu_work rwork; member
124 rwork); in fw_delete_filter_work()
146 tcf_queue_work(&f->rwork, fw_delete_filter_work); in fw_destroy()
175 tcf_queue_work(&f->rwork, fw_delete_filter_work); in fw_delete()
297 tcf_queue_work(&f->rwork, fw_delete_filter_work); in fw_change()
Dcls_route.c56 struct rcu_work rwork; member
264 rwork); in route4_delete_filter_work()
272 tcf_queue_work(&f->rwork, route4_delete_filter_work); in route4_queue_work()
344 tcf_queue_work(&f->rwork, route4_delete_filter_work); in route4_delete()
550 tcf_queue_work(&fold->rwork, route4_delete_filter_work); in route4_change()
Dcls_flow.c56 struct rcu_work rwork; member
381 rwork); in flow_destroy_filter_work()
554 tcf_queue_work(&fold->rwork, flow_destroy_filter_work); in flow_change()
574 tcf_queue_work(&f->rwork, flow_destroy_filter_work); in flow_delete()
600 tcf_queue_work(&f->rwork, flow_destroy_filter_work); in flow_destroy()
Dcls_matchall.c23 struct rcu_work rwork; member
60 rwork); in mall_destroy_work()
142 tcf_queue_work(&head->rwork, mall_destroy_work); in mall_destroy()
Dcls_bpf.c50 struct rcu_work rwork; member
281 rwork); in cls_bpf_delete_prog_work()
297 tcf_queue_work(&prog->rwork, cls_bpf_delete_prog_work); in __cls_bpf_delete()
523 tcf_queue_work(&oldprog->rwork, cls_bpf_delete_prog_work); in cls_bpf_change()
Dcls_flower.c76 struct rcu_work rwork; member
93 struct rcu_work rwork; member
109 struct rcu_work rwork; member
355 struct fl_flow_mask, rwork); in fl_mask_free_work()
363 struct fl_flow_mask, rwork); in fl_uninit_mask_free_work()
379 tcf_queue_work(&mask->rwork, fl_mask_free_work); in fl_mask_put()
404 struct cls_fl_filter, rwork); in fl_destroy_filter_work()
497 tcf_queue_work(&f->rwork, fl_destroy_filter_work); in __fl_put()
549 rwork); in fl_destroy_sleepable()
574 tcf_queue_work(&head->rwork, fl_destroy_sleepable); in fl_destroy()
[all …]
Dcls_u32.c62 struct rcu_work rwork; member
421 rwork); in u32_delete_key_work()
438 rwork); in u32_delete_key_freepf_work()
462 tcf_queue_work(&key->rwork, u32_delete_key_freepf_work); in u32_delete_key()
584 tcf_queue_work(&n->rwork, u32_delete_key_freepf_work); in u32_clear_hnode()
922 tcf_queue_work(&n->rwork, u32_delete_key_work); in u32_change()
Dcls_rsvp.h96 struct rcu_work rwork; member
292 rwork); in rsvp_delete_filter_work()
306 tcf_queue_work(&f->rwork, rsvp_delete_filter_work); in rsvp_delete_filter()
Dcls_api.c203 bool tcf_queue_work(struct rcu_work *rwork, work_func_t func) in tcf_queue_work() argument
205 INIT_RCU_WORK(rwork, func); in tcf_queue_work()
206 return queue_rcu_work(tc_filter_wq, rwork); in tcf_queue_work()
/Linux-v5.4/fs/dlm/
Dlowcomms.c123 struct work_struct rwork; /* Receive workqueue */ member
220 INIT_WORK(&con->rwork, process_recv_sockets); in __nodeid2con()
417 queue_work(recv_workqueue, &con->rwork); in lowcomms_data_ready()
597 if (rx && !closing && cancel_work_sync(&con->rwork)) { in close_connection()
709 queue_work(recv_workqueue, &con->rwork); in receive_from_sock()
805 INIT_WORK(&othercon->rwork, process_recv_sockets); in tcp_accept_from_sock()
840 queue_work(recv_workqueue, &addcon->rwork); in tcp_accept_from_sock()
925 INIT_WORK(&othercon->rwork, process_recv_sockets); in sctp_accept_from_sock()
957 queue_work(recv_workqueue, &addcon->rwork); in sctp_accept_from_sock()
1601 struct connection *con = container_of(work, struct connection, rwork); in process_recv_sockets()
/Linux-v5.4/net/tipc/
Dtopsrv.c101 struct work_struct rwork; member
195 INIT_WORK(&con->rwork, tipc_conn_recv_work); in tipc_conn_alloc()
414 struct tipc_conn *con = container_of(work, struct tipc_conn, rwork); in tipc_conn_recv_work()
441 if (!queue_work(con->server->rcv_wq, &con->rwork)) in tipc_conn_data_ready()
/Linux-v5.4/include/linux/
Dworkqueue.h452 extern bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork);
468 extern bool flush_rcu_work(struct rcu_work *rwork);
/Linux-v5.4/kernel/
Dworkqueue.c1723 struct rcu_work *rwork = container_of(rcu, struct rcu_work, rcu); in rcu_work_rcufn() local
1727 __queue_work(WORK_CPU_UNBOUND, rwork->wq, &rwork->work); in rcu_work_rcufn()
1741 bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork) in queue_rcu_work() argument
1743 struct work_struct *work = &rwork->work; in queue_rcu_work()
1746 rwork->wq = wq; in queue_rcu_work()
1747 call_rcu(&rwork->rcu, rcu_work_rcufn); in queue_rcu_work()
3197 bool flush_rcu_work(struct rcu_work *rwork) in flush_rcu_work() argument
3199 if (test_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(&rwork->work))) { in flush_rcu_work()
3201 flush_work(&rwork->work); in flush_rcu_work()
3204 return flush_work(&rwork->work); in flush_rcu_work()
/Linux-v5.4/include/net/
Dpkt_cls.h36 bool tcf_queue_work(struct rcu_work *rwork, work_func_t func);