Home
last modified time | relevance | path

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

12345678910>>...79

/linux/include/linux/
H A 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
/linux/fs/smb/server/
H A Dksmbd_work.c21 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 Dsmb2pdu.c45 static void __wbuf(struct ksmbd_work *work, void **req, void **rsp) in __wbuf()
99 int smb2_get_ksmbd_tcon(struct ksmbd_work *work) in smb2_get_ksmbd_tcon()
151 void smb2_set_err_rsp(struct ksmbd_work *work) in smb2_set_err_rsp()
182 bool is_smb2_neg_cmd(struct ksmbd_work *work) in is_smb2_neg_cmd()
206 bool is_smb2_rsp(struct ksmbd_work *work) in is_smb2_rsp()
227 u16 get_smb2_cmd_val(struct ksmbd_work *work) in get_smb2_cmd_val()
243 void set_smb2_rsp_status(struct ksmbd_work *work, __le32 err) in set_smb2_rsp_status()
263 int init_smb2_neg_rsp(struct ksmbd_work *work) in init_smb2_neg_rsp()
324 int smb2_set_rsp_credits(struct ksmbd_work *work) in smb2_set_rsp_credits()
386 static void init_chained_smb2_rsp(struct ksmbd_work *work) in init_chained_smb2_rsp()
[all …]
H A Dsmb_common.c159 int ksmbd_verify_smb_message(struct ksmbd_work *work) in ksmbd_verify_smb_message()
333 static u16 get_smb1_cmd_val(struct ksmbd_work *work) in get_smb1_cmd_val()
344 static int init_smb1_rsp_hdr(struct ksmbd_work *work) in init_smb1_rsp_hdr()
365 static int smb1_check_user_session(struct ksmbd_work *work) in smb1_check_user_session()
381 static int smb1_allocate_rsp_buf(struct ksmbd_work *work) in smb1_allocate_rsp_buf()
401 static void set_smb1_rsp_status(struct ksmbd_work *work, __le32 err) in set_smb1_rsp_status()
418 static int smb1_negotiate(struct ksmbd_work *work) in smb1_negotiate()
453 int ksmbd_populate_dot_dotdot_entries(struct ksmbd_work *work, int info_level, in ksmbd_populate_dot_dotdot_entries()
597 static int smb_handle_negotiate(struct ksmbd_work *work) in smb_handle_negotiate()
614 int ksmbd_smb_negotiate_common(struct ksmbd_work *work, unsigned int command) in ksmbd_smb_negotiate_common()
[all …]
H A Dvfs.c42 static void ksmbd_vfs_inherit_owner(struct ksmbd_work *work, in ksmbd_vfs_inherit_owner()
151 int ksmbd_vfs_create(struct ksmbd_work *work, const char *name, umode_t mode) in ksmbd_vfs_create()
188 int ksmbd_vfs_mkdir(struct ksmbd_work *work, const char *name, umode_t mode) in ksmbd_vfs_mkdir()
344 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count, in ksmbd_vfs_read()
466 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp, in ksmbd_vfs_write()
553 int ksmbd_vfs_fsync(struct ksmbd_work *work, u64 fid, u64 p_id) in ksmbd_vfs_fsync()
577 int ksmbd_vfs_remove_file(struct ksmbd_work *work, const struct path *path) in ksmbd_vfs_remove_file()
615 int ksmbd_vfs_link(struct ksmbd_work *work, const char *oldname, in ksmbd_vfs_link()
662 int ksmbd_vfs_rename(struct ksmbd_work *work, const struct path *old_path, in ksmbd_vfs_rename()
748 int ksmbd_vfs_truncate(struct ksmbd_work *work, in ksmbd_vfs_truncate()
[all …]
/linux/virt/kvm/
H A Dasync_pf.c45 static void async_pf_execute(struct work_struct *work) in async_pf_execute() argument
99 static void kvm_flush_and_free_async_pf_work(struct kvm_async_pf *work) in kvm_flush_and_free_async_pf_work() argument
124 struct kvm_async_pf *work = kvm_clear_async_pf_completion_queue() local
139 struct kvm_async_pf *work = kvm_clear_async_pf_completion_queue() local
155 struct kvm_async_pf *work; kvm_check_async_pf_completion() local
182 struct kvm_async_pf *work; kvm_setup_async_pf() local
218 struct kvm_async_pf *work; kvm_async_pf_wakeup_all() local
[all...]
/linux/kernel/
H A 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()
H A Dkthread.c988 struct kthread_work *work; in kthread_worker_fn() local
1156 struct kthread_work *work) in queuing_blocked()
1164 struct kthread_work *work) in kthread_insert_work_sanity_check()
1174 struct kthread_work *work, in kthread_insert_work()
1200 struct kthread_work *work) in kthread_queue_work()
1227 struct kthread_work *work = &dwork->work; in kthread_delayed_work_timer_fn() local
1257 struct kthread_work *work = &dwork->work; in __kthread_queue_delayed_work() local
1300 struct kthread_work *work = &dwork->work; in kthread_queue_delayed_work() local
1317 struct kthread_work work; member
1321 static void kthread_flush_work_fn(struct kthread_work *work) in kthread_flush_work_fn()
[all …]
H A Dworkqueue.c631 struct work_struct *work = addr; in work_is_static_object() local
642 struct work_struct *work = addr; in work_fixup_init() local
660 struct work_struct *work = addr; in work_fixup_free() local
680 static inline void debug_work_activate(struct work_struct *work) in debug_work_activate()
685 static inline void debug_work_deactivate(struct work_struct *work) in debug_work_deactivate()
690 void __init_work(struct work_struct *work, int onstack) in __init_work()
699 void destroy_work_on_stack(struct work_struct *work) in destroy_work_on_stack()
705 void destroy_delayed_work_on_stack(struct delayed_work *work) in destroy_delayed_work_on_stack()
713 static inline void debug_work_activate(struct work_struct *work) { } in debug_work_activate()
714 static inline void debug_work_deactivate(struct work_struct *work) { } in debug_work_deactivate()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_flip_work.c47 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 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()
H A 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/tools/perf/
H A Dbuiltin-kwork.c315 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); work_findnew() local
409 profile_name_match(struct perf_kwork * kwork,struct kwork_work * work) profile_name_match() argument
420 profile_event_match(struct perf_kwork * kwork,struct kwork_work * work,struct perf_sample * sample) profile_event_match() argument
458 struct kwork_work *work, key; work_push_atom() local
516 struct kwork_work *work, key; work_pop_atom() local
551 struct kwork_work *work; find_work_by_id() local
579 report_update_exit_event(struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample) report_update_exit_event() argument
618 struct kwork_work *work = NULL; report_exit_event() local
634 latency_update_entry_event(struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample) latency_update_entry_event() argument
673 struct kwork_work *work = NULL; latency_entry_event() local
739 timehist_print_event(struct perf_kwork * kwork,struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample,struct addr_location * al) timehist_print_event() argument
832 struct kwork_work *work = NULL; timehist_entry_event() local
853 struct kwork_work *work = NULL; timehist_exit_event() local
883 top_update_runtime(struct kwork_work * work,struct kwork_atom * atom,struct perf_sample * sample) top_update_runtime() argument
914 struct kwork_work *work, *sched_work; top_exit_event() local
945 struct kwork_work *work; top_sched_switch_event() local
1007 irq_work_init(struct perf_kwork * kwork,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type __maybe_unused,struct evsel * evsel,struct perf_sample * sample,struct machine * machine __maybe_unused) irq_work_init() argument
1025 irq_work_name(struct kwork_work * work,char * buf,int len) irq_work_name() argument
1135 softirq_work_init(struct perf_kwork * kwork,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type __maybe_unused,struct evsel * evsel,struct perf_sample * sample,struct machine * machine __maybe_unused) softirq_work_init() argument
1156 softirq_work_name(struct kwork_work * work,char * buf,int len) softirq_work_name() argument
1235 workqueue_work_init(struct perf_kwork * kwork __maybe_unused,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type __maybe_unused,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) workqueue_work_init() argument
1252 workqueue_work_name(struct kwork_work * work,char * buf,int len) workqueue_work_name() argument
1303 sched_work_init(struct perf_kwork * kwork __maybe_unused,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type,struct evsel * evsel,struct perf_sample * sample,struct machine * machine __maybe_unused) sched_work_init() argument
1321 sched_work_name(struct kwork_work * work,char * buf,int len) sched_work_name() argument
1348 report_print_work(struct perf_kwork * kwork,struct kwork_work * work) report_print_work() argument
1639 top_print_work(struct perf_kwork * kwork __maybe_unused,struct kwork_work * work) top_print_work() argument
1839 process_skipped_events(struct perf_kwork * kwork,struct kwork_work * work) process_skipped_events() argument
1855 struct kwork_work *work = NULL; perf_kwork_add_work() local
1907 struct kwork_work *work; perf_kwork__report() local
2000 struct kwork_work *work; top_calc_total_runtime() local
2019 top_calc_idle_time(struct perf_kwork * kwork,struct kwork_work * work) top_calc_idle_time() argument
2031 top_calc_irq_runtime(struct perf_kwork * kwork,enum kwork_class_type type,struct kwork_work * work) top_calc_irq_runtime() argument
2045 top_subtract_irq_runtime(struct perf_kwork * kwork,struct kwork_work * work) top_subtract_irq_runtime() argument
2072 struct kwork_work *work; top_calc_cpu_usage() local
2101 top_calc_load_runtime(struct perf_kwork * kwork,struct kwork_work * work) top_calc_load_runtime() argument
2152 struct kwork_work *work; perf_kwork__top_report() local
[all...]
/linux/tools/testing/selftests/bpf/progs/
H A Dtask_work.c45 struct elem *work = value; in process_work() local
57 struct elem *work; in oncpu_hash_map() local
76 struct elem *work; oncpu_array_map() local
91 struct elem *work; oncpu_lru_map() local
[all...]
/linux/net/rds/
H A Dthreads.c162 void rds_connect_worker(struct work_struct *work) in rds_connect_worker() argument
191 void rds_send_worker(struct work_struct *work) in rds_send_worker() argument
218 void rds_recv_worker(struct work_struct *work) in rds_recv_worker() argument
243 rds_shutdown_worker(struct work_struct * work) rds_shutdown_worker() argument
[all...]
/linux/fs/
H A Dfs-writeback.c165 static void finish_writeback_work(struct wb_writeback_work *work) in finish_writeback_work()
181 struct wb_writeback_work *work) in wb_queue_work()
564 void inode_switch_wbs_work_fn(struct work_struct *work) in inode_switch_wbs_work_fn()
1062 struct wb_writeback_work *work; in bdi_split_work_to_wbs() local
1135 struct wb_writeback_work *work; in cgroup_writeback_by_id() local
1560 static void queue_io(struct bdi_writeback *wb, struct wb_writeback_work *work, in queue_io()
1921 struct bdi_writeback *wb, struct wb_writeback_work *work) in writeback_chunk_size()
1959 struct wb_writeback_work *work) in writeback_sb_inodes()
2114 struct wb_writeback_work *work) in __writeback_inodes_wb()
2150 struct wb_writeback_work work = { in writeback_inodes_wb() local
[all …]
/linux/drivers/edac/
H A 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/kernel/locking/
H A Dtest-ww_mutex.c30 struct work_struct work; member
41 static void test_mutex_work(struct work_struct *work) in test_mutex_work()
180 struct work_struct work; member
190 static void test_abba_work(struct work_struct *work) in test_abba_work()
283 struct work_struct work; member
292 static void test_cycle_work(struct work_struct *work) in test_cycle_work()
390 struct work_struct work; member
436 static void stress_inorder_work(struct work_struct *work) in stress_inorder_work()
495 static void stress_reorder_work(struct work_struct *work) in stress_reorder_work()
554 static void stress_one_work(struct work_struct *work) in stress_one_work()
/linux/drivers/dma/idxd/
H A Dirq.c23 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()
551 static void idxd_int_handle_resubmit_work(struct work_struct *work) in idxd_int_handle_resubmit_work()
/linux/io_uring/
H A Dio-wq.c68 struct delayed_work work; member
160 static inline unsigned int io_get_work_hash(struct io_wq_work *work) in io_get_work_hash()
433 static bool io_wq_hash_defer(struct io_wq_work *work, struct io_wq_acct *acct) in io_wq_hash_defer()
529 struct io_wq_work *work, *tail; in io_get_next_work() local
583 struct io_wq_work *work) in io_assign_current_work()
606 struct io_wq_work *work; in io_worker_handle_work() local
801 static bool io_wq_work_match_all(struct io_wq_work *work, void *data) in io_wq_work_match_all()
883 static void io_workqueue_create(struct work_struct *work) in io_workqueue_create()
990 static void io_run_cancel(struct io_wq_work *work, struct io_wq *wq) in io_run_cancel()
1000 struct io_wq_work *work, unsigned int work_flags) in io_wq_insert_work()
[all …]
/linux/drivers/infiniband/core/
H A Dcm.c187 struct delayed_work work; member
198 struct cm_work work; member
888 struct cm_work *work; in cm_dequeue_work() local
898 static void cm_free_work(struct cm_work *work) in cm_free_work()
906 struct cm_work *work) in cm_queue_work_unlock()
1060 struct cm_work *work; in cm_destroy_id() local
1771 static u16 cm_get_bth_pkey(struct cm_work *work) in cm_get_bth_pkey()
1798 static void cm_opa_to_ib_sgid(struct cm_work *work, in cm_opa_to_ib_sgid()
1818 static void cm_format_req_event(struct cm_work *work, in cm_format_req_event()
1863 struct cm_work *work) in cm_process_work()
[all …]
/linux/fs/btrfs/
H A Dasync-thread.c55 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/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_hdcp.c182 static void link_lock(struct hdcp_workqueue *work, bool lock) in link_lock()
313 static void event_callback(struct work_struct *work) in event_callback()
330 static void event_property_update(struct work_struct *work) in event_property_update()
400 static void event_property_validate(struct work_struct *work) in event_property_validate()
450 static void event_watchdog_timer(struct work_struct *work) in event_watchdog_timer()
469 static void event_cpirq(struct work_struct *work) in event_cpirq()
657 struct hdcp_workqueue *work; in srm_data_write() local
681 struct hdcp_workqueue *work; in srm_data_read() local
/linux/drivers/net/wireless/st/cw1200/
H A Dsta.c511 void cw1200_update_filtering_work(struct work_struct *work) in cw1200_update_filtering_work()
520 void cw1200_set_beacon_wakeup_period_work(struct work_struct *work) in cw1200_set_beacon_wakeup_period_work()
842 void cw1200_wep_key_work(struct work_struct *work) in cw1200_wep_key_work()
965 void cw1200_event_handler(struct work_struct *work) in cw1200_event_handler()
1036 void cw1200_bss_loss_work(struct work_struct *work) in cw1200_bss_loss_work()
1047 void cw1200_bss_params_work(struct work_struct *work) in cw1200_bss_params_work()
1184 void cw1200_join_complete_work(struct work_struct *work) in cw1200_join_complete_work()
1368 void cw1200_join_timeout(struct work_struct *work) in cw1200_join_timeout()
1439 void cw1200_unjoin_work(struct work_struct *work) in cw1200_unjoin_work()
1705 void cw1200_set_tim_work(struct work_struct *work) in cw1200_set_tim_work()
[all …]
/linux/net/wireless/
H A Ddebugfs.c115 struct wiphy_work work; global() member
131 wiphy_locked_debugfs_read_work(struct wiphy * wiphy,struct wiphy_work * work) wiphy_locked_debugfs_read_work() argument
159 struct debugfs_read_work work = { wiphy_locked_debugfs_read() local
195 struct wiphy_work work; global() member
211 wiphy_locked_debugfs_write_work(struct wiphy * wiphy,struct wiphy_work * work) wiphy_locked_debugfs_write_work() argument
238 struct debugfs_write_work work = { wiphy_locked_debugfs_write() local
[all...]

12345678910>>...79