Home
last modified time | relevance | path

Searched full:wrapped (Results 1 – 25 of 346) sorted by relevance

12345678910>>...14

/linux-6.14.4/tools/perf/arch/arm64/util/
Darm-spe.c40 bool *wrapped; member
472 bool *wrapped; in arm_spe_alloc_wrapped_array() local
482 * Make ptr->wrapped as big as idx. in arm_spe_alloc_wrapped_array()
489 wrapped = reallocarray(ptr->wrapped, new_cnt, sizeof(bool)); in arm_spe_alloc_wrapped_array()
490 if (!wrapped) in arm_spe_alloc_wrapped_array()
497 wrapped[i] = false; in arm_spe_alloc_wrapped_array()
500 ptr->wrapped = wrapped; in arm_spe_alloc_wrapped_array()
515 * wrapped around. Otherwise, continue to detect if head might have wrapped. in arm_spe_buffer_has_wrapped()
528 * head has numerically wrapped around. To find we need to check if we have data at the in arm_spe_buffer_has_wrapped()
547 * numerically wrapped around at least once. in arm_spe_buffer_has_wrapped()
[all …]
/linux-6.14.4/rust/kernel/
Drevocable.rs19 /// [`RevocableGuard`] are dropped), the wrapped object is also dropped.
71 // SAFETY: `Revocable` is `Send` if the wrapped object is also `Send`. This is because while the
73 // this isn't supported by the wrapped object.
76 // SAFETY: `Revocable` is `Sync` if the wrapped object is both `Send` and `Sync`. We require `Send`
77 // from the wrapped object as well because of `Revocable::revoke`, which can trigger the `Drop`
78 // implementation of the wrapped object from an arbitrary thread.
90 /// Tries to access the revocable wrapped object.
108 /// Tries to access the revocable wrapped object.
142 /// Revokes access to and drops the wrapped object.
157 /// Revokes access to and drops the wrapped object.
[all …]
/linux-6.14.4/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_cmdq.c177 static void cmdq_prepare_wqe_ctrl(struct hinic_cmdq_wqe *wqe, int wrapped, in cmdq_prepare_wqe_ctrl() argument
216 HINIC_CMDQ_WQE_HEADER_SET(wrapped, TOGGLED_WRAPPED); in cmdq_prepare_wqe_ctrl()
246 struct hinic_cmdq_buf *buf_out, int wrapped, in cmdq_set_lcmd_wqe() argument
264 cmdq_prepare_wqe_ctrl(wqe, wrapped, ack_type, mod, cmd, in cmdq_set_lcmd_wqe()
274 struct hinic_cmdq_buf *buf_out, int wrapped, in cmdq_set_direct_wqe() argument
295 cmdq_prepare_wqe_ctrl(wqe, wrapped, ack_type, mod, cmd, prod_idx, in cmdq_set_direct_wqe()
342 int errcode, wrapped, num_wqebbs; in cmdq_sync_cmd_direct_resp() local
359 wrapped = cmdq->wrapped; in cmdq_sync_cmd_direct_resp()
364 cmdq->wrapped = !cmdq->wrapped; in cmdq_sync_cmd_direct_resp()
374 wrapped, HINIC_CMD_ACK_TYPE_CMDQ, mod, cmd, in cmdq_sync_cmd_direct_resp()
[all …]
Dhinic_hw_eqs.c201 HINIC_EQ_CI_CLEAR(val, WRAPPED) & in eq_update_ci()
206 HINIC_EQ_CI_SET(eq->wrapped, WRAPPED) | in eq_update_ci()
236 /* HW toggles the wrapped bit, when it adds eq element */ in aeq_irq_handler()
237 if (HINIC_EQ_ELEM_DESC_GET(aeqe_desc, WRAPPED) == eq->wrapped) in aeq_irq_handler()
272 eq->wrapped = !eq->wrapped; in aeq_irq_handler()
326 /* HW toggles the wrapped bit, when it adds eq element event */ in ceq_irq_handler()
327 if (HINIC_EQ_ELEM_DESC_GET(ceqe, WRAPPED) == eq->wrapped) in ceq_irq_handler()
336 eq->wrapped = !eq->wrapped; in ceq_irq_handler()
669 init_val = HINIC_EQ_ELEM_DESC_SET(eq->wrapped, WRAPPED); in alloc_eq_pages()
740 eq->wrapped = 0; in init_eq()
[all …]
/linux-6.14.4/include/drm/
Ddrm_encoder_slave.h41 * @set_property) will typically be wrapped around and only be called
61 * @dpms: Analogous to &drm_encoder_helper_funcs @dpms callback. Wrapped
67 * @save: Save state. Wrapped by drm_i2c_encoder_save().
72 * @restore: Restore state. Wrapped by drm_i2c_encoder_restore().
78 * callback. Wrapped by drm_i2c_encoder_mode_fixup().
91 * callback. Wrapped by drm_i2c_encoder_mode_set().
99 * callback. Wrapped by drm_i2c_encoder_detect().
/linux-6.14.4/tools/perf/arch/x86/util/
Dintel-bts.c36 bool wrapped; member
371 bool wrapped; in intel_bts_find_snapshot() local
383 wrapped = btsr->snapshot_refs[idx].wrapped; in intel_bts_find_snapshot()
384 if (!wrapped && intel_bts_first_wrap((u64 *)data, mm->len)) { in intel_bts_find_snapshot()
385 btsr->snapshot_refs[idx].wrapped = true; in intel_bts_find_snapshot()
386 wrapped = true; in intel_bts_find_snapshot()
395 if (wrapped) { in intel_bts_find_snapshot()
408 __func__, wrapped ? "" : "not ", (size_t)*old, (size_t)*head); in intel_bts_find_snapshot()
Dintel-pt.c47 bool wrapped; member
1082 bool wrapped; in intel_pt_wrapped() local
1084 wrapped = intel_pt_compare_ref(ref->ref_buf, ref->ref_offset, in intel_pt_wrapped()
1091 return wrapped; in intel_pt_wrapped()
1117 bool wrapped; in intel_pt_find_snapshot() local
1139 wrapped = intel_pt_wrapped(ptr, idx, mm, data, *head); in intel_pt_find_snapshot()
1141 wrapped = ptr->snapshot_refs[idx].wrapped; in intel_pt_find_snapshot()
1142 if (!wrapped && intel_pt_first_wrap((u64 *)data, mm->len)) { in intel_pt_find_snapshot()
1143 ptr->snapshot_refs[idx].wrapped = true; in intel_pt_find_snapshot()
1144 wrapped = true; in intel_pt_find_snapshot()
[all …]
/linux-6.14.4/tools/perf/util/intel-pt-decoder/
Dintel-pt-log.c31 bool wrapped; member
114 b->wrapped = true; in log_buf__write()
172 fflush(f); /* Could update b->head and b->wrapped */ in log_buf__dump()
174 if (b->wrapped) { in log_buf__dump()
182 b->wrapped = false; in log_buf__dump()
/linux-6.14.4/include/linux/platform_data/x86/
Dnvidia-wmi-ec-backlight.h23 * enum wmi_brightness_mode - Operation mode for WMI-wrapped method
53 * struct wmi_brightness_args - arguments for the WMI-wrapped ACPI method
65 * wrapped by WMI. The value passed in to @val or returned by @ret will be a
/linux-6.14.4/drivers/infiniband/hw/hfi1/
Dpio_copy.c102 /* at this point we have wrapped if we are going to wrap */ in pio_copy()
333 /* at this point we have wrapped if we are going to wrap */ in seg_pio_copy_start()
446 * the else. If we have wrapped, we cannot still be within the in mid_copy_mix()
448 * we cannot have wrapped. We do the wrap check first as that in mid_copy_mix()
451 /* adjust if we have wrapped */ in mid_copy_mix()
619 * true, hence the else. If we have wrapped, we in seg_pio_copy_mid()
622 * cannot have wrapped. We do the wrap check first in seg_pio_copy_mid()
625 /* adjust if we've wrapped */ in seg_pio_copy_mid()
673 * else. If we have wrapped, we cannot still be within the first in seg_pio_copy_end()
675 * cannot have wrapped. We do the wrap check first as that is in seg_pio_copy_end()
[all …]
/linux-6.14.4/drivers/net/fddi/skfp/
Dhwt.c223 int wrapped ; in hwt_wait_time() local
244 wrapped = 0 ; in hwt_wait_time()
246 if (!wrapped) { in hwt_wait_time()
249 wrapped = 1 ; in hwt_wait_time()
254 wrapped = 0 ; in hwt_wait_time()
/linux-6.14.4/arch/x86/events/intel/
Dpt.h65 * @wrapped: buffer advance wrapped back to the first topa table
83 bool wrapped; member
/linux-6.14.4/sound/pci/cs46xx/
Ddsp_spos.h176 u8 wrapped; in _wrap_all_bits() local
179 wrapped = in _wrap_all_bits()
189 return wrapped; in _wrap_all_bits()
/linux-6.14.4/arch/hexagon/kernel/
Dirq_cpu.c56 * into different systems/platforms, it is typically wrapped by
63 * The first-level interrupt controller is wrapped by the VM, which
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-driver-typec-displayport10 with the active one wrapped in square brackets.
32 listed as space separated list with the active one wrapped in
/linux-6.14.4/drivers/gpu/drm/bridge/
Dpanel.c242 * @panel: The drm_panel being wrapped. Must be non-NULL.
275 * @panel: The drm_panel being wrapped. Must be non-NULL.
370 * @panel: The drm_panel being wrapped. Must be non-NULL.
390 * @panel: The drm_panel being wrapped. Must be non-NULL.
439 * @panel: The drm_panel being wrapped. Must be non-NULL.
/linux-6.14.4/include/uapi/linux/
Dpsp-sev.h230 * @vlek_wrapped_version: version of wrapped VLEK hashstick (Must be 0h)
232 * @vlek_wrapped_address: address of a wrapped VLEK hashstick
243 * struct sev_user_data_snp_vlek_wrapped_vlek_hashstick - Wrapped VLEK data
/linux-6.14.4/drivers/firmware/qcom/
Dqcom_scm.c1192 * Return: true iff the SCM calls wrapped by qcom_scm_ice_invalidate_key() and
1299 * qcom_scm_derive_sw_secret() - Derive software secret from wrapped key
1300 * @eph_key: an ephemerally-wrapped key
1305 * Derive a software secret from an ephemerally-wrapped key for software crypto
1309 * For more information on sw_secret, see the "Hardware-wrapped keys" section of
1355 * qcom_scm_generate_ice_key() - Generate a wrapped key for storage encryption
1356 * @lt_key: output buffer for the long-term wrapped key
1357 * @lt_key_size: size of @lt_key in bytes. Must be the exact wrapped key size
1361 * returned wrapped with the platform-specific Key Encryption Key.
1395 * @lt_key: a long-term wrapped key
[all …]
/linux-6.14.4/drivers/soc/fsl/
Ddpaa2-console.c109 u32 read_magic, wrapped, last_byte, buf_start, buf_length; in dpaa2_generic_console_open() local
147 wrapped = last_byte & LOG_HEADER_FLAG_BUFFER_WRAPAROUND; in dpaa2_generic_console_open()
150 if (wrapped && cd->end_of_data != cd->end_addr) in dpaa2_generic_console_open()
/linux-6.14.4/arch/powerpc/platforms/powernv/
Dopal-msglog.c52 /* When the buffer has wrapped, read from the out_pos marker to the end in memcons_copy()
53 * of the buffer, and then read the remaining data as in the un-wrapped in memcons_copy()
/linux-6.14.4/kernel/irq/
Dtimings.c276 * used as we wrapped. The index begins from zero when we did not
407 * 'count' will depends if the circular buffer wrapped or not in __irq_timings_next_event()
518 * - know if the index in the table wrapped up:
521 * last busy/idle cycle, the index wrapped up and we have to
559 * otherwise the array size is used as we wrapped. The index in irq_timings_next_event()
855 * Compute the first elements values after the index wrapped in irq_timings_test_irqts()
904 * full, full, wrapped with the cursor at the boundaries, in irq_timings_irqts_selftest()
905 * wrapped several times, etc ... in irq_timings_irqts_selftest()
/linux-6.14.4/tools/testing/radix-tree/
Dmain.c51 int wrapped = 0; in __big_gang_check() local
64 wrapped = 1; in __big_gang_check()
65 } while (!wrapped); in __big_gang_check()
/linux-6.14.4/kernel/
Ducount.c167 bool wrapped; in alloc_ucounts() local
193 wrapped = !get_ucounts_or_wrap(ucounts); in alloc_ucounts()
196 if (wrapped) { in alloc_ucounts()
/linux-6.14.4/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/
Dtrace.json4 … event counts the event generated each time the current write pointer is wrapped to the base point…
/linux-6.14.4/include/net/
Dpptp.h13 #define WRAPPED(curseq, lastseq)\ macro

12345678910>>...14