Home
last modified time | relevance | path

Searched refs:transparent (Results 1 – 25 of 135) sorted by relevance

123456

/linux/net/netfilter/
H A Dxt_socket.c63 bool transparent = true; in socket_match() local
72 /* Ignore non-transparent sockets, in socket_match()
76 transparent = inet_sk_transparent(sk); in socket_match()
79 transparent && sk_fullsock(sk)) in socket_match()
85 if (wildcard || !transparent) in socket_match()
124 bool transparent = true; in socket_mt6_v1_v2_v3() local
133 /* Ignore non-transparent sockets, in socket_mt6_v1_v2_v3()
137 transparent = inet_sk_transparent(sk); in socket_mt6_v1_v2_v3()
140 transparent && sk_fullsock(sk)) in socket_mt6_v1_v2_v3()
146 if (wildcard || !transparent) in socket_mt6_v1_v2_v3()
[all...]
/linux/rust/zerocopy/src/
H A Dmacros.rs1041 // `#[repr(transparent)]` structs, and this `impl` block
1052 // `#[repr(transparent)]` structs, and this `impl` block requires all
1068 // `#[repr(transparent)]` structs, and this `impl` block requires all
1084 // `#[repr(transparent)]` structs, this `impl` block requires all field
1112 // `#[repr(transparent)]` structs, and this `impl` block requires all
1127 (@assert_allowed_struct_repr #[repr(transparent)]) => {};
1130 compile_error!("repr must be `#[repr(transparent)]` or `#[repr(C)]`");
1133 @struct_padding_check #[repr(transparent)]
1137 // SAFETY: `#[repr(transparent)]` structs cannot have the same layout as
1288 #[repr(transparent)] in test_transmute()
[all...]
/linux/rust/kernel/debugfs/
H A Dcallback_adapters.rs39 #[repr(transparent)]
72 #[repr(transparent)] in deref()
101 #[repr(transparent)]
/linux/rust/zerocopy-derive/
H A Drepr.rs32 /// `#[repr(transparent)]`
92 Transparent(_span) => "repr(transparent)", in repr_type_name()
205 Transparent(span) => ts.append_all(quote_spanned! { *span=> #[repr(transparent)] }), in to_tokens()
446 // when one of the reprs involved is `transparent`, we detect in from()
465 let transparent = { in from_attrs_inner()
492 if let Some(span) = transparent { in from_attrs_inner()
494 // Arbitrarily report the problem on the `transparent` span. Any in from_attrs_inner()
600 ("transparent", None) => Transparent, in from_meta()
764 test_raw_repr!(transparent, r#transparent in test()
463 let transparent = { from_attrs_inner() localVariable
[all...]
/linux/rust/kernel/
H A Dscatterlist.rs53 #[repr(transparent)]
101 #[repr(transparent)]
125 #[repr(transparent)]
241 /// A transparent wrapper around a `struct sg_table`.
245 #[repr(transparent)]
H A Di2c.rs35 #[repr(transparent)]
58 // SAFETY: `DeviceId` is a `#[repr(transparent)]` wrapper of `i2c_device_id` and does not add
208 // SAFETY: `DeviceId` is a `#[repr(transparent)` wrapper of `struct i2c_device_id` and in i2c_id_info()
375 #[repr(transparent)]
404 // `I2cAdapter` is #[repr(transparent)], so this cast is valid. in get()
411 // SAFETY: `I2cAdapter` is a transparent wrapper of a type that doesn't depend on
435 #[repr(transparent)]
471 #[repr(transparent)]
483 // SAFETY: `I2cClient` is a transparent wrapper of `struct i2c_client`.
489 // SAFETY: `I2cClient` is a transparent wrappe
[all...]
H A Dmm.rs47 #[repr(transparent)]
83 #[repr(transparent)]
135 // repr(transparent). in from_raw()
165 // to repr(transparent). in from_raw()
H A Dtask.rs95 #[repr(transparent)]
135 #[repr(transparent)]
244 // CAST: `Self` is a `repr(transparent)` wrapper around `bindings::pid_namespace`. in get_pid_ns()
H A Dusb.rs85 // SAFETY: `DeviceId` is a `#[repr(transparent)]` wrapper of `struct usb_device_id` and in probe_callback()
122 #[repr(transparent)]
228 // SAFETY: `DeviceId` is a `#[repr(transparent)]` wrapper of `usb_device_id` and does not add in from_device_and_interface_info()
330 #[repr(transparent)]
342 // SAFETY: `usb::Interface` is a transparent wrapper of `struct usb_interface`.
348 // SAFETY: `Interface` is a transparent wrapper of a type that doesn't depend on in as_raw()
411 #[repr(transparent)]
423 // SAFETY: `Device` is a transparent wrapper of a type that doesn't depend on `Device`'s generic
H A Dpid_namespace.rs18 #[repr(transparent)]
H A Dcpufreq.rs138 #[repr(transparent)]
232 #[repr(transparent)]
359 #[repr(transparent)] in new()
428 #[repr(transparent)] in from_raw()
926 #[repr(transparent)]
H A Dseq_file.rs10 #[repr(transparent)]
H A Dkunit.rs97 #[repr(transparent)]
100 #[repr(transparent)]
H A Dauxiliary.rs94 // SAFETY: `DeviceId` is a `#[repr(transparent)`] wrapper of `struct auxiliary_device_id` in probe_callback()
134 #[repr(transparent)] in new()
173 // SAFETY: `DeviceId` is a `#[repr(transparent)]` wrapper of `auxiliary_device_id` and does not add
246 #[repr(transparent)] in id()
380 // SAFETY: `auxiliary::Device` is a transparent wrapper of `struct auxiliary_device`. in new()
386 // SAFETY: `Device` is a transparent wrapper of a type that doesn't depend on `Device`'s generic in new()
399 // CAST: `Self` a transparent wrapper of `bindings::auxiliary_device`. in drop()
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_pcie_mac.c67 u32 transparent; member
90 if (cfg->transparent) { in t7xx_pcie_mac_atr_cfg()
165 cfg.transparent = T7XX_PCIE_DEV_DMA_TRANSPARENT; in t7xx_pcie_mac_atr_init()
/linux/rust/kernel/mm/
H A Dvirt.rs34 #[repr(transparent)]
160 #[repr(transparent)]
210 #[repr(transparent)]
H A Dmmput_async.rs26 #[repr(transparent)]
/linux/rust/kernel/fs/
H A Dfile.rs185 #[repr(transparent)]
229 #[repr(transparent)]
/linux/Documentation/features/vm/THP/
H A Darch-support.txt4 # description: arch supports transparent hugepages
/linux/rust/kernel/sync/
H A Drefcount.rs21 #[repr(transparent)]
49 // SAFETY: `refcount_t` is a transparent wrapper of `atomic_t`, which is an atomic 32-bit in as_atomic()
H A Dpoll.rs40 #[repr(transparent)]
79 #[repr(transparent)] in new()
/linux/rust/kernel/net/
H A Dnetlink.rs193 #[repr(transparent)]
261 #[repr(transparent)]
/linux/Documentation/ABI/removed/
H A Draw139415 libraw1394 (works with firewire-cdev too, transparent to library ABI
H A Dvideo139416 libdc1394 (works with firewire-cdev too, transparent to library ABI
/linux/rust/syn/
H A Ddrops.rs9 #[repr(transparent)]

123456