/linux-4.19.296/virt/kvm/ |
D | async_pf.c | 33 struct kvm_async_pf *work) in kvm_async_page_present_sync() argument 36 kvm_arch_async_page_present(vcpu, work); in kvm_async_page_present_sync() 40 struct kvm_async_pf *work) in kvm_async_page_present_async() argument 43 kvm_arch_async_page_present(vcpu, work); in kvm_async_page_present_async() 72 static void async_pf_execute(struct work_struct *work) in async_pf_execute() argument 75 container_of(work, struct kvm_async_pf, work); in async_pf_execute() 122 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local 124 typeof(*work), queue); in kvm_clear_async_pf_completion_queue() 125 list_del(&work->queue); in kvm_clear_async_pf_completion_queue() 131 if (!work->vcpu) in kvm_clear_async_pf_completion_queue() [all …]
|
/linux-4.19.296/include/trace/events/ |
D | workqueue.h | 13 TP_PROTO(struct work_struct *work), 15 TP_ARGS(work), 18 __field( void *, work ) 22 __entry->work = work; 25 TP_printk("work struct %p", __entry->work) 43 struct work_struct *work), 45 TP_ARGS(req_cpu, pwq, work), 48 __field( void *, work ) 56 __entry->work = work; 57 __entry->function = work->func; [all …]
|
D | napi.h | 16 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)
|
/linux-4.19.296/include/linux/ |
D | completion.h | 36 #define COMPLETION_INITIALIZER(work) \ argument 37 { 0, __WAIT_QUEUE_HEAD_INITIALIZER((work).wait) } 39 #define COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) \ argument 40 (*({ init_completion_map(&(work), &(map)); &(work); })) 42 #define COMPLETION_INITIALIZER_ONSTACK(work) \ argument 43 (*({ init_completion(&work); &work; })) 53 #define DECLARE_COMPLETION(work) \ argument 54 struct completion work = COMPLETION_INITIALIZER(work) 69 # define DECLARE_COMPLETION_ONSTACK(work) \ argument 70 struct completion work = COMPLETION_INITIALIZER_ONSTACK(work) [all …]
|
D | workqueue.h | 21 typedef void (*work_func_t)(struct work_struct *work); 28 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) argument 117 struct work_struct work; member 126 struct work_struct work; member 159 static inline struct delayed_work *to_delayed_work(struct work_struct *work) in to_delayed_work() argument 161 return container_of(work, struct delayed_work, work); in to_delayed_work() 164 static inline struct rcu_work *to_rcu_work(struct work_struct *work) in to_rcu_work() argument 166 return container_of(work, struct rcu_work, work); in to_rcu_work() 170 struct work_struct work; member 193 .work = __WORK_INITIALIZER((n).work, (f)), \ [all …]
|
D | kthread.h | 82 typedef void (*kthread_work_func_t)(struct kthread_work *work); 107 struct kthread_work work; member 117 #define KTHREAD_WORK_INIT(work, fn) { \ argument 118 .node = LIST_HEAD_INIT((work).node), \ 123 .work = KTHREAD_WORK_INIT((dwork).work, (fn)), \ 131 #define DEFINE_KTHREAD_WORK(work, fn) \ argument 132 struct kthread_work work = KTHREAD_WORK_INIT(work, fn) 160 #define kthread_init_work(work, fn) \ argument 162 memset((work), 0, sizeof(struct kthread_work)); \ 163 INIT_LIST_HEAD(&(work)->node); \ [all …]
|
D | irq_work.h | 31 void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *)) in init_irq_work() argument 33 work->flags = 0; in init_irq_work() 34 work->func = func; in init_irq_work() 39 bool irq_work_queue(struct irq_work *work); 40 bool irq_work_queue_on(struct irq_work *work, int cpu); 43 void irq_work_sync(struct irq_work *work);
|
D | stop_machine.h | 45 struct work_struct work; member 60 static void stop_one_cpu_nowait_workfn(struct work_struct *work) in stop_one_cpu_nowait_workfn() argument 63 container_of(work, struct cpu_stop_work, work); in stop_one_cpu_nowait_workfn() 74 INIT_WORK(&work_buf->work, stop_one_cpu_nowait_workfn); in stop_one_cpu_nowait() 77 schedule_work(&work_buf->work); in stop_one_cpu_nowait()
|
/linux-4.19.296/fs/btrfs/ |
D | async-thread.c | 54 static void normal_work_helper(struct btrfs_work *work); 59 struct btrfs_work *work = container_of(arg, struct btrfs_work, \ 61 normal_work_helper(work); \ 71 btrfs_work_owner(const struct btrfs_work *work) in btrfs_work_owner() argument 73 return work->wq->fs_info; in btrfs_work_owner() 259 struct btrfs_work *work; in run_ordered_work() local 269 work = list_entry(list->next, struct btrfs_work, in run_ordered_work() 271 if (!test_bit(WORK_DONE_BIT, &work->flags)) in run_ordered_work() 287 if (test_and_set_bit(WORK_ORDER_DONE_BIT, &work->flags)) in run_ordered_work() 289 trace_btrfs_ordered_sched(work); in run_ordered_work() [all …]
|
/linux-4.19.296/lib/ |
D | once.c | 9 struct work_struct work; member 16 struct once_work *work; in once_deferred() local 18 work = container_of(w, struct once_work, work); in once_deferred() 19 BUG_ON(!static_key_enabled(work->key)); in once_deferred() 20 static_branch_disable(work->key); in once_deferred() 21 module_put(work->module); in once_deferred() 22 kfree(work); in once_deferred() 33 INIT_WORK(&w->work, once_deferred); in once_disable_jump() 37 schedule_work(&w->work); in once_disable_jump()
|
/linux-4.19.296/fs/ |
D | fs-writeback.c | 178 struct wb_writeback_work *work) in finish_writeback_work() argument 180 struct wb_completion *done = work->done; in finish_writeback_work() 182 if (work->auto_free) in finish_writeback_work() 183 kfree(work); in finish_writeback_work() 189 struct wb_writeback_work *work) in wb_queue_work() argument 191 trace_writeback_queue(wb, work); in wb_queue_work() 193 if (work->done) in wb_queue_work() 194 atomic_inc(&work->done->cnt); in wb_queue_work() 199 list_add_tail(&work->list, &wb->work_list); in wb_queue_work() 202 finish_writeback_work(wb, work); in wb_queue_work() [all …]
|
/linux-4.19.296/drivers/extcon/ |
D | extcon-gpio.c | 47 struct delayed_work work; member 56 static void gpio_extcon_work(struct work_struct *work) in gpio_extcon_work() argument 60 container_of(to_delayed_work(work), struct gpio_extcon_data, in gpio_extcon_work() 61 work); in gpio_extcon_work() 71 queue_delayed_work(system_power_efficient_wq, &data->work, in gpio_irq_handler() 114 INIT_DELAYED_WORK(&data->work, gpio_extcon_work); in gpio_extcon_probe() 128 gpio_extcon_work(&data->work.work); in gpio_extcon_probe() 137 cancel_delayed_work_sync(&data->work); in gpio_extcon_remove() 150 &data->work, data->debounce_jiffies); in gpio_extcon_resume()
|
D | extcon-intel-int3496.c | 36 struct delayed_work work; member 63 static void int3496_do_usb_id(struct work_struct *work) in int3496_do_usb_id() argument 66 container_of(work, struct int3496_data, work.work); in int3496_do_usb_id() 90 mod_delayed_work(system_wq, &data->work, DEBOUNCE_TIME); in int3496_thread_isr() 112 INIT_DELAYED_WORK(&data->work, int3496_do_usb_id); in int3496_probe() 158 queue_delayed_work(system_wq, &data->work, 0); in int3496_probe() 159 flush_delayed_work(&data->work); in int3496_probe() 171 cancel_delayed_work_sync(&data->work); in int3496_remove()
|
/linux-4.19.296/drivers/misc/mic/scif/ |
D | scif_dma.c | 293 void scif_mmu_notif_handler(struct work_struct *work) in scif_mmu_notif_handler() argument 329 void scif_mmu_notif_handler(struct work_struct *work) in scif_mmu_notif_handler() argument 693 iounmap_remote(void *virt, size_t size, struct scif_copy_work *work) in iounmap_remote() argument 695 scif_iounmap(virt, size, work->remote_dev); in iounmap_remote() 881 scif_rma_list_dma_copy_unaligned(struct scif_copy_work *work, in scif_rma_list_dma_copy_unaligned() argument 885 struct scif_dma_comp_cb *comp_cb = work->comp_cb; in scif_rma_list_dma_copy_unaligned() 888 size_t loop_len, nr_contig_bytes = 0, remaining_len = work->len; in scif_rma_list_dma_copy_unaligned() 899 offset = work->dst_offset; in scif_rma_list_dma_copy_unaligned() 900 window = work->dst_window; in scif_rma_list_dma_copy_unaligned() 902 offset = work->src_offset; in scif_rma_list_dma_copy_unaligned() [all …]
|
/linux-4.19.296/drivers/edac/ |
D | wq.c | 5 bool edac_queue_work(struct delayed_work *work, unsigned long delay) in edac_queue_work() argument 7 return queue_delayed_work(wq, work, delay); in edac_queue_work() 11 bool edac_mod_work(struct delayed_work *work, unsigned long delay) in edac_mod_work() argument 13 return mod_delayed_work(wq, work, delay); in edac_mod_work() 17 bool edac_stop_work(struct delayed_work *work) in edac_stop_work() argument 21 ret = cancel_delayed_work_sync(work); in edac_stop_work()
|
/linux-4.19.296/include/drm/ |
D | drm_flip_work.h | 52 typedef void (*drm_flip_func_t)(struct drm_flip_work *work, void *val); 83 void drm_flip_work_queue_task(struct drm_flip_work *work, 85 void drm_flip_work_queue(struct drm_flip_work *work, void *val); 86 void drm_flip_work_commit(struct drm_flip_work *work, 88 void drm_flip_work_init(struct drm_flip_work *work, 90 void drm_flip_work_cleanup(struct drm_flip_work *work);
|
/linux-4.19.296/drivers/s390/char/ |
D | ctrlchar.c | 21 ctrlchar_handle_sysrq(struct work_struct *work) in ctrlchar_handle_sysrq() argument 23 struct sysrq_work *sysrq = container_of(work, struct sysrq_work, work); in ctrlchar_handle_sysrq() 30 INIT_WORK(&sw->work, ctrlchar_handle_sysrq); in schedule_sysrq_work() 31 schedule_work(&sw->work); in schedule_sysrq_work()
|
/linux-4.19.296/drivers/misc/cxl/ |
D | file.c | 154 struct cxl_ioctl_start_work work; in afu_ioctl_start_work() local 162 if (copy_from_user(&work, uwork, sizeof(work))) in afu_ioctl_start_work() 175 if (work.reserved1 || work.reserved2 || work.reserved3 || in afu_ioctl_start_work() 176 work.reserved4 || work.reserved5 || in afu_ioctl_start_work() 177 (work.flags & ~CXL_START_WORK_ALL)) { in afu_ioctl_start_work() 182 if (!(work.flags & CXL_START_WORK_NUM_IRQS)) in afu_ioctl_start_work() 183 work.num_interrupts = ctx->afu->pp_irqs; in afu_ioctl_start_work() 184 else if ((work.num_interrupts < ctx->afu->pp_irqs) || in afu_ioctl_start_work() 185 (work.num_interrupts > ctx->afu->irqs_max)) { in afu_ioctl_start_work() 190 if ((rc = afu_register_irqs(ctx, work.num_interrupts))) in afu_ioctl_start_work() [all …]
|
/linux-4.19.296/fs/afs/ |
D | cmservice.c | 45 .work = SRXAFSCB_CallBack, 56 .work = SRXAFSCB_InitCallBackState, 67 .work = SRXAFSCB_InitCallBackState, 78 .work = SRXAFSCB_Probe, 89 .work = SRXAFSCB_ProbeUuid, 100 .work = SRXAFSCB_TellMeAboutYourself, 147 static void SRXAFSCB_CallBack(struct work_struct *work) in SRXAFSCB_CallBack() argument 149 struct afs_call *call = container_of(work, struct afs_call, work); in SRXAFSCB_CallBack() 279 static void SRXAFSCB_InitCallBackState(struct work_struct *work) in SRXAFSCB_InitCallBackState() argument 281 struct afs_call *call = container_of(work, struct afs_call, work); in SRXAFSCB_InitCallBackState() [all …]
|
/linux-4.19.296/lib/zlib_inflate/ |
D | inftrees.c | 24 code **table, unsigned *bits, unsigned short *work) in zlib_inflate_table() argument 133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in zlib_inflate_table() 170 base = extra = work; /* dummy value--not used */ in zlib_inflate_table() 205 if ((int)(work[sym]) < end) { in zlib_inflate_table() 207 this.val = work[sym]; in zlib_inflate_table() 209 else if ((int)(work[sym]) > end) { in zlib_inflate_table() 210 this.op = (unsigned char)(extra[work[sym]]); in zlib_inflate_table() 211 this.val = base[work[sym]]; in zlib_inflate_table() 242 len = lens[work[sym]]; in zlib_inflate_table()
|
/linux-4.19.296/drivers/char/tpm/ |
D | tpm-dev-common.c | 32 schedule_work(&priv->work); in user_reader_timeout() 35 static void timeout_work(struct work_struct *work) in timeout_work() argument 37 struct file_priv *priv = container_of(work, struct file_priv, work); in timeout_work() 51 INIT_WORK(&priv->work, timeout_work); in tpm_common_open() 64 flush_work(&priv->work); in tpm_common_read() 146 flush_work(&priv->work); in tpm_common_release()
|
/linux-4.19.296/drivers/pci/hotplug/ |
D | shpchp_ctrl.c | 24 static void interrupt_event_handler(struct work_struct *work); 38 INIT_WORK(&info->work, interrupt_event_handler); in queue_interrupt_event() 40 queue_work(p_slot->wq, &info->work); in queue_interrupt_event() 379 struct work_struct work; member 389 static void shpchp_pushbutton_thread(struct work_struct *work) in shpchp_pushbutton_thread() argument 392 container_of(work, struct pushbutton_work_info, work); in shpchp_pushbutton_thread() 418 void shpchp_queue_pushbutton_work(struct work_struct *work) in shpchp_queue_pushbutton_work() argument 420 struct slot *p_slot = container_of(work, struct slot, work.work); in shpchp_queue_pushbutton_work() 430 INIT_WORK(&info->work, shpchp_pushbutton_thread); in shpchp_queue_pushbutton_work() 444 queue_work(p_slot->wq, &info->work); in shpchp_queue_pushbutton_work() [all …]
|
/linux-4.19.296/drivers/hid/ |
D | hid-elo.c | 31 struct delayed_work work; member 136 static void elo_work(struct work_struct *work) in elo_work() argument 138 struct elo_priv *priv = container_of(work, struct elo_priv, work.work); in elo_work() 183 queue_delayed_work(wq, &priv->work, ELO_PERIODIC_READ_INTERVAL); in elo_work() 240 INIT_DELAYED_WORK(&priv->work, elo_work); in elo_probe() 259 queue_delayed_work(wq, &priv->work, ELO_PERIODIC_READ_INTERVAL); in elo_probe() 273 cancel_delayed_work_sync(&priv->work); in elo_remove()
|
/linux-4.19.296/drivers/iio/trigger/ |
D | iio-trig-sysfs.c | 20 struct irq_work work; member 94 static void iio_sysfs_trigger_work(struct irq_work *work) in iio_sysfs_trigger_work() argument 96 struct iio_sysfs_trig *trig = container_of(work, struct iio_sysfs_trig, in iio_sysfs_trigger_work() 97 work); in iio_sysfs_trigger_work() 108 irq_work_queue(&sysfs_trig->work); in iio_sysfs_trigger_poll() 165 init_irq_work(&t->work, iio_sysfs_trigger_work); in iio_sysfs_trigger_probe() 201 irq_work_sync(&t->work); in iio_sysfs_trigger_remove()
|
/linux-4.19.296/drivers/bluetooth/ |
D | bcm203x.c | 68 struct work_struct work; member 103 schedule_work(&data->work); in bcm203x_complete() 156 static void bcm203x_work(struct work_struct *work) in bcm203x_work() argument 159 container_of(work, struct bcm203x_data, work); in bcm203x_work() 239 INIT_WORK(&data->work, bcm203x_work); in bcm203x_probe() 244 schedule_work(&data->work); in bcm203x_probe() 256 cancel_work_sync(&data->work); in bcm203x_disconnect()
|