Home
last modified time | relevance | path

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

123

/include/trace/events/
Dworkqueue.h12 TP_PROTO(struct work_struct *work),
14 TP_ARGS(work),
17 __field( void *, work )
21 __entry->work = work;
24 TP_printk("work struct %p", __entry->work)
40 struct work_struct *work),
42 TP_ARGS(req_cpu, pwq, work),
45 __field( void *, work )
53 __entry->work = work;
54 __entry->function = work->func;
[all …]
Dwriteback.h145 TP_PROTO(struct backing_dev_info *bdi, struct wb_writeback_work *work),
146 TP_ARGS(bdi, work),
162 __entry->nr_pages = work->nr_pages;
163 __entry->sb_dev = work->sb ? work->sb->s_dev : 0;
164 __entry->sync_mode = work->sync_mode;
165 __entry->for_kupdate = work->for_kupdate;
166 __entry->range_cyclic = work->range_cyclic;
167 __entry->for_background = work->for_background;
168 __entry->reason = work->reason;
184 TP_PROTO(struct backing_dev_info *bdi, struct wb_writeback_work *work), \
[all …]
/include/linux/
Dcompletion.h30 #define COMPLETION_INITIALIZER(work) \ argument
31 { 0, __WAIT_QUEUE_HEAD_INITIALIZER((work).wait) }
33 #define COMPLETION_INITIALIZER_ONSTACK(work) \ argument
34 ({ init_completion(&work); work; })
44 #define DECLARE_COMPLETION(work) \ argument
45 struct completion work = COMPLETION_INITIALIZER(work)
60 # define DECLARE_COMPLETION_ONSTACK(work) \ argument
61 struct completion work = COMPLETION_INITIALIZER_ONSTACK(work)
63 # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work) argument
Dkthread.h64 typedef void (*kthread_work_func_t)(struct kthread_work *work);
85 #define KTHREAD_WORK_INIT(work, fn) { \ argument
86 .node = LIST_HEAD_INIT((work).node), \
88 .done = __WAIT_QUEUE_HEAD_INITIALIZER((work).done), \
94 #define DEFINE_KTHREAD_WORK(work, fn) \ argument
95 struct kthread_work work = KTHREAD_WORK_INIT(work, fn)
107 # define KTHREAD_WORK_INIT_ONSTACK(work, fn) \ argument
108 ({ init_kthread_work((&work), fn); work; })
109 # define DEFINE_KTHREAD_WORK_ONSTACK(work, fn) \ argument
110 struct kthread_work work = KTHREAD_WORK_INIT_ONSTACK(work, fn)
[all …]
Dworkqueue.h19 typedef void (*work_func_t)(struct work_struct *work);
26 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) argument
114 struct work_struct work; member
136 static inline struct delayed_work *to_delayed_work(struct work_struct *work) in to_delayed_work() argument
138 return container_of(work, struct delayed_work, work); in to_delayed_work()
142 struct work_struct work; member
165 .work = __WORK_INITIALIZER((n).work, (f)), \
189 PREPARE_WORK(&(_work)->work, (_func))
192 extern void __init_work(struct work_struct *work, int onstack);
193 extern void destroy_work_on_stack(struct work_struct *work);
[all …]
Dirq_work.h27 void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *)) in init_irq_work() argument
29 work->flags = 0; in init_irq_work()
30 work->func = func; in init_irq_work()
33 void irq_work_queue(struct irq_work *work);
35 void irq_work_sync(struct irq_work *work);
Dstop_machine.h41 struct work_struct work; member
56 static void stop_one_cpu_nowait_workfn(struct work_struct *work) in stop_one_cpu_nowait_workfn() argument
59 container_of(work, struct cpu_stop_work, work); in stop_one_cpu_nowait_workfn()
70 INIT_WORK(&work_buf->work, stop_one_cpu_nowait_workfn); in stop_one_cpu_nowait()
73 schedule_work(&work_buf->work); in stop_one_cpu_nowait()
Dsrcu.h59 struct delayed_work work; member
85 void process_srcu(struct work_struct *work);
97 .work = __DELAYED_WORK_INITIALIZER(name.work, process_srcu, 0),\
Dinput-polldev.h50 struct delayed_work work; member
Dleds-pca9532.h35 struct work_struct work; member
Dfscache-cache.h89 struct work_struct work; /* record for async ops */ member
116 extern void fscache_op_work_func(struct work_struct *work);
134 INIT_WORK(&op->work, fscache_op_work_func); in fscache_operation_init()
407 struct work_struct work; /* attention scheduling record */ member
429 extern void fscache_object_work_func(struct work_struct *work);
451 INIT_WORK(&object->work, fscache_object_work_func); in fscache_object_init()
Dpadata.h74 struct work_struct work; member
95 struct work_struct work; member
Dvmpressure.h22 struct work_struct work; member
Dkmod.h57 struct work_struct work; member
Dconsole_struct.h123 extern void vc_SAK(struct work_struct *work);
Ddevfreq.h161 struct delayed_work work; member
/include/scsi/
Dlibsas.h237 struct work_struct work; member
242 INIT_WORK(&sw->work, fn); in INIT_SAS_WORK()
247 struct sas_work work; member
251 static inline struct sas_discovery_event *to_sas_discovery_event(struct work_struct *work) in to_sas_discovery_event() argument
253 struct sas_discovery_event *ev = container_of(work, typeof(*ev), work.work); in to_sas_discovery_event()
280 struct sas_work work; member
307 struct sas_work work; member
311 static inline struct asd_sas_event *to_asd_sas_event(struct work_struct *work) in to_asd_sas_event() argument
313 struct asd_sas_event *ev = container_of(work, typeof(*ev), work.work); in to_asd_sas_event()
378 struct sas_work work; member
[all …]
/include/media/
Dir-kbd-i2c.h20 struct delayed_work work; member
/include/rdma/
Dib_umem.h50 struct work_struct work; member
/include/linux/spi/
Dspi_bitbang.h8 struct work_struct work; member
/include/net/caif/
Dcaif_spi.h114 struct work_struct work; member
153 void cfspi_xfer(struct work_struct *work);
/include/video/
Dauo_k190xfb.h38 struct delayed_work work; member
/include/linux/mtd/
Dblktrans.h48 struct work_struct work; member
/include/drm/ttm/
Dttm_memory.h81 struct work_struct work; member
/include/net/bluetooth/
Dl2cap.h728 struct delayed_work *work, long timeout) in l2cap_set_timer() argument
735 if (!cancel_delayed_work(work)) in l2cap_set_timer()
738 schedule_delayed_work(work, timeout); in l2cap_set_timer()
742 struct delayed_work *work) in l2cap_clear_timer() argument
748 ret = cancel_delayed_work(work); in l2cap_clear_timer()

123