Home
last modified time | relevance | path

Searched defs:work (Results 1 – 25 of 4089) sorted by relevance

12345678910>>...164

/kernel/linux/linux-6.6/include/linux/
Dcompletion.h35 #define COMPLETION_INITIALIZER(work) \ argument
38 #define COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) \ argument
41 #define COMPLETION_INITIALIZER_ONSTACK(work) \ argument
52 #define DECLARE_COMPLETION(work) \ argument
68 # define DECLARE_COMPLETION_ONSTACK(work) \ argument
70 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) \ argument
73 # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work) argument
74 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) DECLARE_COMPLETION(work) argument
Dworkqueue.h28 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) argument
112 struct work_struct work; member
121 struct work_struct work; member
206 static inline struct delayed_work *to_delayed_work(struct work_struct *work) in to_delayed_work()
211 static inline struct rcu_work *to_rcu_work(struct work_struct *work) in to_rcu_work()
217 struct work_struct work; member
258 static inline unsigned int work_static(struct work_struct *work) in work_static()
263 static inline void __init_work(struct work_struct *work, int onstack) { } in __init_work()
264 static inline void destroy_work_on_stack(struct work_struct *work) { } in destroy_work_on_stack()
265 static inline void destroy_delayed_work_on_stack(struct delayed_work *work) { } in destroy_delayed_work_on_stack()
[all …]
Dirq_work.h37 void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *)) in init_irq_work()
42 static inline bool irq_work_is_pending(struct irq_work *work) in irq_work_is_pending()
47 static inline bool irq_work_is_busy(struct irq_work *work) in irq_work_is_busy()
52 static inline bool irq_work_is_hard(struct irq_work *work) in irq_work_is_hard()
/kernel/linux/linux-5.10/include/linux/
Dcompletion.h36 #define COMPLETION_INITIALIZER(work) \ argument
39 #define COMPLETION_INITIALIZER_ONSTACK_MAP(work, map) \ argument
42 #define COMPLETION_INITIALIZER_ONSTACK(work) \ argument
53 #define DECLARE_COMPLETION(work) \ argument
69 # define DECLARE_COMPLETION_ONSTACK(work) \ argument
71 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) \ argument
74 # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work) argument
75 # define DECLARE_COMPLETION_ONSTACK_MAP(work, map) DECLARE_COMPLETION(work) argument
Dworkqueue.h28 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) argument
117 struct work_struct work; member
126 struct work_struct work; member
159 static inline struct delayed_work *to_delayed_work(struct work_struct *work) in to_delayed_work()
164 static inline struct rcu_work *to_rcu_work(struct work_struct *work) in to_rcu_work()
170 struct work_struct work; member
211 static inline unsigned int work_static(struct work_struct *work) in work_static()
216 static inline void __init_work(struct work_struct *work, int onstack) { } in __init_work()
217 static inline void destroy_work_on_stack(struct work_struct *work) { } in destroy_work_on_stack()
218 static inline void destroy_delayed_work_on_stack(struct delayed_work *work) { } in destroy_delayed_work_on_stack()
[all …]
/kernel/linux/linux-5.10/kernel/
Dirq_work.c30 static bool irq_work_claim(struct irq_work *work) in irq_work_claim()
53 static void __irq_work_queue_local(struct irq_work *work) in __irq_work_queue_local()
67 bool irq_work_queue(struct irq_work *work) in irq_work_queue()
88 bool irq_work_queue_on(struct irq_work *work, int cpu) in irq_work_queue_on()
135 struct irq_work *work = arg; in irq_work_single() local
160 struct irq_work *work, *tmp; in irq_work_run_list() local
197 void irq_work_sync(struct irq_work *work) in irq_work_sync()
Dkthread.c719 struct kthread_work *work; in kthread_worker_fn() local
860 struct kthread_work *work) in queuing_blocked()
868 struct kthread_work *work) in kthread_insert_work_sanity_check()
878 struct kthread_work *work, in kthread_insert_work()
902 struct kthread_work *work) in kthread_queue_work()
928 struct kthread_work *work = &dwork->work; in kthread_delayed_work_timer_fn() local
958 struct kthread_work *work = &dwork->work; in __kthread_queue_delayed_work() local
1002 struct kthread_work *work = &dwork->work; in kthread_queue_delayed_work() local
1019 struct kthread_work work; member
1023 static void kthread_flush_work_fn(struct kthread_work *work) in kthread_flush_work_fn()
[all …]
Dworkqueue.c440 struct work_struct *work = addr; in work_is_static_object() local
451 struct work_struct *work = addr; in work_fixup_init() local
469 struct work_struct *work = addr; in work_fixup_free() local
489 static inline void debug_work_activate(struct work_struct *work) in debug_work_activate()
494 static inline void debug_work_deactivate(struct work_struct *work) in debug_work_deactivate()
499 void __init_work(struct work_struct *work, int onstack) in __init_work()
508 void destroy_work_on_stack(struct work_struct *work) in destroy_work_on_stack()
514 void destroy_delayed_work_on_stack(struct delayed_work *work) in destroy_delayed_work_on_stack()
522 static inline void debug_work_activate(struct work_struct *work) { } in debug_work_activate()
523 static inline void debug_work_deactivate(struct work_struct *work) { } in debug_work_deactivate()
[all …]
/kernel/linux/linux-6.6/fs/smb/server/
Dksmbd_work.c21 struct ksmbd_work *work = kmem_cache_zalloc(work_cache, GFP_KERNEL); in ksmbd_alloc_work_struct() local
41 void ksmbd_free_work_struct(struct ksmbd_work *work) in ksmbd_free_work_struct()
93 bool ksmbd_queue_work(struct ksmbd_work *work) in ksmbd_queue_work()
98 static inline void __ksmbd_iov_pin(struct ksmbd_work *work, void *ib, in __ksmbd_iov_pin()
106 static int __ksmbd_iov_pin_rsp(struct ksmbd_work *work, void *ib, int len, in __ksmbd_iov_pin_rsp()
156 int ksmbd_iov_pin_rsp(struct ksmbd_work *work, void *ib, int len) in ksmbd_iov_pin_rsp()
161 int ksmbd_iov_pin_rsp_read(struct ksmbd_work *work, void *ib, int len, in ksmbd_iov_pin_rsp_read()
167 int allocate_interim_rsp_buf(struct ksmbd_work *work) in allocate_interim_rsp_buf()
Dsmb2pdu.c42 static void __wbuf(struct ksmbd_work *work, void **req, void **rsp) in __wbuf()
90 int smb2_get_ksmbd_tcon(struct ksmbd_work *work) in smb2_get_ksmbd_tcon()
140 void smb2_set_err_rsp(struct ksmbd_work *work) in smb2_set_err_rsp()
171 bool is_smb2_neg_cmd(struct ksmbd_work *work) in is_smb2_neg_cmd()
195 bool is_smb2_rsp(struct ksmbd_work *work) in is_smb2_rsp()
216 u16 get_smb2_cmd_val(struct ksmbd_work *work) in get_smb2_cmd_val()
232 void set_smb2_rsp_status(struct ksmbd_work *work, __le32 err) in set_smb2_rsp_status()
252 int init_smb2_neg_rsp(struct ksmbd_work *work) in init_smb2_neg_rsp()
313 int smb2_set_rsp_credits(struct ksmbd_work *work) in smb2_set_rsp_credits()
375 static void init_chained_smb2_rsp(struct ksmbd_work *work) in init_chained_smb2_rsp()
[all …]
Dsmb_common.c135 int ksmbd_verify_smb_message(struct ksmbd_work *work) in ksmbd_verify_smb_message()
310 static u16 get_smb1_cmd_val(struct ksmbd_work *work) in get_smb1_cmd_val()
321 static int init_smb1_rsp_hdr(struct ksmbd_work *work) in init_smb1_rsp_hdr()
342 static int smb1_check_user_session(struct ksmbd_work *work) in smb1_check_user_session()
358 static int smb1_allocate_rsp_buf(struct ksmbd_work *work) in smb1_allocate_rsp_buf()
378 static void set_smb1_rsp_status(struct ksmbd_work *work, __le32 err) in set_smb1_rsp_status()
395 static int smb1_negotiate(struct ksmbd_work *work) in smb1_negotiate()
429 int ksmbd_populate_dot_dotdot_entries(struct ksmbd_work *work, int info_level, in ksmbd_populate_dot_dotdot_entries()
573 static int smb_handle_negotiate(struct ksmbd_work *work) in smb_handle_negotiate()
590 int ksmbd_smb_negotiate_common(struct ksmbd_work *work, unsigned int command) in ksmbd_smb_negotiate_common()
[all …]
/kernel/linux/linux-6.6/virt/kvm/
Dasync_pf.c45 static void async_pf_execute(struct work_struct *work) in async_pf_execute()
92 static void kvm_flush_and_free_async_pf_work(struct kvm_async_pf *work) in kvm_flush_and_free_async_pf_work()
119 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local
144 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local
160 struct kvm_async_pf *work; in kvm_check_async_pf_completion() local
187 struct kvm_async_pf *work; in kvm_setup_async_pf() local
225 struct kvm_async_pf *work; in kvm_async_pf_wakeup_all() local
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_vblank_work.c48 struct drm_vblank_work *work, *next; in drm_handle_vblank_works() local
72 struct drm_vblank_work *work, *next; in drm_vblank_cancel_pending_works() local
106 int drm_vblank_work_schedule(struct drm_vblank_work *work, in drm_vblank_work_schedule()
182 bool drm_vblank_work_cancel_sync(struct drm_vblank_work *work) in drm_vblank_work_cancel_sync()
218 void drm_vblank_work_flush(struct drm_vblank_work *work) in drm_vblank_work_flush()
240 void drm_vblank_work_init(struct drm_vblank_work *work, struct drm_crtc *crtc, in drm_vblank_work_init()
241 void (*func)(struct kthread_work *work)) in drm_vblank_work_init()
Ddrm_flip_work.c57 void drm_flip_work_queue_task(struct drm_flip_work *work, in drm_flip_work_queue_task()
76 void drm_flip_work_queue(struct drm_flip_work *work, void *val) in drm_flip_work_queue()
101 void drm_flip_work_commit(struct drm_flip_work *work, in drm_flip_work_commit()
116 struct drm_flip_work *work = container_of(w, struct drm_flip_work, worker); in flip_worker() local
147 void drm_flip_work_init(struct drm_flip_work *work, in drm_flip_work_init()
166 void drm_flip_work_cleanup(struct drm_flip_work *work) in drm_flip_work_cleanup()
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_vblank_work.c48 struct drm_vblank_work *work, *next; in drm_handle_vblank_works() local
72 struct drm_vblank_work *work, *next; in drm_vblank_cancel_pending_works() local
106 int drm_vblank_work_schedule(struct drm_vblank_work *work, in drm_vblank_work_schedule()
182 bool drm_vblank_work_cancel_sync(struct drm_vblank_work *work) in drm_vblank_work_cancel_sync()
218 void drm_vblank_work_flush(struct drm_vblank_work *work) in drm_vblank_work_flush()
240 void drm_vblank_work_init(struct drm_vblank_work *work, struct drm_crtc *crtc, in drm_vblank_work_init()
241 void (*func)(struct kthread_work *work)) in drm_vblank_work_init()
Ddrm_flip_work.c57 void drm_flip_work_queue_task(struct drm_flip_work *work, in drm_flip_work_queue_task()
76 void drm_flip_work_queue(struct drm_flip_work *work, void *val) in drm_flip_work_queue()
101 void drm_flip_work_commit(struct drm_flip_work *work, in drm_flip_work_commit()
116 struct drm_flip_work *work = container_of(w, struct drm_flip_work, worker); in flip_worker() local
147 void drm_flip_work_init(struct drm_flip_work *work, in drm_flip_work_init()
166 void drm_flip_work_cleanup(struct drm_flip_work *work) in drm_flip_work_cleanup()
/kernel/linux/linux-6.6/kernel/
Dirq_work.c57 static bool irq_work_claim(struct irq_work *work) in irq_work_claim()
79 static __always_inline void irq_work_raise(struct irq_work *work) in irq_work_raise()
88 static void __irq_work_queue_local(struct irq_work *work) in __irq_work_queue_local()
116 bool irq_work_queue(struct irq_work *work) in irq_work_queue()
137 bool irq_work_queue_on(struct irq_work *work, int cpu) in irq_work_queue_on()
203 struct irq_work *work = arg; in irq_work_single() local
237 struct irq_work *work, *tmp; in irq_work_run_list() local
286 void irq_work_sync(struct irq_work *work) in irq_work_sync()
Dkthread.c806 struct kthread_work *work; in kthread_worker_fn() local
980 struct kthread_work *work) in queuing_blocked()
988 struct kthread_work *work) in kthread_insert_work_sanity_check()
998 struct kthread_work *work, in kthread_insert_work()
1024 struct kthread_work *work) in kthread_queue_work()
1050 struct kthread_work *work = &dwork->work; in kthread_delayed_work_timer_fn() local
1080 struct kthread_work *work = &dwork->work; in __kthread_queue_delayed_work() local
1123 struct kthread_work *work = &dwork->work; in kthread_queue_delayed_work() local
1140 struct kthread_work work; member
1144 static void kthread_flush_work_fn(struct kthread_work *work) in kthread_flush_work_fn()
[all …]
/kernel/linux/linux-5.10/virt/kvm/
Dasync_pf.c45 static void async_pf_execute(struct work_struct *work) in async_pf_execute()
100 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local
126 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local
139 struct kvm_async_pf *work; in kvm_check_async_pf_completion() local
166 struct kvm_async_pf *work; in kvm_setup_async_pf() local
205 struct kvm_async_pf *work; in kvm_async_pf_wakeup_all() local
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_phy.c17 static void sas_phye_loss_of_signal(struct work_struct *work) in sas_phye_loss_of_signal()
26 static void sas_phye_oob_done(struct work_struct *work) in sas_phye_oob_done()
34 static void sas_phye_oob_error(struct work_struct *work) in sas_phye_oob_error()
63 static void sas_phye_spinup_hold(struct work_struct *work) in sas_phye_spinup_hold()
75 static void sas_phye_resume_timeout(struct work_struct *work) in sas_phye_resume_timeout()
92 static void sas_phye_shutdown(struct work_struct *work) in sas_phye_shutdown()
/kernel/linux/linux-6.6/drivers/scsi/libsas/
Dsas_phy.c17 static void sas_phye_loss_of_signal(struct work_struct *work) in sas_phye_loss_of_signal()
26 static void sas_phye_oob_done(struct work_struct *work) in sas_phye_oob_done()
34 static void sas_phye_oob_error(struct work_struct *work) in sas_phye_oob_error()
63 static void sas_phye_spinup_hold(struct work_struct *work) in sas_phye_spinup_hold()
75 static void sas_phye_resume_timeout(struct work_struct *work) in sas_phye_resume_timeout()
92 static void sas_phye_shutdown(struct work_struct *work) in sas_phye_shutdown()
/kernel/linux/linux-5.10/kernel/locking/
Dtest-ww_mutex.c20 struct work_struct work; member
31 static void test_mutex_work(struct work_struct *work) in test_mutex_work()
148 struct work_struct work; member
157 static void test_abba_work(struct work_struct *work) in test_abba_work()
238 struct work_struct work; member
246 static void test_cycle_work(struct work_struct *work) in test_cycle_work()
343 struct work_struct work; member
378 static void stress_inorder_work(struct work_struct *work) in stress_inorder_work()
436 static void stress_reorder_work(struct work_struct *work) in stress_reorder_work()
495 static void stress_one_work(struct work_struct *work) in stress_one_work()
/kernel/linux/linux-5.10/drivers/edac/
Dwq.c6 bool edac_queue_work(struct delayed_work *work, unsigned long delay) in edac_queue_work()
12 bool edac_mod_work(struct delayed_work *work, unsigned long delay) in edac_mod_work()
18 bool edac_stop_work(struct delayed_work *work) in edac_stop_work()
/kernel/linux/linux-6.6/drivers/edac/
Dwq.c6 bool edac_queue_work(struct delayed_work *work, unsigned long delay) in edac_queue_work()
12 bool edac_mod_work(struct delayed_work *work, unsigned long delay) in edac_mod_work()
18 bool edac_stop_work(struct delayed_work *work) in edac_stop_work()
/kernel/linux/linux-5.10/fs/btrfs/
Dasync-thread.c61 struct btrfs_fs_info * __pure btrfs_work_owner(const struct btrfs_work *work) in btrfs_work_owner()
224 struct btrfs_work *work; in run_ordered_work() local
306 struct btrfs_work *work = container_of(normal_work, struct btrfs_work, in btrfs_work_helper() local
342 void btrfs_init_work(struct btrfs_work *work, btrfs_func_t func, in btrfs_init_work()
354 struct btrfs_work *work) in __btrfs_queue_work()
370 struct btrfs_work *work) in btrfs_queue_work()
408 void btrfs_set_work_high_priority(struct btrfs_work *work) in btrfs_set_work_high_priority()

12345678910>>...164