Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/input/mouse/
Dpsmouse-smbus.c137 struct psmouse_smbus_removal_work *rwork = in psmouse_smbus_remove_i2c_device() local
140 dev_dbg(&rwork->client->dev, "destroying SMBus companion device\n"); in psmouse_smbus_remove_i2c_device()
141 i2c_unregister_device(rwork->client); in psmouse_smbus_remove_i2c_device()
143 kfree(rwork); in psmouse_smbus_remove_i2c_device()
158 struct psmouse_smbus_removal_work *rwork; in psmouse_smbus_schedule_remove() local
160 rwork = kzalloc(sizeof(*rwork), GFP_KERNEL); in psmouse_smbus_schedule_remove()
161 if (rwork) { in psmouse_smbus_schedule_remove()
162 INIT_WORK(&rwork->work, psmouse_smbus_remove_i2c_device); in psmouse_smbus_schedule_remove()
163 rwork->client = client; in psmouse_smbus_schedule_remove()
165 schedule_work(&rwork->work); in psmouse_smbus_schedule_remove()
/Linux-v4.19/net/sched/
Dcls_cgroup.c26 struct rcu_work rwork; member
72 rwork); in cls_cgroup_destroy_work()
124 tcf_queue_work(&head->rwork, cls_cgroup_destroy_work); in cls_cgroup_change()
141 tcf_queue_work(&head->rwork, cls_cgroup_destroy_work); in cls_cgroup_destroy()
Dcls_basic.c38 struct rcu_work rwork; member
99 rwork); in basic_delete_filter_work()
115 tcf_queue_work(&f->rwork, basic_delete_filter_work); in basic_destroy()
133 tcf_queue_work(&f->rwork, basic_delete_filter_work); in basic_delete()
227 tcf_queue_work(&fold->rwork, basic_delete_filter_work); in basic_change()
Dcls_fw.c50 struct rcu_work rwork; member
136 rwork); in fw_delete_filter_work()
157 tcf_queue_work(&f->rwork, fw_delete_filter_work); in fw_destroy()
186 tcf_queue_work(&f->rwork, fw_delete_filter_work); in fw_delete()
309 tcf_queue_work(&f->rwork, fw_delete_filter_work); in fw_change()
Dcls_tcindex.c31 struct rcu_work rwork; member
38 struct rcu_work rwork; member
151 rwork); in tcindex_destroy_rexts_work()
168 rwork); in tcindex_destroy_fexts_work()
210 tcf_queue_work(&f->rwork, tcindex_destroy_fexts_work); in tcindex_delete()
215 tcf_queue_work(&r->rwork, tcindex_destroy_rexts_work); in tcindex_delete()
Dcls_matchall.c25 struct rcu_work rwork; member
56 rwork); in mall_destroy_work()
122 tcf_queue_work(&head->rwork, mall_destroy_work); in mall_destroy()
Dcls_route.c60 struct rcu_work rwork; member
268 rwork); in route4_delete_filter_work()
276 tcf_queue_work(&f->rwork, route4_delete_filter_work); in route4_queue_work()
347 tcf_queue_work(&f->rwork, route4_delete_filter_work); in route4_delete()
552 tcf_queue_work(&fold->rwork, route4_delete_filter_work); in route4_change()
Dcls_flow.c60 struct rcu_work rwork; member
385 rwork); in flow_destroy_filter_work()
556 tcf_queue_work(&fold->rwork, flow_destroy_filter_work); in flow_change()
576 tcf_queue_work(&f->rwork, flow_destroy_filter_work); in flow_delete()
601 tcf_queue_work(&f->rwork, flow_destroy_filter_work); in flow_destroy()
Dcls_bpf.c53 struct rcu_work rwork; member
279 rwork); in cls_bpf_delete_prog_work()
295 tcf_queue_work(&prog->rwork, cls_bpf_delete_prog_work); in __cls_bpf_delete()
519 tcf_queue_work(&oldprog->rwork, cls_bpf_delete_prog_work); in cls_bpf_change()
Dcls_flower.c73 struct rcu_work rwork; member
87 struct rcu_work rwork; member
102 struct rcu_work rwork; member
244 struct fl_flow_mask, rwork); in fl_mask_free_work()
258 tcf_queue_work(&mask->rwork, fl_mask_free_work); in fl_mask_put()
275 struct cls_fl_filter, rwork); in fl_destroy_filter_work()
360 tcf_queue_work(&f->rwork, fl_destroy_filter_work); in __fl_delete()
371 rwork); in fl_destroy_sleepable()
393 tcf_queue_work(&head->rwork, fl_destroy_sleepable); in fl_destroy()
1266 tcf_queue_work(&fold->rwork, fl_destroy_filter_work); in fl_change()
Dcls_u32.c72 struct rcu_work rwork; member
440 rwork); in u32_delete_key_work()
457 rwork); in u32_delete_key_freepf_work()
479 tcf_queue_work(&key->rwork, u32_delete_key_freepf_work); in u32_delete_key()
600 tcf_queue_work(&n->rwork, u32_delete_key_freepf_work); in u32_clear_hnode()
984 tcf_queue_work(&n->rwork, u32_delete_key_work); in u32_change()
Dcls_rsvp.h100 struct rcu_work rwork; member
296 rwork); in rsvp_delete_filter_work()
310 tcf_queue_work(&f->rwork, rsvp_delete_filter_work); in rsvp_delete_filter()
Dcls_api.c135 bool tcf_queue_work(struct rcu_work *rwork, work_func_t func) in tcf_queue_work() argument
137 INIT_RCU_WORK(rwork, func); in tcf_queue_work()
138 return queue_rcu_work(tc_filter_wq, rwork); in tcf_queue_work()
/Linux-v4.19/fs/dlm/
Dlowcomms.c125 struct work_struct rwork; /* Receive workqueue */ member
222 INIT_WORK(&con->rwork, process_recv_sockets); in __nodeid2con()
419 queue_work(recv_workqueue, &con->rwork); in lowcomms_data_ready()
599 if (rx && !closing && cancel_work_sync(&con->rwork)) { in close_connection()
711 queue_work(recv_workqueue, &con->rwork); in receive_from_sock()
807 INIT_WORK(&othercon->rwork, process_recv_sockets); in tcp_accept_from_sock()
842 queue_work(recv_workqueue, &addcon->rwork); in tcp_accept_from_sock()
927 INIT_WORK(&othercon->rwork, process_recv_sockets); in sctp_accept_from_sock()
959 queue_work(recv_workqueue, &addcon->rwork); in sctp_accept_from_sock()
1603 struct connection *con = container_of(work, struct connection, rwork); in process_recv_sockets()
/Linux-v4.19/net/tipc/
Dtopsrv.c108 struct work_struct rwork; member
202 INIT_WORK(&con->rwork, tipc_conn_recv_work); in tipc_conn_alloc()
420 struct tipc_conn *con = container_of(work, struct tipc_conn, rwork); in tipc_conn_recv_work()
447 if (!queue_work(con->server->rcv_wq, &con->rwork)) in tipc_conn_data_ready()
/Linux-v4.19/include/linux/
Dworkqueue.h470 extern bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork);
486 extern bool flush_rcu_work(struct rcu_work *rwork);
/Linux-v4.19/kernel/
Dworkqueue.c1607 struct rcu_work *rwork = container_of(rcu, struct rcu_work, rcu); in rcu_work_rcufn() local
1611 __queue_work(WORK_CPU_UNBOUND, rwork->wq, &rwork->work); in rcu_work_rcufn()
1625 bool queue_rcu_work(struct workqueue_struct *wq, struct rcu_work *rwork) in queue_rcu_work() argument
1627 struct work_struct *work = &rwork->work; in queue_rcu_work()
1630 rwork->wq = wq; in queue_rcu_work()
1631 call_rcu(&rwork->rcu, rcu_work_rcufn); in queue_rcu_work()
3074 bool flush_rcu_work(struct rcu_work *rwork) in flush_rcu_work() argument
3076 if (test_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(&rwork->work))) { in flush_rcu_work()
3078 flush_work(&rwork->work); in flush_rcu_work()
3081 return flush_work(&rwork->work); in flush_rcu_work()
/Linux-v4.19/include/net/
Dpkt_cls.h40 bool tcf_queue_work(struct rcu_work *rwork, work_func_t func);