Home
last modified time | relevance | path

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

12345

/include/trace/events/
Dworkqueue.h26 struct work_struct *work),
28 TP_ARGS(req_cpu, pwq, work),
31 __field( void *, work )
39 __entry->work = work;
40 __entry->function = work->func;
47 __entry->work, __entry->function, __get_str(workqueue),
61 TP_PROTO(struct work_struct *work),
63 TP_ARGS(work),
66 __field( void *, work )
71 __entry->work = work;
[all …]
Dnapi.h16 TP_PROTO(struct napi_struct *napi, int work, int budget),
18 TP_ARGS(napi, work, budget),
23 __field( int, work)
30 __entry->work = work;
36 __entry->work, __entry->budget)
Dsched.h67 struct kthread_work *work),
69 TP_ARGS(worker, work),
72 __field( void *, work )
78 __entry->work = work;
79 __entry->function = work->func;
84 __entry->work, __entry->function, __entry->worker)
95 TP_PROTO(struct kthread_work *work),
97 TP_ARGS(work),
100 __field( void *, work )
105 __entry->work = work;
[all …]
Dwriteback.h356 TP_PROTO(struct bdi_writeback *wb, struct wb_writeback_work *work),
357 TP_ARGS(wb, work),
371 __entry->nr_pages = work->nr_pages;
372 __entry->sb_dev = work->sb ? work->sb->s_dev : 0;
373 __entry->sync_mode = work->sync_mode;
374 __entry->for_kupdate = work->for_kupdate;
375 __entry->range_cyclic = work->range_cyclic;
376 __entry->for_background = work->for_background;
377 __entry->reason = work->reason;
395 TP_PROTO(struct bdi_writeback *wb, struct wb_writeback_work *work), \
[all …]
/include/linux/
Dcompletion.h35 #define COMPLETION_INITIALIZER(work) \ argument
36 { 0, __SWAIT_QUEUE_HEAD_INITIALIZER((work).wait) }
38 #define COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) \ argument
39 (*({ init_completion_map(&(work), &(map)); &(work); }))
41 #define COMPLETION_INITIALIZER_ONSTACK(work) \ argument
42 (*({ init_completion(&work); &work; }))
52 #define DECLARE_COMPLETION(work) \ argument
53 struct completion work = COMPLETION_INITIALIZER(work)
68 # define DECLARE_COMPLETION_ONSTACK(work) \ argument
69 struct completion work = COMPLETION_INITIALIZER_ONSTACK(work)
[all …]
Dirq_work.h37 void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *)) in init_irq_work() argument
39 *work = IRQ_WORK_INIT(func); in init_irq_work()
42 static inline bool irq_work_is_pending(struct irq_work *work) in irq_work_is_pending() argument
44 return atomic_read(&work->node.a_flags) & IRQ_WORK_PENDING; in irq_work_is_pending()
47 static inline bool irq_work_is_busy(struct irq_work *work) in irq_work_is_busy() argument
49 return atomic_read(&work->node.a_flags) & IRQ_WORK_BUSY; in irq_work_is_busy()
52 static inline bool irq_work_is_hard(struct irq_work *work) in irq_work_is_hard() argument
54 return atomic_read(&work->node.a_flags) & IRQ_WORK_HARD_IRQ; in irq_work_is_hard()
57 bool irq_work_queue(struct irq_work *work);
58 bool irq_work_queue_on(struct irq_work *work, int cpu);
[all …]
Djump_label_ratelimit.h12 struct delayed_work work; member
18 struct delayed_work work; member
24 struct delayed_work work; member
28 __static_key_slow_dec_deferred(&(x)->key, &(x)->work, (x)->timeout)
30 __static_key_slow_dec_deferred(&(x)->key.key, &(x)->work, (x)->timeout)
33 __static_key_deferred_flush((x), &(x)->work)
37 struct delayed_work *work,
39 extern void __static_key_deferred_flush(void *key, struct delayed_work *work);
43 extern void jump_label_update_timeout(struct work_struct *work);
49 .work = __DELAYED_WORK_INITIALIZER((name).work, \
[all …]
Dworkqueue.h24 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) argument
115 struct work_struct work; member
127 struct work_struct work; member
215 static inline struct delayed_work *to_delayed_work(struct work_struct *work) in to_delayed_work() argument
217 return container_of(work, struct delayed_work, work); in to_delayed_work()
220 static inline struct rcu_work *to_rcu_work(struct work_struct *work) in to_rcu_work() argument
222 return container_of(work, struct rcu_work, work); in to_rcu_work()
226 struct work_struct work; member
249 .work = __WORK_INITIALIZER((n).work, (f)), \
264 extern void __init_work(struct work_struct *work, int onstack);
[all …]
Dkthread.h116 typedef void (*kthread_work_func_t)(struct kthread_work *work);
141 struct kthread_work work; member
145 #define KTHREAD_WORK_INIT(work, fn) { \ argument
146 .node = LIST_HEAD_INIT((work).node), \
151 .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \
156 #define DEFINE_KTHREAD_WORK(work, fn) \ argument
157 struct kthread_work work = KTHREAD_WORK_INIT(work, fn)
172 #define kthread_init_work(work, fn) \ argument
174 memset((work), 0, sizeof(struct kthread_work)); \
175 INIT_LIST_HEAD(&(work)->node); \
[all …]
Dstop_machine.h47 struct work_struct work; member
62 static void stop_one_cpu_nowait_workfn(struct work_struct *work) in stop_one_cpu_nowait_workfn() argument
65 container_of(work, struct cpu_stop_work, work); in stop_one_cpu_nowait_workfn()
76 INIT_WORK(&work_buf->work, stop_one_cpu_nowait_workfn); in stop_one_cpu_nowait()
79 schedule_work(&work_buf->work); in stop_one_cpu_nowait()
Ddim.h87 void (*rx_dim_work)(struct work_struct *work);
88 void (*tx_dim_work)(struct work_struct *work);
149 struct work_struct work; member
250 void (*rx_dim_work)(struct work_struct *work),
251 void (*tx_dim_work)(struct work_struct *work));
Dsrcutree.h37 struct work_struct work; /* Context for CB invoking. */ member
89 struct delayed_work work; member
149 .work = __DELAYED_WORK_INITIALIZER(name.work, NULL, 0), \
Dentry-common.h138 unsigned long work);
165 unsigned long work = READ_ONCE(current_thread_info()->syscall_work); in syscall_enter_from_user_mode_work() local
167 if (work & SYSCALL_WORK_ENTER) in syscall_enter_from_user_mode_work()
168 syscall = syscall_trace_enter(regs, syscall, work); in syscall_enter_from_user_mode_work()
Dclosure.h151 struct work_struct work; member
267 INIT_WORK(&cl->work, cl->work.func); in closure_queue()
268 BUG_ON(!queue_work(wq, &cl->work)); in closure_queue()
270 cl->fn(&cl->work); in closure_queue()
354 struct closure *cl = container_of(ws, struct closure, work); \
Dworkqueue_types.h13 typedef void (*work_func_t)(struct work_struct *work);
Dpage_reporting.h17 struct delayed_work work; member
Dpci-pwrctrl.h45 struct work_struct work; member
/include/drm/
Ddrm_flip_work.h51 typedef void (*drm_flip_func_t)(struct drm_flip_work *work, void *val);
71 void drm_flip_work_queue(struct drm_flip_work *work, void *val);
72 void drm_flip_work_commit(struct drm_flip_work *work,
74 void drm_flip_work_init(struct drm_flip_work *work,
76 void drm_flip_work_cleanup(struct drm_flip_work *work);
Ddrm_vblank_work.h65 int drm_vblank_work_schedule(struct drm_vblank_work *work,
67 void drm_vblank_work_init(struct drm_vblank_work *work, struct drm_crtc *crtc,
68 void (*func)(struct kthread_work *work));
69 bool drm_vblank_work_cancel_sync(struct drm_vblank_work *work);
70 void drm_vblank_work_flush(struct drm_vblank_work *work);
/include/net/bluetooth/
Dcoredump.h64 void hci_devcd_rx(struct work_struct *work);
65 void hci_devcd_timeout(struct work_struct *work);
78 static inline void hci_devcd_rx(struct work_struct *work) {} in hci_devcd_rx() argument
79 static inline void hci_devcd_timeout(struct work_struct *work) {} in hci_devcd_timeout() argument
/include/linux/dsa/
Dksz_common.h29 struct kthread_work work; member
33 void (*xmit_work_fn)(struct kthread_work *work);
Dsja1105.h46 struct kthread_work work; member
51 void (*xmit_work_fn)(struct kthread_work *work);
/include/cxl/
Devent.h156 int cxl_cper_register_work(struct work_struct *work);
157 int cxl_cper_unregister_work(struct work_struct *work);
160 static inline int cxl_cper_register_work(struct work_struct *work) in cxl_cper_register_work() argument
165 static inline int cxl_cper_unregister_work(struct work_struct *work) in cxl_cper_unregister_work() argument
/include/scsi/
Dlibsas.h197 struct work_struct work; member
208 INIT_WORK(&sw->work, fn); in INIT_SAS_WORK()
213 struct sas_work work; member
217 static inline struct sas_discovery_event *to_sas_discovery_event(struct work_struct *work) in to_sas_discovery_event() argument
219 struct sas_discovery_event *ev = container_of(work, typeof(*ev), work.work); in to_sas_discovery_event()
245 struct sas_work work; member
271 struct sas_work work; member
276 static inline struct asd_sas_event *to_asd_sas_event(struct work_struct *work) in to_asd_sas_event() argument
278 struct asd_sas_event *ev = container_of(work, typeof(*ev), work.work); in to_asd_sas_event()
287 INIT_SAS_WORK(&ev->work, fn); in INIT_SAS_EVENT()
/include/trace/hooks/
Ddtask.h97 TP_PROTO(struct work_struct *work),
98 TP_ARGS(work));
100 TP_PROTO(struct work_struct *work),
101 TP_ARGS(work));

12345