/linux-4.4.14/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() 112 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local 114 typeof(*work), queue); in kvm_clear_async_pf_completion_queue() 115 list_del(&work->queue); in kvm_clear_async_pf_completion_queue() 118 flush_work(&work->work); in kvm_clear_async_pf_completion_queue() [all …]
|
/linux-4.4.14/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.4.14/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 | 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 …]
|
D | writeback.h | 238 TP_PROTO(struct bdi_writeback *wb, struct wb_writeback_work *work), 239 TP_ARGS(wb, work), 254 __entry->nr_pages = work->nr_pages; 255 __entry->sb_dev = work->sb ? work->sb->s_dev : 0; 256 __entry->sync_mode = work->sync_mode; 257 __entry->for_kupdate = work->for_kupdate; 258 __entry->range_cyclic = work->range_cyclic; 259 __entry->for_background = work->for_background; 260 __entry->reason = work->reason; 278 TP_PROTO(struct bdi_writeback *wb, struct wb_writeback_work *work), \ [all …]
|
/linux-4.4.14/kernel/ |
D | task_work.c | 27 task_work_add(struct task_struct *task, struct callback_head *work, bool notify) in task_work_add() argument 35 work->next = head; in task_work_add() 36 } while (cmpxchg(&task->task_works, head, work) != head); in task_work_add() 58 struct callback_head *work; in task_work_cancel() local 67 while ((work = ACCESS_ONCE(*pprev))) { in task_work_cancel() 69 if (work->func != func) in task_work_cancel() 70 pprev = &work->next; in task_work_cancel() 71 else if (cmpxchg(pprev, work, work->next) == work) in task_work_cancel() 76 return work; in task_work_cancel() 90 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 | 425 struct work_struct *work = addr; in work_fixup_init() local 429 cancel_work_sync(work); in work_fixup_init() 430 debug_object_init(work, &work_debug_descr); in work_fixup_init() 444 struct work_struct *work = addr; in work_fixup_activate() local 454 if (test_bit(WORK_STRUCT_STATIC_BIT, work_data_bits(work))) { in work_fixup_activate() 455 debug_object_init(work, &work_debug_descr); in work_fixup_activate() 456 debug_object_activate(work, &work_debug_descr); in work_fixup_activate() 476 struct work_struct *work = addr; in work_fixup_free() local 480 cancel_work_sync(work); in work_fixup_free() 481 debug_object_free(work, &work_debug_descr); in work_fixup_free() [all …]
|
D | kthread.c | 568 struct kthread_work *work; in kthread_worker_fn() local 583 work = NULL; in kthread_worker_fn() 586 work = list_first_entry(&worker->work_list, in kthread_worker_fn() 588 list_del_init(&work->node); in kthread_worker_fn() 590 worker->current_work = work; in kthread_worker_fn() 593 if (work) { in kthread_worker_fn() 595 work->func(work); in kthread_worker_fn() 606 struct kthread_work *work, in insert_kthread_work() argument 611 list_add_tail(&work->node, pos); in insert_kthread_work() 612 work->worker = worker; in insert_kthread_work() [all …]
|
D | stop_machine.c | 77 struct cpu_stop_work *work) in __cpu_stop_queue_work() argument 79 list_add_tail(&work->list, &stopper->works); in __cpu_stop_queue_work() 84 static void cpu_stop_queue_work(unsigned int cpu, struct cpu_stop_work *work) in cpu_stop_queue_work() argument 91 __cpu_stop_queue_work(stopper, work); in cpu_stop_queue_work() 93 cpu_stop_signal_done(work->done, false); in cpu_stop_queue_work() 124 struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done }; in stop_one_cpu() local 127 cpu_stop_queue_work(cpu, &work); in stop_one_cpu() 320 struct cpu_stop_work *work; in queue_stop_cpus_work() local 330 work = &per_cpu(cpu_stopper.stop_work, cpu); in queue_stop_cpus_work() 331 work->fn = fn; 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 | 73 unsigned long rate_limit, struct delayed_work *work) in __static_key_slow_dec() argument 83 schedule_delayed_work(work, rate_limit); in __static_key_slow_dec() 90 static void jump_label_update_timeout(struct work_struct *work) in jump_label_update_timeout() argument 93 container_of(work, struct static_key_deferred, work.work); in jump_label_update_timeout() 107 __static_key_slow_dec(&key->key, key->timeout, &key->work); in static_key_slow_dec_deferred() 116 INIT_DELAYED_WORK(&key->work, jump_label_update_timeout); in jump_label_rate_limit()
|
/linux-4.4.14/fs/btrfs/ |
D | async-thread.c | 63 static void normal_work_helper(struct btrfs_work *work); 68 struct btrfs_work *work = container_of(arg, struct btrfs_work, \ 70 normal_work_helper(work); \ 238 struct btrfs_work *work; in run_ordered_work() local 246 work = list_entry(list->next, struct btrfs_work, in run_ordered_work() 248 if (!test_bit(WORK_DONE_BIT, &work->flags)) in run_ordered_work() 257 if (test_and_set_bit(WORK_ORDER_DONE_BIT, &work->flags)) in run_ordered_work() 259 trace_btrfs_ordered_sched(work); in run_ordered_work() 261 work->ordered_func(work); in run_ordered_work() 265 list_del(&work->ordered_list); in run_ordered_work() [all …]
|
D | async-thread.h | 74 void btrfs_init_work(struct btrfs_work *work, btrfs_work_func_t helper, 79 struct btrfs_work *work); 82 void btrfs_set_work_high_priority(struct btrfs_work *work);
|
/linux-4.4.14/drivers/staging/octeon/ |
D | ethernet-rx.c | 73 static inline int cvm_oct_check_rcv_error(cvmx_wqe_t *work) in cvm_oct_check_rcv_error() argument 78 port = work->word0.pip.cn68xx.pknd; in cvm_oct_check_rcv_error() 80 port = work->word1.cn38xx.ipprt; in cvm_oct_check_rcv_error() 82 if ((work->word2.snoip.err_code == 10) && (work->word1.len <= 64)) { in cvm_oct_check_rcv_error() 89 } else if (work->word2.snoip.err_code == 5 || in cvm_oct_check_rcv_error() 90 work->word2.snoip.err_code == 7) { in cvm_oct_check_rcv_error() 108 cvmx_phys_to_ptr(work->packet_ptr.s.addr); in cvm_oct_check_rcv_error() 111 while (i < work->word1.len - 1) { in cvm_oct_check_rcv_error() 123 work->packet_ptr.s.addr += i + 1; in cvm_oct_check_rcv_error() 124 work->word1.len -= i + 5; in cvm_oct_check_rcv_error() [all …]
|
D | ethernet-tx.c | 550 cvmx_wqe_t *work = cvmx_fpa_alloc(CVMX_FPA_WQE_POOL); in cvm_oct_xmit_pow() local 552 if (unlikely(!work)) { in cvm_oct_xmit_pow() 565 cvmx_fpa_free(work, CVMX_FPA_WQE_POOL, 1); in cvm_oct_xmit_pow() 595 work->word0.pip.cn38xx.hw_chksum = skb->csum; in cvm_oct_xmit_pow() 596 work->word1.len = skb->len; in cvm_oct_xmit_pow() 597 cvmx_wqe_set_port(work, priv->port); in cvm_oct_xmit_pow() 598 cvmx_wqe_set_qos(work, priv->port & 0x7); in cvm_oct_xmit_pow() 599 cvmx_wqe_set_grp(work, pow_send_group); in cvm_oct_xmit_pow() 600 work->word1.tag_type = CVMX_HELPER_INPUT_TAG_TYPE; in cvm_oct_xmit_pow() 601 work->word1.tag = pow_send_group; /* FIXME */ in cvm_oct_xmit_pow() [all …]
|
/linux-4.4.14/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 | 65 typedef void (*kthread_work_func_t)(struct kthread_work *work); 85 #define KTHREAD_WORK_INIT(work, fn) { \ argument 86 .node = LIST_HEAD_INIT((work).node), \ 93 #define DEFINE_KTHREAD_WORK(work, fn) \ argument 94 struct kthread_work work = KTHREAD_WORK_INIT(work, fn) 118 #define init_kthread_work(work, fn) \ argument 120 memset((work), 0, sizeof(struct kthread_work)); \ 121 INIT_LIST_HEAD(&(work)->node); \ 122 (work)->func = (fn); \ 128 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 | 44 struct work_struct work; member 59 static void stop_one_cpu_nowait_workfn(struct work_struct *work) in stop_one_cpu_nowait_workfn() argument 62 container_of(work, struct cpu_stop_work, work); in stop_one_cpu_nowait_workfn() 73 INIT_WORK(&work_buf->work, stop_one_cpu_nowait_workfn); in stop_one_cpu_nowait() 76 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.4.14/drivers/staging/rdma/ipath/ |
D | ipath_user_pages.c | 186 struct work_struct work; member 193 struct ipath_user_pages_work *work = in user_pages_account() local 194 container_of(_work, struct ipath_user_pages_work, work); in user_pages_account() 196 down_write(&work->mm->mmap_sem); in user_pages_account() 197 work->mm->pinned_vm -= work->num_pages; in user_pages_account() 198 up_write(&work->mm->mmap_sem); in user_pages_account() 199 mmput(work->mm); in user_pages_account() 200 kfree(work); in user_pages_account() 205 struct ipath_user_pages_work *work; in ipath_release_user_pages_on_close() local 214 work = kmalloc(sizeof(*work), GFP_KERNEL); in ipath_release_user_pages_on_close() [all …]
|
/linux-4.4.14/fs/ |
D | fs-writeback.c | 177 struct wb_writeback_work *work) in wb_queue_work() argument 179 trace_writeback_queue(wb, work); in wb_queue_work() 184 if (work->done) in wb_queue_work() 185 atomic_inc(&work->done->cnt); in wb_queue_work() 186 list_add_tail(&work->list, &wb->work_list); in wb_queue_work() 317 struct work_struct work; member 320 static void inode_switch_wbs_work_fn(struct work_struct *work) in inode_switch_wbs_work_fn() argument 323 container_of(work, struct inode_switch_wbs_context, work); in inode_switch_wbs_work_fn() 442 INIT_WORK(&isw->work, inode_switch_wbs_work_fn); in inode_switch_wbs_rcu_fn() 443 queue_work(isw_wq, &isw->work); in inode_switch_wbs_rcu_fn() [all …]
|
D | sync.c | 122 static void do_sync_work(struct work_struct *work) in do_sync_work() argument 137 kfree(work); in do_sync_work() 142 struct work_struct *work; in emergency_sync() local 144 work = kmalloc(sizeof(*work), GFP_ATOMIC); in emergency_sync() 145 if (work) { in emergency_sync() 146 INIT_WORK(work, do_sync_work); in emergency_sync() 147 schedule_work(work); in emergency_sync()
|
/linux-4.4.14/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.4.14/lib/ |
D | once.c | 7 struct work_struct work; member 13 struct once_work *work; in once_deferred() local 15 work = container_of(w, struct once_work, work); in once_deferred() 16 BUG_ON(!static_key_enabled(work->key)); in once_deferred() 17 static_key_slow_dec(work->key); in once_deferred() 18 kfree(work); in once_deferred() 29 INIT_WORK(&w->work, once_deferred); in once_disable_jump() 31 schedule_work(&w->work); in once_disable_jump()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gem_userptr.c | 41 struct work_struct work; member 61 struct work_struct work; member 66 static void __cancel_userptr__worker(struct work_struct *work) in __cancel_userptr__worker() argument 68 struct i915_mmu_object *mo = container_of(work, typeof(*mo), work); in __cancel_userptr__worker() 74 obj->userptr.work = NULL; in __cancel_userptr__worker() 109 schedule_work(&mo->work); in cancel_userptr() 322 INIT_WORK(&mo->work, __cancel_userptr__worker); in i915_gem_userptr_init__mmu_notifier() 433 __i915_mm_struct_free__worker(struct work_struct *work) in __i915_mm_struct_free__worker() argument 435 struct i915_mm_struct *mm = container_of(work, typeof(*mm), work); in __i915_mm_struct_free__worker() 450 INIT_WORK(&mm->work, __i915_mm_struct_free__worker); in __i915_mm_struct_free() [all …]
|
D | intel_fbc.c | 345 struct intel_fbc_work *work = in intel_fbc_work_fn() local 347 struct intel_fbc_work, work); in intel_fbc_work_fn() 348 struct drm_i915_private *dev_priv = work->crtc->base.dev->dev_private; in intel_fbc_work_fn() 349 struct drm_framebuffer *crtc_fb = work->crtc->base.primary->fb; in intel_fbc_work_fn() 352 if (work == dev_priv->fbc.fbc_work) { in intel_fbc_work_fn() 356 if (crtc_fb == work->fb) in intel_fbc_work_fn() 357 intel_fbc_enable(work->crtc, work->fb); in intel_fbc_work_fn() 363 kfree(work); in intel_fbc_work_fn() 379 if (cancel_delayed_work(&dev_priv->fbc.fbc_work->work)) in intel_fbc_cancel_work() 393 struct intel_fbc_work *work; in intel_fbc_schedule_enable() local [all …]
|
/linux-4.4.14/drivers/infiniband/core/ |
D | cm.c | 185 struct delayed_work work; member 196 struct cm_work work; /* Must be first. */ member 248 static void cm_work_handler(struct work_struct *work); 537 __be32 remote_id = timewait_info->work.remote_id; in cm_insert_remote_id() 543 if (be32_lt(remote_id, cur_timewait_info->work.remote_id)) in cm_insert_remote_id() 545 else if (be32_gt(remote_id, cur_timewait_info->work.remote_id)) in cm_insert_remote_id() 569 if (be32_lt(remote_id, timewait_info->work.remote_id)) in cm_find_remote_id() 571 else if (be32_gt(remote_id, timewait_info->work.remote_id)) in cm_find_remote_id() 692 struct cm_work *work; in cm_dequeue_work() local 697 work = list_entry(cm_id_priv->work_list.next, struct cm_work, list); in cm_dequeue_work() [all …]
|
D | roce_gid_mgmt.c | 51 struct work_struct work; member 66 struct work_struct work; member 502 struct netdev_event_work *work = in netdevice_event_work_handler() local 503 container_of(_work, struct netdev_event_work, work); in netdevice_event_work_handler() 506 for (i = 0; i < ARRAY_SIZE(work->cmds) && work->cmds[i].cb; i++) { in netdevice_event_work_handler() 507 ib_enum_all_roce_netdevs(work->cmds[i].filter, in netdevice_event_work_handler() 508 work->cmds[i].filter_ndev, in netdevice_event_work_handler() 509 work->cmds[i].cb, in netdevice_event_work_handler() 510 work->cmds[i].ndev); in netdevice_event_work_handler() 511 dev_put(work->cmds[i].ndev); in netdevice_event_work_handler() [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 | cma.c | 245 struct work_struct work; member 253 struct work_struct work; member 259 struct work_struct work; member 2089 struct cma_work *work = context; in cma_query_handler() local 2092 route = &work->id->id.route; in cma_query_handler() 2098 work->old_state = RDMA_CM_ROUTE_QUERY; in cma_query_handler() 2099 work->new_state = RDMA_CM_ADDR_RESOLVED; in cma_query_handler() 2100 work->event.event = RDMA_CM_EVENT_ROUTE_ERROR; in cma_query_handler() 2101 work->event.status = status; in cma_query_handler() 2104 queue_work(cma_wq, &work->work); in cma_query_handler() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_display.c | 68 struct amdgpu_flip_work *work = in amdgpu_flip_work_func() local 70 struct amdgpu_device *adev = work->adev; in amdgpu_flip_work_func() 71 struct amdgpu_crtc *amdgpuCrtc = adev->mode_info.crtcs[work->crtc_id]; in amdgpu_flip_work_func() 77 struct drm_vblank_crtc *vblank = &crtc->dev->vblank[work->crtc_id]; in amdgpu_flip_work_func() 79 amdgpu_flip_wait_fence(adev, &work->excl); in amdgpu_flip_work_func() 80 for (i = 0; i < work->shared_count; ++i) in amdgpu_flip_work_func() 81 amdgpu_flip_wait_fence(adev, &work->shared[i]); in amdgpu_flip_work_func() 104 stat = amdgpu_get_crtc_scanoutpos(adev->ddev, work->crtc_id, in amdgpu_flip_work_func() 129 "hpos %d\n", work->crtc_id, min_udelay, in amdgpu_flip_work_func() 134 adev->mode_info.funcs->page_flip(adev, work->crtc_id, work->base); in amdgpu_flip_work_func() [all …]
|
D | amdgpu_mn.c | 46 struct work_struct work; member 68 static void amdgpu_mn_destroy(struct work_struct *work) in amdgpu_mn_destroy() argument 70 struct amdgpu_mn *rmn = container_of(work, struct amdgpu_mn, work); in amdgpu_mn_destroy() 106 INIT_WORK(&rmn->work, amdgpu_mn_destroy); in amdgpu_mn_release() 107 schedule_work(&rmn->work); in amdgpu_mn_release()
|
/linux-4.4.14/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.4.14/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.4.14/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() 183 void rds_recv_worker(struct work_struct *work) in rds_recv_worker() argument 185 struct rds_connection *conn = container_of(work, struct rds_connection, c_recv_w.work); in rds_recv_worker() 205 void rds_shutdown_worker(struct work_struct *work) in rds_shutdown_worker() argument 207 struct rds_connection *conn = container_of(work, struct rds_connection, c_down_w); in rds_shutdown_worker()
|
/linux-4.4.14/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 pciehp_queue_interrupt_event() 53 queue_work(p_slot->wq, &info->work); in pciehp_queue_interrupt_event() 161 struct work_struct work; member 174 static void pciehp_power_thread(struct work_struct *work) in pciehp_power_thread() argument 177 container_of(work, struct power_work_info, work); in pciehp_power_thread() 220 INIT_WORK(&info->work, pciehp_power_thread); in pciehp_queue_power_work() 222 queue_work(p_slot->wq, &info->work); in pciehp_queue_power_work() 225 void pciehp_queue_pushbutton_work(struct work_struct *work) in pciehp_queue_pushbutton_work() argument 227 struct slot *p_slot = container_of(work, struct slot, work.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.4.14/drivers/misc/mic/scif/ |
D | scif_dma.c | 312 void scif_mmu_notif_handler(struct work_struct *work) in scif_mmu_notif_handler() argument 348 void scif_mmu_notif_handler(struct work_struct *work) in scif_mmu_notif_handler() argument 712 iounmap_remote(void *virt, size_t size, struct scif_copy_work *work) in iounmap_remote() argument 714 scif_iounmap(virt, size, work->remote_dev); in iounmap_remote() 900 scif_rma_list_dma_copy_unaligned(struct scif_copy_work *work, in scif_rma_list_dma_copy_unaligned() argument 904 struct scif_dma_comp_cb *comp_cb = work->comp_cb; in scif_rma_list_dma_copy_unaligned() 907 size_t loop_len, nr_contig_bytes = 0, remaining_len = work->len; in scif_rma_list_dma_copy_unaligned() 918 offset = work->dst_offset; in scif_rma_list_dma_copy_unaligned() 919 window = work->dst_window; in scif_rma_list_dma_copy_unaligned() 921 offset = work->src_offset; in scif_rma_list_dma_copy_unaligned() [all …]
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-wqe.h | 598 static inline int cvmx_wqe_get_port(cvmx_wqe_t *work) in cvmx_wqe_get_port() argument 603 port = work->word2.s_cn68xx.port; in cvmx_wqe_get_port() 605 port = work->word1.cn38xx.ipprt; in cvmx_wqe_get_port() 610 static inline void cvmx_wqe_set_port(cvmx_wqe_t *work, int port) in cvmx_wqe_set_port() argument 613 work->word2.s_cn68xx.port = port; in cvmx_wqe_set_port() 615 work->word1.cn38xx.ipprt = port; in cvmx_wqe_set_port() 618 static inline int cvmx_wqe_get_grp(cvmx_wqe_t *work) in cvmx_wqe_get_grp() argument 623 grp = work->word1.cn68xx.grp; in cvmx_wqe_get_grp() 625 grp = work->word1.cn38xx.grp; in cvmx_wqe_get_grp() 630 static inline void cvmx_wqe_set_grp(cvmx_wqe_t *work, int grp) in cvmx_wqe_set_grp() argument [all …]
|
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.4.14/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.4.14/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.4.14/drivers/extcon/ |
D | extcon-gpio.c | 35 struct delayed_work work; member 42 static void gpio_extcon_work(struct work_struct *work) in gpio_extcon_work() argument 46 container_of(to_delayed_work(work), struct gpio_extcon_data, in gpio_extcon_work() 47 work); in gpio_extcon_work() 59 queue_delayed_work(system_power_efficient_wq, &data->work, in gpio_irq_handler() 126 INIT_DELAYED_WORK(&data->work, gpio_extcon_work); in gpio_extcon_probe() 140 gpio_extcon_work(&data->work.work); in gpio_extcon_probe() 149 cancel_delayed_work_sync(&data->work); in gpio_extcon_remove() 162 &data->work, data->debounce_jiffies); in gpio_extcon_resume()
|
/linux-4.4.14/drivers/staging/unisys/visorbus/ |
D | periodic_work.c | 28 struct delayed_work work; member 38 static void periodic_work_func(struct work_struct *work) in periodic_work_func() argument 42 pw = container_of(work, struct periodic_work, work.work); in periodic_work_func() 89 } else if (!queue_delayed_work(pw->workqueue, &pw->work, in visor_periodic_work_nextperiod() 119 INIT_DELAYED_WORK(&pw->work, &periodic_work_func); in visor_periodic_work_start() 120 if (!queue_delayed_work(pw->workqueue, &pw->work, in visor_periodic_work_start() 175 if (cancel_delayed_work(&pw->work)) { in visor_periodic_work_stop()
|
/linux-4.4.14/drivers/input/misc/ |
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() 132 cancel_delayed_work_sync(&wm831x_on->work); in wm831x_on_remove()
|
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 | 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() 82 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 | da9063_onkey.c | 46 struct delayed_work work; member 91 static void da9063_poll_on(struct work_struct *work) in da9063_poll_on() argument 93 struct da9063_onkey *onkey = container_of(work, in da9063_poll_on() 95 work.work); in da9063_poll_on() 165 schedule_delayed_work(&onkey->work, msecs_to_jiffies(50)); in da9063_poll_on() 181 schedule_delayed_work(&onkey->work, 0); in da9063_onkey_irq_handler() 198 cancel_delayed_work_sync(&onkey->work); in da9063_cancel_poll() 255 INIT_DELAYED_WORK(&onkey->work, da9063_poll_on); in da9063_onkey_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() 135 schedule_work(&haptics->work); in arizona_haptics_play() 144 cancel_work_sync(&haptics->work); in arizona_haptics_close() 170 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 | drv2665.c | 65 struct work_struct work; member 84 static void drv2665_worker(struct work_struct *work) in drv2665_worker() argument 87 container_of(work, struct drv2665_data, work); in drv2665_worker() 116 schedule_work(&haptics->work); in drv2665_haptics_play() 126 cancel_work_sync(&haptics->work); in drv2665_close() 205 INIT_WORK(&haptics->work, drv2665_worker); in drv2665_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 | max77693-haptic.c | 68 struct work_struct work; member 215 static void max77693_haptic_play_work(struct work_struct *work) in max77693_haptic_play_work() argument 218 container_of(work, struct max77693_haptic, work); in max77693_haptic_play_work() 252 schedule_work(&haptic->work); in max77693_haptic_play_effect() 281 cancel_work_sync(&haptic->work); in max77693_haptic_close() 323 INIT_WORK(&haptic->work, max77693_haptic_play_work); in max77693_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.4.14/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.4.14/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() 322 INIT_DELAYED_WORK(&ts->work, stmpe_work); in stmpe_input_probe()
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
D | rt2x00link.c | 257 &link->work, LINK_TUNE_INTERVAL); in rt2x00link_start_tuner() 262 cancel_delayed_work_sync(&rt2x00dev->link.work); in rt2x00link_stop_tuner() 311 static void rt2x00link_tuner(struct work_struct *work) in rt2x00link_tuner() argument 314 container_of(work, struct rt2x00_dev, link.work.work); in rt2x00link_tuner() 371 &link->work, LINK_TUNE_INTERVAL); in rt2x00link_tuner() 390 static void rt2x00link_watchdog(struct work_struct *work) in rt2x00link_watchdog() argument 393 container_of(work, struct rt2x00_dev, link.watchdog_work.work); in rt2x00link_watchdog() 443 static void rt2x00link_agc(struct work_struct *work) in rt2x00link_agc() argument 446 container_of(work, struct rt2x00_dev, link.agc_work.work); in rt2x00link_agc() 464 static void rt2x00link_vcocal(struct work_struct *work) in rt2x00link_vcocal() argument [all …]
|
/linux-4.4.14/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.4.14/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.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 202 struct work_struct work; member 211 struct nouveau_fence_work *work = container_of(kwork, typeof(*work), work); in nouveau_fence_work_handler() local 212 work->func(work->data); in nouveau_fence_work_handler() 213 kfree(work); in nouveau_fence_work_handler() 218 struct nouveau_fence_work *work = container_of(cb, typeof(*work), cb); in nouveau_fence_work_cb() local 220 schedule_work(&work->work); in nouveau_fence_work_cb() 227 struct nouveau_fence_work *work; in nouveau_fence_work() local 232 work = kmalloc(sizeof(*work), GFP_KERNEL); in nouveau_fence_work() 233 if (!work) { in nouveau_fence_work() 243 INIT_WORK(&work->work, nouveau_fence_work_handler); in nouveau_fence_work() [all …]
|
/linux-4.4.14/drivers/s390/char/ |
D | ctrlchar.c | 20 ctrlchar_handle_sysrq(struct work_struct *work) in ctrlchar_handle_sysrq() argument 22 struct sysrq_work *sysrq = container_of(work, struct sysrq_work, work); in ctrlchar_handle_sysrq() 29 INIT_WORK(&sw->work, ctrlchar_handle_sysrq); in schedule_sysrq_work() 30 schedule_work(&sw->work); in schedule_sysrq_work()
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
D | armada_crtc.c | 23 struct armada_plane_work work; member 197 struct armada_plane_work *work = xchg(&plane->work, NULL); in armada_drm_plane_work_run() local 200 if (work) { in armada_drm_plane_work_run() 201 work->fn(dcrtc, plane, work); in armada_drm_plane_work_run() 209 struct armada_plane *plane, struct armada_plane_work *work) in armada_drm_plane_work_queue() argument 219 ret = cmpxchg(&plane->work, NULL, work) ? -EBUSY : 0; in armada_drm_plane_work_queue() 228 return wait_event_timeout(plane->frame_wait, !plane->work, timeout); in armada_drm_plane_work_wait() 234 struct armada_plane_work *work = xchg(&plane->work, NULL); in armada_drm_plane_work_cancel() local 236 if (work) in armada_drm_plane_work_cancel() 239 return work; in armada_drm_plane_work_cancel() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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 | da9150-fg.c | 83 struct delayed_work work; member 358 static void da9150_fg_work(struct work_struct *work) in da9150_fg_work() argument 360 struct da9150_fg *fg = container_of(work, struct da9150_fg, work.work); in da9150_fg_work() 366 schedule_delayed_work(&fg->work, msecs_to_jiffies(fg->interval)); in da9150_fg_work() 513 INIT_DELAYED_WORK(&fg->work, da9150_fg_work); in da9150_fg_probe() 514 schedule_delayed_work(&fg->work, in da9150_fg_probe() 537 cancel_delayed_work(&fg->work); in da9150_fg_probe() 547 cancel_delayed_work(&fg->work); in da9150_fg_remove() 561 flush_delayed_work(&fg->work); in da9150_fg_resume()
|
D | ltc2941-battery-gauge.c | 63 struct delayed_work work; /* Work scheduler */ member 346 static void ltc294x_work(struct work_struct *work) in ltc294x_work() argument 350 info = container_of(work, struct ltc294x_info, work.work); in ltc294x_work() 352 schedule_delayed_work(&info->work, LTC294X_WORK_DELAY * HZ); in ltc294x_work() 367 cancel_delayed_work(&info->work); in ltc294x_i2c_remove() 445 INIT_DELAYED_WORK(&info->work, ltc294x_work); in ltc294x_i2c_probe() 459 schedule_delayed_work(&info->work, LTC294X_WORK_DELAY * HZ); in ltc294x_i2c_probe() 472 cancel_delayed_work(&info->work); in ltc294x_suspend() 481 schedule_delayed_work(&info->work, LTC294X_WORK_DELAY * HZ); in ltc294x_resume()
|
/linux-4.4.14/sound/firewire/ |
D | lib.c | 93 schedule_work(&port->work); in async_midi_port_callback() 96 static void midi_port_work(struct work_struct *work) in midi_port_work() argument 99 container_of(work, struct snd_fw_async_midi_port, work); in midi_port_work() 114 schedule_work(&port->work); in midi_port_work() 128 schedule_work(&port->work); in midi_port_work() 193 INIT_WORK(&port->work, midi_port_work); in snd_fw_async_midi_port_init() 206 cancel_work_sync(&port->work); in snd_fw_async_midi_port_destroy()
|
/linux-4.4.14/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->word1.len); in cvmx_helper_dump_packet() 99 cvmx_dprintf(" Input Port: %u\n", cvmx_wqe_get_port(work)); in cvmx_helper_dump_packet() 100 cvmx_dprintf(" QoS: %u\n", cvmx_wqe_get_qos(work)); 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.4.14/drivers/misc/cxl/ |
D | file.c | 150 struct cxl_ioctl_start_work work; in afu_ioctl_start_work() local 158 if (copy_from_user(&work, uwork, in afu_ioctl_start_work() 174 if (work.reserved1 || work.reserved2 || work.reserved3 || in afu_ioctl_start_work() 175 work.reserved4 || work.reserved5 || work.reserved6 || in afu_ioctl_start_work() 176 (work.flags & ~CXL_START_WORK_ALL)) { in afu_ioctl_start_work() 181 if (!(work.flags & CXL_START_WORK_NUM_IRQS)) in afu_ioctl_start_work() 182 work.num_interrupts = ctx->afu->pp_irqs; in afu_ioctl_start_work() 183 else if ((work.num_interrupts < ctx->afu->pp_irqs) || in afu_ioctl_start_work() 184 (work.num_interrupts > ctx->afu->irqs_max)) { in afu_ioctl_start_work() 188 if ((rc = afu_register_irqs(ctx, work.num_interrupts))) in afu_ioctl_start_work() [all …]
|
D | api.c | 304 struct cxl_ioctl_start_work *work) in cxl_start_work() argument 309 if (!(work->flags & CXL_START_WORK_NUM_IRQS)) in cxl_start_work() 310 work->num_interrupts = ctx->afu->pp_irqs; in cxl_start_work() 311 else if ((work->num_interrupts < ctx->afu->pp_irqs) || in cxl_start_work() 312 (work->num_interrupts > ctx->afu->irqs_max)) { in cxl_start_work() 316 rc = afu_register_irqs(ctx, work->num_interrupts); in cxl_start_work() 320 rc = cxl_start_context(ctx, work->work_element_descriptor, current); in cxl_start_work()
|
/linux-4.4.14/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.4.14/drivers/net/ethernet/cavium/liquidio/ |
D | response_manager.c | 45 static void oct_poll_req_completion(struct work_struct *work); 65 INIT_DELAYED_WORK(&cwq->wk.work, oct_poll_req_completion); in octeon_setup_response_list() 67 queue_delayed_work(cwq->wq, &cwq->wk.work, msecs_to_jiffies(100)); in octeon_setup_response_list() 74 cancel_delayed_work_sync(&oct->dma_comp_wq.wk.work); in octeon_delete_response_list() 169 static void oct_poll_req_completion(struct work_struct *work) in oct_poll_req_completion() argument 171 struct cavium_wk *wk = (struct cavium_wk *)work; in oct_poll_req_completion() 177 queue_delayed_work(cwq->wq, &cwq->wk.work, msecs_to_jiffies(100)); in oct_poll_req_completion()
|
/linux-4.4.14/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-tlc591xx.c | 45 #define work_to_led(work) container_of(work, struct tlc591xx_led, work) argument 51 struct work_struct work; member 114 tlc591xx_led_work(struct work_struct *work) in tlc591xx_led_work() argument 116 struct tlc591xx_led *led = work_to_led(work); in tlc591xx_led_work() 145 schedule_work(&led->work); in tlc591xx_brightness_set() 156 cancel_work_sync(&priv->leds[i].work); in tlc591xx_destroy_devices() 180 INIT_WORK(&led->work, tlc591xx_led_work); in tlc591xx_configure()
|
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() 218 INIT_WORK(&data->work, pm860x_led_work); in pm860x_led_probe()
|
D | leds-gpio.c | 28 struct work_struct work; member 36 static void gpio_led_work(struct work_struct *work) in gpio_led_work() argument 39 container_of(work, struct gpio_led_data, work); in gpio_led_work() 67 schedule_work(&led_dat->work); in gpio_led_set() 146 INIT_WORK(&led_dat->work, gpio_led_work); in create_gpio_led() 154 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() 417 INIT_WORK(&pca963x[i].work, pca963x_work); in pca963x_probe() 440 cancel_work_sync(&pca963x[i].work); in pca963x_probe() 453 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()
|
D | leds-ns2.c | 51 struct work_struct work; member 56 static void ns2_led_work(struct work_struct *work) in ns2_led_work() argument 59 container_of(work, struct ns2_led_data, work); in ns2_led_work() 116 schedule_work(&led_dat->work); in ns2_led_set_mode() 241 INIT_WORK(&led_dat->work, ns2_led_work); in create_ns2_led() 253 cancel_work_sync(&led_dat->work); in delete_ns2_led()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/staging/speakup/ |
D | selection.c | 131 struct work_struct work; member 135 static void __speakup_paste_selection(struct work_struct *work) in __speakup_paste_selection() argument 138 container_of(work, struct speakup_paste_work, work); in __speakup_paste_selection() 172 .work = __WORK_INITIALIZER(speakup_paste_work.work, 182 schedule_work_on(WORK_CPU_UNBOUND, &speakup_paste_work.work); in speakup_paste_selection() 188 cancel_work_sync(&speakup_paste_work.work); in speakup_cancel_paste()
|
/linux-4.4.14/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.4.14/arch/x86/entry/ |
D | common.c | 80 u32 work; in syscall_trace_enter_phase1() local 85 work = ACCESS_ONCE(ti->flags) & _TIF_WORK_SYSCALL_ENTRY; in syscall_trace_enter_phase1() 92 if (work & _TIF_NOHZ) { in syscall_trace_enter_phase1() 94 work &= ~_TIF_NOHZ; in syscall_trace_enter_phase1() 104 if (work & _TIF_SECCOMP) { in syscall_trace_enter_phase1() 140 work &= ~_TIF_SECCOMP; in syscall_trace_enter_phase1() 145 if (work == 0) in syscall_trace_enter_phase1() 149 if (work == _TIF_SYSCALL_AUDIT) { in syscall_trace_enter_phase1() 169 u32 work = ACCESS_ONCE(ti->flags) & _TIF_WORK_SYSCALL_ENTRY; in syscall_trace_enter_phase2() local 181 if (work & _TIF_SINGLESTEP) in syscall_trace_enter_phase2() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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 bool work, u8 event, void *data, u32 size, u32 reply, in nvif_notify_init() argument 184 if (work) { in nvif_notify_init() 185 INIT_WORK(¬ify->work, nvif_notify_work); in nvif_notify_init()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | temp.c | 74 nv_poweroff_work(struct work_struct *work) in nv_poweroff_work() argument 77 kfree(work); in nv_poweroff_work() 120 struct work_struct *work; in nvkm_therm_sensor_event() local 122 work = kmalloc(sizeof(*work), GFP_ATOMIC); in nvkm_therm_sensor_event() 123 if (work) { in nvkm_therm_sensor_event() 124 INIT_WORK(work, nv_poweroff_work); in nvkm_therm_sensor_event() 125 schedule_work(work); in nvkm_therm_sensor_event()
|
/linux-4.4.14/drivers/hid/ |
D | hid-elo.c | 31 struct delayed_work work; member 130 static void elo_work(struct work_struct *work) in elo_work() argument 132 struct elo_priv *priv = container_of(work, struct elo_priv, work.work); in elo_work() 177 queue_delayed_work(wq, &priv->work, ELO_PERIODIC_READ_INTERVAL); in elo_work() 231 INIT_DELAYED_WORK(&priv->work, elo_work); in elo_probe() 250 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-corsair.c | 30 struct work_struct work; member 186 schedule_work(&led->work); in k90_brightness_set() 189 static void k90_backlight_work(struct work_struct *work) in k90_backlight_work() argument 192 struct k90_led *led = container_of(work, struct k90_led, work); in k90_backlight_work() 214 static void k90_record_led_work(struct work_struct *work) in k90_record_led_work() argument 217 struct k90_led *led = container_of(work, struct k90_led, work); in k90_record_led_work() 418 INIT_WORK(&drvdata->backlight->work, k90_backlight_work); in k90_init_backlight() 463 INIT_WORK(&k90->record_led.work, k90_record_led_work); in k90_init_macro_functions() 479 cancel_work_sync(&k90->record_led.work); in k90_init_macro_functions() 496 cancel_work_sync(&drvdata->backlight->work); in k90_cleanup_backlight() [all …]
|
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 133 schedule_work(&wacom->work); in wacom_schedule_work() 151 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.4.14/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()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/vhost/ |
D | vhost.c | 138 void vhost_work_init(struct vhost_work *work, vhost_work_fn_t fn) in vhost_work_init() argument 140 INIT_LIST_HEAD(&work->node); in vhost_work_init() 141 work->fn = fn; in vhost_work_init() 142 init_waitqueue_head(&work->done); in vhost_work_init() 143 work->flushing = 0; in vhost_work_init() 144 work->queue_seq = work->done_seq = 0; in vhost_work_init() 158 vhost_work_init(&poll->work, fn); in vhost_poll_init() 196 static bool vhost_work_seq_done(struct vhost_dev *dev, struct vhost_work *work, in vhost_work_seq_done() argument 202 left = seq - work->done_seq; in vhost_work_seq_done() 207 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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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() 356 struct radeon_flip_work *work; in radeon_crtc_handle_flip() local 364 work = radeon_crtc->flip_work; in radeon_crtc_handle_flip() 379 if (work->event) in radeon_crtc_handle_flip() 380 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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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() 500 INIT_DELAYED_WORK(&keypad->work, matrix_keypad_scan); in matrix_keypad_probe()
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process.c | 156 static void kfd_process_wq_release(struct work_struct *work) in kfd_process_wq_release() argument 162 my_work = (struct kfd_process_release_work *) work; in kfd_process_wq_release() 197 kfree((void *)work); in kfd_process_wq_release() 202 struct kfd_process_release_work *work; in kfd_process_destroy_delayed() local 212 work = kmalloc(sizeof(struct kfd_process_release_work), GFP_ATOMIC); in kfd_process_destroy_delayed() 214 if (work) { in kfd_process_destroy_delayed() 215 INIT_WORK((struct work_struct *) work, kfd_process_wq_release); in kfd_process_destroy_delayed() 216 work->p = p; in kfd_process_destroy_delayed() 217 queue_work(kfd_process_wq, (struct work_struct *) work); in kfd_process_destroy_delayed()
|
/linux-4.4.14/drivers/media/i2c/ |
D | saa6588.c | 69 struct delayed_work work; member 330 static void saa6588_work(struct work_struct *work) in saa6588_work() argument 332 struct saa6588 *s = container_of(work, struct saa6588, work.work); in saa6588_work() 335 schedule_delayed_work(&s->work, msecs_to_jiffies(20)); in saa6588_work() 494 INIT_DELAYED_WORK(&s->work, saa6588_work); in saa6588_probe() 495 schedule_delayed_work(&s->work, 0); in saa6588_probe() 506 cancel_delayed_work_sync(&s->work); in saa6588_remove()
|
D | saa7115.c | 1646 u8 work; in saa711x_write_platform_data() local 1653 work = saa711x_read(sd, R_08_SYNC_CNTL); in saa711x_write_platform_data() 1654 work &= ~SAA7113_R_08_HTC_MASK; in saa711x_write_platform_data() 1655 work |= ((*data->saa7113_r08_htc) << SAA7113_R_08_HTC_OFFSET); in saa711x_write_platform_data() 1656 saa711x_write(sd, R_08_SYNC_CNTL, work); in saa711x_write_platform_data() 1660 work = saa711x_read(sd, R_10_CHROMA_CNTL_2); in saa711x_write_platform_data() 1661 work &= ~SAA7113_R_10_VRLN_MASK; in saa711x_write_platform_data() 1663 work |= (1 << SAA7113_R_10_VRLN_OFFSET); in saa711x_write_platform_data() 1664 saa711x_write(sd, R_10_CHROMA_CNTL_2, work); in saa711x_write_platform_data() 1668 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.4.14/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.4.14/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.4.14/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.4.14/sound/soc/ |
D | soc-jack.c | 281 queue_delayed_work(system_power_efficient_wq, &gpio->work, in gpio_handler() 288 static void gpio_work(struct work_struct *work) in gpio_work() argument 292 gpio = container_of(work, struct snd_soc_jack_gpio, work.work); in gpio_work() 352 INIT_DELAYED_WORK(&gpios[i].work, gpio_work); in snd_soc_jack_add_gpios() 376 schedule_delayed_work(&gpios[i].work, in snd_soc_jack_add_gpios() 432 cancel_delayed_work_sync(&gpios[i].work); in snd_soc_jack_free_gpios()
|
/linux-4.4.14/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() 390 INIT_WORK(&dg_info->work, dg_delayed_dispatch); in vmci_datagram_invoke_guest_handler() 391 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.4.14/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.4.14/drivers/net/wireless/realtek/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.4.14/drivers/gpu/drm/sti/ |
D | sti_drv.c | 37 schedule_work(&private->commit.work); in sti_atomic_schedule() 71 static void sti_atomic_work(struct work_struct *work) in sti_atomic_work() argument 73 struct sti_private *private = container_of(work, in sti_atomic_work() 74 struct sti_private, commit.work); in sti_atomic_work() 91 flush_work(&private->commit.work); in sti_atomic_commit() 146 INIT_WORK(&private->commit.work, sti_atomic_work); in sti_load()
|
/linux-4.4.14/drivers/staging/iio/ |
D | iio_dummy_evgen.c | 38 struct irq_work work; member 84 static void iio_dummy_work_handler(struct irq_work *work) in iio_dummy_work_handler() argument 88 irq_handler = container_of(work, struct iio_dummy_handle_irq, work); in iio_dummy_work_handler() 116 init_irq_work(&iio_evgen->handler.work, iio_dummy_work_handler); in iio_dummy_evgen_create() 197 irq_work_queue(&iio_evgen->handler.work); in iio_evgen_poke()
|
/linux-4.4.14/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() 266 INIT_WORK(&fbdev->work, pan_worker); in omap_fbdev_init()
|
/linux-4.4.14/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.4.14/drivers/scsi/ |
D | storvsc_drv.c | 450 struct work_struct work; member 455 static void storvsc_device_scan(struct work_struct *work) in storvsc_device_scan() argument 461 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_device_scan() 474 static void storvsc_host_scan(struct work_struct *work) in storvsc_host_scan() argument 480 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_host_scan() 506 static void storvsc_remove_lun(struct work_struct *work) in storvsc_remove_lun() argument 511 wrk = container_of(work, struct storvsc_scan_work, work); in storvsc_remove_lun() 861 void (*process_err_fn)(struct work_struct *work); in storvsc_handle_error() 919 INIT_WORK(&wrk->work, process_err_fn); in storvsc_handle_error() 920 schedule_work(&wrk->work); in storvsc_handle_error() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/usb/chipidea/ |
D | otg.c | 130 static void ci_otg_work(struct work_struct *work) in ci_otg_work() argument 132 struct ci_hdrc *ci = container_of(work, struct ci_hdrc, work); in ci_otg_work() 160 INIT_WORK(&ci->work, ci_otg_work); in ci_hdrc_otg_init()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
D | base.c | 91 nvkm_pmu_recv(struct work_struct *work) in nvkm_pmu_recv() argument 93 struct nvkm_pmu *pmu = container_of(work, struct nvkm_pmu, recv.work); in nvkm_pmu_recv() 163 schedule_work(&pmu->recv.work); in nvkm_pmu_intr() 189 flush_work(&pmu->recv.work); in nvkm_pmu_fini() 277 INIT_WORK(&pmu->recv.work, nvkm_pmu_recv); in nvkm_pmu_new_()
|
/linux-4.4.14/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() 153 INIT_WORK(&info->timer->work, idletimer_tg_work); in idletimer_tg_create()
|
/linux-4.4.14/drivers/tty/ |
D | tty_buffer.c | 74 queue_work(system_unbound_wq, &buf->work); in tty_buffer_unlock_exclusive() 381 queue_work(system_unbound_wq, &buf->work); in tty_schedule_flip() 447 static void flush_to_ldisc(struct work_struct *work) in flush_to_ldisc() argument 449 struct tty_port *port = container_of(work, struct tty_port, buf.work); in flush_to_ldisc() 537 INIT_WORK(&buf->work, flush_to_ldisc); in tty_buffer_init() 566 return queue_work(system_unbound_wq, &port->buf.work); in tty_buffer_restart_work() 571 return cancel_work_sync(&port->buf.work); in tty_buffer_cancel_work() 576 flush_work(&port->buf.work); in tty_buffer_flush_work()
|
/linux-4.4.14/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.4.14/kernel/rcu/ |
D | srcu.c | 108 INIT_DELAYED_WORK(&sp->work, process_srcu); in init_srcu_struct_fields() 398 queue_delayed_work(system_power_efficient_wq, &sp->work, 0); in call_srcu() 658 &sp->work, SRCU_INTERVAL); in srcu_reschedule() 664 void process_srcu(struct work_struct *work) in process_srcu() argument 668 sp = container_of(work, struct srcu_struct, work.work); in process_srcu()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | mcg.c | 108 struct work_struct work; member 539 static void mlx4_ib_mcg_timeout_handler(struct work_struct *work) in mlx4_ib_mcg_timeout_handler() argument 541 struct delayed_work *delay = to_delayed_work(work); in mlx4_ib_mcg_timeout_handler() 578 if (!queue_work(group->demux->mcg_wq, &group->work)) in mlx4_ib_mcg_timeout_handler() 642 static void mlx4_ib_mcg_work_handler(struct work_struct *work) in mlx4_ib_mcg_work_handler() argument 652 group = container_of(work, typeof(*group), work); in mlx4_ib_mcg_work_handler() 841 INIT_WORK(&group->work, mlx4_ib_mcg_work_handler); in acquire_group() 882 if (!queue_work(group->demux->mcg_wq, &group->work)) in queue_req() 918 if (!queue_work(ctx->mcg_wq, &group->work)) in mlx4_ib_mcg_demux_handler() 1116 struct work_struct work; member [all …]
|
/linux-4.4.14/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.4.14/Documentation/networking/ |
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 …]
|
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 …]
|
/linux-4.4.14/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.4.14/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.4.14/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() 289 void mwifiex_dfs_chan_sw_work_queue(struct work_struct *work) in mwifiex_dfs_chan_sw_work_queue() argument 293 container_of(work, struct delayed_work, work); in mwifiex_dfs_chan_sw_work_queue()
|
/linux-4.4.14/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.4.14/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() 656 schedule_delayed_work(&st->work, st->poll_time_jiffies); in ad5933_work() 680 schedule_delayed_work(&st->work, st->poll_time_jiffies); in ad5933_work() 692 schedule_delayed_work(&st->work, st->poll_time_jiffies); in ad5933_work() 739 INIT_DELAYED_WORK(&st->work, ad5933_work); in ad5933_probe()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/media/pci/smipcie/ |
D | smipcie-ir.c | 114 static void smi_ir_decode(struct work_struct *work) in smi_ir_decode() argument 116 struct smi_rc *ir = container_of(work, struct smi_rc, work); in smi_ir_decode() 163 schedule_work(&ir->work); in smi_ir_irq() 211 INIT_WORK(&ir->work, smi_ir_decode); in smi_ir_init()
|