/linux-6.1.9/include/linux/ |
D | completion.h | 35 #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
|
D | workqueue.h | 28 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) argument 111 struct work_struct work; member 120 struct work_struct work; member 153 static inline struct delayed_work *to_delayed_work(struct work_struct *work) in to_delayed_work() 158 static inline struct rcu_work *to_rcu_work(struct work_struct *work) in to_rcu_work() 164 struct work_struct work; member 205 static inline unsigned int work_static(struct work_struct *work) in work_static() 210 static inline void __init_work(struct work_struct *work, int onstack) { } in __init_work() 211 static inline void destroy_work_on_stack(struct work_struct *work) { } in destroy_work_on_stack() 212 static inline void destroy_delayed_work_on_stack(struct delayed_work *work) { } in destroy_delayed_work_on_stack() [all …]
|
D | irq_work.h | 37 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.1.9/drivers/gpu/drm/ |
D | drm_vblank_work.c | 48 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()
|
D | drm_flip_work.c | 57 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.1.9/virt/kvm/ |
D | async_pf.c | 45 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
|
/linux-6.1.9/kernel/ |
D | irq_work.c | 55 static bool irq_work_claim(struct irq_work *work) in irq_work_claim() 78 static void __irq_work_queue_local(struct irq_work *work) in __irq_work_queue_local() 106 bool irq_work_queue(struct irq_work *work) in irq_work_queue() 127 bool irq_work_queue_on(struct irq_work *work, int cpu) in irq_work_queue_on() 193 struct irq_work *work = arg; in irq_work_single() local 227 struct irq_work *work, *tmp; in irq_work_run_list() local 276 void irq_work_sync(struct irq_work *work) in irq_work_sync()
|
D | workqueue.c | 459 struct work_struct *work = addr; in work_is_static_object() local 470 struct work_struct *work = addr; in work_fixup_init() local 488 struct work_struct *work = addr; in work_fixup_free() local 508 static inline void debug_work_activate(struct work_struct *work) in debug_work_activate() 513 static inline void debug_work_deactivate(struct work_struct *work) in debug_work_deactivate() 518 void __init_work(struct work_struct *work, int onstack) in __init_work() 527 void destroy_work_on_stack(struct work_struct *work) in destroy_work_on_stack() 533 void destroy_delayed_work_on_stack(struct delayed_work *work) in destroy_delayed_work_on_stack() 541 static inline void debug_work_activate(struct work_struct *work) { } in debug_work_activate() 542 static inline void debug_work_deactivate(struct work_struct *work) { } in debug_work_deactivate() [all …]
|
D | kthread.c | 786 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 …]
|
/linux-6.1.9/fs/ksmbd/ |
D | smb2pdu.c | 41 static void __wbuf(struct ksmbd_work *work, void **req, void **rsp) in __wbuf() 94 int smb2_get_ksmbd_tcon(struct ksmbd_work *work) in smb2_get_ksmbd_tcon() 127 void smb2_set_err_rsp(struct ksmbd_work *work) in smb2_set_err_rsp() 152 bool is_smb2_neg_cmd(struct ksmbd_work *work) in is_smb2_neg_cmd() 176 bool is_smb2_rsp(struct ksmbd_work *work) in is_smb2_rsp() 197 u16 get_smb2_cmd_val(struct ksmbd_work *work) in get_smb2_cmd_val() 213 void set_smb2_rsp_status(struct ksmbd_work *work, __le32 err) in set_smb2_rsp_status() 232 int init_smb2_neg_rsp(struct ksmbd_work *work) in init_smb2_neg_rsp() 298 int smb2_set_rsp_credits(struct ksmbd_work *work) in smb2_set_rsp_credits() 364 static void init_chained_smb2_rsp(struct ksmbd_work *work) in init_chained_smb2_rsp() [all …]
|
D | ksmbd_work.c | 21 struct ksmbd_work *work = kmem_cache_zalloc(work_cache, GFP_KERNEL); in ksmbd_alloc_work_struct() local 34 void ksmbd_free_work_struct(struct ksmbd_work *work) in ksmbd_free_work_struct() 76 bool ksmbd_queue_work(struct ksmbd_work *work) in ksmbd_queue_work()
|
D | connection.h | 171 static inline bool ksmbd_conn_good(struct ksmbd_work *work) in ksmbd_conn_good() 176 static inline bool ksmbd_conn_need_negotiate(struct ksmbd_work *work) in ksmbd_conn_need_negotiate() 181 static inline bool ksmbd_conn_need_reconnect(struct ksmbd_work *work) in ksmbd_conn_need_reconnect() 186 static inline bool ksmbd_conn_exiting(struct ksmbd_work *work) in ksmbd_conn_exiting() 191 static inline void ksmbd_conn_set_good(struct ksmbd_work *work) in ksmbd_conn_set_good() 196 static inline void ksmbd_conn_set_need_negotiate(struct ksmbd_work *work) in ksmbd_conn_set_need_negotiate() 201 static inline void ksmbd_conn_set_need_reconnect(struct ksmbd_work *work) in ksmbd_conn_set_need_reconnect() 206 static inline void ksmbd_conn_set_exiting(struct ksmbd_work *work) in ksmbd_conn_set_exiting()
|
D | server.c | 92 static inline int check_conn_state(struct ksmbd_work *work) in check_conn_state() 107 static int __process_request(struct ksmbd_work *work, struct ksmbd_conn *conn, in __process_request() 160 static void __handle_ksmbd_work(struct ksmbd_work *work, in __handle_ksmbd_work() 253 struct ksmbd_work *work = container_of(wk, struct ksmbd_work, work); in handle_ksmbd_work() local 280 struct ksmbd_work *work; in queue_ksmbd_work() local 374 static void server_ctrl_handle_work(struct work_struct *work) in server_ctrl_handle_work()
|
D | vfs_cache.c | 359 static void __put_fd_final(struct ksmbd_work *work, struct ksmbd_file *fp) in __put_fd_final() 379 int ksmbd_close_fd(struct ksmbd_work *work, u64 id) in ksmbd_close_fd() 405 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp) in ksmbd_fd_put() 424 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id) in ksmbd_lookup_foreign_fd() 429 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id) in ksmbd_lookup_fd_fast() 440 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id, in ksmbd_lookup_fd_slow() 554 struct ksmbd_file *ksmbd_open_fd(struct ksmbd_work *work, struct file *filp) in ksmbd_open_fd() 633 void ksmbd_close_tree_conn_fds(struct ksmbd_work *work) in ksmbd_close_tree_conn_fds() 642 void ksmbd_close_session_fds(struct ksmbd_work *work) in ksmbd_close_session_fds()
|
D | vfs.c | 52 static void ksmbd_vfs_inherit_owner(struct ksmbd_work *work, in ksmbd_vfs_inherit_owner() 163 int ksmbd_vfs_create(struct ksmbd_work *work, const char *name, umode_t mode) in ksmbd_vfs_create() 200 int ksmbd_vfs_mkdir(struct ksmbd_work *work, const char *name, umode_t mode) in ksmbd_vfs_mkdir() 364 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, in ksmbd_vfs_read() 479 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_write() 561 int ksmbd_vfs_fsync(struct ksmbd_work *work, u64 fid, u64 p_id) in ksmbd_vfs_fsync() 584 int ksmbd_vfs_remove_file(struct ksmbd_work *work, char *name) in ksmbd_vfs_remove_file() 643 int ksmbd_vfs_link(struct ksmbd_work *work, const char *oldname, in ksmbd_vfs_link() 713 static int __ksmbd_vfs_rename(struct ksmbd_work *work, in __ksmbd_vfs_rename() 772 int ksmbd_vfs_fp_rename(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_fp_rename() [all …]
|
/linux-6.1.9/drivers/scsi/libsas/ |
D | sas_phy.c | 17 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()
|
D | sas_port.c | 275 void sas_porte_bytes_dmaed(struct work_struct *work) in sas_porte_bytes_dmaed() 283 void sas_porte_broadcast_rcvd(struct work_struct *work) in sas_porte_broadcast_rcvd() 301 void sas_porte_link_reset_err(struct work_struct *work) in sas_porte_link_reset_err() 309 void sas_porte_timer_event(struct work_struct *work) in sas_porte_timer_event() 317 void sas_porte_hard_reset(struct work_struct *work) in sas_porte_hard_reset()
|
/linux-6.1.9/tools/perf/ |
D | builtin-kwork.c | 264 struct kwork_work *work; in work_search() local 311 struct kwork_work *work = zalloc(sizeof(*work)); in work_new() local 332 struct kwork_work *work = work_search(root, key, sort_list); in work_findnew() local 358 struct kwork_work *work, in profile_event_match() 391 struct kwork_work *work, key; in work_push_atom() local 436 struct kwork_work *work, key; in work_pop_atom() local 467 static void report_update_exit_event(struct kwork_work *work, in report_update_exit_event() 506 struct kwork_work *work = NULL; in report_exit_event() local 522 static void latency_update_entry_event(struct kwork_work *work, in latency_update_entry_event() 561 struct kwork_work *work = NULL; in latency_entry_event() local [all …]
|
/linux-6.1.9/fs/ |
D | fs-writeback.c | 144 struct wb_writeback_work *work) in finish_writeback_work() 160 struct wb_writeback_work *work) in wb_queue_work() 346 struct rcu_work work; member 464 static void inode_switch_wbs_work_fn(struct work_struct *work) in inode_switch_wbs_work_fn() 950 struct wb_writeback_work *work; in bdi_split_work_to_wbs() local 1020 struct wb_writeback_work *work; in cgroup_writeback_by_id() local 1416 static void queue_io(struct bdi_writeback *wb, struct wb_writeback_work *work, in queue_io() 1746 struct wb_writeback_work *work) in writeback_chunk_size() 1787 struct wb_writeback_work *work) in writeback_sb_inodes() 1931 struct wb_writeback_work *work) in __writeback_inodes_wb() [all …]
|
/linux-6.1.9/kernel/locking/ |
D | test-ww_mutex.c | 29 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() 477 static void stress_reorder_work(struct work_struct *work) in stress_reorder_work() 537 static void stress_one_work(struct work_struct *work) in stress_one_work()
|
/linux-6.1.9/net/rds/ |
D | threads.c | 162 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.1.9/drivers/edac/ |
D | wq.c | 6 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.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_hdcp.c | 151 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() 293 static void event_property_update(struct work_struct *work) in event_property_update() 338 static void event_property_validate(struct work_struct *work) in event_property_validate() 361 static void event_watchdog_timer(struct work_struct *work) in event_watchdog_timer() 383 static void event_cpirq(struct work_struct *work) in event_cpirq() 560 struct hdcp_workqueue *work; in srm_data_write() local 584 struct hdcp_workqueue *work; in srm_data_read() local
|
/linux-6.1.9/kernel/entry/ |
D | common.c | 49 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.1.9/fs/btrfs/ |
D | async-thread.c | 55 struct btrfs_fs_info * __pure btrfs_work_owner(const struct btrfs_work *work) in btrfs_work_owner() 180 struct btrfs_work *work; in run_ordered_work() local 262 struct btrfs_work *work = container_of(normal_work, struct btrfs_work, in btrfs_work_helper() local 297 void btrfs_init_work(struct btrfs_work *work, btrfs_func_t func, in btrfs_init_work() 308 void btrfs_queue_work(struct btrfs_workqueue *wq, struct btrfs_work *work) in btrfs_queue_work()
|