Home
last modified time | relevance | path

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

12345678

/linux/io_uring/
H A Dcancel.c143 struct io_cancel *cancel = io_kiocb_to_cmd(req, struct io_cancel); in io_async_cancel_prep() local
150 cancel->addr = READ_ONCE(sqe->addr); in io_async_cancel_prep()
151 cancel->flags = READ_ONCE(sqe->cancel_flags); in io_async_cancel_prep()
152 if (cancel->flags & ~CANCEL_FLAGS) in io_async_cancel_prep()
154 if (cancel->flags & IORING_ASYNC_CANCEL_FD) { in io_async_cancel_prep()
155 if (cancel->flags & IORING_ASYNC_CANCEL_ANY) in io_async_cancel_prep()
157 cancel->fd = READ_ONCE(sqe->fd); in io_async_cancel_prep()
159 if (cancel->flags & IORING_ASYNC_CANCEL_OP) { in io_async_cancel_prep()
160 if (cancel->flags & IORING_ASYNC_CANCEL_ANY) in io_async_cancel_prep()
162 cancel->opcode = READ_ONCE(sqe->len); in io_async_cancel_prep()
[all …]
H A Dcancel.h31 bool (*cancel)(struct io_kiocb *));
34 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, in io_wq_is_hashed()
/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()
108 fwlp->ops->cancel(fwlp->fw_upload); in cancel_store()
113 DEVICE_ATTR_WO(cancel);
309 if (!ops || !ops->cancel || !ops->prepare || in firmware_upload_register()
400 fw_upload_priv->ops->cancel(fw_upload); in firmware_upload_unregister()
/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/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/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/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/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/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/drivers/hv/
H A Dmshv_vtl.h9 u32 cancel; member
/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()
H A Ddevice.c80 goto cancel; in mctp_fill_addrinfo()
83 goto cancel; in mctp_fill_addrinfo()
89 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/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 br_rtr_notify()
1643 goto cancel; in br_mdb_get_reply_fill()
1648 goto cancel; in br_mdb_get_reply_fill()
1654 goto cancel; in br_mdb_get_reply_fill()
1661 goto cancel; in br_mdb_get()
1670 cancel: in br_mdb_get()
/linux/net/wireless/
H A Ddebugfs.c203 .cancel = wiphy_locked_debugfs_read_cancel,
282 .cancel = wiphy_locked_debugfs_write_cancel,
/linux/tools/testing/selftests/net/lib/py/
H A Dutils.py168 def cancel(self):
172 self.cancel()
159 def cancel(self): global() member in defer
/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.

12345678