Home
last modified time | relevance | path

Searched full:cancel (Results 1 – 25 of 763) sorted by relevance

12345678910>>...31

/linux/io_uring/
H A Dcancel.c21 #include "cancel.h"
141 struct io_cancel *cancel = io_kiocb_to_cmd(req, struct io_cancel); in io_async_cancel_prep()
148 cancel->addr = READ_ONCE(sqe->addr); in io_async_cancel_prep()
149 cancel->flags = READ_ONCE(sqe->cancel_flags); in io_async_cancel_prep()
150 if (cancel->flags & ~CANCEL_FLAGS) in io_async_cancel_prep()
152 if (cancel->flags & IORING_ASYNC_CANCEL_FD) { in io_async_cancel_prep()
153 if (cancel->flags & IORING_ASYNC_CANCEL_ANY) in io_async_cancel_prep()
155 cancel->fd = READ_ONCE(sqe->fd); in io_async_cancel_prep()
157 if (cancel->flags & IORING_ASYNC_CANCEL_OP) { in io_async_cancel_prep()
158 if (cancel in io_async_cancel_prep()
140 struct io_cancel *cancel = io_kiocb_to_cmd(req, struct io_cancel); io_async_cancel_prep() local
200 struct io_cancel *cancel = io_kiocb_to_cmd(req, struct io_cancel); io_async_cancel() local
[all...]
H A Dcancel.h29 bool (*cancel)(struct io_kiocb *));
33 bool (*cancel)(struct io_kiocb *));
H A Dwaitid.c15 #include "cancel.h"
201 /* Don't retry if cancel found it meanwhile */ in io_waitid_cb()
235 /* cancel is in progress */ in io_waitid_wait()
284 * Cancel must hold the ctx lock, so there's no risk of cancelation in io_waitid()
/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()
766 static int make_ov_request(struct drbd_peer_device *peer_device, int cancel) in make_ov_request() argument
774 if (unlikely(cancel)) in make_ov_request()
819 int w_ov_finished(struct drbd_work *w, int cancel) in w_ov_finished() argument
[all …]
/linux/drivers/base/firmware_loader/
H A Dsysfs_upload.c97 bool cancel; in cancel_store() local
99 if (kstrtobool(buf, &cancel) || !cancel) in cancel_store()
106 fwlp->ops->cancel(fwlp->fw_upload); in cancel_store()
111 DEVICE_ATTR_WO(cancel);
307 if (!ops || !ops->cancel || !ops->prepare || in firmware_upload_register()
398 fw_upload_priv->ops->cancel(fw_upload); in firmware_upload_unregister()
/linux/rust/kernel/time/hrtimer/
H A Dpin.rs22 // SAFETY: We cancel the timer when the handle is dropped. The implementation of
23 // the `cancel` method will block if the timer handler is running.
28 fn cancel(&mut self) -> bool { in cancel()
46 self.cancel(); in drop()
27 fn cancel(&mut self) -> bool { cancel() function
H A Dpin_mut.rs19 // SAFETY: We cancel the timer when the handle is dropped. The implementation of
20 // the `cancel` method will block if the timer handler is running.
25 fn cancel(&mut self) -> bool { in cancel() function
43 self.cancel(); in drop()
H A Darc.rs23 // SAFETY: We implement drop below, and we cancel the timer in the drop
29 fn cancel(&mut self) -> bool { in cancel()
47 self.cancel(); in drop()
28 fn cancel(&mut self) -> bool { cancel() function
H A Dtbox.rs29 // SAFETY: We implement drop below, and we cancel the timer in the drop
36 fn cancel(&mut self) -> bool { in cancel()
53 self.cancel(); in drop()
35 fn cancel(&mut self) -> bool { cancel() function
/linux/include/xen/interface/io/
H A Dtpmif.h32 VTPM_STATE_IDLE, /* no contents / vTPM idle / cancel complete */
35 VTPM_STATE_CANCEL, /* cancel requested / vTPM working */
38 * frontend should only change to SUBMIT or CANCEL. */
/linux/include/net/9p/
H A Dtransport.h30 * @cancel: member function to cancel a request (if it hasn't been sent)
52 int (*cancel)(struct p9_client *client, struct p9_req_t *req); member
/linux/net/can/
H A Dgw.c647 goto cancel; in cgw_put_job()
652 goto cancel; in cgw_put_job()
657 goto cancel; in cgw_put_job()
664 goto cancel; in cgw_put_job()
675 goto cancel; in cgw_put_job()
682 goto cancel; in cgw_put_job()
689 goto cancel; in cgw_put_job()
696 goto cancel; in cgw_put_job()
705 goto cancel; in cgw_put_job()
712 goto cancel; in cgw_put_job()
[all …]
/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/fs/ocfs2/dlm/
H A Ddlmunlock.c67 * So to unlock a converting lock, you must first cancel the
147 /* By now this has been masked out of cancel requests. */ in dlmunlock_common()
258 /* if cancel or unlock succeeded, lvb work is done */ in dlmunlock_common()
362 * when the master goes down during a cancel or in dlm_send_remote_unlock_request()
411 mlog(ML_ERROR, "bad args! cannot modify lvb on a CANCEL " in dlm_unlock_lock_handler()
534 /* cancel this outright */ in dlm_get_cancel_actions()
539 /* cancel the request, put back on granted */ in dlm_get_cancel_actions()
550 mlog(ML_ERROR, "lock to cancel is not on any list!\n"); in dlm_get_cancel_actions()
603 mlog(0, "VALBLK given with CANCEL: ignoring VALBLK\n"); in dlmunlock()
/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.
363 .. flat-table:: Detachment Cancel Event Payload
525 - Cancel detachment process.
/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/s390/cio/
H A Dccwreq.c134 req->cancel = 0; in ccw_request_start()
145 * ccw_request_cancel - cancel running I/O request
148 * Cancel the I/O request specified by cdev->req. Return non-zero if request
159 req->cancel = 1; in ccw_request_cancel()
283 if (req->cancel) { in ccw_request_handler()
/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/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/rust/kernel/time/
H A Dhrtimer.rs19 //! * Cancel
43 //! | | Cancel | | | |
60 //! by the `cancel` operation. A timer that is cancelled enters the **stopped**
63 //! A `cancel` or `restart` operation on a timer in the **running** state takes
142 /// Cancel an initialized and potentially running timer.
152 /// Instead they would use the safe [`HrTimerHandle::cancel`] on the handle
405 /// Note: One way to satisfy the safety requirement is to call `Self::cancel` in
408 /// Cancel the timer. If the timer is in the running state, block till the
416 fn cancel(&mut self) -> bool;
327 fn cancel(&mut self) -> bool; cancel() method
/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/fs/jbd2/
H A Drevoke.c30 * cancel the revoke before the transaction commits.
34 * need either to cancel the journal entry or to write the revoke
306 * metadata writes of the buffer in this transaction cancel the
369 * cancel. */ in jbd2_journal_revoke()
411 * Cancel an outstanding revoke. For use only internally by the
421 * the second time we would still have a pending revoke to cancel. So,
435 * only perform the full cancel if the revoke bit is set. If in jbd2_journal_cancel_revoke()
/linux/fs/netfs/
H A Dread_pgpriv2.c103 goto cancel; in netfs_pgpriv2_begin_copy_to_cache()
108 goto cancel; in netfs_pgpriv2_begin_copy_to_cache()
122 cancel: in netfs_pgpriv2_begin_copy_to_cache()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dsession-protect.h86 * iwl_mld_cancel_session_protection - cancel the session protection.
89 * @link_id: cancel the session protection for given link

12345678910>>...31