/linux-4.1.27/virt/kvm/ |
D | async_pf.c | 32 struct kvm_async_pf *work) in kvm_async_page_present_sync() argument 35 kvm_arch_async_page_present(vcpu, work); in kvm_async_page_present_sync() 39 struct kvm_async_pf *work) in kvm_async_page_present_async() argument 42 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() 108 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local 110 typeof(*work), queue); in kvm_clear_async_pf_completion_queue() 111 list_del(&work->queue); in kvm_clear_async_pf_completion_queue() 114 flush_work(&work->work); in kvm_clear_async_pf_completion_queue() [all …]
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_flip_work.c | 54 void drm_flip_work_queue_task(struct drm_flip_work *work, in drm_flip_work_queue_task() argument 59 spin_lock_irqsave(&work->lock, flags); in drm_flip_work_queue_task() 60 list_add_tail(&task->node, &work->queued); in drm_flip_work_queue_task() 61 spin_unlock_irqrestore(&work->lock, flags); in drm_flip_work_queue_task() 73 void drm_flip_work_queue(struct drm_flip_work *work, void *val) in drm_flip_work_queue() argument 80 drm_flip_work_queue_task(work, task); in drm_flip_work_queue() 82 DRM_ERROR("%s could not allocate task!\n", work->name); in drm_flip_work_queue() 83 work->func(work, val); in drm_flip_work_queue() 98 void drm_flip_work_commit(struct drm_flip_work *work, in drm_flip_work_commit() argument 103 spin_lock_irqsave(&work->lock, flags); in drm_flip_work_commit() [all …]
|
/linux-4.1.27/kernel/ |
D | task_work.c | 25 task_work_add(struct task_struct *task, struct callback_head *work, bool notify) in task_work_add() argument 33 work->next = head; in task_work_add() 34 } while (cmpxchg(&task->task_works, head, work) != head); in task_work_add() 56 struct callback_head *work; in task_work_cancel() local 65 while ((work = ACCESS_ONCE(*pprev))) { in task_work_cancel() 67 if (work->func != func) in task_work_cancel() 68 pprev = &work->next; in task_work_cancel() 69 else if (cmpxchg(pprev, work, work->next) == work) in task_work_cancel() 74 return work; in task_work_cancel() 88 struct callback_head *work, *head, *next; in task_work_run() local [all …]
|
D | irq_work.c | 29 static bool irq_work_claim(struct irq_work *work) in irq_work_claim() argument 37 flags = work->flags & ~IRQ_WORK_PENDING; in irq_work_claim() 40 oflags = cmpxchg(&work->flags, flags, nflags); in irq_work_claim() 66 bool irq_work_queue_on(struct irq_work *work, int cpu) in irq_work_queue_on() argument 75 if (!irq_work_claim(work)) in irq_work_queue_on() 78 if (llist_add(&work->llnode, &per_cpu(raised_list, cpu))) in irq_work_queue_on() 87 bool irq_work_queue(struct irq_work *work) in irq_work_queue() argument 90 if (!irq_work_claim(work)) in irq_work_queue() 97 if (work->flags & IRQ_WORK_LAZY) { in irq_work_queue() 98 if (llist_add(&work->llnode, this_cpu_ptr(&lazy_list)) && in irq_work_queue() [all …]
|
D | workqueue.c | 430 struct work_struct *work = addr; in work_fixup_init() local 434 cancel_work_sync(work); in work_fixup_init() 435 debug_object_init(work, &work_debug_descr); in work_fixup_init() 449 struct work_struct *work = addr; in work_fixup_activate() local 459 if (test_bit(WORK_STRUCT_STATIC_BIT, work_data_bits(work))) { in work_fixup_activate() 460 debug_object_init(work, &work_debug_descr); in work_fixup_activate() 461 debug_object_activate(work, &work_debug_descr); in work_fixup_activate() 481 struct work_struct *work = addr; in work_fixup_free() local 485 cancel_work_sync(work); in work_fixup_free() 486 debug_object_free(work, &work_debug_descr); in work_fixup_free() [all …]
|
D | kthread.c | 549 struct kthread_work *work; in kthread_worker_fn() local 564 work = NULL; in kthread_worker_fn() 567 work = list_first_entry(&worker->work_list, in kthread_worker_fn() 569 list_del_init(&work->node); in kthread_worker_fn() 571 worker->current_work = work; in kthread_worker_fn() 574 if (work) { in kthread_worker_fn() 576 work->func(work); in kthread_worker_fn() 587 struct kthread_work *work, in insert_kthread_work() argument 592 list_add_tail(&work->node, pos); in insert_kthread_work() 593 work->worker = worker; in insert_kthread_work() [all …]
|
D | stop_machine.c | 74 static void cpu_stop_queue_work(unsigned int cpu, struct cpu_stop_work *work) in cpu_stop_queue_work() argument 84 list_add_tail(&work->list, &stopper->works); in cpu_stop_queue_work() 87 cpu_stop_signal_done(work->done, false); in cpu_stop_queue_work() 119 struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done }; in stop_one_cpu() local 122 cpu_stop_queue_work(cpu, &work); in stop_one_cpu() 334 struct cpu_stop_work *work; in queue_stop_cpus_work() local 339 work = &per_cpu(stop_cpus_work, cpu); in queue_stop_cpus_work() 340 work->fn = fn; in queue_stop_cpus_work() 341 work->arg = arg; in queue_stop_cpus_work() 342 work->done = done; in queue_stop_cpus_work() [all …]
|
D | async.c | 74 struct work_struct work; member 109 static void async_run_entry_fn(struct work_struct *work) in async_run_entry_fn() argument 112 container_of(work, struct async_entry, work); in async_run_entry_fn() 173 INIT_WORK(&entry->work, async_run_entry_fn); in __async_schedule() 194 queue_work(system_unbound_wq, &entry->work); in __async_schedule()
|
D | jump_label.c | 78 unsigned long rate_limit, struct delayed_work *work) in __static_key_slow_dec() argument 88 schedule_delayed_work(work, rate_limit); in __static_key_slow_dec() 98 static void jump_label_update_timeout(struct work_struct *work) in jump_label_update_timeout() argument 101 container_of(work, struct static_key_deferred, work.work); in jump_label_update_timeout() 115 __static_key_slow_dec(&key->key, key->timeout, &key->work); in static_key_slow_dec_deferred() 124 INIT_DELAYED_WORK(&key->work, jump_label_update_timeout); in jump_label_rate_limit()
|
/linux-4.1.27/include/trace/events/ |
D | workqueue.h | 12 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 …]
|
D | writeback.h | 175 TP_PROTO(struct backing_dev_info *bdi, struct wb_writeback_work *work), 176 TP_ARGS(bdi, work), 190 __entry->nr_pages = work->nr_pages; 191 __entry->sb_dev = work->sb ? work->sb->s_dev : 0; 192 __entry->sync_mode = work->sync_mode; 193 __entry->for_kupdate = work->for_kupdate; 194 __entry->range_cyclic = work->range_cyclic; 195 __entry->for_background = work->for_background; 196 __entry->reason = work->reason; 212 TP_PROTO(struct backing_dev_info *bdi, struct wb_writeback_work *work), \ [all …]
|
D | btrfs.h | 991 TP_PROTO(struct btrfs_work *work), 993 TP_ARGS(work), 996 __field( void *, work ) 1005 __entry->work = work; 1006 __entry->wq = work->wq; 1007 __entry->func = work->func; 1008 __entry->ordered_func = work->ordered_func; 1009 __entry->ordered_free = work->ordered_free; 1010 __entry->normal_work = &work->normal_work; 1015 __entry->work, __entry->normal_work, __entry->wq, [all …]
|
/linux-4.1.27/drivers/staging/octeon/ |
D | ethernet-rx.c | 87 static inline int cvm_oct_check_rcv_error(cvmx_wqe_t *work) in cvm_oct_check_rcv_error() argument 89 if ((work->word2.snoip.err_code == 10) && (work->len <= 64)) { in cvm_oct_check_rcv_error() 98 && ((work->word2.snoip.err_code == 5) in cvm_oct_check_rcv_error() 99 || (work->word2.snoip.err_code == 7))) { in cvm_oct_check_rcv_error() 109 int interface = cvmx_helper_get_interface_num(work->ipprt); in cvm_oct_check_rcv_error() 110 int index = cvmx_helper_get_interface_index_num(work->ipprt); in cvm_oct_check_rcv_error() 118 cvmx_phys_to_ptr(work->packet_ptr.s.addr); in cvm_oct_check_rcv_error() 121 while (i < work->len - 1) { in cvm_oct_check_rcv_error() 133 work->packet_ptr.s.addr += i + 1; in cvm_oct_check_rcv_error() 134 work->len -= i + 5; in cvm_oct_check_rcv_error() [all …]
|
D | ethernet-tx.c | 564 cvmx_wqe_t *work = cvmx_fpa_alloc(CVMX_FPA_WQE_POOL); in cvm_oct_xmit_pow() local 566 if (unlikely(work == NULL)) { in cvm_oct_xmit_pow() 579 cvmx_fpa_free(work, CVMX_FPA_WQE_POOL, DONT_WRITEBACK(1)); in cvm_oct_xmit_pow() 608 work->hw_chksum = skb->csum; in cvm_oct_xmit_pow() 609 work->len = skb->len; in cvm_oct_xmit_pow() 610 work->ipprt = priv->port; in cvm_oct_xmit_pow() 611 work->qos = priv->port & 0x7; in cvm_oct_xmit_pow() 612 work->grp = pow_send_group; in cvm_oct_xmit_pow() 613 work->tag_type = CVMX_HELPER_INPUT_TAG_TYPE; in cvm_oct_xmit_pow() 614 work->tag = pow_send_group; /* FIXME */ in cvm_oct_xmit_pow() [all …]
|
/linux-4.1.27/fs/btrfs/ |
D | async-thread.c | 57 static void normal_work_helper(struct btrfs_work *work); 62 struct btrfs_work *work = container_of(arg, struct btrfs_work, \ 64 normal_work_helper(work); \ 226 struct btrfs_work *work; in run_ordered_work() local 234 work = list_entry(list->next, struct btrfs_work, in run_ordered_work() 236 if (!test_bit(WORK_DONE_BIT, &work->flags)) in run_ordered_work() 245 if (test_and_set_bit(WORK_ORDER_DONE_BIT, &work->flags)) in run_ordered_work() 247 trace_btrfs_ordered_sched(work); in run_ordered_work() 249 work->ordered_func(work); in run_ordered_work() 253 list_del(&work->ordered_list); in run_ordered_work() [all …]
|
D | async-thread.h | 72 void btrfs_init_work(struct btrfs_work *work, btrfs_work_func_t helper, 77 struct btrfs_work *work); 80 void btrfs_set_work_high_priority(struct btrfs_work *work);
|
/linux-4.1.27/include/linux/ |
D | completion.h | 30 #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
|
D | workqueue.h | 19 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)), \ 181 extern void __init_work(struct work_struct *work, int onstack); 182 extern void destroy_work_on_stack(struct work_struct *work); 183 extern void destroy_delayed_work_on_stack(struct delayed_work *work); [all …]
|
D | kthread.h | 64 typedef void (*kthread_work_func_t)(struct kthread_work *work); 84 #define KTHREAD_WORK_INIT(work, fn) { \ argument 85 .node = LIST_HEAD_INIT((work).node), \ 92 #define DEFINE_KTHREAD_WORK(work, fn) \ argument 93 struct kthread_work work = KTHREAD_WORK_INIT(work, fn) 117 #define init_kthread_work(work, fn) \ argument 119 memset((work), 0, sizeof(struct kthread_work)); \ 120 INIT_LIST_HEAD(&(work)->node); \ 121 (work)->func = (fn); \ 127 struct kthread_work *work); [all …]
|
D | irq_work.h | 27 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() 35 bool irq_work_queue(struct irq_work *work); 38 bool irq_work_queue_on(struct irq_work *work, int cpu); 42 void irq_work_sync(struct irq_work *work);
|
D | stop_machine.h | 42 struct work_struct work; member 57 static void stop_one_cpu_nowait_workfn(struct work_struct *work) in stop_one_cpu_nowait_workfn() argument 60 container_of(work, struct cpu_stop_work, work); in stop_one_cpu_nowait_workfn() 71 INIT_WORK(&work_buf->work, stop_one_cpu_nowait_workfn); in stop_one_cpu_nowait() 74 schedule_work(&work_buf->work); in stop_one_cpu_nowait()
|
D | srcu.h | 59 struct delayed_work work; member 85 void process_srcu(struct work_struct *work); 97 .work = __DELAYED_WORK_INITIALIZER(name.work, process_srcu, 0),\
|
/linux-4.1.27/fs/ |
D | fs-writeback.c | 121 struct wb_writeback_work *work) in bdi_queue_work() argument 123 trace_writeback_queue(bdi, work); in bdi_queue_work() 127 if (work->done) in bdi_queue_work() 128 complete(work->done); in bdi_queue_work() 131 list_add_tail(&work->list, &bdi->work_list); in bdi_queue_work() 141 struct wb_writeback_work *work; in __bdi_start_writeback() local 147 work = kzalloc(sizeof(*work), GFP_ATOMIC); in __bdi_start_writeback() 148 if (!work) { in __bdi_start_writeback() 154 work->sync_mode = WB_SYNC_NONE; in __bdi_start_writeback() 155 work->nr_pages = nr_pages; in __bdi_start_writeback() [all …]
|
D | sync.c | 117 static void do_sync_work(struct work_struct *work) in do_sync_work() argument 132 kfree(work); in do_sync_work() 137 struct work_struct *work; in emergency_sync() local 139 work = kmalloc(sizeof(*work), GFP_ATOMIC); in emergency_sync() 140 if (work) { in emergency_sync() 141 INIT_WORK(work, do_sync_work); in emergency_sync() 142 schedule_work(work); in emergency_sync()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_user_pages.c | 187 struct work_struct work; member 194 struct ipath_user_pages_work *work = in user_pages_account() local 195 container_of(_work, struct ipath_user_pages_work, work); in user_pages_account() 197 down_write(&work->mm->mmap_sem); in user_pages_account() 198 work->mm->pinned_vm -= work->num_pages; in user_pages_account() 199 up_write(&work->mm->mmap_sem); in user_pages_account() 200 mmput(work->mm); in user_pages_account() 201 kfree(work); in user_pages_account() 206 struct ipath_user_pages_work *work; in ipath_release_user_pages_on_close() local 215 work = kmalloc(sizeof(*work), GFP_KERNEL); in ipath_release_user_pages_on_close() [all …]
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
D | sta.h | 61 void cw1200_event_handler(struct work_struct *work); 62 void cw1200_bss_loss_work(struct work_struct *work); 63 void cw1200_bss_params_work(struct work_struct *work); 64 void cw1200_keep_alive_work(struct work_struct *work); 65 void cw1200_tx_failure_work(struct work_struct *work); 81 void cw1200_join_timeout(struct work_struct *work); 82 void cw1200_unjoin_work(struct work_struct *work); 83 void cw1200_join_complete_work(struct work_struct *work); 84 void cw1200_wep_key_work(struct work_struct *work); 87 void cw1200_update_filtering_work(struct work_struct *work); [all …]
|
D | scan.h | 26 struct work_struct work; member 45 void cw1200_scan_work(struct work_struct *work); 46 void cw1200_scan_timeout(struct work_struct *work); 47 void cw1200_clear_recent_scan_work(struct work_struct *work); 54 void cw1200_probe_work(struct work_struct *work);
|
D | txrx.h | 56 void tx_policy_upload_work(struct work_struct *work); 85 void cw1200_tx_timeout(struct work_struct *work); 96 void cw1200_link_id_reset(struct work_struct *work); 102 void cw1200_link_id_work(struct work_struct *work); 103 void cw1200_link_id_gc_work(struct work_struct *work);
|
D | scan.c | 127 queue_work(priv->workqueue, &priv->scan.work); in cw1200_hw_scan() 131 void cw1200_scan_work(struct work_struct *work) in cw1200_scan_work() argument 133 struct cw1200_common *priv = container_of(work, struct cw1200_common, in cw1200_scan_work() 134 scan.work); in cw1200_scan_work() 150 cw1200_join_timeout(&priv->join_timeout.work); in cw1200_scan_work() 264 queue_work(priv->workqueue, &priv->scan.work); in cw1200_scan_work() 297 cw1200_scan_work(&priv->scan.work); in cw1200_scan_complete() 327 void cw1200_clear_recent_scan_work(struct work_struct *work) in cw1200_clear_recent_scan_work() argument 330 container_of(work, struct cw1200_common, in cw1200_clear_recent_scan_work() 331 clear_recent_scan_work.work); in cw1200_clear_recent_scan_work() [all …]
|
/linux-4.1.27/drivers/infiniband/core/ |
D | cm.c | 186 struct delayed_work work; member 197 struct cm_work work; /* Must be first. */ member 247 static void cm_work_handler(struct work_struct *work); 578 __be32 remote_id = timewait_info->work.remote_id; in cm_insert_remote_id() 584 if (be32_lt(remote_id, cur_timewait_info->work.remote_id)) in cm_insert_remote_id() 586 else if (be32_gt(remote_id, cur_timewait_info->work.remote_id)) in cm_insert_remote_id() 610 if (be32_lt(remote_id, timewait_info->work.remote_id)) in cm_find_remote_id() 612 else if (be32_gt(remote_id, timewait_info->work.remote_id)) in cm_find_remote_id() 733 struct cm_work *work; in cm_dequeue_work() local 738 work = list_entry(cm_id_priv->work_list.next, struct cm_work, list); in cm_dequeue_work() [all …]
|
D | iwcm.c | 62 struct work_struct work; member 109 struct iwcm_work *work; in get_work() local 113 work = list_entry(cm_id_priv->work_free_list.next, struct iwcm_work, in get_work() 115 list_del_init(&work->free_list); in get_work() 116 return work; in get_work() 119 static void put_work(struct iwcm_work *work) in put_work() argument 121 list_add(&work->free_list, &work->cm_id->work_free_list); in put_work() 134 struct iwcm_work *work; in alloc_work_entries() local 138 work = kmalloc(sizeof(struct iwcm_work), GFP_KERNEL); in alloc_work_entries() 139 if (!work) { in alloc_work_entries() [all …]
|
D | cache.c | 56 struct work_struct work; member 329 struct ib_update_work *work = in ib_cache_task() local 330 container_of(_work, struct ib_update_work, work); in ib_cache_task() 332 ib_cache_update(work->device, work->port_num); in ib_cache_task() 333 kfree(work); in ib_cache_task() 339 struct ib_update_work *work; in ib_cache_event() local 348 work = kmalloc(sizeof *work, GFP_ATOMIC); in ib_cache_event() 349 if (work) { in ib_cache_event() 350 INIT_WORK(&work->work, ib_cache_task); in ib_cache_event() 351 work->device = event->device; in ib_cache_event() [all …]
|
D | cma.c | 163 struct work_struct work; member 171 struct work_struct work; member 177 struct work_struct work; member 1695 struct cma_work *work = context; in cma_query_handler() local 1698 route = &work->id->id.route; in cma_query_handler() 1704 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_query_handler() 1705 work->new_state = RDMA_CM_ADDR_RESOLVED; in cma_query_handler() 1706 work->event.event = RDMA_CM_EVENT_ROUTE_ERROR; in cma_query_handler() 1707 work->event.status = status; in cma_query_handler() 1710 queue_work(cma_wq, &work->work); in cma_query_handler() [all …]
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_gem_userptr.c | 41 struct work_struct work; member 72 obj->userptr.work = NULL; in cancel_userptr() 467 __i915_mm_struct_free__worker(struct work_struct *work) in __i915_mm_struct_free__worker() argument 469 struct i915_mm_struct *mm = container_of(work, typeof(*mm), work); in __i915_mm_struct_free__worker() 484 INIT_WORK(&mm->work, __i915_mm_struct_free__worker); in __i915_mm_struct_free() 485 schedule_work(&mm->work); in __i915_mm_struct_free() 501 struct work_struct work; member 548 struct get_pages_work *work = container_of(_work, typeof(*work), work); in __i915_gem_userptr_get_pages_worker() local 549 struct drm_i915_gem_object *obj = work->obj; in __i915_gem_userptr_get_pages_worker() 567 ret = get_user_pages(work->task, mm, in __i915_gem_userptr_get_pages_worker() [all …]
|
D | intel_fbc.c | 327 struct intel_fbc_work *work = in intel_fbc_work_fn() local 329 struct intel_fbc_work, work); in intel_fbc_work_fn() 330 struct drm_device *dev = work->crtc->dev; in intel_fbc_work_fn() 334 if (work == dev_priv->fbc.fbc_work) { in intel_fbc_work_fn() 338 if (work->crtc->primary->fb == work->fb) { in intel_fbc_work_fn() 339 dev_priv->display.enable_fbc(work->crtc); in intel_fbc_work_fn() 341 dev_priv->fbc.crtc = to_intel_crtc(work->crtc); in intel_fbc_work_fn() 342 dev_priv->fbc.fb_id = work->crtc->primary->fb->base.id; in intel_fbc_work_fn() 343 dev_priv->fbc.y = work->crtc->y; in intel_fbc_work_fn() 350 kfree(work); in intel_fbc_work_fn() [all …]
|
/linux-4.1.27/arch/sparc/kernel/ |
D | sun4d_smp.c | 195 struct sun4d_ipi_work *work; in smp4d_ipi_init() local 200 work = &per_cpu(sun4d_ipi_work, cpu); in smp4d_ipi_init() 201 work->single = work->msk = work->resched = 0; in smp4d_ipi_init() 207 struct sun4d_ipi_work *work = this_cpu_ptr(&sun4d_ipi_work); in sun4d_ipi_interrupt() local 209 if (work->single) { in sun4d_ipi_interrupt() 210 work->single = 0; in sun4d_ipi_interrupt() 213 if (work->msk) { in sun4d_ipi_interrupt() 214 work->msk = 0; in sun4d_ipi_interrupt() 217 if (work->resched) { in sun4d_ipi_interrupt() 218 work->resched = 0; in sun4d_ipi_interrupt() [all …]
|
D | leon_smp.c | 276 struct leon_ipi_work *work; in leon_ipi_init() local 299 work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_init() 300 work->single = work->msk = work->resched = 0; in leon_ipi_init() 313 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_single() local 316 work->single = 1; in leon_ipi_single() 324 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_mask_one() local 327 work->msk = 1; in leon_ipi_mask_one() 335 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); in leon_ipi_resched() local 338 work->resched = 1; in leon_ipi_resched() 346 struct leon_ipi_work *work = this_cpu_ptr(&leon_ipi_work); in leonsmp_ipi_interrupt() local [all …]
|
/linux-4.1.27/fs/afs/ |
D | cmservice.c | 151 static void SRXAFSCB_CallBack(struct work_struct *work) in SRXAFSCB_CallBack() argument 153 struct afs_call *call = container_of(work, struct afs_call, work); in SRXAFSCB_CallBack() 310 INIT_WORK(&call->work, SRXAFSCB_CallBack); in afs_deliver_cb_callback() 311 queue_work(afs_wq, &call->work); in afs_deliver_cb_callback() 318 static void SRXAFSCB_InitCallBackState(struct work_struct *work) in SRXAFSCB_InitCallBackState() argument 320 struct afs_call *call = container_of(work, struct afs_call, work); in SRXAFSCB_InitCallBackState() 357 INIT_WORK(&call->work, SRXAFSCB_InitCallBackState); in afs_deliver_cb_init_call_back_state() 358 queue_work(afs_wq, &call->work); in afs_deliver_cb_init_call_back_state() 388 INIT_WORK(&call->work, SRXAFSCB_InitCallBackState); in afs_deliver_cb_init_call_back_state3() 389 queue_work(afs_wq, &call->work); in afs_deliver_cb_init_call_back_state3() [all …]
|
D | callback.c | 63 void afs_broken_callback_work(struct work_struct *work) in afs_broken_callback_work() argument 66 container_of(work, struct afs_vnode, cb_broken_work); in afs_broken_callback_work() 334 void afs_dispatch_give_up_callbacks(struct work_struct *work) in afs_dispatch_give_up_callbacks() argument 337 container_of(work, struct afs_server, cb_break_work.work); in afs_dispatch_give_up_callbacks() 361 static void afs_callback_updater(struct work_struct *work) 369 server = container_of(work, struct afs_server, updater);
|
/linux-4.1.27/net/rds/ |
D | threads.c | 139 void rds_connect_worker(struct work_struct *work) in rds_connect_worker() argument 141 struct rds_connection *conn = container_of(work, struct rds_connection, c_conn_w.work); in rds_connect_worker() 159 void rds_send_worker(struct work_struct *work) in rds_send_worker() argument 161 struct rds_connection *conn = container_of(work, struct rds_connection, c_send_w.work); in rds_send_worker() 181 void rds_recv_worker(struct work_struct *work) in rds_recv_worker() argument 183 struct rds_connection *conn = container_of(work, struct rds_connection, c_recv_w.work); in rds_recv_worker() 203 void rds_shutdown_worker(struct work_struct *work) in rds_shutdown_worker() argument 205 struct rds_connection *conn = container_of(work, struct rds_connection, c_down_w); in rds_shutdown_worker()
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | pciehp_ctrl.c | 38 static void interrupt_event_handler(struct work_struct *work); 50 INIT_WORK(&info->work, interrupt_event_handler); in queue_interrupt_event() 52 queue_work(p_slot->wq, &info->work); in queue_interrupt_event() 279 struct work_struct work; member 292 static void pciehp_power_thread(struct work_struct *work) in pciehp_power_thread() argument 295 container_of(work, struct power_work_info, work); in pciehp_power_thread() 333 void pciehp_queue_pushbutton_work(struct work_struct *work) in pciehp_queue_pushbutton_work() argument 335 struct slot *p_slot = container_of(work, struct slot, work.work); in pciehp_queue_pushbutton_work() 345 INIT_WORK(&info->work, pciehp_power_thread); in pciehp_queue_pushbutton_work() 361 queue_work(p_slot->wq, &info->work); in pciehp_queue_pushbutton_work() [all …]
|
D | shpchp_ctrl.c | 38 static void interrupt_event_handler(struct work_struct *work); 52 INIT_WORK(&info->work, interrupt_event_handler); in queue_interrupt_event() 54 queue_work(p_slot->wq, &info->work); in queue_interrupt_event() 393 struct work_struct work; member 403 static void shpchp_pushbutton_thread(struct work_struct *work) in shpchp_pushbutton_thread() argument 406 container_of(work, struct pushbutton_work_info, work); in shpchp_pushbutton_thread() 432 void shpchp_queue_pushbutton_work(struct work_struct *work) in shpchp_queue_pushbutton_work() argument 434 struct slot *p_slot = container_of(work, struct slot, work.work); in shpchp_queue_pushbutton_work() 444 INIT_WORK(&info->work, shpchp_pushbutton_thread); in shpchp_queue_pushbutton_work() 458 queue_work(p_slot->wq, &info->work); in shpchp_queue_pushbutton_work() [all …]
|
/linux-4.1.27/drivers/scsi/libsas/ |
D | sas_phy.c | 33 static void sas_phye_loss_of_signal(struct work_struct *work) in sas_phye_loss_of_signal() argument 35 struct asd_sas_event *ev = to_asd_sas_event(work); in sas_phye_loss_of_signal() 43 static void sas_phye_oob_done(struct work_struct *work) in sas_phye_oob_done() argument 45 struct asd_sas_event *ev = to_asd_sas_event(work); in sas_phye_oob_done() 52 static void sas_phye_oob_error(struct work_struct *work) in sas_phye_oob_error() argument 54 struct asd_sas_event *ev = to_asd_sas_event(work); in sas_phye_oob_error() 83 static void sas_phye_spinup_hold(struct work_struct *work) in sas_phye_spinup_hold() argument 85 struct asd_sas_event *ev = to_asd_sas_event(work); in sas_phye_spinup_hold() 97 static void sas_phye_resume_timeout(struct work_struct *work) in sas_phye_resume_timeout() argument 99 struct asd_sas_event *ev = to_asd_sas_event(work); in sas_phye_resume_timeout() [all …]
|
D | sas_event.c | 40 scsi_queue_work(ha->core.shost, &sw->work); in sas_queue_work() 44 struct sas_work *work, in sas_queue_event() argument 51 sas_queue_work(ha, work); in sas_queue_event() 114 sas_queue_event(ev, &d->pending, &d->disc_work[ev].work, ha); in sas_enable_revalidation() 124 &sas_ha->ha_events[event].work, sas_ha); in notify_ha_event() 134 &phy->port_events[event].work, ha); in notify_port_event() 144 &phy->phy_events[event].work, ha); in sas_notify_phy_event() 156 INIT_SAS_WORK(&sas_ha->ha_events[i].work, sas_ha_event_fns[i]); in sas_init_events()
|
D | sas_discover.c | 215 static void sas_probe_devices(struct work_struct *work) in sas_probe_devices() argument 218 struct sas_discovery_event *ev = to_sas_discovery_event(work); in sas_probe_devices() 243 static void sas_suspend_devices(struct work_struct *work) in sas_suspend_devices() argument 247 struct sas_discovery_event *ev = to_sas_discovery_event(work); in sas_suspend_devices() 274 static void sas_resume_devices(struct work_struct *work) in sas_resume_devices() argument 276 struct sas_discovery_event *ev = to_sas_discovery_event(work); in sas_resume_devices() 356 static void sas_destruct_devices(struct work_struct *work) in sas_destruct_devices() argument 359 struct sas_discovery_event *ev = to_sas_discovery_event(work); in sas_destruct_devices() 439 static void sas_discover_domain(struct work_struct *work) in sas_discover_domain() argument 443 struct sas_discovery_event *ev = to_sas_discovery_event(work); in sas_discover_domain() [all …]
|
D | sas_port.c | 259 void sas_porte_bytes_dmaed(struct work_struct *work) in sas_porte_bytes_dmaed() argument 261 struct asd_sas_event *ev = to_asd_sas_event(work); in sas_porte_bytes_dmaed() 269 void sas_porte_broadcast_rcvd(struct work_struct *work) in sas_porte_broadcast_rcvd() argument 271 struct asd_sas_event *ev = to_asd_sas_event(work); in sas_porte_broadcast_rcvd() 286 void sas_porte_link_reset_err(struct work_struct *work) in sas_porte_link_reset_err() argument 288 struct asd_sas_event *ev = to_asd_sas_event(work); in sas_porte_link_reset_err() 296 void sas_porte_timer_event(struct work_struct *work) in sas_porte_timer_event() argument 298 struct asd_sas_event *ev = to_asd_sas_event(work); in sas_porte_timer_event() 306 void sas_porte_hard_reset(struct work_struct *work) in sas_porte_hard_reset() argument 308 struct asd_sas_event *ev = to_asd_sas_event(work); in sas_porte_hard_reset()
|
D | sas_internal.h | 76 void sas_porte_bytes_dmaed(struct work_struct *work); 77 void sas_porte_broadcast_rcvd(struct work_struct *work); 78 void sas_porte_link_reset_err(struct work_struct *work); 79 void sas_porte_timer_event(struct work_struct *work); 80 void sas_porte_hard_reset(struct work_struct *work); 98 void sas_hae_reset(struct work_struct *work);
|
/linux-4.1.27/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.1.27/arch/powerpc/platforms/cell/ |
D | cpufreq_spudemand.c | 38 struct delayed_work work; member 58 static void spu_gov_work(struct work_struct *work) in spu_gov_work() argument 64 info = container_of(work, struct spu_gov_info_struct, work.work); in spu_gov_work() 73 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); in spu_gov_work() 79 INIT_DEFERRABLE_WORK(&info->work, spu_gov_work); in spu_gov_init_work() 80 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); in spu_gov_init_work() 85 cancel_delayed_work_sync(&info->work); in spu_gov_cancel_work()
|
/linux-4.1.27/drivers/input/misc/ |
D | da9052_onkey.c | 25 struct delayed_work work; member 53 schedule_delayed_work(&onkey->work, in da9052_onkey_query() 58 static void da9052_onkey_work(struct work_struct *work) in da9052_onkey_work() argument 60 struct da9052_onkey *onkey = container_of(work, struct da9052_onkey, in da9052_onkey_work() 61 work.work); in da9052_onkey_work() 97 INIT_DELAYED_WORK(&onkey->work, da9052_onkey_work); in da9052_onkey_probe() 126 cancel_delayed_work_sync(&onkey->work); in da9052_onkey_probe() 139 cancel_delayed_work_sync(&onkey->work); in da9052_onkey_remove()
|
D | wm831x-on.c | 32 struct delayed_work work; member 40 static void wm831x_poll_on(struct work_struct *work) in wm831x_poll_on() argument 42 struct wm831x_on *wm831x_on = container_of(work, struct wm831x_on, in wm831x_poll_on() 43 work.work); in wm831x_poll_on() 59 schedule_delayed_work(&wm831x_on->work, 100); in wm831x_poll_on() 66 schedule_delayed_work(&wm831x_on->work, 0); in wm831x_on_irq() 86 INIT_DELAYED_WORK(&wm831x_on->work, wm831x_poll_on); in wm831x_on_probe() 131 cancel_delayed_work_sync(&wm831x_on->work); in wm831x_on_remove()
|
D | da9055_onkey.c | 24 struct delayed_work work; member 51 schedule_delayed_work(&onkey->work, msecs_to_jiffies(10)); in da9055_onkey_query() 55 static void da9055_onkey_work(struct work_struct *work) in da9055_onkey_work() argument 57 struct da9055_onkey *onkey = container_of(work, struct da9055_onkey, in da9055_onkey_work() 58 work.work); in da9055_onkey_work() 110 INIT_DELAYED_WORK(&onkey->work, da9055_onkey_work); in da9055_onkey_probe() 135 cancel_delayed_work_sync(&onkey->work); in da9055_onkey_probe() 149 cancel_delayed_work_sync(&onkey->work); in da9055_onkey_remove()
|
D | gpio-beeper.c | 22 struct work_struct work; member 32 static void gpio_beeper_work(struct work_struct *work) in gpio_beeper_work() argument 34 struct gpio_beeper *beep = container_of(work, struct gpio_beeper, work); in gpio_beeper_work() 52 schedule_work(&beep->work); in gpio_beeper_event() 61 cancel_work_sync(&beep->work); in gpio_beeper_close() 83 INIT_WORK(&beep->work, gpio_beeper_work); in gpio_beeper_probe()
|
D | sirfsoc-onkey.c | 22 struct delayed_work work; member 39 static void sirfsoc_pwrc_report_event(struct work_struct *work) in sirfsoc_pwrc_report_event() argument 42 container_of(work, struct sirfsoc_pwrc_drvdata, work.work); in sirfsoc_pwrc_report_event() 45 schedule_delayed_work(&pwrcdrv->work, in sirfsoc_pwrc_report_event() 65 schedule_delayed_work(&pwrcdrv->work, in sirfsoc_pwrc_isr() 98 cancel_delayed_work_sync(&pwrcdrv->work); in sirfsoc_pwrc_close() 141 INIT_DELAYED_WORK(&pwrcdrv->work, sirfsoc_pwrc_report_event); in sirfsoc_pwrc_probe()
|
D | pm8xxx-vibrator.c | 45 struct work_struct work; member 80 static void pm8xxx_work_handler(struct work_struct *work) in pm8xxx_work_handler() argument 82 struct pm8xxx_vib *vib = container_of(work, struct pm8xxx_vib, work); in pm8xxx_work_handler() 117 cancel_work_sync(&vib->work); in pm8xxx_vib_close() 139 schedule_work(&vib->work); in pm8xxx_vib_play_effect() 163 INIT_WORK(&vib->work, pm8xxx_work_handler); in pm8xxx_vib_probe()
|
D | pwm-beeper.c | 28 struct work_struct work; member 45 static void pwm_beeper_work(struct work_struct *work) in pwm_beeper_work() argument 48 container_of(work, struct pwm_beeper, work); in pwm_beeper_work() 76 schedule_work(&beeper->work); in pwm_beeper_event() 83 cancel_work_sync(&beeper->work); in pwm_beeper_stop() 118 INIT_WORK(&beeper->work, pwm_beeper_work); in pwm_beeper_probe()
|
D | arizona-haptics.c | 28 struct work_struct work; member 34 static void arizona_haptics_work(struct work_struct *work) in arizona_haptics_work() argument 36 struct arizona_haptics *haptics = container_of(work, in arizona_haptics_work() 38 work); in arizona_haptics_work() 136 schedule_work(&haptics->work); in arizona_haptics_play() 145 cancel_work_sync(&haptics->work); in arizona_haptics_close() 171 INIT_WORK(&haptics->work, arizona_haptics_work); in arizona_haptics_probe()
|
D | regulator-haptic.c | 28 struct work_struct work; member 84 static void regulator_haptic_work(struct work_struct *work) in regulator_haptic_work() argument 86 struct regulator_haptic *haptic = container_of(work, in regulator_haptic_work() 87 struct regulator_haptic, work); in regulator_haptic_work() 106 schedule_work(&haptic->work); in regulator_haptic_play_effect() 115 cancel_work_sync(&haptic->work); in regulator_haptic_close() 160 INIT_WORK(&haptic->work, regulator_haptic_work); in regulator_haptic_probe()
|
D | max77693-haptic.c | 64 struct work_struct work; member 175 static void max77693_haptic_play_work(struct work_struct *work) in max77693_haptic_play_work() argument 178 container_of(work, struct max77693_haptic, work); in max77693_haptic_play_work() 212 schedule_work(&haptic->work); in max77693_haptic_play_effect() 237 cancel_work_sync(&haptic->work); in max77693_haptic_close() 264 INIT_WORK(&haptic->work, max77693_haptic_play_work); in max77693_haptic_probe()
|
D | max77843-haptic.c | 46 struct work_struct work; member 156 static void max77843_haptic_play_work(struct work_struct *work) in max77843_haptic_play_work() argument 159 container_of(work, struct max77843_haptic, work); in max77843_haptic_play_work() 204 schedule_work(&haptic->work); in max77843_haptic_play_effect() 233 cancel_work_sync(&haptic->work); in max77843_haptic_close() 259 INIT_WORK(&haptic->work, max77843_haptic_play_work); in max77843_haptic_probe()
|
D | max8997_haptic.c | 52 struct work_struct work; member 220 static void max8997_haptic_play_effect_work(struct work_struct *work) in max8997_haptic_play_effect_work() argument 223 container_of(work, struct max8997_haptic, work); in max8997_haptic_play_effect_work() 240 schedule_work(&chip->work); in max8997_haptic_play_effect() 249 cancel_work_sync(&chip->work); in max8997_haptic_close() 279 INIT_WORK(&chip->work, max8997_haptic_play_effect_work); in max8997_haptic_probe()
|
D | drv2667.c | 112 struct work_struct work; member 188 static void drv2667_worker(struct work_struct *work) in drv2667_worker() argument 190 struct drv2667_data *haptics = container_of(work, struct drv2667_data, work); in drv2667_worker() 246 schedule_work(&haptics->work); in drv2667_haptics_play() 256 cancel_work_sync(&haptics->work); in drv2667_close() 380 INIT_WORK(&haptics->work, drv2667_worker); in drv2667_probe()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | pcap_ts.c | 27 struct delayed_work work; member 52 schedule_delayed_work(&pcap_ts->work, 0); in pcap_ts_read_xy() 64 schedule_delayed_work(&pcap_ts->work, 0); in pcap_ts_read_xy() 75 schedule_delayed_work(&pcap_ts->work, in pcap_ts_read_xy() 88 static void pcap_ts_work(struct work_struct *work) in pcap_ts_work() argument 90 struct delayed_work *dw = container_of(work, struct delayed_work, work); in pcap_ts_work() 91 struct pcap_ts *pcap_ts = container_of(dw, struct pcap_ts, work); in pcap_ts_work() 113 schedule_delayed_work(&pcap_ts->work, 0); in pcap_ts_event_touch() 123 schedule_delayed_work(&pcap_ts->work, 0); in pcap_ts_open() 132 cancel_delayed_work_sync(&pcap_ts->work); in pcap_ts_close() [all …]
|
D | hp680_ts_input.c | 20 static void do_softint(struct work_struct *work); 23 static DECLARE_DELAYED_WORK(work, do_softint); 25 static void do_softint(struct work_struct *work) in do_softint() argument 71 schedule_delayed_work(&work, HZ / 20); in hp680_ts_interrupt() 110 cancel_delayed_work_sync(&work); in hp680_ts_init() 118 cancel_delayed_work_sync(&work); in hp680_ts_exit()
|
D | mc13783_ts.c | 39 struct delayed_work work; member 57 queue_delayed_work(priv->workq, &priv->work, 0); in mc13783_ts_handler() 109 queue_delayed_work(priv->workq, &priv->work, HZ / 50); in mc13783_ts_report_sample() 121 static void mc13783_ts_work(struct work_struct *work) in mc13783_ts_work() argument 124 container_of(work, struct mc13783_ts_priv, work.work); in mc13783_ts_work() 168 cancel_delayed_work_sync(&priv->work); in mc13783_ts_close() 182 INIT_DELAYED_WORK(&priv->work, mc13783_ts_work); in mc13783_ts_probe()
|
D | eeti_ts.c | 49 struct work_struct work; member 68 static void eeti_ts_read(struct work_struct *work) in eeti_ts_read() argument 73 container_of(work, struct eeti_ts_priv, work); in eeti_ts_read() 122 schedule_work(&priv->work); in eeti_ts_isr() 132 eeti_ts_read(&priv->work); in eeti_ts_start() 138 cancel_work_sync(&priv->work); in eeti_ts_stop() 214 INIT_WORK(&priv->work, eeti_ts_read); in eeti_ts_probe()
|
D | stmpe-ts.c | 69 struct delayed_work work; member 95 static void stmpe_work(struct work_struct *work) in stmpe_work() argument 101 container_of(work, struct stmpe_touch, work.work); in stmpe_work() 136 cancel_delayed_work_sync(&ts->work); in stmpe_ts_handler() 167 schedule_delayed_work(&ts->work, msecs_to_jiffies(50)); in stmpe_ts_handler() 261 cancel_delayed_work_sync(&ts->work); in stmpe_ts_close() 337 INIT_DELAYED_WORK(&ts->work, stmpe_work); in stmpe_input_probe()
|
/linux-4.1.27/drivers/staging/unisys/visorutil/ |
D | periodic_work.c | 29 struct delayed_work work; member 39 static void periodic_work_func(struct work_struct *work) in periodic_work_func() argument 43 pw = container_of(work, struct periodic_work, work.work); in periodic_work_func() 90 } else if (queue_delayed_work(pw->workqueue, &pw->work, in visor_periodic_work_nextperiod() 120 INIT_DELAYED_WORK(&pw->work, &periodic_work_func); in visor_periodic_work_start() 121 if (queue_delayed_work(pw->workqueue, &pw->work, in visor_periodic_work_start() 176 if (cancel_delayed_work(&pw->work)) { in visor_periodic_work_stop()
|
/linux-4.1.27/drivers/extcon/ |
D | extcon-gpio.c | 41 struct delayed_work work; member 46 static void gpio_extcon_work(struct work_struct *work) in gpio_extcon_work() argument 50 container_of(to_delayed_work(work), struct gpio_extcon_data, in gpio_extcon_work() 51 work); in gpio_extcon_work() 63 queue_delayed_work(system_power_efficient_wq, &extcon_data->work, in gpio_irq_handler() 134 INIT_DELAYED_WORK(&extcon_data->work, gpio_extcon_work); in gpio_extcon_probe() 148 gpio_extcon_work(&extcon_data->work.work); in gpio_extcon_probe() 157 cancel_delayed_work_sync(&extcon_data->work); in gpio_extcon_remove() 171 &extcon_data->work, extcon_data->debounce_jiffies); in gpio_extcon_resume()
|
/linux-4.1.27/drivers/staging/i2o/ |
D | exec-osm.c | 61 struct work_struct work; /* work struct */ member 431 struct i2o_exec_lct_notify_work *work = in i2o_exec_lct_modified() local 432 container_of(_work, struct i2o_exec_lct_notify_work, work); in i2o_exec_lct_modified() 434 struct i2o_controller *c = work->c; in i2o_exec_lct_modified() 436 kfree(work); in i2o_exec_lct_modified() 489 struct i2o_exec_lct_notify_work *work; in i2o_exec_reply() local 493 work = kmalloc(sizeof(*work), GFP_ATOMIC); in i2o_exec_reply() 494 if (!work) in i2o_exec_reply() 497 work->c = c; in i2o_exec_reply() 499 INIT_WORK(&work->work, i2o_exec_lct_modified); in i2o_exec_reply() [all …]
|
D | README | 44 This work was made possible by 50 Host adapters, hints, known to work platforms when I hit 54 Loan of initial FibreChannel disk array used for development work. 57 Funding the work done by the University of Helsinki 68 o The scsi layer seems to almost work.
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
D | rt2x00link.c | 262 &link->work, LINK_TUNE_INTERVAL); in rt2x00link_start_tuner() 267 cancel_delayed_work_sync(&rt2x00dev->link.work); in rt2x00link_stop_tuner() 317 static void rt2x00link_tuner(struct work_struct *work) in rt2x00link_tuner() argument 320 container_of(work, struct rt2x00_dev, link.work.work); in rt2x00link_tuner() 377 &link->work, LINK_TUNE_INTERVAL); in rt2x00link_tuner() 396 static void rt2x00link_watchdog(struct work_struct *work) in rt2x00link_watchdog() argument 399 container_of(work, struct rt2x00_dev, link.watchdog_work.work); in rt2x00link_watchdog() 449 static void rt2x00link_agc(struct work_struct *work) in rt2x00link_agc() argument 452 container_of(work, struct rt2x00_dev, link.agc_work.work); in rt2x00link_agc() 470 static void rt2x00link_vcocal(struct work_struct *work) in rt2x00link_vcocal() argument [all …]
|
/linux-4.1.27/Documentation/ |
D | workqueue.txt | 24 When such an asynchronous execution context is needed, a work item 29 While there are work items on the workqueue the worker executes the 30 functions associated with the work items one after the other. When 31 there is no work item left on the workqueue the worker becomes idle. 32 When a new work item gets queued, the worker begins executing again. 77 abstraction, the work item, is introduced. 79 A work item is a simple struct that holds a pointer to the function 81 wants a function to be executed asynchronously it has to set up a work 82 item pointing to that function and queue that work item on a 86 off of the queue, one after the other. If no work is queued, the [all …]
|
D | padata.txt | 4 Padata is a mechanism by which the kernel can farm work out to be done in 20 The pcpumask describes which processors will be used to execute work 23 The workqueue wq is where the work will actually be done; it should be 45 if that flag is not set, other functions will refuse to work. 97 Actually submitting work to the padata instance requires the creation of a 107 structure specific to the work to be done. Most of its fields are private to 110 be called in the process of getting the work done as we will see 113 The submission of work is done with: 119 specifies which CPU will be used for the final callback when the work is 121 padata_do_parallel() is zero on success, indicating that the work is in [all …]
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
D | tm6000-input.c | 66 struct delayed_work work; member 208 schedule_delayed_work(&ir->work, msecs_to_jiffies(URB_SUBMIT_DELAY)); in tm6000_ir_urb_received() 226 schedule_delayed_work(&ir->work, msecs_to_jiffies(10)); in tm6000_ir_urb_received() 229 static void tm6000_ir_handle_key(struct work_struct *work) in tm6000_ir_handle_key() argument 231 struct tm6000_IR *ir = container_of(work, struct tm6000_IR, work.work); in tm6000_ir_handle_key() 261 schedule_delayed_work(&ir->work, msecs_to_jiffies(ir->polling)); in tm6000_ir_handle_key() 264 static void tm6000_ir_int_work(struct work_struct *work) in tm6000_ir_int_work() argument 266 struct tm6000_IR *ir = container_of(work, struct tm6000_IR, work.work); in tm6000_ir_int_work() 282 schedule_delayed_work(&ir->work, msecs_to_jiffies(URB_SUBMIT_DELAY)); in tm6000_ir_int_work() 292 schedule_delayed_work(&ir->work, msecs_to_jiffies(URB_INT_LED_DELAY)); in tm6000_ir_int_work() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 203 struct work_struct work; member 212 struct nouveau_fence_work *work = container_of(kwork, typeof(*work), work); in nouveau_fence_work_handler() local 213 work->func(work->data); in nouveau_fence_work_handler() 214 kfree(work); in nouveau_fence_work_handler() 219 struct nouveau_fence_work *work = container_of(cb, typeof(*work), cb); in nouveau_fence_work_cb() local 221 schedule_work(&work->work); in nouveau_fence_work_cb() 228 struct nouveau_fence_work *work; in nouveau_fence_work() local 233 work = kmalloc(sizeof(*work), GFP_KERNEL); in nouveau_fence_work() 234 if (!work) { in nouveau_fence_work() 244 INIT_WORK(&work->work, nouveau_fence_work_handler); in nouveau_fence_work() [all …]
|
/linux-4.1.27/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-util.c | 89 int cvmx_helper_dump_packet(cvmx_wqe_t *work) in cvmx_helper_dump_packet() argument 98 cvmx_dprintf("Packet Length: %u\n", work->len); in cvmx_helper_dump_packet() 99 cvmx_dprintf(" Input Port: %u\n", work->ipprt); in cvmx_helper_dump_packet() 100 cvmx_dprintf(" QoS: %u\n", work->qos); in cvmx_helper_dump_packet() 101 cvmx_dprintf(" Buffers: %u\n", work->word2.s.bufs); in cvmx_helper_dump_packet() 103 if (work->word2.s.bufs == 0) { in cvmx_helper_dump_packet() 109 buffer_ptr.s.addr = cvmx_ptr_to_phys(work->packet_data); in cvmx_helper_dump_packet() 110 if (likely(!work->word2.s.not_IP)) { in cvmx_helper_dump_packet() 115 work->word2.s.ip_offset; in cvmx_helper_dump_packet() 116 buffer_ptr.s.addr += (work->word2.s.is_v6 ^ 1) << 2; in cvmx_helper_dump_packet() [all …]
|
/linux-4.1.27/include/scsi/ |
D | libsas.h | 231 struct work_struct work; member 236 INIT_WORK(&sw->work, fn); in INIT_SAS_WORK() 241 struct sas_work work; member 245 static inline struct sas_discovery_event *to_sas_discovery_event(struct work_struct *work) in to_sas_discovery_event() argument 247 struct sas_discovery_event *ev = container_of(work, typeof(*ev), work.work); in to_sas_discovery_event() 274 struct sas_work work; member 301 struct sas_work work; member 305 static inline struct asd_sas_event *to_asd_sas_event(struct work_struct *work) in to_asd_sas_event() argument 307 struct asd_sas_event *ev = container_of(work, typeof(*ev), work.work); in to_asd_sas_event() 366 struct sas_work work; member [all …]
|
/linux-4.1.27/drivers/power/ |
D | max17040_battery.c | 42 struct delayed_work work; member 179 static void max17040_work(struct work_struct *work) in max17040_work() argument 183 chip = container_of(work, struct max17040_chip, work.work); in max17040_work() 190 queue_delayed_work(system_power_efficient_wq, &chip->work, in max17040_work() 239 INIT_DEFERRABLE_WORK(&chip->work, max17040_work); in max17040_probe() 240 queue_delayed_work(system_power_efficient_wq, &chip->work, in max17040_probe() 251 cancel_delayed_work(&chip->work); in max17040_remove() 262 cancel_delayed_work(&chip->work); in max17040_suspend() 271 queue_delayed_work(system_power_efficient_wq, &chip->work, in max17040_resume()
|
D | jz4740-battery.c | 51 struct delayed_work work; member 177 mod_delayed_work(system_wq, &jz_battery->work, 0); in jz_battery_external_power_changed() 184 mod_delayed_work(system_wq, &jz_battery->work, 0); in jz_battery_charge_irq() 231 static void jz_battery_work(struct work_struct *work) in jz_battery_work() argument 235 struct jz_battery *jz_battery = container_of(work, struct jz_battery, in jz_battery_work() 236 work.work); in jz_battery_work() 239 schedule_delayed_work(&jz_battery->work, interval); in jz_battery_work() 294 INIT_DELAYED_WORK(&jz_battery->work, jz_battery_work); in jz_battery_probe() 347 schedule_delayed_work(&jz_battery->work, 0); in jz_battery_probe() 366 cancel_delayed_work_sync(&jz_battery->work); in jz_battery_remove() [all …]
|
D | da9030_battery.c | 98 struct delayed_work work; member 294 static void da9030_charging_monitor(struct work_struct *work) in da9030_charging_monitor() argument 298 charger = container_of(work, struct da9030_charger, work.work); in da9030_charging_monitor() 303 schedule_delayed_work(&charger->work, charger->interval); in da9030_charging_monitor() 409 cancel_delayed_work_sync(&charger->work); in da9030_battery_event() 410 schedule_work(&charger->work.work); in da9030_battery_event() 532 INIT_DELAYED_WORK(&charger->work, da9030_charging_monitor); in da9030_battery_probe() 533 schedule_delayed_work(&charger->work, charger->interval); in da9030_battery_probe() 562 cancel_delayed_work(&charger->work); in da9030_battery_probe() 577 cancel_delayed_work_sync(&charger->work); in da9030_battery_remove()
|
D | ltc2941-battery-gauge.c | 64 struct delayed_work work; /* Work scheduler */ member 351 static void ltc294x_work(struct work_struct *work) in ltc294x_work() argument 355 info = container_of(work, struct ltc294x_info, work.work); in ltc294x_work() 357 schedule_delayed_work(&info->work, LTC294X_WORK_DELAY * HZ); in ltc294x_work() 372 cancel_delayed_work(&info->work); in ltc294x_i2c_remove() 471 INIT_DELAYED_WORK(&info->work, ltc294x_work); in ltc294x_i2c_probe() 486 schedule_delayed_work(&info->work, LTC294X_WORK_DELAY * HZ); in ltc294x_i2c_probe() 510 cancel_delayed_work(&info->work); in ltc294x_suspend() 519 schedule_delayed_work(&info->work, LTC294X_WORK_DELAY * HZ); in ltc294x_resume()
|
D | bq27x00_battery.c | 117 struct delayed_work work; member 542 static void bq27x00_battery_poll(struct work_struct *work) in bq27x00_battery_poll() argument 545 container_of(work, struct bq27x00_device_info, work.work); in bq27x00_battery_poll() 551 set_timer_slack(&di->work.timer, poll_interval * HZ / 4); in bq27x00_battery_poll() 552 schedule_delayed_work(&di->work, poll_interval * HZ); in bq27x00_battery_poll() 687 cancel_delayed_work_sync(&di->work); in bq27x00_battery_get_property() 688 bq27x00_battery_poll(&di->work.work); in bq27x00_battery_get_property() 763 cancel_delayed_work_sync(&di->work); in bq27x00_external_power_changed() 764 schedule_delayed_work(&di->work, 0); in bq27x00_external_power_changed() 796 INIT_DELAYED_WORK(&di->work, bq27x00_battery_poll); in bq27x00_powersupply_init() [all …]
|
/linux-4.1.27/sound/aoa/core/ |
D | gpio-pmf.c | 73 static void pmf_handle_notify(struct work_struct *work) in pmf_handle_notify() argument 76 container_of(work, struct gpio_notification, work.work); in pmf_handle_notify() 88 INIT_DELAYED_WORK(&rt->headphone_notify.work, pmf_handle_notify); in pmf_gpio_init() 89 INIT_DELAYED_WORK(&rt->line_in_notify.work, pmf_handle_notify); in pmf_gpio_init() 90 INIT_DELAYED_WORK(&rt->line_out_notify.work, pmf_handle_notify); in pmf_gpio_init() 110 cancel_delayed_work_sync(&rt->headphone_notify.work); in pmf_gpio_exit() 111 cancel_delayed_work_sync(&rt->line_in_notify.work); in pmf_gpio_exit() 112 cancel_delayed_work_sync(&rt->line_out_notify.work); in pmf_gpio_exit() 127 schedule_delayed_work(¬if->work, 0); in pmf_handle_notify_irq()
|
D | gpio-feature.c | 208 static void ftr_handle_notify(struct work_struct *work) in ftr_handle_notify() argument 211 container_of(work, struct gpio_notification, work.work); in ftr_handle_notify() 273 INIT_DELAYED_WORK(&rt->headphone_notify.work, ftr_handle_notify); in ftr_gpio_init() 274 INIT_DELAYED_WORK(&rt->line_in_notify.work, ftr_handle_notify); in ftr_gpio_init() 275 INIT_DELAYED_WORK(&rt->line_out_notify.work, ftr_handle_notify); in ftr_gpio_init() 291 cancel_delayed_work_sync(&rt->headphone_notify.work); in ftr_gpio_exit() 292 cancel_delayed_work_sync(&rt->line_in_notify.work); in ftr_gpio_exit() 293 cancel_delayed_work_sync(&rt->line_out_notify.work); in ftr_gpio_exit() 303 schedule_delayed_work(¬if->work, 0); in ftr_handle_notify_irq()
|
/linux-4.1.27/drivers/misc/cxl/ |
D | file.c | 138 struct cxl_ioctl_start_work work; in afu_ioctl_start_work() local 146 if (copy_from_user(&work, uwork, in afu_ioctl_start_work() 162 if (work.reserved1 || work.reserved2 || work.reserved3 || in afu_ioctl_start_work() 163 work.reserved4 || work.reserved5 || work.reserved6 || in afu_ioctl_start_work() 164 (work.flags & ~CXL_START_WORK_ALL)) { in afu_ioctl_start_work() 169 if (!(work.flags & CXL_START_WORK_NUM_IRQS)) in afu_ioctl_start_work() 170 work.num_interrupts = ctx->afu->pp_irqs; in afu_ioctl_start_work() 171 else if ((work.num_interrupts < ctx->afu->pp_irqs) || in afu_ioctl_start_work() 172 (work.num_interrupts > ctx->afu->irqs_max)) { in afu_ioctl_start_work() 176 if ((rc = afu_register_irqs(ctx, work.num_interrupts))) in afu_ioctl_start_work() [all …]
|
/linux-4.1.27/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.1.27/drivers/leds/ |
D | leds-dac124s085.c | 28 struct work_struct work; member 41 static void dac124s085_led_work(struct work_struct *work) in dac124s085_led_work() argument 43 struct dac124s085_led *led = container_of(work, struct dac124s085_led, in dac124s085_led_work() 44 work); in dac124s085_led_work() 62 schedule_work(&led->work); in dac124s085_set_brightness() 85 INIT_WORK(&led->work, dac124s085_led_work); in dac124s085_probe() 114 cancel_work_sync(&dac->leds[i].work); in dac124s085_remove()
|
D | leds-regulator.c | 31 struct work_struct work; member 126 static void led_work(struct work_struct *work) in led_work() argument 130 led = container_of(work, struct regulator_led, work); in led_work() 140 schedule_work(&led->work); in regulator_led_brightness_set() 184 INIT_WORK(&led->work, led_work); in regulator_led_probe() 190 cancel_work_sync(&led->work); in regulator_led_probe() 208 cancel_work_sync(&led->work); in regulator_led_remove()
|
D | leds-lt3593.c | 31 struct work_struct work; member 35 static void lt3593_led_work(struct work_struct *work) in lt3593_led_work() argument 39 container_of(work, struct lt3593_led_data, work); in lt3593_led_work() 81 schedule_work(&led_dat->work); in lt3593_led_set() 114 INIT_WORK(&led_dat->work, lt3593_led_work); in create_lt3593_led() 132 cancel_work_sync(&led->work); in delete_lt3593_led()
|
D | leds-adp5520.c | 26 struct work_struct work; member 33 static void adp5520_led_work(struct work_struct *work) in adp5520_led_work() argument 35 struct adp5520_led *led = container_of(work, struct adp5520_led, work); in adp5520_led_work() 47 schedule_work(&led->work); in adp5520_led_set() 151 INIT_WORK(&led_dat->work, adp5520_led_work); in adp5520_led_probe() 175 cancel_work_sync(&led[i].work); in adp5520_led_probe() 195 cancel_work_sync(&led[i].work); in adp5520_led_remove()
|
D | leds-da9052.c | 35 struct work_struct work; member 61 static void da9052_led_work(struct work_struct *work) in da9052_led_work() argument 63 struct da9052_led *led = container_of(work, struct da9052_led, work); in da9052_led_work() 75 schedule_work(&led->work); in da9052_led_set() 142 INIT_WORK(&led[i].work, da9052_led_work); in da9052_led_probe() 171 cancel_work_sync(&led[i].work); in da9052_led_probe() 193 cancel_work_sync(&led[i].work); in da9052_led_remove()
|
D | leds-pca9532.c | 44 struct work_struct work; member 177 schedule_work(&led->work); in pca9532_set_brightness() 201 schedule_work(&led->work); in pca9532_set_blink() 219 schedule_work(&data->work); in pca9532_event() 224 static void pca9532_input_work(struct work_struct *work) in pca9532_input_work() argument 227 container_of(work, struct pca9532_data, work); in pca9532_input_work() 236 static void pca9532_led_work(struct work_struct *work) in pca9532_led_work() argument 239 led = container_of(work, struct pca9532_led, work); in pca9532_led_work() 310 cancel_work_sync(&data->leds[i].work); in pca9532_destroy_devices() 314 cancel_work_sync(&data->work); in pca9532_destroy_devices() [all …]
|
D | leds-lp8788.c | 29 struct work_struct work; member 91 static void lp8788_led_work(struct work_struct *work) in lp8788_led_work() argument 93 struct lp8788_led *led = container_of(work, struct lp8788_led, work); in lp8788_led_work() 125 schedule_work(&led->work); in lp8788_brightness_set() 152 INIT_WORK(&led->work, lp8788_led_work); in lp8788_led_probe() 176 flush_work(&led->work); in lp8788_led_remove()
|
D | leds-da903x.c | 36 struct work_struct work; member 46 static void da903x_led_work(struct work_struct *work) in da903x_led_work() argument 48 struct da903x_led *led = container_of(work, struct da903x_led, work); in da903x_led_work() 90 schedule_work(&led->work); in da903x_led_set() 124 INIT_WORK(&led->work, da903x_led_work); in da903x_led_probe()
|
D | leds-pwm.c | 30 struct work_struct work; member 54 static void led_pwm_work(struct work_struct *work) in led_pwm_work() argument 57 container_of(work, struct led_pwm_data, work); in led_pwm_work() 79 schedule_work(&led_dat->work); in led_pwm_set() 95 cancel_work_sync(&priv->leds[priv->num_leds].work); in led_pwm_cleanup() 126 INIT_WORK(&led_data->work, led_pwm_work); in led_pwm_add()
|
D | leds-wm831x-status.c | 26 struct work_struct work; member 43 static void wm831x_status_work(struct work_struct *work) in wm831x_status_work() argument 45 struct wm831x_status *led = container_of(work, struct wm831x_status, in wm831x_status_work() 46 work); in wm831x_status_work() 83 schedule_work(&led->work); in wm831x_status_set() 152 schedule_work(&led->work); in wm831x_status_blink_set() 211 schedule_work(&led->work); in wm831x_status_src_store() 265 INIT_WORK(&drvdata->work, wm831x_status_work); in wm831x_status_probe()
|
D | leds-lp3944.c | 74 struct work_struct work; member 279 schedule_work(&led->work); in lp3944_led_set_blink() 293 schedule_work(&led->work); in lp3944_led_set_brightness() 296 static void lp3944_led_work(struct work_struct *work) in lp3944_led_work() argument 300 led = container_of(work, struct lp3944_led_data, work); in lp3944_led_work() 328 INIT_WORK(&led->work, lp3944_led_work); in lp3944_configure() 367 cancel_work_sync(&data->leds[i].work); in lp3944_configure() 427 cancel_work_sync(&data->leds[i].work); in lp3944_remove()
|
D | leds-pca955x.c | 113 struct work_struct work; member 196 static void pca955x_led_work(struct work_struct *work) in pca955x_led_work() argument 204 pca955x_led = container_of(work, struct pca955x_led, work); in pca955x_led_work() 255 schedule_work(&pca955x->work); in pca955x_led_set() 333 INIT_WORK(&pca955x_led->work, pca955x_led_work); in pca955x_probe() 360 cancel_work_sync(&pca955x->leds[i].work); in pca955x_probe() 373 cancel_work_sync(&pca955x->leds[i].work); in pca955x_remove()
|
D | leds-wm8350.c | 141 static void led_work(struct work_struct *work) in led_work() argument 143 struct wm8350_led *led = container_of(work, struct wm8350_led, work); in led_work() 187 schedule_work(&led->work); in wm8350_led_set() 255 INIT_WORK(&led->work, led_work); in wm8350_led_probe() 267 flush_work(&led->work); in wm8350_led_remove()
|
D | leds-mc13783.c | 35 struct work_struct work; member 58 static void mc13xxx_led_work(struct work_struct *work) in mc13xxx_led_work() argument 60 struct mc13xxx_led *led = container_of(work, struct mc13xxx_led, work); in mc13xxx_led_work() 120 schedule_work(&led->work); in mc13xxx_led_set() 263 INIT_WORK(&leds->led[i].work, mc13xxx_led_work); in mc13xxx_led_probe() 275 cancel_work_sync(&leds->led[i].work); in mc13xxx_led_probe() 288 cancel_work_sync(&leds->led[i].work); in mc13xxx_led_remove()
|
D | leds-88pm860x.c | 36 struct work_struct work; member 72 static void pm860x_led_work(struct work_struct *work) in pm860x_led_work() argument 80 led = container_of(work, struct pm860x_led, work); in pm860x_led_work() 123 schedule_work(&data->work); in pm860x_led_set() 217 INIT_WORK(&data->work, pm860x_led_work); in pm860x_led_probe()
|
D | leds-gpio.c | 27 struct work_struct work; member 35 static void gpio_led_work(struct work_struct *work) in gpio_led_work() argument 38 container_of(work, struct gpio_led_data, work); in gpio_led_work() 66 schedule_work(&led_dat->work); in gpio_led_set() 145 INIT_WORK(&led_dat->work, gpio_led_work); in create_gpio_led() 153 cancel_work_sync(&led->work); in delete_gpio_led()
|
D | leds-pca963x.c | 115 struct work_struct work; member 183 static void pca963x_work(struct work_struct *work) in pca963x_work() argument 185 struct pca963x_led *pca963x = container_of(work, in pca963x_work() 186 struct pca963x_led, work); in pca963x_work() 212 schedule_work(&pca963x->work); in pca963x_led_set() 265 schedule_work(&pca963x->work); in pca963x_blink_set() 416 INIT_WORK(&pca963x[i].work, pca963x_work); in pca963x_probe() 439 cancel_work_sync(&pca963x[i].work); in pca963x_probe() 452 cancel_work_sync(&pca963x->leds[i].work); in pca963x_remove()
|
D | leds-lp8860.c | 106 struct work_struct work; member 215 static void lp8860_led_brightness_work(struct work_struct *work) in lp8860_led_brightness_work() argument 217 struct lp8860_led *led = container_of(work, struct lp8860_led, work); in lp8860_led_brightness_work() 253 schedule_work(&led->work); in lp8860_brightness_set() 412 INIT_WORK(&led->work, lp8860_led_brightness_work); in lp8860_probe() 451 cancel_work_sync(&led->work); in lp8860_remove()
|
/linux-4.1.27/drivers/char/tpm/ |
D | tpm-dev.c | 32 struct work_struct work; member 41 schedule_work(&priv->work); in user_reader_timeout() 44 static void timeout_work(struct work_struct *work) in timeout_work() argument 46 struct file_priv *priv = container_of(work, struct file_priv, work); in timeout_work() 79 INIT_WORK(&priv->work, timeout_work); in tpm_open() 94 flush_work(&priv->work); in tpm_read() 165 flush_work(&priv->work); in tpm_release()
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
D | cvmx-helper-util.h | 53 extern int cvmx_helper_dump_packet(cvmx_wqe_t *work); 149 static inline void cvmx_helper_free_packet_data(cvmx_wqe_t *work) in cvmx_helper_free_packet_data() argument 156 number_buffers = work->word2.s.bufs; in cvmx_helper_free_packet_data() 159 buffer_ptr = work->packet_ptr; in cvmx_helper_free_packet_data() 170 if (cvmx_ptr_to_phys(work) == start_of_buffer) { in cvmx_helper_free_packet_data()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | notify.c | 45 flush_work(¬ify->work); in nvkm_notify_put() 84 nvkm_notify_work(struct work_struct *work) in nvkm_notify_work() argument 86 struct nvkm_notify *notify = container_of(work, typeof(*notify), work); in nvkm_notify_work() 109 schedule_work(¬ify->work); in nvkm_notify_send() 133 int (*func)(struct nvkm_notify *), bool work, in nvkm_notify_init() argument 146 if (ret = 0, work) { in nvkm_notify_init() 147 INIT_WORK(¬ify->work, nvkm_notify_work); in nvkm_notify_init()
|
/linux-4.1.27/drivers/staging/speakup/ |
D | selection.c | 130 struct work_struct work; member 134 static void __speakup_paste_selection(struct work_struct *work) in __speakup_paste_selection() argument 137 container_of(work, struct speakup_paste_work, work); in __speakup_paste_selection() 171 .work = __WORK_INITIALIZER(speakup_paste_work.work, 181 schedule_work_on(WORK_CPU_UNBOUND, &speakup_paste_work.work); in speakup_paste_selection() 187 cancel_work_sync(&speakup_paste_work.work); in speakup_cancel_paste()
|
/linux-4.1.27/mm/ |
D | vmpressure.c | 73 static struct vmpressure *work_to_vmpressure(struct work_struct *work) in work_to_vmpressure() argument 75 return container_of(work, struct vmpressure, work); in work_to_vmpressure() 162 static void vmpressure_work_fn(struct work_struct *work) in vmpressure_work_fn() argument 164 struct vmpressure *vmpr = work_to_vmpressure(work); in vmpressure_work_fn() 249 schedule_work(&vmpr->work); in vmpressure() 365 INIT_WORK(&vmpr->work, vmpressure_work_fn); in vmpressure_init() 381 flush_work(&vmpr->work); in vmpressure_cleanup()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvif/ |
D | notify.c | 57 flush_work(¬ify->work); in nvif_notify_put() 105 nvif_notify_work(struct work_struct *work) in nvif_notify_work() argument 107 struct nvif_notify *notify = container_of(work, typeof(*notify), work); in nvif_notify_work() 132 schedule_work(¬ify->work); in nvif_notify() 168 int (*func)(struct nvif_notify *), bool work, u8 event, in nvif_notify_init() argument 186 if (work) { in nvif_notify_init() 187 INIT_WORK(¬ify->work, nvif_notify_work); in nvif_notify_init() 233 bool work, u8 type, void *data, u32 size, u32 reply, in nvif_notify_new() argument 238 int ret = nvif_notify_init(object, nvif_notify_del, func, work, in nvif_notify_new()
|
/linux-4.1.27/net/mac802154/ |
D | tx.c | 38 struct work_struct work; member 44 static void ieee802154_xmit_worker(struct work_struct *work) in ieee802154_xmit_worker() argument 47 container_of(work, struct ieee802154_xmit_cb, work); in ieee802154_xmit_worker() 109 INIT_WORK(&ieee802154_xmit_cb.work, ieee802154_xmit_worker); in ieee802154_tx() 113 queue_work(local->workqueue, &ieee802154_xmit_cb.work); in ieee802154_tx()
|
/linux-4.1.27/drivers/leds/trigger/ |
D | ledtrig-gpio.c | 24 struct work_struct work; member 37 schedule_work(&gpio_data->work); in gpio_trig_irq() 42 static void gpio_trig_work(struct work_struct *work) in gpio_trig_work() argument 44 struct gpio_trig_data *gpio_data = container_of(work, in gpio_trig_work() 45 struct gpio_trig_data, work); in gpio_trig_work() 123 schedule_work(&gpio_data->work); in gpio_trig_inverted_store() 150 flush_work(&gpio_data->work); in gpio_trig_gpio_store() 202 INIT_WORK(&gpio_data->work, gpio_trig_work); in gpio_trig_activate() 225 flush_work(&gpio_data->work); in gpio_trig_deactivate()
|
/linux-4.1.27/arch/sh/drivers/ |
D | push-switch.c | 33 schedule_work(&psw->work); in switch_timer() 36 static void switch_work_handler(struct work_struct *work) in switch_work_handler() argument 38 struct push_switch *psw = container_of(work, struct push_switch, work); in switch_work_handler() 80 INIT_WORK(&psw->work, switch_work_handler); in switch_drv_probe() 110 flush_work(&psw->work); in switch_drv_remove()
|
/linux-4.1.27/drivers/media/usb/au0828/ |
D | au0828-input.c | 42 struct delayed_work work; member 230 static void au0828_rc_work(struct work_struct *work) in au0828_rc_work() argument 232 struct au0828_rc *ir = container_of(work, struct au0828_rc, work.work); in au0828_rc_work() 239 schedule_delayed_work(&ir->work, msecs_to_jiffies(ir->polling)); in au0828_rc_work() 246 INIT_DELAYED_WORK(&ir->work, au0828_rc_work); in au0828_rc_start() 251 schedule_delayed_work(&ir->work, msecs_to_jiffies(ir->polling)); in au0828_rc_start() 260 cancel_delayed_work_sync(&ir->work); in au0828_rc_stop() 389 cancel_delayed_work_sync(&ir->work); in au0828_rc_suspend() 409 schedule_delayed_work(&ir->work, msecs_to_jiffies(ir->polling)); in au0828_rc_resume()
|
/linux-4.1.27/drivers/vhost/ |
D | vhost.c | 61 void vhost_work_init(struct vhost_work *work, vhost_work_fn_t fn) in vhost_work_init() argument 63 INIT_LIST_HEAD(&work->node); in vhost_work_init() 64 work->fn = fn; in vhost_work_init() 65 init_waitqueue_head(&work->done); in vhost_work_init() 66 work->flushing = 0; in vhost_work_init() 67 work->queue_seq = work->done_seq = 0; in vhost_work_init() 81 vhost_work_init(&poll->work, fn); in vhost_poll_init() 119 static bool vhost_work_seq_done(struct vhost_dev *dev, struct vhost_work *work, in vhost_work_seq_done() argument 125 left = seq - work->done_seq; in vhost_work_seq_done() 130 void vhost_work_flush(struct vhost_dev *dev, struct vhost_work *work) in vhost_work_flush() argument [all …]
|
D | vhost.h | 16 typedef void (*vhost_work_fn_t)(struct vhost_work *work); 33 struct vhost_work work; member 38 void vhost_work_init(struct vhost_work *work, vhost_work_fn_t fn); 39 void vhost_work_queue(struct vhost_dev *dev, struct vhost_work *work); 47 void vhost_work_flush(struct vhost_dev *dev, struct vhost_work *work);
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | temp.c | 80 nv_poweroff_work(struct work_struct *work) in nv_poweroff_work() argument 83 kfree(work); in nv_poweroff_work() 125 struct work_struct *work; in nvkm_therm_sensor_event() local 127 work = kmalloc(sizeof(*work), GFP_ATOMIC); in nvkm_therm_sensor_event() 128 if (work) { in nvkm_therm_sensor_event() 129 INIT_WORK(work, nv_poweroff_work); in nvkm_therm_sensor_event() 130 schedule_work(work); in nvkm_therm_sensor_event()
|
/linux-4.1.27/drivers/hid/ |
D | hid-elo.c | 31 struct delayed_work work; member 128 static void elo_work(struct work_struct *work) in elo_work() argument 130 struct elo_priv *priv = container_of(work, struct elo_priv, work.work); in elo_work() 175 queue_delayed_work(wq, &priv->work, ELO_PERIODIC_READ_INTERVAL); in elo_work() 229 INIT_DELAYED_WORK(&priv->work, elo_work); in elo_probe() 248 queue_delayed_work(wq, &priv->work, ELO_PERIODIC_READ_INTERVAL); in elo_probe()
|
D | hid-gt683r.c | 58 struct work_struct work; member 83 schedule_work(&led->work); in gt683r_brightness_set() 129 schedule_work(&led->work); in mode_store() 190 static void gt683r_led_work(struct work_struct *work) in gt683r_led_work() argument 195 struct gt683r_led *led = container_of(work, struct gt683r_led, work); in gt683r_led_work() 248 INIT_WORK(&led->work, gt683r_led_work); in gt683r_led_probe() 306 flush_work(&led->work); in gt683r_led_remove()
|
D | hid-picolcd_core.c | 81 struct picolcd_pending *work; in picolcd_send_and_wait() local 90 work = kzalloc(sizeof(*work), GFP_KERNEL); in picolcd_send_and_wait() 91 if (!work) in picolcd_send_and_wait() 94 init_completion(&work->ready); in picolcd_send_and_wait() 95 work->out_report = report; in picolcd_send_and_wait() 96 work->in_report = NULL; in picolcd_send_and_wait() 97 work->raw_size = 0; in picolcd_send_and_wait() 107 kfree(work); in picolcd_send_and_wait() 108 work = NULL; in picolcd_send_and_wait() 110 data->pending = work; in picolcd_send_and_wait() [all …]
|
D | wacom.h | 114 struct work_struct work; member 131 schedule_work(&wacom->work); in wacom_schedule_work() 147 void wacom_battery_work(struct work_struct *work);
|
D | hid-thingm.c | 59 struct work_struct work; member 134 static void thingm_work(struct work_struct *work) in thingm_work() argument 136 struct thingm_rgb *rgb = container_of(work, struct thingm_rgb, work); in thingm_work() 152 schedule_work(&led->rgb->work); in thingm_led_set() 196 INIT_WORK(&rgb->work, thingm_work); in thingm_init_rgb() 214 flush_work(&rgb->work); in thingm_remove_rgb()
|
/linux-4.1.27/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() 243 INIT_WORK(&data->work, bcm203x_work); in bcm203x_probe() 248 schedule_work(&data->work); in bcm203x_probe() 260 cancel_work_sync(&data->work); in bcm203x_disconnect()
|
D | btsdio.c | 61 struct work_struct work; member 105 static void btsdio_work(struct work_struct *work) in btsdio_work() argument 107 struct btsdio_data *data = container_of(work, struct btsdio_data, work); in btsdio_work() 286 schedule_work(&data->work); in btsdio_send_frame() 312 INIT_WORK(&data->work, btsdio_work); in btsdio_probe()
|
/linux-4.1.27/net/mac80211/ |
D | offchannel.c | 210 static void ieee80211_hw_roc_start(struct work_struct *work) in ieee80211_hw_roc_start() argument 213 container_of(work, struct ieee80211_local, hw_roc_start); in ieee80211_hw_roc_start() 297 ieee80211_queue_delayed_work(&local->hw, &roc->work, in ieee80211_start_next_roc() 332 void ieee80211_sw_roc_work(struct work_struct *work) in ieee80211_sw_roc_work() argument 335 container_of(work, struct ieee80211_roc_work, work.work); in ieee80211_sw_roc_work() 390 ieee80211_queue_delayed_work(&local->hw, &roc->work, in ieee80211_sw_roc_work() 421 static void ieee80211_hw_roc_done(struct work_struct *work) in ieee80211_hw_roc_done() argument 424 container_of(work, struct ieee80211_local, hw_roc_done); in ieee80211_hw_roc_done() 492 ieee80211_queue_delayed_work(&local->hw, &roc->work, 0); in ieee80211_roc_purge() 495 flush_delayed_work(&roc->work); in ieee80211_roc_purge()
|
/linux-4.1.27/drivers/oprofile/ |
D | cpu_buffer.c | 36 static void wq_sync_buffer(struct work_struct *work); 86 INIT_DELAYED_WORK(&b->work, wq_sync_buffer); in alloc_cpu_buffers() 108 schedule_delayed_work_on(i, &b->work, DEFAULT_TIMER_EXPIRE + i); in start_cpu_work() 125 flush_delayed_work(&b->work); in flush_cpu_work() 450 static void wq_sync_buffer(struct work_struct *work) in wq_sync_buffer() argument 453 container_of(work, struct oprofile_cpu_buffer, work.work); in wq_sync_buffer() 455 cancel_delayed_work(&b->work); in wq_sync_buffer() 462 schedule_delayed_work(&b->work, DEFAULT_TIMER_EXPIRE); in wq_sync_buffer()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | timerdev.c | 39 u_int work; member 64 dev->work = 0; in mISDN_open() 115 while (list_empty(list) && (dev->work == 0)) { in mISDN_read() 119 wait_event_interruptible(dev->wait, (dev->work || in mISDN_read() 125 if (dev->work) in mISDN_read() 126 dev->work = 0; in mISDN_read() 153 if (dev->work || !list_empty(&dev->expired)) in mISDN_poll() 157 dev->work, list_empty(&dev->expired)); in mISDN_poll() 182 dev->work = 1; in misdn_add_timer()
|
/linux-4.1.27/drivers/input/ |
D | input-polldev.c | 33 queue_delayed_work(system_freezable_wq, &dev->work, delay); in input_polldev_queue_work() 36 static void input_polled_device_work(struct work_struct *work) in input_polled_device_work() argument 39 container_of(work, struct input_polled_dev, work.work); in input_polled_device_work() 65 cancel_delayed_work_sync(&dev->work); in input_close_polled_device() 105 cancel_delayed_work_sync(&polldev->work); in input_polldev_set_poll() 311 INIT_DELAYED_WORK(&dev->work, input_polled_device_work); in input_register_polled_device()
|
/linux-4.1.27/drivers/usb/misc/ |
D | appledisplay.c | 81 struct delayed_work work; member 125 queue_delayed_work(wq, &pdata->work, 0); in appledisplay_complete() 195 static void appledisplay_work(struct work_struct *work) in appledisplay_work() argument 198 container_of(work, struct appledisplay, work.work); in appledisplay_work() 207 schedule_delayed_work(&pdata->work, HZ / 8); in appledisplay_work() 249 INIT_DELAYED_WORK(&pdata->work, appledisplay_work); in appledisplay_probe() 347 cancel_delayed_work(&pdata->work); in appledisplay_disconnect()
|
/linux-4.1.27/fs/xfs/ |
D | xfs_mru_cache.c | 113 struct delayed_work work; /* Workqueue data for reaping. */ member 217 queue_delayed_work(xfs_mru_reap_wq, &mru->work, in _xfs_mru_cache_list_insert() 277 struct work_struct *work) in _xfs_mru_cache_reap() argument 280 container_of(work, struct xfs_mru_cache, work.work); in _xfs_mru_cache_reap() 298 queue_delayed_work(xfs_mru_reap_wq, &mru->work, next); in _xfs_mru_cache_reap() 368 INIT_DELAYED_WORK(&mru->work, _xfs_mru_cache_reap); in xfs_mru_cache_create() 400 cancel_delayed_work_sync(&mru->work); in xfs_mru_cache_flush()
|
/linux-4.1.27/block/ |
D | blk-iopoll.c | 87 int work, weight; in blk_iopoll_softirq() local 107 work = 0; in blk_iopoll_softirq() 109 work = iop->poll(iop, weight); in blk_iopoll_softirq() 111 budget -= work; in blk_iopoll_softirq() 123 if (work >= weight) { in blk_iopoll_softirq()
|
/linux-4.1.27/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() 166 init_irq_work(&t->work, iio_sysfs_trigger_work); in iio_sysfs_trigger_probe()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23885-ir.c | 33 void cx23885_ir_rx_work_handler(struct work_struct *work) in cx23885_ir_rx_work_handler() argument 36 container_of(work, struct cx23885_dev, ir_rx_work); in cx23885_ir_rx_work_handler() 56 void cx23885_ir_tx_work_handler(struct work_struct *work) in cx23885_ir_tx_work_handler() argument 59 container_of(work, struct cx23885_dev, ir_tx_work); in cx23885_ir_tx_work_handler()
|
D | cimax2.c | 83 struct work_struct work; member 345 static void netup_read_ci_status(struct work_struct *work) in netup_read_ci_status() argument 348 container_of(work, struct netup_ci_state, work); in netup_read_ci_status() 397 schedule_work(&state->work); in netup_ci_slot_status() 404 schedule_work(&state->work); in netup_ci_slot_status() 518 INIT_WORK(&state->work, netup_read_ci_status); in netup_ci_init() 519 schedule_work(&state->work); in netup_ci_init()
|
D | cx23885-ir.h | 24 void cx23885_ir_rx_work_handler(struct work_struct *work); 25 void cx23885_ir_tx_work_handler(struct work_struct *work);
|
D | cx23885-av.c | 23 void cx23885_av_work_handler(struct work_struct *work) in cx23885_av_work_handler() argument 26 container_of(work, struct cx23885_dev, cx25840_work); in cx23885_av_work_handler()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | btcoex.c | 93 struct work_struct work; member 289 schedule_work(&bt_local->work); in brcmf_btcoex_timerfunc() 296 static void brcmf_btcoex_handler(struct work_struct *work) in brcmf_btcoex_handler() argument 299 btci = container_of(work, struct brcmf_btcoex_info, work); in brcmf_btcoex_handler() 392 INIT_WORK(&btci->work, brcmf_btcoex_handler); in brcmf_btcoex_attach() 414 cancel_work_sync(&cfg->btcoex->work); in brcmf_btcoex_detach() 434 schedule_work(&btci->work); in brcmf_btcoex_dhcp_start() 451 schedule_work(&btci->work); in brcmf_btcoex_dhcp_end()
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process.c | 155 static void kfd_process_wq_release(struct work_struct *work) in kfd_process_wq_release() argument 161 my_work = (struct kfd_process_release_work *) work; in kfd_process_wq_release() 191 kfree((void *)work); in kfd_process_wq_release() 196 struct kfd_process_release_work *work; in kfd_process_destroy_delayed() local 206 work = (struct kfd_process_release_work *) in kfd_process_destroy_delayed() 209 if (work) { in kfd_process_destroy_delayed() 210 INIT_WORK((struct work_struct *) work, kfd_process_wq_release); in kfd_process_destroy_delayed() 211 work->p = p; in kfd_process_destroy_delayed() 212 queue_work(kfd_process_wq, (struct work_struct *) work); in kfd_process_destroy_delayed()
|
/linux-4.1.27/net/core/ |
D | utils.c | 338 struct work_struct work; member 344 struct __net_random_once_work *work = in __net_random_once_deferred() local 345 container_of(w, struct __net_random_once_work, work); in __net_random_once_deferred() 346 BUG_ON(!static_key_enabled(work->key)); in __net_random_once_deferred() 347 static_key_slow_dec(work->key); in __net_random_once_deferred() 348 kfree(work); in __net_random_once_deferred() 359 INIT_WORK(&w->work, __net_random_once_deferred); in __net_random_once_disable_jump() 361 schedule_work(&w->work); in __net_random_once_disable_jump()
|
/linux-4.1.27/drivers/hv/ |
D | hv_util.c | 182 struct work_struct work; member 186 static void hv_set_host_time(struct work_struct *work) in hv_set_host_time() argument 190 wrk = container_of(work, struct adj_time_work, work); in hv_set_host_time() 217 INIT_WORK(&wrk->work, hv_set_host_time); in adj_guesttime() 218 schedule_work(&wrk->work); in adj_guesttime() 224 INIT_WORK(&wrk->work, hv_set_host_time); in adj_guesttime() 225 schedule_work(&wrk->work); in adj_guesttime()
|
/linux-4.1.27/drivers/gpu/drm/armada/ |
D | armada_crtc.c | 177 struct armada_frame_work *work) in armada_drm_crtc_queue_frame_work() argument 191 dcrtc->frame_work = work; in armada_drm_crtc_queue_frame_work() 205 struct armada_frame_work *work = dcrtc->frame_work; in armada_drm_crtc_complete_frame_work() local 209 armada_drm_crtc_update_regs(dcrtc, work->regs); in armada_drm_crtc_complete_frame_work() 211 if (work->event) in armada_drm_crtc_complete_frame_work() 212 drm_send_vblank_event(dev, dcrtc->num, work->event); in armada_drm_crtc_complete_frame_work() 217 __armada_drm_queue_unref_work(dcrtc->crtc.dev, work->old_fb); in armada_drm_crtc_complete_frame_work() 218 kfree(work); in armada_drm_crtc_complete_frame_work() 224 struct armada_frame_work *work; in armada_drm_crtc_finish_fb() local 235 work = kmalloc(sizeof(*work), GFP_KERNEL); in armada_drm_crtc_finish_fb() [all …]
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_display.c | 267 struct radeon_flip_work *work = in radeon_unpin_work_func() local 272 r = radeon_bo_reserve(work->old_rbo, false); in radeon_unpin_work_func() 274 r = radeon_bo_unpin(work->old_rbo); in radeon_unpin_work_func() 278 radeon_bo_unreserve(work->old_rbo); in radeon_unpin_work_func() 282 drm_gem_object_unreference_unlocked(&work->old_rbo->gem_base); in radeon_unpin_work_func() 283 kfree(work); in radeon_unpin_work_func() 353 struct radeon_flip_work *work; in radeon_crtc_handle_flip() local 361 work = radeon_crtc->flip_work; in radeon_crtc_handle_flip() 376 if (work->event) in radeon_crtc_handle_flip() 377 drm_send_vblank_event(rdev->ddev, crtc_id, work->event); in radeon_crtc_handle_flip() [all …]
|
D | radeon_mn.c | 46 struct work_struct work; member 68 static void radeon_mn_destroy(struct work_struct *work) in radeon_mn_destroy() argument 70 struct radeon_mn *rmn = container_of(work, struct radeon_mn, work); in radeon_mn_destroy() 106 INIT_WORK(&rmn->work, radeon_mn_destroy); in radeon_mn_release() 107 schedule_work(&rmn->work); in radeon_mn_release()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/ |
D | notify.h | 23 struct work_struct work; member 27 int (*func)(struct nvif_notify *), bool work, u8 type, 35 bool work, u8 type, void *data, u32 size, u32 reply,
|
/linux-4.1.27/drivers/input/keyboard/ |
D | qt2160.c | 61 struct work_struct work; member 86 static void qt2160_led_work(struct work_struct *work) in qt2160_led_work() argument 88 struct qt2160_led *led = container_of(work, struct qt2160_led, work); in qt2160_led_work() 125 schedule_work(&led->work); in qt2160_led_set() 242 static void qt2160_worker(struct work_struct *work) in qt2160_worker() argument 245 container_of(work, struct qt2160_data, dwork.work); in qt2160_worker() 308 INIT_WORK(&led->work, qt2160_led_work); in qt2160_register_leds() 329 cancel_work_sync(&qt2160->leds[i].work); in qt2160_unregister_leds()
|
D | matrix_keypad.c | 37 struct delayed_work work; member 116 static void matrix_keypad_scan(struct work_struct *work) in matrix_keypad_scan() argument 119 container_of(work, struct matrix_keypad, work.work); in matrix_keypad_scan() 191 schedule_delayed_work(&keypad->work, in matrix_keypad_interrupt() 210 schedule_delayed_work(&keypad->work, 0); in matrix_keypad_start() 221 flush_work(&keypad->work.work); in matrix_keypad_stop() 498 INIT_DELAYED_WORK(&keypad->work, matrix_keypad_scan); in matrix_keypad_probe()
|
/linux-4.1.27/drivers/usb/chipidea/ |
D | otg.c | 90 static void ci_otg_work(struct work_struct *work) in ci_otg_work() argument 92 struct ci_hdrc *ci = container_of(work, struct ci_hdrc, work); in ci_otg_work() 120 INIT_WORK(&ci->work, ci_otg_work); in ci_hdrc_otg_init()
|
/linux-4.1.27/drivers/firewire/ |
D | core-device.c | 783 queue_delayed_work(fw_workqueue, &device->work, delay); in fw_schedule_device_work() 802 static void fw_device_shutdown(struct work_struct *work) in fw_device_shutdown() argument 805 container_of(work, struct fw_device, work.work); in fw_device_shutdown() 875 static void fw_device_update(struct work_struct *work) in fw_device_update() argument 878 container_of(work, struct fw_device, work.work); in fw_device_update() 997 static void fw_device_init(struct work_struct *work) in fw_device_init() argument 1000 container_of(work, struct fw_device, work.work); in fw_device_init() 1142 static void fw_device_refresh(struct work_struct *work) in fw_device_refresh() argument 1145 container_of(work, struct fw_device, work.work); in fw_device_refresh() 1160 fw_device_update(work); in fw_device_refresh() [all …]
|
/linux-4.1.27/sound/soc/ |
D | soc-jack.c | 280 queue_delayed_work(system_power_efficient_wq, &gpio->work, in gpio_handler() 287 static void gpio_work(struct work_struct *work) in gpio_work() argument 291 gpio = container_of(work, struct snd_soc_jack_gpio, work.work); in gpio_work() 348 INIT_DELAYED_WORK(&gpios[i].work, gpio_work); in snd_soc_jack_add_gpios() 372 schedule_delayed_work(&gpios[i].work, in snd_soc_jack_add_gpios() 428 cancel_delayed_work_sync(&gpios[i].work); in snd_soc_jack_free_gpios()
|
/linux-4.1.27/drivers/media/i2c/ |
D | saa6588.c | 69 struct delayed_work work; member 332 static void saa6588_work(struct work_struct *work) in saa6588_work() argument 334 struct saa6588 *s = container_of(work, struct saa6588, work.work); in saa6588_work() 337 schedule_delayed_work(&s->work, msecs_to_jiffies(20)); in saa6588_work() 496 INIT_DELAYED_WORK(&s->work, saa6588_work); in saa6588_probe() 497 schedule_delayed_work(&s->work, 0); in saa6588_probe() 508 cancel_delayed_work_sync(&s->work); in saa6588_remove()
|
D | saa7115.c | 1636 u8 work; in saa711x_write_platform_data() local 1643 work = saa711x_read(sd, R_08_SYNC_CNTL); in saa711x_write_platform_data() 1644 work &= ~SAA7113_R_08_HTC_MASK; in saa711x_write_platform_data() 1645 work |= ((*data->saa7113_r08_htc) << SAA7113_R_08_HTC_OFFSET); in saa711x_write_platform_data() 1646 saa711x_write(sd, R_08_SYNC_CNTL, work); in saa711x_write_platform_data() 1650 work = saa711x_read(sd, R_10_CHROMA_CNTL_2); in saa711x_write_platform_data() 1651 work &= ~SAA7113_R_10_VRLN_MASK; in saa711x_write_platform_data() 1653 work |= (1 << SAA7113_R_10_VRLN_OFFSET); in saa711x_write_platform_data() 1654 saa711x_write(sd, R_10_CHROMA_CNTL_2, work); in saa711x_write_platform_data() 1658 work = saa711x_read(sd, R_10_CHROMA_CNTL_2); in saa711x_write_platform_data() [all …]
|
D | ir-kbd-i2c.c | 271 static void ir_work(struct work_struct *work) in ir_work() argument 274 struct IR_i2c *ir = container_of(work, struct IR_i2c, work.work); in ir_work() 283 schedule_delayed_work(&ir->work, msecs_to_jiffies(ir->polling_interval)); in ir_work() 448 INIT_DELAYED_WORK(&ir->work, ir_work); in ir_probe() 449 schedule_delayed_work(&ir->work, 0); in ir_probe() 464 cancel_delayed_work_sync(&ir->work); in ir_remove()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_drm_ipp.h | 42 struct work_struct work; member 113 struct work_struct work; member 176 void (*sched_event)(struct work_struct *work); 193 extern void ipp_sched_cmd(struct work_struct *work); 194 extern void ipp_sched_event(struct work_struct *work);
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_gpio.c | 64 static void ath_btcoex_period_work(struct work_struct *work) in ath_btcoex_period_work() argument 66 struct ath9k_htc_priv *priv = container_of(work, struct ath9k_htc_priv, in ath_btcoex_period_work() 67 coex_period_work.work); in ath_btcoex_period_work() 98 static void ath_btcoex_duty_cycle_work(struct work_struct *work) in ath_btcoex_duty_cycle_work() argument 100 struct ath9k_htc_priv *priv = container_of(work, struct ath9k_htc_priv, in ath_btcoex_duty_cycle_work() 101 duty_cycle_work.work); in ath_btcoex_duty_cycle_work() 226 void ath9k_led_work(struct work_struct *work) in ath9k_led_work() argument 228 struct ath9k_htc_priv *priv = container_of(work, in ath9k_led_work()
|
/linux-4.1.27/drivers/usb/phy/ |
D | phy-gpio-vbus-usb.c | 40 struct delayed_work work; member 100 static void gpio_vbus_work(struct work_struct *work) in gpio_vbus_work() argument 103 container_of(work, struct gpio_vbus_data, work.work); in gpio_vbus_work() 169 schedule_delayed_work(&gpio_vbus->work, msecs_to_jiffies(100)); in gpio_vbus_irq() 319 INIT_DELAYED_WORK(&gpio_vbus->work, gpio_vbus_work); in gpio_vbus_probe() 346 cancel_delayed_work_sync(&gpio_vbus->work); in gpio_vbus_remove()
|
/linux-4.1.27/drivers/platform/x86/ |
D | hp_accel.c | 52 struct work_struct work; member 59 static inline void delayed_set_status_worker(struct work_struct *work) in delayed_set_status_worker() argument 62 container_of(work, struct delayed_led_classdev, work); in delayed_set_status_worker() 73 schedule_work(&data->work); in delayed_sysfs_set() 373 INIT_WORK(&hpled_led.work, delayed_set_status_worker); in lis3lv02d_add() 378 flush_work(&hpled_led.work); in lis3lv02d_add() 395 flush_work(&hpled_led.work); in lis3lv02d_remove()
|
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8187/ |
D | leds.c | 25 static void led_turn_on(struct work_struct *work) in led_turn_on() argument 31 struct rtl8187_priv *priv = container_of(work, struct rtl8187_priv, in led_turn_on() 32 led_on.work); in led_turn_on() 63 static void led_turn_off(struct work_struct *work) in led_turn_off() argument 69 struct rtl8187_priv *priv = container_of(work, struct rtl8187_priv, in led_turn_off() 70 led_off.work); in led_turn_off()
|
/linux-4.1.27/Documentation/dvb/ |
D | contributors.txt | 7 for his work on the initial Linux DVB driver 11 for their continuing work on the DVB driver 25 for various fixes regarding tuning, OSD and CI stuff and his work on VDR 41 their work on the dbox2 port of the DVB driver 55 for all the work for the FlexCopII chipset by B2C2,Inc. 58 for his work on the budget drivers, the demux code, 62 for his work on calculating and checking the crc's for the
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
D | em28xx-input.c | 69 struct delayed_work work; member 354 static void em28xx_ir_work(struct work_struct *work) in em28xx_ir_work() argument 356 struct em28xx_IR *ir = container_of(work, struct em28xx_IR, work.work); in em28xx_ir_work() 362 schedule_delayed_work(&ir->work, msecs_to_jiffies(ir->polling)); in em28xx_ir_work() 369 INIT_DELAYED_WORK(&ir->work, em28xx_ir_work); in em28xx_ir_start() 370 schedule_delayed_work(&ir->work, 0); in em28xx_ir_start() 379 cancel_delayed_work_sync(&ir->work); in em28xx_ir_stop() 490 static void em28xx_query_buttons(struct work_struct *work) in em28xx_query_buttons() argument 493 container_of(work, struct em28xx, buttons_query_work.work); in em28xx_query_buttons() 866 cancel_delayed_work_sync(&ir->work); in em28xx_ir_suspend() [all …]
|
/linux-4.1.27/drivers/ps3/ |
D | ps3-vuart.c | 86 struct ps3_vuart_work work; member 673 static void ps3_vuart_work(struct work_struct *work) in ps3_vuart_work() argument 676 ps3_vuart_work_to_system_bus_dev(work); in ps3_vuart_work() 681 drv->work(dev); in ps3_vuart_work() 689 if (priv->rx_list.work.trigger) { in ps3_vuart_read_async() 701 schedule_work(&priv->rx_list.work.work); in ps3_vuart_read_async() 706 priv->rx_list.work.trigger = bytes; in ps3_vuart_read_async() 718 to_port_priv(dev)->rx_list.work.trigger = 0; in ps3_vuart_cancel_async() 807 if (priv->rx_list.work.trigger && priv->rx_list.bytes_held in ps3_vuart_handle_interrupt_rx() 808 >= priv->rx_list.work.trigger) { in ps3_vuart_handle_interrupt_rx() [all …]
|
D | vuart.h | 35 struct work_struct work; member 49 void (*work)(struct ps3_system_bus_device *); member 72 work); in ps3_vuart_work_to_system_bus_dev()
|
/linux-4.1.27/fs/ncpfs/ |
D | ncp_fs_sb.h | 149 extern void ncp_tcp_rcv_proc(struct work_struct *work); 150 extern void ncp_tcp_tx_proc(struct work_struct *work); 151 extern void ncpdgram_rcv_proc(struct work_struct *work); 152 extern void ncpdgram_timeout_proc(struct work_struct *work);
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | backlight.c | 22 static void pmac_backlight_key_worker(struct work_struct *work); 23 static void pmac_backlight_set_legacy_worker(struct work_struct *work); 100 static void pmac_backlight_key_worker(struct work_struct *work) in pmac_backlight_key_worker() argument 167 static void pmac_backlight_set_legacy_worker(struct work_struct *work) in pmac_backlight_set_legacy_worker() argument
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | core_t2.h | 492 unsigned long r0, r1, work; in t2_readq() local 496 work = (addr << 5) + T2_SPARSE_MEM + 0x18; in t2_readq() 497 r0 = *(vuip)(work); in t2_readq() 498 r1 = *(vuip)(work + (4 << 5)); in t2_readq() 540 unsigned long work; in t2_writeq() local 544 work = (addr << 5) + T2_SPARSE_MEM + 0x18; in t2_writeq() 545 *(vuip)work = b; in t2_writeq() 546 *(vuip)(work + (4 << 5)) = b >> 32; in t2_writeq()
|
/linux-4.1.27/drivers/misc/vmw_vmci/ |
D | vmci_datagram.c | 45 struct work_struct work; member 144 static void dg_delayed_dispatch(struct work_struct *work) in dg_delayed_dispatch() argument 147 container_of(work, struct delayed_datagram_info, work); in dg_delayed_dispatch() 247 INIT_WORK(&dg_info->work, dg_delayed_dispatch); in dg_dispatch_as_host() 248 schedule_work(&dg_info->work); in dg_dispatch_as_host() 391 INIT_WORK(&dg_info->work, dg_delayed_dispatch); in vmci_datagram_invoke_guest_handler() 392 schedule_work(&dg_info->work); in vmci_datagram_invoke_guest_handler()
|
D | vmci_doorbell.c | 44 struct work_struct work; member 288 static void dbell_delayed_dispatch(struct work_struct *work) in dbell_delayed_dispatch() argument 290 struct dbell_entry *entry = container_of(work, in dbell_delayed_dispatch() 291 struct dbell_entry, work); in dbell_delayed_dispatch() 321 schedule_work(&entry->work); in vmci_dbell_host_context_notify() 369 schedule_work(&dbell->work); in dbell_fire_entries() 465 INIT_WORK(&entry->work, dbell_delayed_dispatch); in vmci_doorbell_create()
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
D | omap_fbdev.c | 42 struct work_struct work; member 47 static void pan_worker(struct work_struct *work) in pan_worker() argument 49 struct omap_fbdev *fbdev = container_of(work, struct omap_fbdev, work); in pan_worker() 71 pan_worker(&fbdev->work); in omap_fbdev_pan_display() 74 queue_work(priv->wq, &fbdev->work); in omap_fbdev_pan_display() 275 INIT_WORK(&fbdev->work, pan_worker); in omap_fbdev_init()
|
/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | mac.h | 38 void ath10k_scan_timeout_work(struct work_struct *work); 40 void ath10k_offchan_tx_work(struct work_struct *work); 42 void ath10k_mgmt_over_wmi_tx_work(struct work_struct *work);
|
/linux-4.1.27/drivers/gpu/drm/sti/ |
D | sti_drm_drv.c | 37 schedule_work(&private->commit.work); in sti_drm_atomic_schedule() 71 static void sti_drm_atomic_work(struct work_struct *work) in sti_drm_atomic_work() argument 73 struct sti_drm_private *private = container_of(work, in sti_drm_atomic_work() 74 struct sti_drm_private, commit.work); in sti_drm_atomic_work() 91 flush_work(&private->commit.work); in sti_drm_atomic_commit() 146 INIT_WORK(&private->commit.work, sti_drm_atomic_work); in sti_drm_load()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | base.c | 87 nvkm_pmu_recv(struct work_struct *work) in nvkm_pmu_recv() argument 89 struct nvkm_pmu *pmu = container_of(work, struct nvkm_pmu, recv.work); in nvkm_pmu_recv() 155 schedule_work(&pmu->recv.work); in nvkm_pmu_intr() 179 flush_work(&pmu->recv.work); in _nvkm_pmu_fini() 254 INIT_WORK(&pmu->recv.work, nvkm_pmu_recv); in nvkm_pmu_create_()
|
/linux-4.1.27/Documentation/filesystems/cifs/ |
D | AUTHORS | 10 Jeremy Allison of the Samba team has done invaluable work in adding the server 16 Newbigin and others for their work on the Linux smbfs module. Thanks to 18 Workgroup for their work specifying this highly complex protocol and finally 30 Mark Hamzy (for some of the early cifs IPv6 work) 41 Jeff Layton (many, many fixes, as well as great work on the cifs Kerberos code) 43 Pavel Shilovsky (for great work adding SMB2 support, and various SMB3 features)
|
/linux-4.1.27/net/netfilter/ |
D | xt_IDLETIMER.c | 53 struct work_struct work; member 102 static void idletimer_tg_work(struct work_struct *work) in idletimer_tg_work() argument 104 struct idletimer_tg *timer = container_of(work, struct idletimer_tg, in idletimer_tg_work() 105 work); in idletimer_tg_work() 116 schedule_work(&timer->work); in idletimer_tg_expired() 152 INIT_WORK(&info->timer->work, idletimer_tg_work); in idletimer_tg_create()
|
/linux-4.1.27/sound/i2c/other/ |
D | ak4113.c | 40 static void ak4113_stats(struct work_struct *work); 60 cancel_delayed_work_sync(&chip->work); in snd_ak4113_free() 90 INIT_DELAYED_WORK(&chip->work, ak4113_stats); in snd_ak4113_create() 144 cancel_delayed_work_sync(&chip->work); in snd_ak4113_reinit() 150 schedule_delayed_work(&chip->work, HZ / 10); in snd_ak4113_reinit() 524 schedule_delayed_work(&ak4113->work, HZ / 10); in snd_ak4113_build() 632 static void ak4113_stats(struct work_struct *work) in ak4113_stats() argument 634 struct ak4113 *chip = container_of(work, struct ak4113, work.work); in ak4113_stats() 640 schedule_delayed_work(&chip->work, HZ / 10); in ak4113_stats() 647 cancel_delayed_work_sync(&chip->work); in snd_ak4113_suspend()
|
D | ak4114.c | 39 static void ak4114_stats(struct work_struct *work); 70 cancel_delayed_work_sync(&chip->work); in snd_ak4114_free() 101 INIT_DELAYED_WORK(&chip->work, ak4114_stats); in snd_ak4114_create() 159 cancel_delayed_work_sync(&chip->work); in snd_ak4114_reinit() 165 schedule_delayed_work(&chip->work, HZ / 10); in snd_ak4114_reinit() 509 schedule_delayed_work(&ak4114->work, HZ / 10); in snd_ak4114_build() 618 static void ak4114_stats(struct work_struct *work) in ak4114_stats() argument 620 struct ak4114 *chip = container_of(work, struct ak4114, work.work); in ak4114_stats() 625 schedule_delayed_work(&chip->work, HZ / 10); in ak4114_stats() 632 cancel_delayed_work_sync(&chip->work); in snd_ak4114_suspend()
|
/linux-4.1.27/kernel/rcu/ |
D | srcu.c | 108 INIT_DELAYED_WORK(&sp->work, process_srcu); in init_srcu_struct_fields() 399 queue_delayed_work(system_power_efficient_wq, &sp->work, 0); in call_srcu() 659 &sp->work, SRCU_INTERVAL); in srcu_reschedule() 665 void process_srcu(struct work_struct *work) in process_srcu() argument 669 sp = container_of(work, struct srcu_struct, work.work); in process_srcu()
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | mcg.c | 104 struct work_struct work; member 535 static void mlx4_ib_mcg_timeout_handler(struct work_struct *work) in mlx4_ib_mcg_timeout_handler() argument 537 struct delayed_work *delay = to_delayed_work(work); in mlx4_ib_mcg_timeout_handler() 574 if (!queue_work(group->demux->mcg_wq, &group->work)) in mlx4_ib_mcg_timeout_handler() 638 static void mlx4_ib_mcg_work_handler(struct work_struct *work) in mlx4_ib_mcg_work_handler() argument 648 group = container_of(work, typeof(*group), work); in mlx4_ib_mcg_work_handler() 837 INIT_WORK(&group->work, mlx4_ib_mcg_work_handler); in acquire_group() 878 if (!queue_work(group->demux->mcg_wq, &group->work)) in queue_req() 914 if (!queue_work(ctx->mcg_wq, &group->work)) in mlx4_ib_mcg_demux_handler() 1112 struct work_struct work; member [all …]
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | 11h.c | 123 void mwifiex_dfs_cac_work_queue(struct work_struct *work) in mwifiex_dfs_cac_work_queue() argument 127 container_of(work, struct delayed_work, work); in mwifiex_dfs_cac_work_queue() 265 void mwifiex_dfs_chan_sw_work_queue(struct work_struct *work) in mwifiex_dfs_chan_sw_work_queue() argument 269 container_of(work, struct delayed_work, work); in mwifiex_dfs_chan_sw_work_queue()
|
/linux-4.1.27/drivers/nfc/nxp-nci/ |
D | firmware.c | 170 schedule_work(&fw_info->work); in nxp_nci_fw_send() 181 void nxp_nci_fw_work(struct work_struct *work) in nxp_nci_fw_work() argument 187 fw_info = container_of(work, struct nxp_nci_fw_info, work); in nxp_nci_fw_work() 250 schedule_work(&fw_info->work); in nxp_nci_fw_download() 323 schedule_work(&fw_info->work); in nxp_nci_fw_recv_frame()
|
/linux-4.1.27/drivers/s390/crypto/ |
D | zcrypt_pcica.c | 288 struct completion work; in zcrypt_pcica_modexpo() local 298 ap_msg.private = &work; in zcrypt_pcica_modexpo() 302 init_completion(&work); in zcrypt_pcica_modexpo() 304 rc = wait_for_completion_interruptible(&work); in zcrypt_pcica_modexpo() 327 struct completion work; in zcrypt_pcica_modexpo_crt() local 337 ap_msg.private = &work; in zcrypt_pcica_modexpo_crt() 341 init_completion(&work); in zcrypt_pcica_modexpo_crt() 343 rc = wait_for_completion_interruptible(&work); in zcrypt_pcica_modexpo_crt()
|
/linux-4.1.27/drivers/scsi/ |
D | storvsc_drv.c | 400 struct work_struct work; member 405 static void storvsc_device_scan(struct work_struct *work) in storvsc_device_scan() argument 411 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_device_scan() 424 static void storvsc_host_scan(struct work_struct *work) in storvsc_host_scan() argument 431 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_host_scan() 463 static void storvsc_remove_lun(struct work_struct *work) in storvsc_remove_lun() argument 468 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_remove_lun() 1038 void (*process_err_fn)(struct work_struct *work); in storvsc_handle_error() 1095 INIT_WORK(&wrk->work, process_err_fn); in storvsc_handle_error() 1096 schedule_work(&wrk->work); in storvsc_handle_error() [all …]
|
/linux-4.1.27/Documentation/scsi/ |
D | LICENSE.qla4xxx | 73 0. This License applies to any program or other work which contains 76 refers to any such program or work, and a "work based on the Program" 77 means either the Program or any derivative work under copyright law: 78 that is to say, a work containing the Program or a portion of it, 86 is covered only if its contents constitute a work based on the 102 of it, thus forming a work based on the Program, and copy and 103 distribute such modifications or work under the terms of Section 1 109 b) You must cause any work that you distribute or publish, that in 122 does not normally print such an announcement, your work based on 125 These requirements apply to the modified work as a whole. If [all …]
|
D | LICENSE.qla2xxx | 74 0. This License applies to any program or other work which contains 77 refers to any such program or work, and a "work based on the Program" 78 means either the Program or any derivative work under copyright law: 79 that is to say, a work containing the Program or a portion of it, 87 is covered only if its contents constitute a work based on the 103 of it, thus forming a work based on the Program, and copy and 104 distribute such modifications or work under the terms of Section 1 110 b) You must cause any work that you distribute or publish, that in 123 does not normally print such an announcement, your work based on 126 These requirements apply to the modified work as a whole. If [all …]
|
/linux-4.1.27/Documentation/networking/ |
D | LICENSE.qlge | 72 0. This License applies to any program or other work which contains 75 refers to any such program or work, and a "work based on the Program" 76 means either the Program or any derivative work under copyright law: 77 that is to say, a work containing the Program or a portion of it, 85 is covered only if its contents constitute a work based on the 101 of it, thus forming a work based on the Program, and copy and 102 distribute such modifications or work under the terms of Section 1 108 b) You must cause any work that you distribute or publish, that in 121 does not normally print such an announcement, your work based on 124 These requirements apply to the modified work as a whole. If [all …]
|
D | LICENSE.qlcnic | 72 0. This License applies to any program or other work which contains 75 refers to any such program or work, and a "work based on the Program" 76 means either the Program or any derivative work under copyright law: 77 that is to say, a work containing the Program or a portion of it, 85 is covered only if its contents constitute a work based on the 101 of it, thus forming a work based on the Program, and copy and 102 distribute such modifications or work under the terms of Section 1 108 b) You must cause any work that you distribute or publish, that in 121 does not normally print such an announcement, your work based on 124 These requirements apply to the modified work as a whole. If [all …]
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | dpaux.c | 45 struct work_struct work; member 54 static inline struct tegra_dpaux *work_to_dpaux(struct work_struct *work) in work_to_dpaux() argument 56 return container_of(work, struct tegra_dpaux, work); in work_to_dpaux() 239 static void tegra_dpaux_hotplug(struct work_struct *work) in tegra_dpaux_hotplug() argument 241 struct tegra_dpaux *dpaux = work_to_dpaux(work); in tegra_dpaux_hotplug() 258 schedule_work(&dpaux->work); in tegra_dpaux_irq() 281 INIT_WORK(&dpaux->work, tegra_dpaux_hotplug); in tegra_dpaux_probe() 370 cancel_work_sync(&dpaux->work); in tegra_dpaux_remove()
|
/linux-4.1.27/fs/nfs/ |
D | nfs4renewd.c | 55 nfs4_renew_state(struct work_struct *work) in nfs4_renew_state() argument 59 container_of(work, struct nfs_client, cl_renewd.work); in nfs4_renew_state()
|
/linux-4.1.27/drivers/s390/scsi/ |
D | zfcp_fc.c | 97 void zfcp_fc_post_event(struct work_struct *work) in zfcp_fc_post_event() argument 101 struct zfcp_fc_events *events = container_of(work, in zfcp_fc_post_event() 102 struct zfcp_fc_events, work); in zfcp_fc_post_event() 142 queue_work(adapter->work_queue, &adapter->events.work); in zfcp_fc_enqueue_event() 170 static void zfcp_fc_wka_port_offline(struct work_struct *work) in zfcp_fc_wka_port_offline() argument 172 struct delayed_work *dw = to_delayed_work(work); in zfcp_fc_wka_port_offline() 174 container_of(dw, struct zfcp_fc_wka_port, work); in zfcp_fc_wka_port_offline() 195 schedule_delayed_work(&wka_port->work, HZ / 100); in zfcp_fc_wka_port_put() 209 INIT_DELAYED_WORK(&wka_port->work, zfcp_fc_wka_port_offline); in zfcp_fc_wka_port_init() 214 cancel_delayed_work_sync(&wka->work); in zfcp_fc_wka_port_force_offline() [all …]
|
/linux-4.1.27/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 92 struct delayed_work work; member 605 schedule_delayed_work(&st->work, in ad5933_ring_postenable() 614 cancel_delayed_work_sync(&st->work); in ad5933_ring_postdisable() 642 static void ad5933_work(struct work_struct *work) in ad5933_work() argument 644 struct ad5933_state *st = container_of(work, in ad5933_work() 645 struct ad5933_state, work.work); in ad5933_work() 655 schedule_delayed_work(&st->work, st->poll_time_jiffies); in ad5933_work() 679 schedule_delayed_work(&st->work, st->poll_time_jiffies); in ad5933_work() 691 schedule_delayed_work(&st->work, st->poll_time_jiffies); in ad5933_work() 738 INIT_DELAYED_WORK(&st->work, ad5933_work); in ad5933_probe()
|
/linux-4.1.27/drivers/rapidio/ |
D | rio.c | 1815 struct work_struct work; member 1821 struct rio_disc_work *work; in disc_work_handler() local 1823 work = container_of(_work, struct rio_disc_work, work); in disc_work_handler() 1825 work->mport->id, work->mport->name); in disc_work_handler() 1826 if (try_module_get(work->mport->nscan->owner)) { in disc_work_handler() 1827 work->mport->nscan->discover(work->mport, 0); in disc_work_handler() 1828 module_put(work->mport->nscan->owner); in disc_work_handler() 1835 struct rio_disc_work *work; in rio_init_mports() local 1874 work = kcalloc(n, sizeof *work, GFP_KERNEL); in rio_init_mports() 1875 if (!work) { in rio_init_mports() [all …]
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-imxdi.c | 129 struct work_struct work; member 382 schedule_work(&imxdi->work); in dryice_norm_irq() 393 static void dryice_work(struct work_struct *work) in dryice_work() argument 395 struct imxdi_dev *imxdi = container_of(work, in dryice_work() 396 struct imxdi_dev, work); in dryice_work() 433 INIT_WORK(&imxdi->work, dryice_work); in dryice_rtc_probe() 516 flush_work(&imxdi->work); in dryice_rtc_remove()
|
D | rtc-ds3232.c | 55 struct work_struct work; member 358 schedule_work(&ds3232->work); in ds3232_irq() 363 static void ds3232_work(struct work_struct *work) in ds3232_work() argument 365 struct ds3232 *ds3232 = container_of(work, struct ds3232, work); in ds3232_work() 422 INIT_WORK(&ds3232->work, ds3232_work); in ds3232_probe() 452 cancel_work_sync(&ds3232->work); in ds3232_remove() 481 schedule_work(&ds3232->work); in ds3232_resume()
|
/linux-4.1.27/drivers/iio/proximity/ |
D | as3935.c | 64 struct delayed_work work; member 223 static void as3935_event_work(struct work_struct *work) in as3935_event_work() argument 228 st = container_of(work, struct as3935_state, work.work); in as3935_event_work() 253 schedule_delayed_work(&st->work, msecs_to_jiffies(3)); in as3935_interrupt_handler() 346 INIT_DELAYED_WORK(&st->work, as3935_event_work); in as3935_probe()
|
/linux-4.1.27/Documentation/video4linux/ |
D | cafe_ccic | 8 QVGA modes work; CIF is there but the colors remain funky. Only the OV7670 9 sensor is known to work with this controller at this time. 11 To try it out: either of these commands will work: 34 systems, however, it will work well with only two. 37 will consent to work with. Default is one, but, on slower systems,
|
/linux-4.1.27/drivers/vfio/ |
D | virqfd.c | 88 static void virqfd_shutdown(struct work_struct *work) in virqfd_shutdown() argument 90 struct virqfd *virqfd = container_of(work, struct virqfd, shutdown); in virqfd_shutdown() 100 static void virqfd_inject(struct work_struct *work) in virqfd_inject() argument 102 struct virqfd *virqfd = container_of(work, struct virqfd, inject); in virqfd_inject()
|
/linux-4.1.27/fs/fscache/ |
D | object.c | 48 .work = f \ 54 #define transit_to(state) ({ prefetch(&STATE(state)->work); STATE(state); }) 69 .work = NULL, \ 193 ASSERT(state->work != NULL); in fscache_object_sm_dispatcher() 203 if (!state->work) { in fscache_object_sm_dispatcher() 228 new_state = state->work(object, event); in fscache_object_sm_dispatcher() 241 if (state->work) { in fscache_object_sm_dispatcher() 242 if (unlikely(state->work == ((void *)2UL))) { in fscache_object_sm_dispatcher() 266 static void fscache_object_work_func(struct work_struct *work) in fscache_object_work_func() argument 269 container_of(work, struct fscache_object, work); in fscache_object_work_func() [all …]
|
/linux-4.1.27/drivers/bus/ |
D | mips_cdmm.c | 156 struct mips_cdmm_work_dev *work = data; in mips_cdmm_void_work() local 157 void (*fn)(struct mips_cdmm_device *) = work->fn; in mips_cdmm_void_work() 159 fn(work->dev); in mips_cdmm_void_work() 172 struct mips_cdmm_work_dev *work = data; in mips_cdmm_int_work() local 173 int (*fn)(struct mips_cdmm_device *) = work->fn; in mips_cdmm_int_work() 175 return fn(work->dev); in mips_cdmm_int_work() 195 struct mips_cdmm_work_dev work = { \ 201 mips_cdmm_##_ret##_work, &work); \
|
/linux-4.1.27/Documentation/usb/ |
D | gadget_multi.txt | 22 To make use of the gadget one needs to make it work on host side -- 35 configuration with CDC ECM which should work better under Linux. 39 For the gadget two work under Windows two conditions have to be met: 53 configuration so a dual RNDIS and CDC ECM gadget won't work unless you 86 functionality. As an effect provided INFs won't work since they have 96 things don't work as intended before realising Windows have cached 103 and Windows 7, all 32-bit versions. It should work on 64-bit versions 104 as well. It most likely won't work on Windows prior to Windows XP 111 believed that it should (read: "I have no idea whether it will") work
|
/linux-4.1.27/drivers/char/hw_random/ |
D | n2-drv.c | 409 schedule_delayed_work(&np->work, 0); in n2rng_data_read() 588 static void n2rng_work(struct work_struct *work) in n2rng_work() argument 590 struct n2rng *np = container_of(work, struct n2rng, work.work); in n2rng_work() 610 schedule_delayed_work(&np->work, HZ * 2); in n2rng_work() 640 INIT_DELAYED_WORK(&np->work, n2rng_work); in n2rng_probe() 705 schedule_delayed_work(&np->work, 0); in n2rng_probe() 722 cancel_delayed_work_sync(&np->work); in n2rng_remove()
|
/linux-4.1.27/drivers/devfreq/ |
D | devfreq.c | 215 static void devfreq_monitor(struct work_struct *work) in devfreq_monitor() argument 218 struct devfreq *devfreq = container_of(work, in devfreq_monitor() 219 struct devfreq, work.work); in devfreq_monitor() 226 queue_delayed_work(devfreq_wq, &devfreq->work, in devfreq_monitor() 242 INIT_DEFERRABLE_WORK(&devfreq->work, devfreq_monitor); in devfreq_monitor_start() 244 queue_delayed_work(devfreq_wq, &devfreq->work, in devfreq_monitor_start() 259 cancel_delayed_work_sync(&devfreq->work); in devfreq_monitor_stop() 286 cancel_delayed_work_sync(&devfreq->work); in devfreq_monitor_suspend() 306 if (!delayed_work_pending(&devfreq->work) && in devfreq_monitor_resume() 308 queue_delayed_work(devfreq_wq, &devfreq->work, in devfreq_monitor_resume() [all …]
|