| /linux/rust/zerocopy-derive/ |
| H A D | util.rs | 157 fn variants(&self) -> Vec<(Option<&Variant>, Vec<(&Visibility, TokenStream, &Type)>)>; in variants() method 171 fn variants(&self) -> Vec<(Option<&Variant>, Vec<(&Visibility, TokenStream, &Type)>)> { in variants() method 173 Data::Struct(strc) => strc.variants(), in variants() 174 Data::Enum(enm) => enm.variants(), in variants() 175 Data::Union(un) => un.variants(), in variants() 193 fn variants(&self) -> Vec<(Option<&Variant>, Vec<(&Visibility, TokenStream, &Type)>)> { in variants() method 204 map_fields(self.variants.iter().flat_map(|var| &var.fields)) in fields() 207 fn variants(&self) -> Vec<(Option<&Variant>, Vec<(&Visibility, TokenStream, &Type)>)> { in variants() method 208 self.variants.iter().map(|var| (Some(var), map_fields(&var.fields))).collect() in variants() 221 fn variants(&self) -> Vec<(Option<&Variant>, Vec<(&Visibility, TokenStream, &Type)>)> { in variants() method [all …]
|
| /linux/scripts/atomic/ |
| H A D | atomics.tbl | 3 # Where meta contains a string of variants to generate. 4 # Upper-case implies _{acquire,release,relaxed} variants. 9 # * R - return: returns base type (has _return variants) 10 # * F/f - fetch: returns base type (has fetch_ variants)
|
| /linux/rust/syn/ |
| H A D | derive.rs | 55 pub variants: Punctuated<Variant, Token![,]>, 111 let (where_clause, brace, variants) = data_enum(input)?; in parse() 123 variants, in parse() 197 let variants = content.parse_terminated(Variant::parse, Token![,])?; in data_enum() localVariable 199 Ok((where_clause, brace, variants)) in data_enum() 251 data.variants.to_tokens(tokens); in to_tokens()
|
| /linux/rust/zerocopy-derive/derive/ |
| H A D | try_from_bytes.rs | 33 let tags = data.variants.iter().map(|v| { in generate_tag_consts() 91 let variant_structs = data.variants.iter().filter_map(|variant| { in generate_variant_structs() 137 let fields = data.variants.iter().filter_map(|variant| { in generate_variants_union() 229 let has_fields = data.variants().into_iter().flat_map(|(variant, fields)| { in derive_is_bit_valid() 263 … Projection<_, { #zerocopy_crate::STRUCT_VARIANT_ID }, { #zerocopy_crate::ident_id!(variants) }>>() in derive_is_bit_valid() 304 let match_arms = data.variants.iter().map(|variant| { in derive_is_bit_valid() 321 let variant_md = variants.cast::< in derive_is_bit_valid() 349 variants: ___ZerocopyVariants #ty_generics, in derive_is_bit_valid() 433 let variants = #zerocopy_crate::into_inner!(raw_enum.project::< in derive_is_bit_valid() localVariable 436 { #zerocopy_crate::ident_id!(variants) } in derive_is_bit_valid() [all …]
|
| H A D | from_bytes.rs | 37 for (i, v) in enm.variants.iter().enumerate() { in find_zero_variant() 132 Ok(index) => enm.variants.iter().nth(index).unwrap(), in derive_from_zeros_enum() 176 if enm.variants.len() != variants_required { in derive_from_bytes_enum()
|
| /linux/Documentation/scheduler/ |
| H A D | completion.rst | 39 - the waiting part through a call to one of the variants of wait_for_completion(), 79 variants of wait_for_completion(), as it must be assured that memory de-allocation 125 To emphasise this again: in particular when using some of the waiting API variants 127 _killable() and _interruptible()) variants, the wait might complete 174 uninterruptible. wait_for_completion() and its variants are only safe 180 As all variants of wait_for_completion() can (obviously) block for a long 185 wait_for_completion*() variants available: 188 The below variants all return status and this status should be checked in 228 Further variants include _killable which uses TASK_KILLABLE as the 235 The _io variants wait_for_completion_io() behave the same as the non-_io [all …]
|
| /linux/Documentation/fb/ |
| H A D | s3fb.rst | 10 S3 Trio64 (and variants V+, UV+, V2/DX, V2/GX) 11 S3 Virge (and variants VX, DX, GX and GX2+) 26 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | fsl-ls1043a-rdb.dts | 109 * variants below. 123 * variants below. 137 * variants below.
|
| /linux/arch/arm/mach-pxa/ |
| H A D | Kconfig | 128 Select code specific to PXA21x/25x/26x variants 134 Select code specific to PXA27x variants 140 Select code specific to PXA3xx variants
|
| /linux/Documentation/driver-api/ |
| H A D | vfio-pci-device-specific-driver-acceptance.rst | 3 Acceptance criteria for vfio-pci device specific driver variants 19 variants may interact with parent devices (ex. SR-IOV PF in support of
|
| /linux/Documentation/hwmon/ |
| H A D | intel-m10-bmc-hwmon.rst | 28 reprogramed to some variants in order to support different Intel 30 variants, but now it only supports the BMC for Intel PAC N3000.
|
| /linux/Documentation/core-api/ |
| H A D | timekeeping.rst | 12 The recommended simplest form returns an opaque ktime_t, with variants 62 For all of the above, there are variants that return the time in a 100 Some additional variants exist for more specialized cases: 138 These variants are safe to call from any context, including from
|
| H A D | asm-annotations.rst | 112 architecture specific ``__ALIGN`` bytes. There are also ``_NOALIGN`` variants 149 one. ``_NOALIGN`` variants exist too. The use is the same as for the ``FUNC`` 194 * ``SYM_DATA`` and ``SYM_DATA_LOCAL`` are variants for simple, mostly one-line 211 symbol marked by them. They are used either in ``_LABEL`` variants of the
|
| /linux/arch/arm/mach-bcm/ |
| H A D | Kconfig | 36 which includes the following variants: 46 which includes the following variants: 110 variants. 118 BCM21663 and BCM21664 variants.
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-am65-iot2050-usb3.dtsi | 8 * Common bits for IOT2050 variants with USB3 support
|
| H A D | k3-am65-iot2050-common-pg2.dtsi | 9 * Common bits of the IOT2050 Basic and Advanced variants, PG2
|
| /linux/drivers/net/ethernet/zte/dinghai/ |
| H A D | Kconfig | 17 If you say Y here, you can select specific driver variants below.
|
| /linux/Documentation/arch/x86/ |
| H A D | mds.rst | 10 on internal buffers in Intel CPUs. The variants are: 73 All variants have the same mitigation strategy at least for the single CPU 182 and not by any other MDS variant. The other MDS variants cannot be 184 the Load Ports are shared. So on CPUs affected by other variants, the 203 The mitigation is hooked into all variants of halt()/mwait(), but does
|
| /linux/drivers/gpu/drm/mgag200/ |
| H A D | Kconfig | 12 MGA G200 desktop chips and the server variants. It requires 0.3.0
|
| /linux/arch/xtensa/ |
| H A D | Makefile | 55 vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y))
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8916-samsung-e7.dts | 9 * variants.
|
| H A D | msm8916-samsung-e5.dts | 9 * variants.
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | kirkwood-db.dtsi | 9 * and 6282 variants of the Marvell Kirkwood Development Board.
|
| /linux/Documentation/i2c/ |
| H A D | slave-eeprom-backend.rst | 13 variants are also supported. The name needed for instantiating has the form
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap443x.dtsi | 13 /* OMAP443x variants OPP50-OPPNT */
|