Home
last modified time | relevance | path

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

12345678910>>...52

/openbmc/linux/io_uring/
H A Dcancel.c18 #include "cancel.h"
131 struct io_cancel *cancel = io_kiocb_to_cmd(req, struct io_cancel); in io_async_cancel_prep() local
138 cancel->addr = READ_ONCE(sqe->addr); in io_async_cancel_prep()
139 cancel->flags = READ_ONCE(sqe->cancel_flags); in io_async_cancel_prep()
140 if (cancel->flags & ~CANCEL_FLAGS) in io_async_cancel_prep()
142 if (cancel->flags & IORING_ASYNC_CANCEL_FD) { in io_async_cancel_prep()
143 if (cancel->flags & IORING_ASYNC_CANCEL_ANY) in io_async_cancel_prep()
145 cancel->fd = READ_ONCE(sqe->fd); in io_async_cancel_prep()
147 if (cancel->flags & IORING_ASYNC_CANCEL_OP) { in io_async_cancel_prep()
148 if (cancel->flags & IORING_ASYNC_CANCEL_ANY) in io_async_cancel_prep()
[all …]
/openbmc/qemu/backends/tpm/
H A Dtpm_passthrough.c164 * As of Linux 3.7 the tpm_tis driver does not properly cancel in tpm_passthrough_cancel_cmd()
166 * Only cancel if we're busy so we don't cancel someone else's in tpm_passthrough_cancel_cmd()
178 error_report("Cannot cancel TPM command due to missing " in tpm_passthrough_cancel_cmd()
179 "TPM sysfs cancel entry"); in tpm_passthrough_cancel_cmd()
206 * determine the sysfs cancel file following kernel documentation
208 * From /dev/tpm0 create /sys/class/tpm/tpm0/device/cancel
209 * before 4.0: /sys/class/misc/tpm0/device/cancel
220 error_report("tpm_passthrough: Could not open TPM cancel path: %s", in tpm_passthrough_open_sysfs_cancel()
234 if (snprintf(path, sizeof(path), "/sys/class/tpm/%s/device/cancel", in tpm_passthrough_open_sysfs_cancel()
238 if (snprintf(path, sizeof(path), "/sys/class/misc/%s/device/cancel", in tpm_passthrough_open_sysfs_cancel()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/templates/
H A Dmrb_section.html98 <!-- cancel button -->
99 <%include tmpl='#cancel-template'/%>
124 <%include tmpl='#cancel-template'/%>
149 <%include tmpl='#cancel-template'/%>
164 <!-- cancel button -->
165 <%include tmpl='#cancel-template'/%>
187 <!-- cancel button -->
188 <%include tmpl='#cancel-template'/%>
273 <!-- cancel button or no cancel icon -->
274 <script id="cancel-template" type="text/x-jsrender">
[all …]
H A Dproject.html37 <li>Cancel its builds currently in progress</li>
54 <button type="button" class="btn btn-link" data-dismiss="modal">Cancel</button>
74 <a href="#" id="cancel-machine-change" class="btn btn-link">Cancel</a>
91 <a href="#" id="cancel-distro-change" class="btn btn-link">Cancel</a>
125 …hange-release-btn">Change</button> <a href="#" id="cancel-release-change" class="btn btn-link">Can…
H A Dproject_specific.html37 <li>Cancel its builds currently in progress</li>
54 <button type="button" class="btn btn-link" data-dismiss="modal">Cancel</button>
74 <a href="#" id="cancel-machine-change" class="btn btn-link">Cancel</a>
91 <a href="#" id="cancel-distro-change" class="btn btn-link">Cancel</a>
123 …hange-release-btn">Change</button> <a href="#" id="cancel-release-change" class="btn btn-link">Can…
H A Dproject_specific_topbar.html37 <a href="#" id="project-name-change-cancel" class="btn btn-lg btn-link">Cancel</a>
72 …<button id="cancel-project-button" class="btn info btn-lg" data-project-id="{{project.id}}">Cancel
/openbmc/phosphor-fan-presence/monitor/
H A Dpower_off_action.hpp26 * the cancel() method, which is really only useful when
72 * @brief Attempts to cancel the power off, if the derived
80 * @param[in] force - If the cancel should be forced
82 * @return bool - If the cancel was allowed/successful
84 virtual bool cancel(bool force) = 0;
190 * @param[in] force - If the cancel should be forced or not
194 bool cancel(bool) override in cancel() function in phosphor::fan::monitor::HardPowerOff
282 * @param[in] force - If the cancel should be forced or not
286 bool cancel(bool) override in cancel() function in phosphor::fan::monitor::SoftPowerOff
423 * @brief Attempts to cancel the action
[all …]
H A Dpower_off_rule.hpp58 * @brief Used to cancel a delay based power off when
61 void cancel() in cancel() function in phosphor::fan::monitor::PowerOffRule
65 // force the cancel in cancel()
66 _action->cancel(true); in cancel()
95 // Attempt to cancel the action, but don't force it in check()
96 if (_action->cancel(false)) in check()
/openbmc/qemu/tests/qemu-iotests/
H A D21871 log('=== Cancel mirror job before convergence ===')
82 log(vm.qmp('block-job-cancel', device='mirror', force=False))
96 log(vm.qmp('block-job-cancel', device='mirror', force=True))
103 log('=== Cancel mirror job after convergence ===')
116 log(vm.qmp('block-job-cancel', device='mirror', force=False))
132 log(vm.qmp('block-job-cancel', device='mirror', force=True))
138 log('=== Cancel mirror job from throttled node by quitting ===')
H A D218.out2 === Cancel mirror job before convergence ===
16 === Cancel mirror job after convergence ===
32 === Cancel mirror job from throttled node by quitting ===
H A D141.out10 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
24 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
38 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
51 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
64 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
/openbmc/qemu/qapi/
H A Djob.json94 # @cancel: see @job-cancel
113 'data': ['cancel', 'pause', 'resume', 'set-speed', 'complete', 'dismiss',
166 # @job-cancel:
168 # Instruct an active background job to cancel at the next opportunity.
172 # The job will cancel as soon as possible and then emit a
175 # because it was almost done and there was no opportunity to cancel
182 { 'command': 'job-cancel', 'data': { 'id': 'str' } }
204 # make use of JOB_READY event, job-cancel or job-complete will still
H A Dtpm.json80 # @cancel-path: string showing the TPM's sysfs cancel file for
87 '*cancel-path': 'str' },
180 # { "cancel-path": "/sys/class/misc/tpm0/device/cancel",
/openbmc/openbmc/meta-raspberrypi/.github/workflows/
H A Dcancel-redundant-workflows.yml5 name: Cancel redundant workflows
17 cancel-redundant-workflows:
20 - uses: styfle/cancel-workflow-action@0.10.0
/openbmc/qemu/include/block/
H A Dblock-copy.h89 * Cancel running block-copy call.
91 * Cancel leaves block-copy state valid: dirty bits are correct and you may use
92 * cancel + <run block_copy with same parameters> to emulate pause/resume.
94 * Note also, that the cancel is async: it only marks block-copy call to be
/openbmc/openbmc/poky/scripts/contrib/
H A Ddialog-power-control48 …log --yesno "$PROMPT" --title "TestImage Power Control" --yes-label "Done" --no-label "Cancel test"
50 …n --text="$PROMPT" --title="TestImage Power Control" --ok-label="Done" --cancel-label="Cancel test"
/openbmc/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. */
/openbmc/linux/drivers/base/firmware_loader/
H A Dsysfs_upload.c96 bool cancel; in cancel_store() local
98 if (kstrtobool(buf, &cancel) || !cancel) in cancel_store()
105 fwlp->ops->cancel(fwlp->fw_upload); in cancel_store()
110 DEVICE_ATTR_WO(cancel);
306 if (!ops || !ops->cancel || !ops->prepare || in firmware_upload_register()
397 fw_upload_priv->ops->cancel(fw_upload); in firmware_upload_unregister()
/openbmc/qemu/tests/unit/
H A Dtest-blockjob.c398 g_test_add_func("/blockjob/cancel/created", test_cancel_created); in main()
399 g_test_add_func("/blockjob/cancel/running", test_cancel_running); in main()
400 g_test_add_func("/blockjob/cancel/paused", test_cancel_paused); in main()
401 g_test_add_func("/blockjob/cancel/ready", test_cancel_ready); in main()
402 g_test_add_func("/blockjob/cancel/standby", test_cancel_standby); in main()
403 g_test_add_func("/blockjob/cancel/pending", test_cancel_pending); in main()
404 g_test_add_func("/blockjob/cancel/concluded", test_cancel_concluded); in main()
/openbmc/webui-vue/src/views/Operations/FactoryReset/
H A DFactoryResetModal.vue58 <template #modal-footer="{ cancel }">
61 data-test-id="factoryReset-button-cancel"
62 @click="cancel()"
64 {{ $t('global.action.cancel') }}
/openbmc/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()
585 static int make_resync_request(struct drbd_peer_device *const peer_device, int cancel) in make_resync_request() argument
598 if (unlikely(cancel)) in make_resync_request()
765 static int make_ov_request(struct drbd_peer_device *peer_device, int cancel) in make_ov_request() argument
773 if (unlikely(cancel)) in make_ov_request()
818 int w_ov_finished(struct drbd_work *w, int cancel) in w_ov_finished() argument
[all …]
/openbmc/qemu/
H A D.patchew.yml35 {% if not is_timeout %} {{ cancel }} {% endif %}
53 {{ cancel }}
61 {{ cancel }}
76 {{ cancel }}
79 {{ cancel }}
110 {{ cancel }}
/openbmc/webui-vue/src/views/Logs/Dumps/
H A DDumpsModalConfirmation.vue29 <template #modal-footer="{ cancel }">
30 <b-button variant="secondary" @click="cancel()">
31 {{ $t('global.action.cancel') }}
/openbmc/phosphor-fan-presence/monitor/test/
H A Dpower_off_rule_test.cpp83 // It doesn't really make much sense to cancel a rule after it in TEST()
85 rules[0]->cancel(); in TEST()
108 // cancel it before it runs. in TEST()
117 rules[2]->cancel(); in TEST()
/openbmc/phosphor-webui/app/configuration/controllers/
H A Dfirmware-controller.js65 $interval.cancel(pollActivationTimer);
77 $interval.cancel(pollActivationTimer);
85 $interval.cancel(pollActivationTimer);
209 $interval.cancel(pollDownloadTimer);
218 $interval.cancel(pollDownloadTimer);
224 $interval.cancel(pollDownloadTimer);

12345678910>>...52