Home
last modified time | relevance | path

Searched refs:cancel (Results 1 – 25 of 134) sorted by relevance

123456

/linux/io_uring/
H A Dcancel.c21 #include "cancel.h"
153 struct io_cancel *cancel = io_kiocb_to_cmd(req, struct io_cancel); in io_async_cancel_prep()
160 cancel->addr = READ_ONCE(sqe->addr); in io_async_cancel_prep()
161 cancel->flags = READ_ONCE(sqe->cancel_flags); in io_async_cancel_prep()
162 if (cancel->flags & ~CANCEL_FLAGS) in io_async_cancel_prep()
164 if (cancel->flags & IORING_ASYNC_CANCEL_FD) { in io_async_cancel_prep()
165 if (cancel->flags & IORING_ASYNC_CANCEL_ANY) in io_async_cancel_prep()
167 cancel->fd = READ_ONCE(sqe->fd); in io_async_cancel_prep()
169 if (cancel->flags & IORING_ASYNC_CANCEL_OP) { in io_async_cancel_prep()
172 if (cancel in io_async_cancel_prep()
142 struct io_cancel *cancel = io_kiocb_to_cmd(req, struct io_cancel); io_async_cancel_prep() local
212 struct io_cancel *cancel = io_kiocb_to_cmd(req, struct io_cancel); io_async_cancel() local
451 struct io_task_cancel *cancel = data; io_cancel_task_cb() local
519 struct io_task_cancel cancel = { .tctx = tctx, .all = cancel_all, }; io_uring_try_cancel_requests() local
[all...]
H A Dtw.c94 ts.cancel = io_should_terminate_tw(ctx); in tctx_task_work_run()
282 struct io_tw_state ts = { .cancel = true }; in io_run_local_work_continue()
289 * away, run the entries in cancel mode right here, if allowed. in __io_run_local_work_loop()
364 tw.cancel = io_should_terminate_tw(ctx);
/linux/drivers/block/drbd/
H A Ddrbd_worker.c338 static int w_e_send_csum(struct drbd_work *w, int cancel) in w_e_send_csum() argument
347 if (unlikely(cancel)) in w_e_send_csum()
426 int w_resync_timer(struct drbd_work *w, int cancel) in w_resync_timer() argument
433 make_ov_request(first_peer_device(device), cancel); in w_resync_timer()
436 make_resync_request(first_peer_device(device), cancel); in w_resync_timer()
586 static int make_resync_request(struct drbd_peer_device *const peer_device, int cancel) in make_resync_request() argument
599 if (unlikely(cancel)) in make_resync_request()
765 static int make_ov_request(struct drbd_peer_device *peer_device, int cancel)
773 if (unlikely(cancel)) in make_ov_request()
818 int w_ov_finished(struct drbd_work *w, int cancel)
766 make_ov_request(struct drbd_peer_device * peer_device,int cancel) make_ov_request() argument
819 w_ov_finished(struct drbd_work * w,int cancel) w_ov_finished() argument
831 w_resync_finished(struct drbd_work * w,int cancel) w_resync_finished() argument
1038 w_e_end_data_req(struct drbd_work * w,int cancel) w_e_end_data_req() argument
1098 w_e_end_rsdata_req(struct drbd_work * w,int cancel) w_e_end_rsdata_req() argument
1149 w_e_end_csum_rs_req(struct drbd_work * w,int cancel) w_e_end_csum_rs_req() argument
1212 w_e_end_ov_req(struct drbd_work * w,int cancel) w_e_end_ov_req() argument
1270 w_e_end_ov_reply(struct drbd_work * w,int cancel) w_e_end_ov_reply() argument
1373 w_send_write_hint(struct drbd_work * w,int cancel) w_send_write_hint() argument
1405 w_send_out_of_sync(struct drbd_work * w,int cancel) w_send_out_of_sync() argument
1436 w_send_dblock(struct drbd_work * w,int cancel) w_send_dblock() argument
1469 w_send_read_req(struct drbd_work * w,int cancel) w_send_read_req() argument
1499 w_restart_disk_io(struct drbd_work * w,int cancel) w_restart_disk_io() argument
[all...]
/linux/drivers/scsi/isci/
H A Disci.h490 bool cancel; member
496 tmr->cancel = false; in sci_init_timer()
502 tmr->cancel = false; in sci_mod_timer()
508 tmr->cancel = true; in sci_del_timer()
/linux/fs/netfs/
H A Dread_single.c114 goto cancel; in netfs_single_dispatch_read()
125 goto cancel; in netfs_single_dispatch_read()
138 goto cancel; in netfs_single_dispatch_read()
142 cancel: in netfs_single_dispatch_read()
H A Dread_pgpriv2.c104 goto cancel; in netfs_pgpriv2_begin_copy_to_cache()
109 goto cancel; in netfs_pgpriv2_begin_copy_to_cache()
123 cancel: in netfs_pgpriv2_begin_copy_to_cache()
/linux/net/can/
H A Dgw.c657 goto cancel; in cgw_put_job()
662 goto cancel; in cgw_put_job()
667 goto cancel; in cgw_put_job()
674 goto cancel; in cgw_put_job()
685 goto cancel; in cgw_put_job()
692 goto cancel; in cgw_put_job()
699 goto cancel; in cgw_put_job()
706 goto cancel; in cgw_put_job()
715 goto cancel; in cgw_put_job()
722 goto cancel; in cgw_put_job()
[all...]
/linux/include/linux/
H A Daio.h16 void kiocb_set_cancel_fn(struct kiocb *req, kiocb_cancel_fn *cancel);
20 kiocb_cancel_fn *cancel) { } in kiocb_set_cancel_fn() argument
/linux/drivers/media/dvb-frontends/cxd2880/
H A Dcxd2880_integ.c58 atomic_set(&tnr_dmd->cancel, 1); in cxd2880_integ_cancel()
68 if (atomic_read(&tnr_dmd->cancel) != 0) in cxd2880_integ_check_cancellation()
/linux/tools/testing/ktest/
H A Dconfig-bisect.pl111 my ($cancel, $prompt) = @_;
116 if ($cancel) {
124 if ($cancel) {
131 if ($cancel) {
/linux/Documentation/ABI/stable/
H A Dsysfs-class-tpm21 What: /sys/class/tpm/tpmX/device/cancel
25 Description: The "cancel" property allows you to cancel the currently
26 pending TPM command. Writing any value to cancel will call the
27 TPM vendor specific cancel operation.
/linux/Documentation/driver-api/firmware/
H A Dfw_upload.rst36 .cancel = m10bmc_sec_cancel,
127 * cancel - echo 1 to this file to cancel the update
/linux/drivers/hv/
H A Dmshv_vtl.h9 u32 cancel; member
/linux/net/mctp/
H A Dneigh.c231 goto cancel; in mctp_fill_neigh()
234 goto cancel; in mctp_fill_neigh()
239 cancel: in mctp_fill_neigh()
H A Ddevice.c81 goto cancel; in mctp_fill_addrinfo()
84 goto cancel; in mctp_fill_addrinfo()
90 cancel: in mctp_fill_addrinfo()
/linux/arch/sparc/lib/
H A Dudivdi3.S38 ! Got carry from n. Subtract next step to cancel this carry.
76 ! Got carry from n. Subtract next step to cancel this carry.
102 ! Got carry from n. Subtract next step to cancel this carry.
181 ! Got carry from n. Subtract next step to cancel this carry.
H A Ddivdi3.S62 ! Got carry from n. Subtract next step to cancel this carry.
98 ! Got carry from n. Subtract next step to cancel this carry.
122 ! Got carry from n. Subtract next step to cancel this carry.
197 ! Got carry from n. Subtract next step to cancel this carry.
/linux/include/net/9p/
H A Dtransport.h63 int (*cancel)(struct p9_client *client, struct p9_req_t *req); member
/linux/drivers/net/wireless/intersil/p54/
H A Dfwio.c328 struct p54_txcancel *cancel; in p54_tx_cancel() local
334 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*cancel), in p54_tx_cancel()
339 cancel = skb_put(skb, sizeof(*cancel)); in p54_tx_cancel()
340 cancel->req_id = req_id; in p54_tx_cancel()
/linux/net/bridge/
H A Dbr_mdb.c435 goto cancel; in nlmsg_populate_mdb_fill()
450 cancel: in nlmsg_populate_mdb_fill()
584 goto cancel; in nlmsg_populate_rtr_fill()
605 cancel: in nlmsg_populate_rtr_fill()
1655 goto cancel; in br_mdb_get_reply_fill()
1660 goto cancel; in br_mdb_get_reply_fill()
1666 goto cancel; in br_mdb_get_reply_fill()
1673 goto cancel; in br_mdb_get_reply_fill()
1682 cancel: in br_mdb_get()
/linux/net/wireless/
H A Ddebugfs.c206 .cancel = wiphy_locked_debugfs_read_cancel,
285 .cancel = wiphy_locked_debugfs_write_cancel,
/linux/drivers/net/vxlan/
H A Dvxlan_mdb.c1035 goto cancel; in vxlan_mdb_nlmsg_fill()
1038 goto cancel; in vxlan_mdb_nlmsg_fill()
1041 goto cancel; in vxlan_mdb_nlmsg_fill()
1049 cancel: in vxlan_mdb_remote_notify()
1567 goto cancel; in vxlan_mdb_get_reply_fill()
1572 goto cancel; in vxlan_mdb_get_reply_fill()
1578 goto cancel; in vxlan_mdb_get_reply_fill()
1587 cancel: in vxlan_mdb_get()
/linux/Documentation/driver-api/surface_aggregator/clients/
H A Ddtx.rst100 an cancel event (``SDTX_EVENT_CANCEL``) detailing this with the cancel
107 similar to the user pressing the detach-button to cancel said process (see
116 error or low battery, a latch-cancel event (``SDTX_EVENT_CANCEL``) will be
117 sent with the cancel reason indicating the specific failure.
148 failures or a low clipboard battery. This is done via a cancel event
149 (``SDTX_EVENT_CANCEL``) with the corresponding cancel reason.
/linux/drivers/android/binder/node/
H A Dwrapper.rs58 fn cancel(self: DArc<Self>) { in do_work()
60 fn cancel(self: DArc<Self>) { cancel() method
/linux/drivers/char/tpm/
H A Dtpm-interface.c64 if (!chip->ops->cancel) in tpm_chip_cancel()
67 chip->ops->cancel(chip); in tpm_chip_cancel()

123456