Home
last modified time | relevance | path

Searched refs:fallback (Results 1 – 25 of 172) sorted by relevance

1234567

/linux/rust/proc-macro2/
H A Dwrapper.rs4 use crate::fallback::{self, FromStr2 as _};
25 Fallback(fallback::TokenStream),
40 Fallback(fallback::LexError),
92 TokenStream::Fallback(fallback::TokenStream::new()) in new()
103 fallback::TokenStream::from_str_checked(src)?, in from_str_checked()
122 fn unwrap_stable(self) -> fallback::TokenStream { in unwrap_stable()
156 impl From<fallback::TokenStream> for TokenStream {
157 fn from(inner: fallback::TokenStream) -> Self { in from()
187 TokenStream::Fallback(fallback::TokenStream::from(token)) in from()
281 impl From<fallback::LexError> for LexError {
[all …]
H A Dextra.rs6 use crate::fallback;
97 Fallback(fallback::Span),
/linux/drivers/crypto/
H A Dgeode-aes.c129 tctx->fallback.cip->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK; in geode_setkey_cip()
130 tctx->fallback.cip->base.crt_flags |= in geode_setkey_cip()
133 return crypto_cipher_setkey(tctx->fallback.cip, key, len); in geode_setkey_cip()
155 crypto_skcipher_clear_flags(tctx->fallback.skcipher, in geode_setkey_skcipher()
157 crypto_skcipher_set_flags(tctx->fallback.skcipher, in geode_setkey_skcipher()
160 return crypto_skcipher_setkey(tctx->fallback.skcipher, key, len); in geode_setkey_skcipher()
169 crypto_cipher_encrypt_one(tctx->fallback.cip, out, in); in geode_encrypt()
184 crypto_cipher_decrypt_one(tctx->fallback.cip, out, in); in geode_decrypt()
197 tctx->fallback.cip = crypto_alloc_cipher(name, 0, in fallback_init_cip()
200 if (IS_ERR(tctx->fallback.cip)) { in fallback_init_cip()
[all …]
H A Dimg-hash.c114 struct crypto_ahash *fallback; member
493 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_init()
558 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_update()
573 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_final()
588 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_finup()
605 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_import()
619 ahash_request_set_tfm(&rctx->fallback_req, ctx->fallback); in img_hash_export()
687 ctx->fallback = crypto_alloc_ahash(alg_name, 0, in img_hash_cra_init()
689 if (IS_ERR(ctx->fallback)) { in img_hash_cra_init()
691 return PTR_ERR(ctx->fallback); in img_hash_cra_init()
[all …]
/linux/Documentation/driver-api/firmware/
H A Dfallback-mechanisms.rst5 A fallback mechanism is supported to allow to overcome failures to do a direct
8 configuration options related to supporting the firmware fallback mechanism are:
10 * CONFIG_FW_LOADER_USER_HELPER: enables building the firmware fallback
12 CONFIG_FW_LOADER_USER_HELPER_FALLBACK is disabled, only the custom fallback
15 enable the kobject uevent fallback mechanism on all firmware API calls
18 fallback mechanism: if this kconfig option is enabled and your second
20 informing the kernel that you have a custom fallback mechanism and it will
28 the kobject uevent fallback mechanism will never take effect even
31 Justifying the firmware fallback mechanism
36 fallback mechanism:
[all …]
H A Dlookup-order.rst15 * The ''Platform firmware fallback'' is performed next, but only when
17 * If no firmware has been found and the fallback mechanism was enabled
H A Ddirect-fs-lookup.rst14 races with lookups and avoid uses of the custom fallback mechanisms
28 remote-proc subsystem. For such cases using a userspace fallback mechanism
/linux/drivers/tty/vt/
H A Dgen_ucs_fallback_table.py214 for code, fallback in fallback_map.items():
216 if fallback == 0:
221 page_groups[page].append((offset, fallback))
239 start_offset, fallback = entries[i]
245 entries[j][1] == fallback): # same fallback
255 compressed_entries.append((end_offset, fallback))
334 for i, (offset, fallback) in enumerate(entries):
342 if fallback == RANGE_MARKER:
H A Ducs.c173 u8 fallback; /* Fallback character or range start marker */ member
197 if (entry->fallback == UCS_PAGE_ENTRY_RANGE_MARKER) { in ucs_page_entry_cmp()
248 if (entry->fallback == UCS_PAGE_ENTRY_RANGE_MARKER) in ucs_get_fallback()
250 return entry->fallback; in ucs_get_fallback()
/linux/drivers/gpu/drm/
H A Ddrm_edid_load.c58 char *edidname, *last, *colon, *fwstr, *edidstr, *fallback = NULL; in drm_edid_load_firmware() local
87 fallback = edidname; in drm_edid_load_firmware()
91 if (!fallback) { in drm_edid_load_firmware()
95 edidname = fallback; in drm_edid_load_firmware()
/linux/drivers/base/firmware_loader/
H A DKconfig95 bool "Enable the firmware sysfs fallback mechanism"
100 loading to the kernel through userspace as a fallback mechanism
105 built-in. For details on how to work with the sysfs fallback mechanism
106 refer to Documentation/driver-api/firmware/fallback-mechanisms.rst.
111 the requested firmware a sysfs fallback loading facility is made
114 this is known as the driver using the custom fallback mechanism.
115 If the custom fallback mechanism is used userspace must always
116 acknowledge failure to find firmware as the timeout for the fallback
122 can no longer be relied upon as a fallback mechanism. Linux no longer
123 relies on or uses a fallback mechanism in userspace. If you need to
[all …]
/linux/arch/riscv/lib/
H A Driscv_v_helpers.c29 goto fallback; in enter_vector_usercopy()
41 goto fallback; in enter_vector_usercopy()
46 fallback: in enter_vector_usercopy()
/linux/block/
H A Dblk-mq-cpumap.c116 goto fallback; in blk_mq_map_hw_queues()
121 goto fallback; in blk_mq_map_hw_queues()
129 fallback: in blk_mq_map_hw_queues()
/linux/kernel/bpf/preload/iterators/
H A Diterators.bpf.c59 static const char *get_name(struct btf *btf, long btf_id, const char *fallback) in get_name() argument
66 return fallback; in get_name()
72 return fallback; in get_name()
/linux/drivers/crypto/ccp/
H A Dccp-crypto-aes-xts.c111 unsigned int fallback = 0; in ccp_aes_xts_crypt() local
140 fallback = 1; in ccp_aes_xts_crypt()
143 fallback = 1; in ccp_aes_xts_crypt()
146 fallback = 1; in ccp_aes_xts_crypt()
147 if (fallback) { in ccp_aes_xts_crypt()
/linux/scripts/atomic/
H A Dgen-atomics.sh13 gen-atomic-fallback.sh linux/atomic/atomic-arch-fallback.h
/linux/Documentation/ABI/testing/
H A Dsysfs-class-firmware5 Description: The data sysfs file is used for firmware-fallback and for
41 Description: The loading sysfs file is used for both firmware-fallback and
75 fallback. This file has no affect on firmware uploads. For
77 for firmware fallback.
/linux/drivers/ufs/host/
H A Dufs-renesas.c467 goto fallback; in ufs_renesas_init()
472 goto fallback; in ufs_renesas_init()
478 goto fallback; in ufs_renesas_init()
484 goto fallback; in ufs_renesas_init()
489 goto fallback; in ufs_renesas_init()
496 fallback: in ufs_renesas_init()
/linux/Documentation/block/
H A Dinline-encryption.rst132 blk-crypto-fallback
141 Therefore, we also introduce *blk-crypto-fallback*, which is an implementation
142 of inline encryption using the kernel crypto API. blk-crypto-fallback is built
146 handle en/decryption of the bio using blk-crypto-fallback.
149 on it being unmodified. Instead, blk-crypto-fallback allocates bounce pages,
152 blk-crypto-fallback completes the original bio. If the original bio is too
155 For decryption, blk-crypto-fallback "wraps" the bio's completion callback
158 successfully, blk-crypto-fallback restores the bio's original completion
161 Afterwards, blk-crypto-fallback completes the bio.
163 In both cases, the bios that blk-crypto-fallback submits no longer have an
[all …]
/linux/sound/hda/core/
H A DKconfig26 # A fallback is provided so that the code compiles in all cases.
34 # A fallback is provided so that the code compiles in all cases.
/linux/drivers/pci/hotplug/
H A Drpaphp_pci.c90 goto fallback; in __rpaphp_get_sensor_state()
98 fallback: in __rpaphp_get_sensor_state()
/linux/drivers/cpufreq/
H A Dcpufreq-dt.c160 bool fallback = false; in dt_cpufreq_early_init() local
208 fallback = true; in dt_cpufreq_early_init()
240 if (fallback) { in dt_cpufreq_early_init()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_object.c220 goto fallback; in qxl_bo_kmap_atomic_page()
224 fallback: in qxl_bo_kmap_atomic_page()
271 goto fallback; in qxl_bo_kunmap_atomic_page()
275 fallback: in qxl_bo_kunmap_atomic_page()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_fbdev.c66 goto fallback; in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
72 goto fallback; in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
81 fallback: in FB_GEN_DEFAULT_DEFERRED_DMAMEM_OPS()
/linux/net/sched/
H A Dcls_flow.c141 goto fallback; \
147 goto fallback; \
161 fallback: in flow_get_nfct_src()
174 fallback: in flow_get_nfct_dst()
182 fallback: in flow_get_nfct_proto_src()
190 fallback: in flow_get_nfct_proto_dst()

1234567