Searched refs:work (Results 76 - 100 of 3012) sorted by relevance

1234567891011>>

/linux-master/drivers/staging/vt6656/
H A Dwcmd.h46 void vnt_run_command(struct work_struct *work);
/linux-master/drivers/staging/media/meson/vdec/
H A Desparser.h27 * esparser_queue_all_src() - work handler that writes as many src buffers
30 * @work: work struct
32 void esparser_queue_all_src(struct work_struct *work);
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_pm.h17 void i915_gem_idle_work_handler(struct work_struct *work);
/linux-master/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_hw.h31 void cedrus_watchdog(struct work_struct *work);
/linux-master/io_uring/
H A Dio-wq.h21 IO_WQ_CANCEL_NOTFOUND, /* work not found */
50 void io_wq_enqueue(struct io_wq *wq, struct io_wq_work *work);
51 void io_wq_hash_work(struct io_wq_work *work, void *val);
57 static inline bool io_wq_is_hashed(struct io_wq_work *work) argument
59 return work->flags & IO_WQ_WORK_HASHED;
H A Dio-wq.c31 IO_WORKER_F_BOUND = 8, /* is doing bounded work */
65 struct work_struct work; member in union:io_worker::__anon47
161 struct io_wq_work *work)
163 return io_get_acct(wq, !(work->flags & IO_WQ_WORK_UNBOUND));
252 * If there's work to do, returns true with acct->lock acquired. If not,
291 * starting work or finishing work. In either case, if it does
292 * to go sleep, we'll kick off a new task for this work anyway.
309 * Most likely an attempt to queue unbounded work on an io_wq that
391 * work ite
160 io_work_get_acct(struct io_wq *wq, struct io_wq_work *work) argument
453 io_get_work_hash(struct io_wq_work *work) argument
480 struct io_wq_work *work, *tail; variable in typeref:struct:io_wq_work
532 io_assign_current_work(struct io_worker *worker, struct io_wq_work *work) argument
557 struct io_wq_work *work; variable in typeref:struct:io_wq_work
740 io_wq_work_match_all(struct io_wq_work *work, void *data) argument
807 io_workqueue_create(struct work_struct *work) argument
889 io_run_cancel(struct io_wq_work *work, struct io_wq *wq) argument
898 io_wq_insert_work(struct io_wq *wq, struct io_wq_work *work) argument
919 io_wq_work_match_item(struct io_wq_work *work, void *data) argument
924 io_wq_enqueue(struct io_wq *wq, struct io_wq_work *work) argument
978 io_wq_hash_work(struct io_wq_work *work, void *val) argument
986 __io_wq_worker_cancel(struct io_worker *worker, struct io_cb_cancel_data *match, struct io_wq_work *work) argument
1016 io_wq_remove_pending(struct io_wq *wq, struct io_wq_work *work, struct io_wq_work_node *prev) argument
1040 struct io_wq_work *work; local
[all...]
/linux-master/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf.h22 struct work_struct work; member in struct:cptpf_flr_work
69 void otx2_cptpf_afpf_mbox_handler(struct work_struct *work);
70 void otx2_cptpf_afpf_mbox_up_handler(struct work_struct *work);
72 void otx2_cptpf_vfpf_mbox_handler(struct work_struct *work);
/linux-master/include/linux/
H A Dworkqueue_types.h13 typedef void (*work_func_t)(struct work_struct *work);
H A Dstop_machine.h47 struct work_struct work; member in struct:cpu_stop_work
62 static void stop_one_cpu_nowait_workfn(struct work_struct *work) argument
65 container_of(work, struct cpu_stop_work, work);
76 INIT_WORK(&work_buf->work, stop_one_cpu_nowait_workfn);
79 schedule_work(&work_buf->work);
/linux-master/drivers/input/misc/
H A Dgpio-beeper.c18 struct work_struct work; member in struct:gpio_beeper
28 static void gpio_beeper_work(struct work_struct *work) argument
30 struct gpio_beeper *beep = container_of(work, struct gpio_beeper, work);
47 /* Schedule work to actually turn the beeper on or off */
48 schedule_work(&beep->work);
57 cancel_work_sync(&beep->work);
78 INIT_WORK(&beep->work, gpio_beeper_work);
/linux-master/drivers/greybus/
H A Dsvc_watchdog.c16 struct delayed_work work; member in struct:gb_svc_watchdog
44 static void greybus_reset(struct work_struct *work) argument
63 static void do_work(struct work_struct *work) argument
69 watchdog = container_of(work, struct gb_svc_watchdog, work.work);
102 /* resubmit our work to happen again, if we are still "alive" */
104 schedule_delayed_work(&watchdog->work, SVC_WATCHDOG_PERIOD);
121 INIT_DELAYED_WORK(&watchdog->work, do_work);
179 schedule_delayed_work(&watchdog->work, SVC_WATCHDOG_PERIO
[all...]
/linux-master/fs/smb/server/
H A Dvfs_cache.h140 int ksmbd_close_fd(struct ksmbd_work *work, u64 id);
141 struct ksmbd_file *ksmbd_lookup_fd_fast(struct ksmbd_work *work, u64 id);
142 struct ksmbd_file *ksmbd_lookup_foreign_fd(struct ksmbd_work *work, u64 id);
143 struct ksmbd_file *ksmbd_lookup_fd_slow(struct ksmbd_work *work, u64 id,
145 void ksmbd_fd_put(struct ksmbd_work *work, struct ksmbd_file *fp);
154 struct ksmbd_file *ksmbd_open_fd(struct ksmbd_work *work, struct file *filp);
155 void ksmbd_close_tree_conn_fds(struct ksmbd_work *work);
156 void ksmbd_close_session_fds(struct ksmbd_work *work);
157 int ksmbd_close_inode_fds(struct ksmbd_work *work, struct inode *inode);
182 int ksmbd_reopen_durable_fd(struct ksmbd_work *work, struc
[all...]
H A Dsmb2pdu.c42 static void __wbuf(struct ksmbd_work *work, void **req, void **rsp) argument
44 if (work->next_smb2_rcv_hdr_off) {
45 *req = ksmbd_req_buf_next(work);
46 *rsp = ksmbd_resp_buf_next(work);
48 *req = smb2_get_msg(work->request_buf);
49 *rsp = smb2_get_msg(work->response_buf);
83 * @work: smb work
88 int smb2_get_ksmbd_tcon(struct ksmbd_work *work) argument
90 struct smb2_hdr *req_hdr = ksmbd_req_buf_next(work);
138 smb2_set_err_rsp(struct ksmbd_work *work) argument
169 is_smb2_neg_cmd(struct ksmbd_work *work) argument
193 is_smb2_rsp(struct ksmbd_work *work) argument
214 get_smb2_cmd_val(struct ksmbd_work *work) argument
230 set_smb2_rsp_status(struct ksmbd_work *work, __le32 err) argument
250 init_smb2_neg_rsp(struct ksmbd_work *work) argument
311 smb2_set_rsp_credits(struct ksmbd_work *work) argument
373 init_chained_smb2_rsp(struct ksmbd_work *work) argument
443 is_chained_smb2_message(struct ksmbd_work *work) argument
494 init_smb2_rsp_hdr(struct ksmbd_work *work) argument
524 smb2_allocate_rsp_buf(struct ksmbd_work *work) argument
568 smb2_check_user_session(struct ksmbd_work *work) argument
638 setup_async_work(struct ksmbd_work *work, void (*fn)(void **), void **arg) argument
667 release_async_work(struct ksmbd_work *work) argument
685 smb2_send_interim_resp(struct ksmbd_work *work, __le32 status) argument
1075 smb2_handle_negotiate(struct ksmbd_work *work) argument
1268 generate_preauth_hash(struct ksmbd_work *work) argument
1316 ntlm_negotiate(struct ksmbd_work *work, struct negotiate_message *negblob, size_t negblob_len, struct smb2_sess_setup_rsp *rsp) argument
1427 ntlm_authenticate(struct ksmbd_work *work, struct smb2_sess_setup_req *req, struct smb2_sess_setup_rsp *rsp) argument
1566 krb5_authenticate(struct ksmbd_work *work, struct smb2_sess_setup_req *req, struct smb2_sess_setup_rsp *rsp) argument
1646 krb5_authenticate(struct ksmbd_work *work, struct smb2_sess_setup_req *req, struct smb2_sess_setup_rsp *rsp) argument
1654 smb2_sess_setup(struct ksmbd_work *work) argument
1921 smb2_tree_connect(struct ksmbd_work *work) argument
2111 smb2_tree_disconnect(struct ksmbd_work *work) argument
2175 smb2_session_logoff(struct ksmbd_work *work) argument
2237 create_smb2_pipe(struct ksmbd_work *work) argument
2544 smb2_creat(struct ksmbd_work *work, struct path *parent_path, struct path *path, char *name, int open_flags, umode_t posix_mode, bool is_dir) argument
2582 smb2_create_sd_buffer(struct ksmbd_work *work, struct smb2_create_req *req, const struct path *path) argument
2646 parse_durable_handle_context(struct ksmbd_work *work, struct smb2_create_req *req, struct lease_ctx_info *lc, struct durable_info *dh_info) argument
2795 smb2_open(struct ksmbd_work *work) argument
4011 struct ksmbd_work *work; member in struct:smb2_query_dir_private
4244 smb2_resp_buf_len(struct ksmbd_work *work, unsigned short hdr2_len) argument
4253 smb2_calc_max_out_buf_len(struct ksmbd_work *work, unsigned short hdr2_len, unsigned int out_buf_len) argument
4269 smb2_query_dir(struct ksmbd_work *work) argument
4554 smb2_get_ea(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_query_info_req *req, struct smb2_query_info_rsp *rsp, void *rsp_org) argument
4791 get_file_all_info(struct ksmbd_work *work, struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument
4857 get_file_alternate_info(struct ksmbd_work *work, struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument
4878 get_file_stream_info(struct ksmbd_work *work, struct smb2_query_info_rsp *rsp, struct ksmbd_file *fp, void *rsp_org) argument
5166 smb2_get_info_file(struct ksmbd_work *work, struct smb2_query_info_req *req, struct smb2_query_info_rsp *rsp) argument
5282 smb2_get_info_filesystem(struct ksmbd_work *work, struct smb2_query_info_req *req, struct smb2_query_info_rsp *rsp) argument
5495 smb2_get_info_sec(struct ksmbd_work *work, struct smb2_query_info_req *req, struct smb2_query_info_rsp *rsp) argument
5577 smb2_query_info(struct ksmbd_work *work) argument
5640 smb2_close_pipe(struct ksmbd_work *work) argument
5672 smb2_close(struct ksmbd_work *work) argument
5795 smb2_echo(struct ksmbd_work *work) argument
5807 smb2_rename(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_file_rename_info *file_info, struct nls_table *local_nls) argument
5879 smb2_create_link(struct ksmbd_work *work, struct ksmbd_share_config *share, struct smb2_file_link_info *file_info, unsigned int buf_len, struct file *filp, struct nls_table *local_nls) argument
6038 set_file_allocation_info(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_file_alloc_info *file_alloc_info) argument
6094 set_end_of_file_info(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_file_eof_info *file_eof_info) argument
6127 set_rename_info(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_file_rename_info *rename_info, unsigned int buf_len) argument
6222 smb2_set_info_file(struct ksmbd_work *work, struct ksmbd_file *fp, struct smb2_set_info_req *req, struct ksmbd_share_config *share) argument
6331 smb2_set_info(struct ksmbd_work *work) argument
6437 smb2_read_pipe(struct ksmbd_work *work) argument
6498 smb2_set_remote_key_for_rdma(struct ksmbd_work *work, struct smb2_buffer_desc_v1 *desc, __le32 Channel, __le16 ChannelInfoLength) argument
6528 smb2_read_rdma_channel(struct ksmbd_work *work, struct smb2_read_req *req, void *data_buf, size_t length) argument
6550 smb2_read(struct ksmbd_work *work) argument
6720 smb2_write_pipe(struct ksmbd_work *work) argument
6781 smb2_write_rdma_channel(struct ksmbd_work *work, struct smb2_write_req *req, struct ksmbd_file *fp, loff_t offset, size_t length, bool sync) argument
6817 smb2_write(struct ksmbd_work *work) argument
6960 smb2_flush(struct ksmbd_work *work) argument
6990 smb2_cancel(struct ksmbd_work *work) argument
7158 smb2_lock(struct ksmbd_work *work) argument
7515 fsctl_copychunk(struct ksmbd_work *work, struct copychunk_ioctl_req *ci_req, unsigned int cnt_code, unsigned int input_count, unsigned long long volatile_id, unsigned long long persistent_id, struct smb2_ioctl_rsp *rsp) argument
7795 fsctl_query_allocated_ranges(struct ksmbd_work *work, u64 id, struct file_allocated_range_buffer *qar_req, struct file_allocated_range_buffer *qar_rsp, unsigned int in_count, unsigned int *out_count) argument
7827 fsctl_pipe_transceive(struct ksmbd_work *work, u64 id, unsigned int out_buf_len, struct smb2_ioctl_req *req, struct smb2_ioctl_rsp *rsp) argument
7872 fsctl_set_sparse(struct ksmbd_work *work, u64 id, struct file_sparse *sparse) argument
7914 fsctl_request_resume_key(struct ksmbd_work *work, struct smb2_ioctl_req *req, struct resume_key_ioctl_rsp *key_rsp) argument
7938 smb2_ioctl(struct ksmbd_work *work) argument
8286 smb20_oplock_break_ack(struct ksmbd_work *work) argument
8432 smb21_lease_break_ack(struct ksmbd_work *work) argument
8569 smb2_oplock_break(struct ksmbd_work *work) argument
8599 smb2_notify(struct ksmbd_work *work) argument
8624 smb2_is_sign_req(struct ksmbd_work *work, unsigned int command) argument
8643 smb2_check_sign_req(struct ksmbd_work *work) argument
8686 smb2_set_sign_rsp(struct ksmbd_work *work) argument
8715 smb3_check_sign_req(struct ksmbd_work *work) argument
8774 smb3_set_sign_rsp(struct ksmbd_work *work) argument
8820 smb3_preauth_hash_rsp(struct ksmbd_work *work) argument
8876 smb3_encrypt_resp(struct ksmbd_work *work) argument
8903 smb3_decrypt_req(struct ksmbd_work *work) argument
8946 smb3_11_final_sess_setup_resp(struct ksmbd_work *work) argument
[all...]
H A Dvfs.h77 int ksmbd_vfs_create(struct ksmbd_work *work, const char *name, umode_t mode);
78 int ksmbd_vfs_mkdir(struct ksmbd_work *work, const char *name, umode_t mode);
79 int ksmbd_vfs_read(struct ksmbd_work *work, struct ksmbd_file *fp, size_t count,
81 int ksmbd_vfs_write(struct ksmbd_work *work, struct ksmbd_file *fp,
84 int ksmbd_vfs_fsync(struct ksmbd_work *work, u64 fid, u64 p_id);
85 int ksmbd_vfs_remove_file(struct ksmbd_work *work, const struct path *path);
86 int ksmbd_vfs_link(struct ksmbd_work *work,
89 int ksmbd_vfs_rename(struct ksmbd_work *work, const struct path *old_path,
91 int ksmbd_vfs_truncate(struct ksmbd_work *work,
94 int ksmbd_vfs_copy_file_ranges(struct ksmbd_work *work,
[all...]
/linux-master/drivers/md/
H A Ddm-cache-background-tracker.c17 struct policy_work work; member in struct:bt_work
53 DMERR("couldn't create mempool for background work items");
99 cmp = cmp_oblock(w->work.oblock, nw->work.oblock);
127 cmp = cmp_oblock(w->work.oblock, oblock);
187 struct policy_work *work,
199 memcpy(&w->work, work, sizeof(*work));
204 * bit of work fo
186 btracker_queue(struct background_tracker *b, struct policy_work *work, struct policy_work **pwork) argument
224 btracker_issue(struct background_tracker *b, struct policy_work **work) argument
[all...]
/linux-master/fs/
H A Dfs-writeback.c54 struct list_head list; /* pending work list */
155 * We have to be careful not to postpone flush work if it is scheduled for
170 struct wb_writeback_work *work)
172 struct wb_completion *done = work->done;
174 if (work->auto_free)
175 kfree(work);
186 struct wb_writeback_work *work)
188 trace_writeback_queue(wb, work);
190 if (work->done)
191 atomic_inc(&work
169 finish_writeback_work(struct bdi_writeback *wb, struct wb_writeback_work *work) argument
185 wb_queue_work(struct bdi_writeback *wb, struct wb_writeback_work *work) argument
373 struct rcu_work work; member in struct:inode_switch_wbs_context
491 inode_switch_wbs_work_fn(struct work_struct *work) argument
996 struct wb_writeback_work *work; local
1069 struct wb_writeback_work *work; local
1474 queue_io(struct bdi_writeback *wb, struct wb_writeback_work *work, unsigned long dirtied_before) argument
1808 writeback_chunk_size(struct bdi_writeback *wb, struct wb_writeback_work *work) argument
1848 writeback_sb_inodes(struct super_block *sb, struct bdi_writeback *wb, struct wb_writeback_work *work) argument
1993 __writeback_inodes_wb(struct bdi_writeback *wb, struct wb_writeback_work *work) argument
2030 struct wb_writeback_work work = { local
2064 wb_writeback(struct bdi_writeback *wb, struct wb_writeback_work *work) argument
2165 struct wb_writeback_work *work = NULL; local
2181 struct wb_writeback_work work = { local
2215 struct wb_writeback_work work = { local
2238 struct wb_writeback_work work = { local
2258 struct wb_writeback_work *work; local
2287 wb_workfn(struct work_struct *work) argument
2683 struct wb_writeback_work work = { local
2761 struct wb_writeback_work work = { local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dvhca_event.c19 struct work_struct work; member in struct:mlx5_vhca_event_work
103 struct mlx5_vhca_event_work *work = container_of(_work, struct mlx5_vhca_event_work, work); local
104 struct mlx5_vhca_state_notifier *notifier = work->notifier;
107 mlx5_vhca_event_notify(dev, &work->event);
108 kfree(work);
111 void mlx5_vhca_events_work_enqueue(struct mlx5_core_dev *dev, int idx, struct work_struct *work) argument
113 queue_work(dev->priv.vhca_events->handler[idx].wq, work);
121 struct mlx5_vhca_event_work *work; local
125 work
[all...]
/linux-master/lib/zlib_inflate/
H A Dinftrees.c14 whose indices are 0..2^bits-1. work is a writable array of at least
15 lens shorts, which is used as a work area. type is the type of code
24 code **table, unsigned *bits, unsigned short *work)
82 table. The sorted table is work[], with that space being provided by
133 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
170 base = extra = work; /* dummy value--not used */
205 if ((int)(work[sym]) < end) {
207 this.val = work[sym];
209 else if ((int)(work[sym]) > end) {
210 this.op = (unsigned char)(extra[work[sy
23 zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes, code **table, unsigned *bits, unsigned short *work) argument
[all...]
/linux-master/drivers/extcon/
H A Dextcon-intel-int3496.c30 struct delayed_work work; member in struct:int3496_data
80 static void int3496_do_usb_id(struct work_struct *work) argument
83 container_of(work, struct int3496_data, work.work);
109 mod_delayed_work(system_wq, &data->work, DEBOUNCE_TIME);
133 ret = devm_delayed_work_autocancel(dev, &data->work, int3496_do_usb_id);
184 queue_delayed_work(system_wq, &data->work, 0);
185 flush_delayed_work(&data->work);
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-wqe.h30 * This header file defines the work queue entry (wqe) data structure.
53 * HW decode / err_code in work queue entry
165 * work */
372 * work
418 * May be written/read by HW before the work queue
487 * the group that the work queue entry will be scheduled to
522 * the group that the work queue entry will be scheduled to
579 * needed to fill the work queue entry to 128 bytes
590 * If desired, SW can make the work Q entry any length. For the
598 static inline int cvmx_wqe_get_port(struct cvmx_wqe *work) argument
610 cvmx_wqe_set_port(struct cvmx_wqe *work, int port) argument
618 cvmx_wqe_get_grp(struct cvmx_wqe *work) argument
630 cvmx_wqe_set_grp(struct cvmx_wqe *work, int grp) argument
638 cvmx_wqe_get_qos(struct cvmx_wqe *work) argument
650 cvmx_wqe_set_qos(struct cvmx_wqe *work, int qos) argument
[all...]
/linux-master/arch/sparc/kernel/
H A Dleon_smp.c138 prom_printf("######## !!!! The irqmp-ctrl must have broadcast enabled, smp wont work !!!!! ####### nr cpus: %d\n",
275 struct leon_ipi_work *work; local
298 work = &per_cpu(leon_ipi_work, cpu);
299 work->single = work->msk = work->resched = 0;
312 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); local
314 /* Mark work */
315 work->single = 1;
323 struct leon_ipi_work *work local
334 struct leon_ipi_work *work = &per_cpu(leon_ipi_work, cpu); local
345 struct leon_ipi_work *work = this_cpu_ptr(&leon_ipi_work); local
[all...]
/linux-master/kernel/locking/
H A Dtest-ww_mutex.c29 struct work_struct work; member in struct:test_mutex
40 static void test_mutex_work(struct work_struct *work) argument
42 struct test_mutex *mtx = container_of(work, typeof(*mtx), work);
67 INIT_WORK_ONSTACK(&mtx.work, test_mutex_work);
73 schedule_work(&mtx.work);
101 flush_work(&mtx.work);
102 destroy_work_on_stack(&mtx.work);
177 struct work_struct work; member in struct:test_abba
186 static void test_abba_work(struct work_struct *work) argument
278 struct work_struct work; member in struct:test_cycle
286 test_cycle_work(struct work_struct *work) argument
383 struct work_struct work; member in struct:stress
431 stress_inorder_work(struct work_struct *work) argument
490 stress_reorder_work(struct work_struct *work) argument
549 stress_one_work(struct work_struct *work) argument
[all...]
/linux-master/drivers/input/touchscreen/
H A Dhp680_ts_input.c21 static void do_softint(struct work_struct *work);
24 static DECLARE_DELAYED_WORK(work, do_softint);
26 static void do_softint(struct work_struct *work) argument
72 schedule_delayed_work(&work, HZ / 20);
111 cancel_delayed_work_sync(&work);
119 cancel_delayed_work_sync(&work);
/linux-master/kernel/
H A Dstop_machine.c85 struct cpu_stop_work *work,
88 list_add_tail(&work->list, &stopper->works);
92 /* queue @work to @stopper. if offline, @work is completed immediately */
93 static bool cpu_stop_queue_work(unsigned int cpu, struct cpu_stop_work *work) argument
104 __cpu_stop_queue_work(stopper, work, &wakeq);
105 else if (work->done)
106 cpu_stop_signal_done(work->done);
142 struct cpu_stop_work work = { .fn = fn, .arg = arg, .done = &done, .caller = _RET_IP_ }; local
145 if (!cpu_stop_queue_work(cpu, &work))
84 __cpu_stop_queue_work(struct cpu_stopper *stopper, struct cpu_stop_work *work, struct wake_q_head *wakeq) argument
395 struct cpu_stop_work *work; local
489 struct cpu_stop_work *work; local
[all...]
/linux-master/arch/sh/drivers/
H A Dpush-switch.c30 schedule_work(&psw->work);
33 static void switch_work_handler(struct work_struct *work) argument
35 struct push_switch *psw = container_of(work, struct push_switch, work);
77 INIT_WORK(&psw->work, switch_work_handler);
105 flush_work(&psw->work);

Completed in 481 milliseconds

1234567891011>>