/linux/io_uring/ |
H A D | cancel.c | 20 #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 D | cancel.h | 29 bool (*cancel)(struct io_kiocb *)); 33 bool (*cancel)(struct io_kiocb *));
|
H A D | io-wq.h | 64 enum io_wq_cancel io_wq_cancel_cb(struct io_wq *wq, work_cancel_fn *cancel,
|
/linux/drivers/base/firmware_loader/ |
H A D | sysfs_upload.c | 97 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 D | drbd_worker.c | 338 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 D | isci.h | 490 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 D | aio.h | 16 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 D | gw.c | 647 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 D | cxd2880_integ.c | 58 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 D | arc.rs | 22 // 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 D | pin.rs | 21 // 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 D | pin_mut.rs | 19 // 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 D | tbox.rs | 28 // 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 D | read_pgpriv2.c | 103 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 D | read_single.c | 122 goto cancel; in netfs_single_dispatch_read() 144 cancel: in netfs_single_dispatch_read()
|
/linux/tools/testing/ktest/ |
H A D | config-bisect.pl | 111 my ($cancel, $prompt) = @_; 116 if ($cancel) { 124 if ($cancel) { 131 if ($cancel) {
|
/linux/drivers/s390/cio/ |
H A D | ccwreq.c | 134 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 D | disk-events.c | 77 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 D | fw_upload.rst | 36 .cancel = m10bmc_sec_cancel, 127 * cancel - echo 1 to this file to cancel the update
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-class-tpm | 21 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 D | neigh.c | 230 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 D | udivdi3.S | 38 ! 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 D | selftest_rps.c | 60 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 D | transport.h | 30 * @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 D | fwio.c | 298 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()
|