| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_osk_wq.c | 36 struct delayed_work work; member 44 static void _mali_osk_wq_work_func(struct work_struct *work); 106 mali_osk_wq_work_object_t *work = kmalloc(sizeof(mali_osk_wq_work_object_t), GFP_KERNEL); in _mali_osk_wq_create_work() local 108 if (NULL == work) return NULL; in _mali_osk_wq_create_work() 110 work->handler = handler; in _mali_osk_wq_create_work() 111 work->data = data; in _mali_osk_wq_create_work() 112 work->high_pri = MALI_FALSE; in _mali_osk_wq_create_work() 114 INIT_WORK(&work->work_handle, _mali_osk_wq_work_func); in _mali_osk_wq_create_work() 116 return work; in _mali_osk_wq_create_work() 121 mali_osk_wq_work_object_t *work = kmalloc(sizeof(mali_osk_wq_work_object_t), GFP_KERNEL); in _mali_osk_wq_create_work_high_pri() local [all …]
|
| /OK3568_Linux_fs/kernel/virt/kvm/ |
| H A D | async_pf.c | 45 static void async_pf_execute(struct work_struct *work) in async_pf_execute() argument 48 container_of(work, struct kvm_async_pf, work); in async_pf_execute() 100 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local 102 typeof(*work), queue); in kvm_clear_async_pf_completion_queue() 103 list_del(&work->queue); in kvm_clear_async_pf_completion_queue() 109 if (!work->vcpu) in kvm_clear_async_pf_completion_queue() 114 flush_work(&work->work); in kvm_clear_async_pf_completion_queue() 116 if (cancel_work_sync(&work->work)) { in kvm_clear_async_pf_completion_queue() 117 mmput(work->mm); in kvm_clear_async_pf_completion_queue() 119 kmem_cache_free(async_pf_cache, work); in kvm_clear_async_pf_completion_queue() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_flip_work.c | 57 void drm_flip_work_queue_task(struct drm_flip_work *work, in drm_flip_work_queue_task() argument 62 spin_lock_irqsave(&work->lock, flags); in drm_flip_work_queue_task() 63 list_add_tail(&task->node, &work->queued); in drm_flip_work_queue_task() 64 spin_unlock_irqrestore(&work->lock, flags); in drm_flip_work_queue_task() 76 void drm_flip_work_queue(struct drm_flip_work *work, void *val) in drm_flip_work_queue() argument 83 drm_flip_work_queue_task(work, task); in drm_flip_work_queue() 85 DRM_ERROR("%s could not allocate task!\n", work->name); in drm_flip_work_queue() 86 work->func(work, val); in drm_flip_work_queue() 101 void drm_flip_work_commit(struct drm_flip_work *work, in drm_flip_work_commit() argument 106 spin_lock_irqsave(&work->lock, flags); in drm_flip_work_commit() [all …]
|
| H A D | drm_vblank_work.c | 48 struct drm_vblank_work *work, *next; in drm_handle_vblank_works() local 54 list_for_each_entry_safe(work, next, &vblank->pending_work, node) { in drm_handle_vblank_works() 55 if (!drm_vblank_passed(count, work->count)) in drm_handle_vblank_works() 58 list_del_init(&work->node); in drm_handle_vblank_works() 60 kthread_queue_work(vblank->worker, &work->base); in drm_handle_vblank_works() 72 struct drm_vblank_work *work, *next; in drm_vblank_cancel_pending_works() local 76 list_for_each_entry_safe(work, next, &vblank->pending_work, node) { in drm_vblank_cancel_pending_works() 77 list_del_init(&work->node); in drm_vblank_cancel_pending_works() 106 int drm_vblank_work_schedule(struct drm_vblank_work *work, in drm_vblank_work_schedule() argument 109 struct drm_vblank_crtc *vblank = work->vblank; in drm_vblank_work_schedule() [all …]
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | workqueue.h | 26 struct work_struct *work), 28 TP_ARGS(req_cpu, pwq, work), 31 __field( void *, work ) 39 __entry->work = work; 40 __entry->function = work->func; 47 __entry->work, __entry->function, __entry->workqueue, 61 TP_PROTO(struct work_struct *work), 63 TP_ARGS(work), 66 __field( void *, work ) 70 __entry->work = work; [all …]
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | irq_work.c | 30 static bool irq_work_claim(struct irq_work *work) in irq_work_claim() argument 34 oflags = atomic_fetch_or(IRQ_WORK_CLAIMED | CSD_TYPE_IRQ_WORK, &work->flags); in irq_work_claim() 53 static void __irq_work_queue_local(struct irq_work *work) in __irq_work_queue_local() argument 56 if (atomic_read(&work->flags) & IRQ_WORK_LAZY) { in __irq_work_queue_local() 57 if (llist_add(&work->llnode, this_cpu_ptr(&lazy_list)) && in __irq_work_queue_local() 61 if (llist_add(&work->llnode, this_cpu_ptr(&raised_list))) in __irq_work_queue_local() 67 bool irq_work_queue(struct irq_work *work) in irq_work_queue() argument 70 if (!irq_work_claim(work)) in irq_work_queue() 75 __irq_work_queue_local(work); in irq_work_queue() 88 bool irq_work_queue_on(struct irq_work *work, int cpu) in irq_work_queue_on() argument [all …]
|
| H A D | task_work.c | 32 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add() argument 38 kasan_record_aux_stack(work); in task_work_add() 44 work->next = head; in task_work_add() 45 } while (cmpxchg(&task->task_works, head, work) != head); in task_work_add() 78 struct callback_head *work; in task_work_cancel_match() local 90 while ((work = READ_ONCE(*pprev))) { in task_work_cancel_match() 91 if (!match(work, data)) in task_work_cancel_match() 92 pprev = &work->next; in task_work_cancel_match() 93 else if (cmpxchg(pprev, work, work->next) == work) in task_work_cancel_match() 98 return work; in task_work_cancel_match() [all …]
|
| H A D | kthread.c | 720 struct kthread_work *work; in kthread_worker_fn() local 743 work = NULL; in kthread_worker_fn() 746 work = list_first_entry(&worker->work_list, in kthread_worker_fn() 748 list_del_init(&work->node); in kthread_worker_fn() 750 worker->current_work = work; in kthread_worker_fn() 753 if (work) { in kthread_worker_fn() 755 work->func(work); in kthread_worker_fn() 861 struct kthread_work *work) in queuing_blocked() argument 865 return !list_empty(&work->node) || work->canceling; in queuing_blocked() 869 struct kthread_work *work) in kthread_insert_work_sanity_check() argument [all …]
|
| H A D | workqueue.c | 448 struct work_struct *work = addr; in work_is_static_object() local 450 return test_bit(WORK_STRUCT_STATIC_BIT, work_data_bits(work)); in work_is_static_object() 459 struct work_struct *work = addr; in work_fixup_init() local 463 cancel_work_sync(work); in work_fixup_init() 464 debug_object_init(work, &work_debug_descr); in work_fixup_init() 477 struct work_struct *work = addr; in work_fixup_free() local 481 cancel_work_sync(work); in work_fixup_free() 482 debug_object_free(work, &work_debug_descr); in work_fixup_free() 497 static inline void debug_work_activate(struct work_struct *work) in debug_work_activate() argument 499 debug_object_activate(work, &work_debug_descr); in debug_work_activate() [all …]
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | async-thread.c | 61 struct btrfs_fs_info * __pure btrfs_work_owner(const struct btrfs_work *work) in btrfs_work_owner() argument 63 return work->wq->fs_info; in btrfs_work_owner() 224 struct btrfs_work *work; in run_ordered_work() local 233 work = list_entry(list->next, struct btrfs_work, in run_ordered_work() 235 if (!test_bit(WORK_DONE_BIT, &work->flags)) in run_ordered_work() 251 if (test_and_set_bit(WORK_ORDER_DONE_BIT, &work->flags)) in run_ordered_work() 253 trace_btrfs_ordered_sched(work); in run_ordered_work() 255 work->ordered_func(work); in run_ordered_work() 259 list_del(&work->ordered_list); in run_ordered_work() 262 if (work == self) { in run_ordered_work() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | completion.h | 36 #define COMPLETION_INITIALIZER(work) \ argument 37 { 0, __SWAIT_QUEUE_HEAD_INITIALIZER((work).wait) } 39 #define COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) \ argument 40 (*({ init_completion_map(&(work), &(map)); &(work); })) 42 #define COMPLETION_INITIALIZER_ONSTACK(work) \ argument 43 (*({ init_completion(&work); &work; })) 53 #define DECLARE_COMPLETION(work) \ argument 54 struct completion work = COMPLETION_INITIALIZER(work) 69 # define DECLARE_COMPLETION_ONSTACK(work) \ argument 70 struct completion work = COMPLETION_INITIALIZER_ONSTACK(work) [all …]
|
| H A D | workqueue.h | 22 typedef void (*work_func_t)(struct work_struct *work); 29 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) argument 119 struct work_struct work; member 131 struct work_struct work; member 164 static inline struct delayed_work *to_delayed_work(struct work_struct *work) in to_delayed_work() argument 166 return container_of(work, struct delayed_work, work); in to_delayed_work() 169 static inline struct rcu_work *to_rcu_work(struct work_struct *work) in to_rcu_work() argument 171 return container_of(work, struct rcu_work, work); in to_rcu_work() 175 struct work_struct work; member 198 .work = __WORK_INITIALIZER((n).work, (f)), \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/octeon/ |
| H A D | ethernet-rx.c | 63 static inline int cvm_oct_check_rcv_error(struct cvmx_wqe *work) in cvm_oct_check_rcv_error() argument 68 port = work->word0.pip.cn68xx.pknd; in cvm_oct_check_rcv_error() 70 port = work->word1.cn38xx.ipprt; in cvm_oct_check_rcv_error() 72 if ((work->word2.snoip.err_code == 10) && (work->word1.len <= 64)) in cvm_oct_check_rcv_error() 81 if (work->word2.snoip.err_code == 5 || in cvm_oct_check_rcv_error() 82 work->word2.snoip.err_code == 7) { in cvm_oct_check_rcv_error() 99 cvmx_phys_to_ptr(work->packet_ptr.s.addr); in cvm_oct_check_rcv_error() 102 while (i < work->word1.len - 1) { in cvm_oct_check_rcv_error() 111 work->packet_ptr.s.addr += i + 1; in cvm_oct_check_rcv_error() 112 work->word1.len -= i + 5; in cvm_oct_check_rcv_error() [all …]
|
| H A D | ethernet-tx.c | 517 struct cvmx_wqe *work = cvmx_fpa_alloc(CVMX_FPA_WQE_POOL); in cvm_oct_xmit_pow() local 519 if (unlikely(!work)) { in cvm_oct_xmit_pow() 532 cvmx_fpa_free(work, CVMX_FPA_WQE_POOL, 1); in cvm_oct_xmit_pow() 562 work->word0.pip.cn38xx.hw_chksum = skb->csum; in cvm_oct_xmit_pow() 563 work->word1.len = skb->len; in cvm_oct_xmit_pow() 564 cvmx_wqe_set_port(work, priv->port); in cvm_oct_xmit_pow() 565 cvmx_wqe_set_qos(work, priv->port & 0x7); in cvm_oct_xmit_pow() 566 cvmx_wqe_set_grp(work, pow_send_group); in cvm_oct_xmit_pow() 567 work->word1.tag_type = CVMX_HELPER_INPUT_TAG_TYPE; in cvm_oct_xmit_pow() 568 work->word1.tag = pow_send_group; /* FIXME */ in cvm_oct_xmit_pow() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_display.c | 46 struct amdgpu_flip_work *work = in amdgpu_display_flip_callback() local 50 schedule_work(&work->flip_work.work); in amdgpu_display_flip_callback() 53 static bool amdgpu_display_flip_handle_fence(struct amdgpu_flip_work *work, in amdgpu_display_flip_handle_fence() argument 63 if (!dma_fence_add_callback(fence, &work->cb, in amdgpu_display_flip_handle_fence() 74 container_of(__work, struct delayed_work, work); in amdgpu_display_flip_work_func() 75 struct amdgpu_flip_work *work = in amdgpu_display_flip_work_func() local 77 struct amdgpu_device *adev = work->adev; in amdgpu_display_flip_work_func() 78 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[work->crtc_id]; in amdgpu_display_flip_work_func() 85 if (amdgpu_display_flip_handle_fence(work, &work->excl)) in amdgpu_display_flip_work_func() 88 for (i = 0; i < work->shared_count; ++i) in amdgpu_display_flip_work_func() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | effects_i_dsp.c | 233 double * work = lsx_memdup(in, n * sizeof(*work)); in lsx_power_spectrum() local 234 lsx_safe_rdft(n, 1, work); in lsx_power_spectrum() 235 out[0] = sqr(work[0]); in lsx_power_spectrum() 237 out[i >> 1] = sqr(work[i]) + sqr(work[i + 1]); in lsx_power_spectrum() 238 out[i >> 1] = sqr(work[1]); in lsx_power_spectrum() 239 free(work); in lsx_power_spectrum() 245 double * work = lsx_malloc(n * sizeof(*work)); in lsx_power_spectrum_f() local 246 for (i = 0; i< n; ++i) work[i] = in[i]; in lsx_power_spectrum_f() 247 lsx_safe_rdft(n, 1, work); in lsx_power_spectrum_f() 248 out[0] = sqr(work[0]); in lsx_power_spectrum_f() [all …]
|
| /OK3568_Linux_fs/buildroot/package/scrub/ |
| H A D | 0001-configure-ac-make-sure-m4-macros-are-included-in-the-build.patch | 10 …work/build/scrub/build/scrub-2.6.1/ && PATH="/work/build/scrub/host/bin:/work/build/scrub/host/sb… 22 autoreconf: /work/build/scrub/host/usr/bin/autoconf failed with exit status: 1 23 …package/pkg-generic.mk:185: recipe for target '/work/build/scrub/build/scrub-2.6.1/.stamp_configur… 24 make: *** [/work/build/scrub/build/scrub-2.6.1/.stamp_configured] Error 1 25 make: Leaving directory '/work/repos/buildroot'
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-sato/webkit/webkitgtk/ |
| H A D | 0001-When-building-introspection-files-do-not-quote-CFLAG.patch | 8 In file included from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.… 9 …from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysr… 10 …from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysr… 11 …from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysr… 12 …from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysr… 13 …from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysr… 14 …from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/build/Sourc… 15 /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysroot-na… 18 In file included from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.… 19 …from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/webkitgtk/2.36.0-r0/recipe-sysr… [all …]
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | fs-writeback.c | 162 struct wb_writeback_work *work) in finish_writeback_work() argument 164 struct wb_completion *done = work->done; in finish_writeback_work() 166 if (work->auto_free) in finish_writeback_work() 167 kfree(work); in finish_writeback_work() 178 struct wb_writeback_work *work) in wb_queue_work() argument 180 trace_writeback_queue(wb, work); in wb_queue_work() 182 if (work->done) in wb_queue_work() 183 atomic_inc(&work->done->cnt); in wb_queue_work() 188 list_add_tail(&work->list, &wb->work_list); in wb_queue_work() 191 finish_writeback_work(wb, work); in wb_queue_work() [all …]
|
| /OK3568_Linux_fs/kernel/io_uring/ |
| H A D | io-wq.c | 60 struct work_struct work; member 163 struct io_wq_work *work) in io_work_get_acct() argument 165 return io_get_acct(wqe, !(work->flags & IO_WQ_WORK_UNBOUND)); in io_work_get_acct() 409 struct io_wq_work *work) in __io_worker_busy() argument 434 static inline unsigned int io_get_work_hash(struct io_wq_work *work) in io_get_work_hash() argument 436 return work->flags >> IO_WQ_HASH_SHIFT; in io_get_work_hash() 462 struct io_wq_work *work, *tail; in io_get_next_work() local 469 work = container_of(node, struct io_wq_work, list); in io_get_next_work() 472 if (!io_wq_is_hashed(work)) { in io_get_next_work() 474 return work; in io_get_next_work() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | cm.c | 91 struct cm_work *work); 228 struct delayed_work work; member 239 struct cm_work work; member 299 static void cm_work_handler(struct work_struct *work); 718 __be32 remote_id = timewait_info->work.remote_id; in cm_insert_remote_id() 724 if (be32_lt(remote_id, cur_timewait_info->work.remote_id)) in cm_insert_remote_id() 726 else if (be32_gt(remote_id, cur_timewait_info->work.remote_id)) in cm_insert_remote_id() 752 if (be32_lt(remote_id, timewait_info->work.remote_id)) in cm_find_remote_id() 754 else if (be32_gt(remote_id, timewait_info->work.remote_id)) in cm_find_remote_id() 761 res = cm_acquire_id(timewait_info->work.local_id, in cm_find_remote_id() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/accessibility/speakup/ |
| H A D | selection.c | 20 struct work_struct work; member 25 static void __speakup_set_selection(struct work_struct *work) in __speakup_set_selection() argument 28 container_of(work, struct speakup_selection_work, work); in __speakup_set_selection() 58 .work = __WORK_INITIALIZER(speakup_sel_work.work, 87 schedule_work_on(WORK_CPU_UNBOUND, &speakup_sel_work.work); in speakup_set_selection() 96 cancel_work_sync(&speakup_sel_work.work); in speakup_cancel_selection() 106 static void __speakup_paste_selection(struct work_struct *work) in __speakup_paste_selection() argument 109 container_of(work, struct speakup_selection_work, work); in __speakup_paste_selection() 117 .work = __WORK_INITIALIZER(speakup_paste_work.work, 129 schedule_work_on(WORK_CPU_UNBOUND, &speakup_paste_work.work); in speakup_paste_selection() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/ |
| H A D | configurefix.patch | 4 …work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfblayer contains probably… 5 WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/b… 6 WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/b… 7 WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/b… 8 WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/b… 9 WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/l… 10 WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/l… 11 WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/l… 12 WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/l… 13 WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/l… [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_linux_wq.c | 111 struct dhd_deferred_wq *work = NULL; in dhd_deferred_work_init() local 121 work = (struct dhd_deferred_wq *)kzalloc(sizeof(struct dhd_deferred_wq), in dhd_deferred_work_init() 123 if (!work) { in dhd_deferred_work_init() 128 INIT_WORK((struct work_struct *)work, dhd_deferred_work_handler); in dhd_deferred_work_init() 131 spin_lock_init(&work->work_lock); in dhd_deferred_work_init() 145 work->prio_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init() 146 if (!work->prio_fifo) { in dhd_deferred_work_init() 162 work->work_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init() 163 if (!work->work_fifo) { in dhd_deferred_work_init() 168 work->dhd_info = dhd_info; in dhd_deferred_work_init() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_linux_wq.c | 111 struct dhd_deferred_wq *work = NULL; in dhd_deferred_work_init() local 121 work = (struct dhd_deferred_wq *)kzalloc(sizeof(struct dhd_deferred_wq), in dhd_deferred_work_init() 123 if (!work) { in dhd_deferred_work_init() 128 INIT_WORK((struct work_struct *)work, dhd_deferred_work_handler); in dhd_deferred_work_init() 131 spin_lock_init(&work->work_lock); in dhd_deferred_work_init() 145 work->prio_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init() 146 if (!work->prio_fifo) { in dhd_deferred_work_init() 162 work->work_fifo = dhd_kfifo_init(buf, fifo_size, &work->work_lock); in dhd_deferred_work_init() 163 if (!work->work_fifo) { in dhd_deferred_work_init() 168 work->dhd_info = dhd_info; in dhd_deferred_work_init() [all …]
|