Home
last modified time | relevance | path

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

12345678910>>...93

/linux-6.6.21/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()
/linux-6.6.21/fs/smb/server/
Dksmbd_work.c21 struct ksmbd_work *work = kmem_cache_zalloc(work_cache, GFP_KERNEL); in ksmbd_alloc_work_struct() local
42 void ksmbd_free_work_struct(struct ksmbd_work *work) in ksmbd_free_work_struct()
96 bool ksmbd_queue_work(struct ksmbd_work *work) in ksmbd_queue_work()
101 static inline void __ksmbd_iov_pin(struct ksmbd_work *work, void *ib, in __ksmbd_iov_pin()
109 static int __ksmbd_iov_pin_rsp(struct ksmbd_work *work, void *ib, int len, in __ksmbd_iov_pin_rsp()
159 int ksmbd_iov_pin_rsp(struct ksmbd_work *work, void *ib, int len) in ksmbd_iov_pin_rsp()
164 int ksmbd_iov_pin_rsp_read(struct ksmbd_work *work, void *ib, int len, in ksmbd_iov_pin_rsp_read()
170 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()
88 int smb2_get_ksmbd_tcon(struct ksmbd_work *work) in smb2_get_ksmbd_tcon()
138 void smb2_set_err_rsp(struct ksmbd_work *work) in smb2_set_err_rsp()
169 bool is_smb2_neg_cmd(struct ksmbd_work *work) in is_smb2_neg_cmd()
193 bool is_smb2_rsp(struct ksmbd_work *work) in is_smb2_rsp()
214 u16 get_smb2_cmd_val(struct ksmbd_work *work) in get_smb2_cmd_val()
230 void set_smb2_rsp_status(struct ksmbd_work *work, __le32 err) in set_smb2_rsp_status()
250 int init_smb2_neg_rsp(struct ksmbd_work *work) in init_smb2_neg_rsp()
311 int smb2_set_rsp_credits(struct ksmbd_work *work) in smb2_set_rsp_credits()
373 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()
391 static int smb1_negotiate(struct ksmbd_work *work) in smb1_negotiate()
408 int ksmbd_init_smb_server(struct ksmbd_work *work) in ksmbd_init_smb_server()
425 int ksmbd_populate_dot_dotdot_entries(struct ksmbd_work *work, int info_level, in ksmbd_populate_dot_dotdot_entries()
566 static int smb_handle_negotiate(struct ksmbd_work *work) in smb_handle_negotiate()
[all …]
Dvfs_cache.c361 static void __put_fd_final(struct ksmbd_work *work, struct ksmbd_file *fp) in __put_fd_final()
380 int ksmbd_close_fd(struct ksmbd_work *work, u64 id) in ksmbd_close_fd()
411 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp) in ksmbd_fd_put()
430 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id) in ksmbd_lookup_foreign_fd()
435 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id) in ksmbd_lookup_fd_fast()
446 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id, in ksmbd_lookup_fd_slow()
563 struct ksmbd_file *ksmbd_open_fd(struct ksmbd_work *work, struct file *filp) in ksmbd_open_fd()
654 void ksmbd_close_tree_conn_fds(struct ksmbd_work *work) in ksmbd_close_tree_conn_fds()
663 void ksmbd_close_session_fds(struct ksmbd_work *work) in ksmbd_close_session_fds()
/linux-6.6.21/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.c786 struct kthread_work *work; in kthread_worker_fn() local
952 struct kthread_work *work) in queuing_blocked()
960 struct kthread_work *work) in kthread_insert_work_sanity_check()
970 struct kthread_work *work, in kthread_insert_work()
996 struct kthread_work *work) in kthread_queue_work()
1022 struct kthread_work *work = &dwork->work; in kthread_delayed_work_timer_fn() local
1052 struct kthread_work *work = &dwork->work; in __kthread_queue_delayed_work() local
1095 struct kthread_work *work = &dwork->work; in kthread_queue_delayed_work() local
1112 struct kthread_work work; member
1116 static void kthread_flush_work_fn(struct kthread_work *work) in kthread_flush_work_fn()
[all …]
Dworkqueue.c521 struct work_struct *work = addr; in work_is_static_object() local
532 struct work_struct *work = addr; in work_fixup_init() local
550 struct work_struct *work = addr; in work_fixup_free() local
570 static inline void debug_work_activate(struct work_struct *work) in debug_work_activate()
575 static inline void debug_work_deactivate(struct work_struct *work) in debug_work_deactivate()
580 void __init_work(struct work_struct *work, int onstack) in __init_work()
589 void destroy_work_on_stack(struct work_struct *work) in destroy_work_on_stack()
595 void destroy_delayed_work_on_stack(struct delayed_work *work) in destroy_delayed_work_on_stack()
603 static inline void debug_work_activate(struct work_struct *work) { } in debug_work_activate()
604 static inline void debug_work_deactivate(struct work_struct *work) { } in debug_work_deactivate()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/virt/kvm/
Dasync_pf.c45 static void async_pf_execute(struct work_struct *work) in async_pf_execute()
99 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local
125 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local
138 struct kvm_async_pf *work; in kvm_check_async_pf_completion() local
165 struct kvm_async_pf *work; in kvm_setup_async_pf() local
204 struct kvm_async_pf *work; in kvm_async_pf_wakeup_all() local
/linux-6.6.21/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()
Dsas_port.c273 void sas_porte_bytes_dmaed(struct work_struct *work) in sas_porte_bytes_dmaed()
281 void sas_porte_broadcast_rcvd(struct work_struct *work) in sas_porte_broadcast_rcvd()
299 void sas_porte_link_reset_err(struct work_struct *work) in sas_porte_link_reset_err()
307 void sas_porte_timer_event(struct work_struct *work) in sas_porte_timer_event()
315 void sas_porte_hard_reset(struct work_struct *work) in sas_porte_hard_reset()
/linux-6.6.21/tools/perf/
Dbuiltin-kwork.c271 struct kwork_work *work; in work_search() local
318 struct kwork_work *work = zalloc(sizeof(*work)); in work_new() local
339 struct kwork_work *work = work_search(root, key, sort_list); in work_findnew() local
365 struct kwork_work *work, in profile_event_match()
398 struct kwork_work *work, key; in work_push_atom() local
445 struct kwork_work *work, key; in work_pop_atom() local
476 static void report_update_exit_event(struct kwork_work *work, in report_update_exit_event()
515 struct kwork_work *work = NULL; in report_exit_event() local
531 static void latency_update_entry_event(struct kwork_work *work, in latency_update_entry_event()
570 struct kwork_work *work = NULL; in latency_entry_event() local
[all …]
/linux-6.6.21/fs/
Dfs-writeback.c145 struct wb_writeback_work *work) in finish_writeback_work()
161 struct wb_writeback_work *work) in wb_queue_work()
348 struct rcu_work work; member
466 static void inode_switch_wbs_work_fn(struct work_struct *work) in inode_switch_wbs_work_fn()
971 struct wb_writeback_work *work; in bdi_split_work_to_wbs() local
1044 struct wb_writeback_work *work; in cgroup_writeback_by_id() local
1449 static void queue_io(struct bdi_writeback *wb, struct wb_writeback_work *work, in queue_io()
1784 struct wb_writeback_work *work) in writeback_chunk_size()
1825 struct wb_writeback_work *work) in writeback_sb_inodes()
1969 struct wb_writeback_work *work) in __writeback_inodes_wb()
[all …]
/linux-6.6.21/kernel/locking/
Dtest-ww_mutex.c29 struct work_struct work; member
40 static void test_mutex_work(struct work_struct *work) in test_mutex_work()
177 struct work_struct work; member
186 static void test_abba_work(struct work_struct *work) in test_abba_work()
278 struct work_struct work; member
286 static void test_cycle_work(struct work_struct *work) in test_cycle_work()
383 struct work_struct work; member
418 static void stress_inorder_work(struct work_struct *work) in stress_inorder_work()
476 static void stress_reorder_work(struct work_struct *work) in stress_reorder_work()
535 static void stress_one_work(struct work_struct *work) in stress_one_work()
/linux-6.6.21/net/rds/
Dthreads.c162 void rds_connect_worker(struct work_struct *work) in rds_connect_worker()
191 void rds_send_worker(struct work_struct *work) in rds_send_worker()
218 void rds_recv_worker(struct work_struct *work) in rds_recv_worker()
243 void rds_shutdown_worker(struct work_struct *work) in rds_shutdown_worker()
/linux-6.6.21/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()
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_hdcp.c152 static void link_lock(struct hdcp_workqueue *work, bool lock) in link_lock()
273 static void event_callback(struct work_struct *work) in event_callback()
292 static void event_property_update(struct work_struct *work) in event_property_update()
363 static void event_property_validate(struct work_struct *work) in event_property_validate()
415 static void event_watchdog_timer(struct work_struct *work) in event_watchdog_timer()
436 static void event_cpirq(struct work_struct *work) in event_cpirq()
620 struct hdcp_workqueue *work; in srm_data_write() local
644 struct hdcp_workqueue *work; in srm_data_read() local
/linux-6.6.21/kernel/entry/
Dcommon.c49 unsigned long work) in syscall_trace_enter()
91 unsigned long work = READ_ONCE(current_thread_info()->syscall_work); in __syscall_enter_from_user_work() local
219 static inline bool report_single_step(unsigned long work) in report_single_step()
227 static void syscall_exit_work(struct pt_regs *regs, unsigned long work) in syscall_exit_work()
260 unsigned long work = READ_ONCE(current_thread_info()->syscall_work); in syscall_exit_to_user_mode_prepare() local
/linux-6.6.21/io_uring/
Dio-wq.c65 struct work_struct work; member
161 struct io_wq_work *work) in io_work_get_acct()
453 static inline unsigned int io_get_work_hash(struct io_wq_work *work) in io_get_work_hash()
480 struct io_wq_work *work, *tail; in io_get_next_work() local
533 struct io_wq_work *work) in io_assign_current_work()
557 struct io_wq_work *work; in io_worker_handle_work() local
740 static bool io_wq_work_match_all(struct io_wq_work *work, void *data) in io_wq_work_match_all()
807 static void io_workqueue_create(struct work_struct *work) in io_workqueue_create()
889 static void io_run_cancel(struct io_wq_work *work, struct io_wq *wq) in io_run_cancel()
898 static void io_wq_insert_work(struct io_wq *wq, struct io_wq_work *work) in io_wq_insert_work()
[all …]
/linux-6.6.21/fs/btrfs/
Dasync-thread.c55 struct btrfs_fs_info * __pure btrfs_work_owner(const struct btrfs_work *work) in btrfs_work_owner()
214 struct btrfs_work *work; in run_ordered_work() local
296 struct btrfs_work *work = container_of(normal_work, struct btrfs_work, in btrfs_work_helper() local
331 void btrfs_init_work(struct btrfs_work *work, btrfs_func_t func, in btrfs_init_work()
342 void btrfs_queue_work(struct btrfs_workqueue *wq, struct btrfs_work *work) in btrfs_queue_work()
/linux-6.6.21/net/wireless/
Dcore.c318 static void cfg80211_rfkill_block_work(struct work_struct *work) in cfg80211_rfkill_block_work()
327 static void cfg80211_event_work(struct work_struct *work) in cfg80211_event_work()
358 static void cfg80211_destroy_iface_wk(struct work_struct *work) in cfg80211_destroy_iface_wk()
371 struct wiphy_work *work) in cfg80211_sched_scan_stop_wk()
385 static void cfg80211_propagate_radar_detect_wk(struct work_struct *work) in cfg80211_propagate_radar_detect_wk()
401 static void cfg80211_propagate_cac_done_wk(struct work_struct *work) in cfg80211_propagate_cac_done_wk()
417 static void cfg80211_wiphy_work(struct work_struct *work) in cfg80211_wiphy_work()
1622 void wiphy_work_queue(struct wiphy *wiphy, struct wiphy_work *work) in wiphy_work_queue()
1636 void wiphy_work_cancel(struct wiphy *wiphy, struct wiphy_work *work) in wiphy_work_cancel()
1650 void wiphy_work_flush(struct wiphy *wiphy, struct wiphy_work *work) in wiphy_work_flush()

12345678910>>...93