/linux/include/linux/ |
H 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
|
H A D | workqueue.h | 24 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) argument 115 struct work_struct work; member 124 struct work_struct work; member 212 static inline struct delayed_work *to_delayed_work(struct work_struct *work) in to_delayed_work() 217 static inline struct rcu_work *to_rcu_work(struct work_struct *work) in to_rcu_work() 223 struct work_struct work; member 264 static inline unsigned int work_static(struct work_struct *work) in work_static() 269 static inline void __init_work(struct work_struct *work, int onstack) { } in __init_work() 270 static inline void destroy_work_on_stack(struct work_struct *work) { } in destroy_work_on_stack() 271 static inline void destroy_delayed_work_on_stack(struct delayed_work *work) { } in destroy_delayed_work_on_stack() [all …]
|
H 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/fs/smb/server/ |
H A D | ksmbd_work.c | 21 struct ksmbd_work *work = kmem_cache_zalloc(work_cache, KSMBD_DEFAULT_GFP); 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()
|
H A D | smb_common.c | 135 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 …]
|
H A D | vfs.c | 40 static void ksmbd_vfs_inherit_owner(struct ksmbd_work *work, in ksmbd_vfs_inherit_owner() 173 int ksmbd_vfs_create(struct ksmbd_work *work, const char *name, umode_t mode) in ksmbd_vfs_create() 211 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() 485 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_write() 571 int ksmbd_vfs_fsync(struct ksmbd_work *work, u64 fid, u64 p_id) in ksmbd_vfs_fsync() 595 int ksmbd_vfs_remove_file(struct ksmbd_work *work, const struct path *path) in ksmbd_vfs_remove_file() 633 int ksmbd_vfs_link(struct ksmbd_work *work, const char *oldname, in ksmbd_vfs_link() 680 int ksmbd_vfs_rename(struct ksmbd_work *work, const struct path *old_path, in ksmbd_vfs_rename() 814 int ksmbd_vfs_truncate(struct ksmbd_work *work, in ksmbd_vfs_truncate() [all …]
|
/linux/virt/kvm/ |
H A D | async_pf.c | 45 static void async_pf_execute(struct work_struct *work) in async_pf_execute() 99 static void kvm_flush_and_free_async_pf_work(struct kvm_async_pf *work) in kvm_flush_and_free_async_pf_work() 124 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local 139 struct kvm_async_pf *work = in kvm_clear_async_pf_completion_queue() local 155 struct kvm_async_pf *work; in kvm_check_async_pf_completion() local 182 struct kvm_async_pf *work; in kvm_setup_async_pf() local 218 struct kvm_async_pf *work; in kvm_async_pf_wakeup_all() local
|
/linux/kernel/ |
H A D | irq_work.c | 57 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()
|
H A D | workqueue.c | 617 struct work_struct *work = addr; in work_is_static_object() local 628 struct work_struct *work = addr; in work_fixup_init() local 646 struct work_struct *work = addr; in work_fixup_free() local 666 static inline void debug_work_activate(struct work_struct *work) in debug_work_activate() 671 static inline void debug_work_deactivate(struct work_struct *work) in debug_work_deactivate() 676 void __init_work(struct work_struct *work, int onstack) in __init_work() 685 void destroy_work_on_stack(struct work_struct *work) in destroy_work_on_stack() 691 void destroy_delayed_work_on_stack(struct delayed_work *work) in destroy_delayed_work_on_stack() 699 static inline void debug_work_activate(struct work_struct *work) { } in debug_work_activate() 700 static inline void debug_work_deactivate(struct work_struct *work) { } in debug_work_deactivate() [all …]
|
H A D | kthread.c | 972 struct kthread_work *work; in kthread_worker_fn() local 1140 struct kthread_work *work) in queuing_blocked() 1148 struct kthread_work *work) in kthread_insert_work_sanity_check() 1158 struct kthread_work *work, in kthread_insert_work() 1184 struct kthread_work *work) in kthread_queue_work() 1211 struct kthread_work *work = &dwork->work; in kthread_delayed_work_timer_fn() local 1241 struct kthread_work *work = &dwork->work; in __kthread_queue_delayed_work() local 1284 struct kthread_work *work = &dwork->work; in kthread_queue_delayed_work() local 1301 struct kthread_work work; member 1305 static void kthread_flush_work_fn(struct kthread_work *work) in kthread_flush_work_fn() [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_vblank_work.c | 50 struct drm_vblank_work *work, *next; in drm_handle_vblank_works() local 74 struct drm_vblank_work *work, *next; in drm_vblank_cancel_pending_works() local 111 int drm_vblank_work_schedule(struct drm_vblank_work *work, in drm_vblank_work_schedule() 187 bool drm_vblank_work_cancel_sync(struct drm_vblank_work *work) in drm_vblank_work_cancel_sync() 223 void drm_vblank_work_flush(struct drm_vblank_work *work) in drm_vblank_work_flush() 267 void drm_vblank_work_init(struct drm_vblank_work *work, struct drm_crtc *crtc, in drm_vblank_work_init() 268 void (*func)(struct kthread_work *work)) in drm_vblank_work_init()
|
H A D | drm_flip_work.c | 47 static void drm_flip_work_queue_task(struct drm_flip_work *work, struct drm_flip_task *task) in drm_flip_work_queue_task() 64 void drm_flip_work_queue(struct drm_flip_work *work, void *val) in drm_flip_work_queue() 89 void drm_flip_work_commit(struct drm_flip_work *work, in drm_flip_work_commit() 104 struct drm_flip_work *work = container_of(w, struct drm_flip_work, worker); in flip_worker() local 135 void drm_flip_work_init(struct drm_flip_work *work, in drm_flip_work_init() 154 void drm_flip_work_cleanup(struct drm_flip_work *work) in drm_flip_work_cleanup()
|
/linux/drivers/scsi/libsas/ |
H 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()
|
H A D | sas_port.c | 273 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/tools/perf/ |
H A D | builtin-kwork.c | 315 struct kwork_work *work; in work_search() local 362 struct kwork_work *work = zalloc(sizeof(*work)); in work_new() local 383 struct kwork_work *work = work_search(root, key, sort_list); in work_findnew() local 409 struct kwork_work *work) in profile_name_match() 420 struct kwork_work *work, in profile_event_match() 458 struct kwork_work *work, key; in work_push_atom() local 516 struct kwork_work *work, key; in work_pop_atom() local 551 struct kwork_work *work; in find_work_by_id() local 579 static void report_update_exit_event(struct kwork_work *work, in report_update_exit_event() 618 struct kwork_work *work = NULL; in report_exit_event() local [all …]
|
/linux/kernel/locking/ |
H 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() 179 struct work_struct work; member 188 static void test_abba_work(struct work_struct *work) in test_abba_work() 280 struct work_struct work; member 288 static void test_cycle_work(struct work_struct *work) in test_cycle_work() 385 struct work_struct work; member 430 static void stress_inorder_work(struct work_struct *work) in stress_inorder_work() 489 static void stress_reorder_work(struct work_struct *work) in stress_reorder_work() 548 static void stress_one_work(struct work_struct *work) in stress_one_work()
|
/linux/drivers/edac/ |
H 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/net/rds/ |
H 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/fs/ |
H A D | fs-writeback.c | 169 static void finish_writeback_work(struct wb_writeback_work *work) in finish_writeback_work() 185 struct wb_writeback_work *work) in wb_queue_work() 371 struct rcu_work work; member 489 static void inode_switch_wbs_work_fn(struct work_struct *work) in inode_switch_wbs_work_fn() 1010 struct wb_writeback_work *work; in bdi_split_work_to_wbs() local 1083 struct wb_writeback_work *work; in cgroup_writeback_by_id() local 1501 static void queue_io(struct bdi_writeback *wb, struct wb_writeback_work *work, in queue_io() 1839 struct wb_writeback_work *work) in writeback_chunk_size() 1880 struct wb_writeback_work *work) in writeback_sb_inodes() 2029 struct wb_writeback_work *work) in __writeback_inodes_wb() [all …]
|
/linux/kernel/entry/ |
H A D | syscall-common.c | 21 unsigned long work) in syscall_trace_enter() 79 static inline bool report_single_step(unsigned long work) in report_single_step() 87 void syscall_exit_work(struct pt_regs *regs, unsigned long work) in syscall_exit_work()
|
/linux/drivers/dma/idxd/ |
H A D | irq.c | 23 struct work_struct work; member 28 struct work_struct work; member 32 static void idxd_device_reinit(struct work_struct *work) in idxd_device_reinit() 130 static void idxd_int_handle_revoke(struct work_struct *work) in idxd_int_handle_revoke() 222 static void idxd_evl_fault_work(struct work_struct *work) in idxd_evl_fault_work() 386 static void idxd_device_flr(struct work_struct *work) in idxd_device_flr() 535 static void idxd_int_handle_resubmit_work(struct work_struct *work) in idxd_int_handle_resubmit_work()
|
/linux/io_uring/ |
H A D | io-wq.c | 66 struct delayed_work work; member 158 static inline unsigned int io_get_work_hash(struct io_wq_work *work) in io_get_work_hash() 423 static bool io_wq_hash_defer(struct io_wq_work *work, struct io_wq_acct *acct) in io_wq_hash_defer() 519 struct io_wq_work *work, *tail; in io_get_next_work() local 573 struct io_wq_work *work) in io_assign_current_work() 596 struct io_wq_work *work; in io_worker_handle_work() local 787 static bool io_wq_work_match_all(struct io_wq_work *work, void *data) in io_wq_work_match_all() 868 static void io_workqueue_create(struct work_struct *work) in io_workqueue_create() 960 static void io_run_cancel(struct io_wq_work *work, struct io_wq *wq) in io_run_cancel() 970 struct io_wq_work *work, unsigned int work_flags) in io_wq_insert_work() [all …]
|
/linux/fs/btrfs/ |
H A D | async-thread.c | 55 struct btrfs_fs_info * __pure btrfs_work_owner(const struct btrfs_work *work) in btrfs_work_owner() 213 struct btrfs_work *work; in run_ordered_work() local 294 struct btrfs_work *work = container_of(normal_work, struct btrfs_work, in btrfs_work_helper() local 329 void btrfs_init_work(struct btrfs_work *work, btrfs_func_t func, in btrfs_init_work() 339 void btrfs_queue_work(struct btrfs_workqueue *wq, struct btrfs_work *work) in btrfs_queue_work()
|
/linux/drivers/infiniband/core/ |
H A D | cm.c | 188 struct delayed_work work; member 199 struct cm_work work; member 889 struct cm_work *work; in cm_dequeue_work() local 899 static void cm_free_work(struct cm_work *work) in cm_free_work() 907 struct cm_work *work) in cm_queue_work_unlock() 1060 struct cm_work *work; in cm_destroy_id() local 1772 static u16 cm_get_bth_pkey(struct cm_work *work) in cm_get_bth_pkey() 1799 static void cm_opa_to_ib_sgid(struct cm_work *work, in cm_opa_to_ib_sgid() 1819 static void cm_format_req_event(struct cm_work *work, in cm_format_req_event() 1864 struct cm_work *work) in cm_process_work() [all …]
|
/linux/kernel/unwind/ |
H A D | deferred.c | 154 struct unwind_work *work; in process_unwind_deferred() local 231 int unwind_deferred_request(struct unwind_work *work, u64 *cookie) in unwind_deferred_request() 296 void unwind_deferred_cancel(struct unwind_work *work) in unwind_deferred_cancel() 329 int unwind_deferred_init(struct unwind_work *work, unwind_callback_t func) in unwind_deferred_init()
|