Home
last modified time | relevance | path

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

12345678

/linux/io_uring/
H A Dcancel.c20 #include "cancel.h"
140 struct io_cancel *cancel = io_kiocb_to_cmd(req, struct io_cancel); in io_async_cancel_prep() local
147 cancel->addr = READ_ONCE(sqe->addr); in io_async_cancel_prep()
148 cancel->flags = READ_ONCE(sqe->cancel_flags); in io_async_cancel_prep()
149 if (cancel->flags & ~CANCEL_FLAGS) in io_async_cancel_prep()
151 if (cancel->flags & IORING_ASYNC_CANCEL_FD) { in io_async_cancel_prep()
152 if (cancel->flags & IORING_ASYNC_CANCEL_ANY) in io_async_cancel_prep()
154 cancel->fd = READ_ONCE(sqe->fd); in io_async_cancel_prep()
156 if (cancel->flags & IORING_ASYNC_CANCEL_OP) { in io_async_cancel_prep()
157 if (cancel in io_async_cancel_prep()
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 Dio-wq.h64 enum io_wq_cancel io_wq_cancel_cb(struct io_wq *wq, work_cancel_fn *cancel,
/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/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/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/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/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/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/rust/kernel/time/hrtimer/
H A Darc.rs22 // SAFETY: We implement drop below, and we cancel the timer in the drop
28 fn cancel(&mut self) -> bool { in cancel() function
46 self.cancel(); in drop()
H A Dpin.rs21 // SAFETY: We cancel the timer when the handle is dropped. The implementation of
22 // the `cancel` method will block if the timer handler is running.
27 fn cancel(&mut self) -> bool { in cancel() function
45 self.cancel(); in drop()
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 Dtbox.rs28 // SAFETY: We implement drop below, and we cancel the timer in the drop
35 fn cancel(&mut self) -> bool { in cancel() function
52 self.cancel(); in drop()
/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()
H A Dread_single.c122 goto cancel; in netfs_single_dispatch_read()
144 cancel: in netfs_single_dispatch_read()
/linux/tools/testing/ktest/
H A Dconfig-bisect.pl111 my ($cancel, $prompt) = @_;
116 if ($cancel) {
124 if ($cancel) {
131 if ($cancel) {
/linux/drivers/s390/cio/
H A Dccwreq.c134 req->cancel = 0; in ccw_request_start()
145 * ccw_request_cancel - cancel running I/O request
159 req->cancel = 1; in ccw_request_cancel()
283 if (req->cancel) { in ccw_request_handler()
/linux/block/
H A Ddisk-events.c77 bool cancel; in disk_block_events() local
89 cancel = !ev->block++; in disk_block_events()
92 if (cancel) in disk_block_events()
/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/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/net/mctp/
H A Dneigh.c230 goto cancel; in mctp_fill_neigh()
233 goto cancel; in mctp_fill_neigh()
238 cancel: in mctp_fill_neigh()
/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.
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_rps.c60 u32 **cancel, in create_spin_counter() argument
138 *cancel = base + loop; in create_spin_counter()
636 u32 *cancel, *cntr; in live_rps_frequency_cs() local
646 &cancel, &cntr); in live_rps_frequency_cs()
720 *cancel = MI_BATCH_BUFFER_END; in live_rps_frequency_cs()
775 u32 *cancel, *cntr; in live_rps_frequency_srm() local
785 &cancel, &cntr); in live_rps_frequency_srm()
858 *cancel = MI_BATCH_BUFFER_END; in live_rps_frequency_srm()
/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/drivers/net/wireless/intersil/p54/
H A Dfwio.c298 struct p54_txcancel *cancel; in p54_tx_cancel() local
304 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*cancel), in p54_tx_cancel()
309 cancel = skb_put(skb, sizeof(*cancel)); in p54_tx_cancel()
310 cancel->req_id = req_id; in p54_tx_cancel()

12345678