/linux/include/linux/ |
A 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
|
A 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 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() 211 static inline void destroy_work_on_stack(struct work_struct *work) { } in destroy_work_on_stack() 288 #define work_pending(work) \ argument 500 struct work_struct *work) in queue_work() 542 static inline bool schedule_work_on(int cpu, struct work_struct *work) in schedule_work_on() [all …]
|
A 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/drivers/gpu/drm/ |
A 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()
|
A 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/virt/kvm/ |
A 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/kernel/ |
A 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()
|
A D | kthread.c | 725 struct kthread_work *work; in kthread_worker_fn() local 891 struct kthread_work *work) in queuing_blocked() 899 struct kthread_work *work) in kthread_insert_work_sanity_check() 909 struct kthread_work *work, in kthread_insert_work() 935 struct kthread_work *work) in kthread_queue_work() 961 struct kthread_work *work = &dwork->work; in kthread_delayed_work_timer_fn() local 991 struct kthread_work *work = &dwork->work; in __kthread_queue_delayed_work() local 1035 struct kthread_work *work = &dwork->work; in kthread_queue_delayed_work() local 1052 struct kthread_work work; member 1069 void kthread_flush_work(struct kthread_work *work) in kthread_flush_work() [all …]
|
A D | workqueue.c | 458 struct work_struct *work = addr; in work_is_static_object() local 469 struct work_struct *work = addr; in work_fixup_init() local 1045 struct work_struct *work) in find_worker_executing_work() 1422 struct work_struct *work) in __queue_work() 1539 struct work_struct *work) in queue_work_on() 2065 struct work_struct *work; in pool_mayday_timeout() local 2437 struct work_struct *work = in worker_thread() local 2645 struct work_struct work; member 3111 struct work_struct *work; member 4731 struct work_struct *work; in show_pwq() local [all …]
|
A D | task_work.c | 32 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add() 78 struct callback_head *work; in task_work_cancel_match() local 134 struct callback_head *work, *head, *next; in task_work_run() local
|
/linux/drivers/scsi/libsas/ |
A 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()
|
A D | sas_port.c | 264 void sas_porte_bytes_dmaed(struct work_struct *work) in sas_porte_bytes_dmaed() 272 void sas_porte_broadcast_rcvd(struct work_struct *work) in sas_porte_broadcast_rcvd() 290 void sas_porte_link_reset_err(struct work_struct *work) in sas_porte_link_reset_err() 298 void sas_porte_timer_event(struct work_struct *work) in sas_porte_timer_event() 306 void sas_porte_hard_reset(struct work_struct *work) in sas_porte_hard_reset()
|
/linux/fs/ksmbd/ |
A D | smb2pdu.c | 151 bool is_smb2_neg_cmd(struct ksmbd_work *work) in is_smb2_neg_cmd() 175 bool is_smb2_rsp(struct ksmbd_work *work) in is_smb2_rsp() 2478 int smb2_open(struct ksmbd_work *work) in smb2_open() 3587 struct ksmbd_work *work; member 5245 int smb2_close(struct ksmbd_work *work) in smb2_close() 5358 int smb2_echo(struct ksmbd_work *work) in smb2_echo() 6160 int smb2_read(struct ksmbd_work *work) in smb2_read() 6406 int smb2_write(struct ksmbd_work *work) in smb2_write() 6536 int smb2_flush(struct ksmbd_work *work) in smb2_flush() 6743 int smb2_lock(struct ksmbd_work *work) in smb2_lock() [all …]
|
A 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()
|
A D | connection.h | 174 static inline bool ksmbd_conn_good(struct ksmbd_work *work) in ksmbd_conn_good() 179 static inline bool ksmbd_conn_need_negotiate(struct ksmbd_work *work) in ksmbd_conn_need_negotiate() 184 static inline bool ksmbd_conn_need_reconnect(struct ksmbd_work *work) in ksmbd_conn_need_reconnect() 189 static inline bool ksmbd_conn_exiting(struct ksmbd_work *work) in ksmbd_conn_exiting() 194 static inline void ksmbd_conn_set_good(struct ksmbd_work *work) in ksmbd_conn_set_good() 199 static inline void ksmbd_conn_set_need_negotiate(struct ksmbd_work *work) in ksmbd_conn_set_need_negotiate() 204 static inline void ksmbd_conn_set_need_reconnect(struct ksmbd_work *work) in ksmbd_conn_set_need_reconnect() 209 static inline void ksmbd_conn_set_exiting(struct ksmbd_work *work) in ksmbd_conn_set_exiting()
|
A 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() 255 struct ksmbd_work *work = container_of(wk, struct ksmbd_work, work); in handle_ksmbd_work() local 276 struct ksmbd_work *work; in queue_ksmbd_work() local 370 static void server_ctrl_handle_work(struct work_struct *work) in server_ctrl_handle_work()
|
A D | vfs_cache.c | 360 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() 406 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp) in ksmbd_fd_put() 425 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id) in ksmbd_lookup_foreign_fd() 430 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id) in ksmbd_lookup_fd_fast() 441 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()
|
/linux/fs/btrfs/ |
A D | async-thread.c | 61 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()
|
/linux/drivers/edac/ |
A 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/fs/ |
A D | fs-writeback.c | 143 struct wb_writeback_work *work) in finish_writeback_work() 159 struct wb_writeback_work *work) in wb_queue_work() 345 struct rcu_work work; member 984 struct wb_writeback_work *work; in bdi_split_work_to_wbs() local 1054 struct wb_writeback_work *work; in cgroup_writeback_by_id() local 1791 struct wb_writeback_work *work) in writeback_sb_inodes() 1969 struct wb_writeback_work work = { in writeback_inodes_wb() local 2004 struct wb_writeback_work *work) in wb_writeback() 2191 struct wb_writeback_work *work; in wb_do_writeback() local 2599 struct wb_writeback_work work = { in __writeback_inodes_sb_nr() local [all …]
|
A D | io-wq.c | 61 struct work_struct work; member 164 struct io_wq_work *work) in io_work_get_acct() 409 struct io_wq_work *work) in __io_worker_busy() 462 struct io_wq_work *work, *tail; in io_get_next_work() local 525 struct io_wq_work *work) in io_assign_current_work() 548 struct io_wq_work *work; in io_worker_handle_work() local 788 static void io_workqueue_create(struct work_struct *work) in io_workqueue_create() 957 void io_wq_enqueue(struct io_wq *wq, struct io_wq_work *work) in io_wq_enqueue() 968 void io_wq_hash_work(struct io_wq_work *work, void *val) in io_wq_hash_work() 996 struct io_wq_work *work, in io_wqe_remove_pending() [all …]
|
/linux/net/rds/ |
A 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/kernel/locking/ |
A 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/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A 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() 330 static void event_property_validate(struct work_struct *work) in event_property_validate() 353 static void event_watchdog_timer(struct work_struct *work) in event_watchdog_timer() 375 static void event_cpirq(struct work_struct *work) in event_cpirq() 547 struct hdcp_workqueue *work; in srm_data_write() local 571 struct hdcp_workqueue *work; in srm_data_read() local
|
/linux/kernel/entry/ |
A D | common.c | 45 unsigned long work) in syscall_trace_enter() 87 unsigned long work = READ_ONCE(current_thread_info()->syscall_work); in __syscall_enter_from_user_work() local 223 static inline bool report_single_step(unsigned long work) in report_single_step() 231 static void syscall_exit_work(struct pt_regs *regs, unsigned long work) in syscall_exit_work() 264 unsigned long work = READ_ONCE(current_thread_info()->syscall_work); in syscall_exit_to_user_mode_prepare() local
|