| /linux/net/netfilter/ |
| H A D | xt_socket.c | 63 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 D | macros.rs | 1041 // `#[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 D | callback_adapters.rs | 39 #[repr(transparent)] 72 #[repr(transparent)] in deref() 101 #[repr(transparent)]
|
| /linux/rust/zerocopy-derive/ |
| H A D | repr.rs | 32 /// `#[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 D | scatterlist.rs | 53 #[repr(transparent)] 101 #[repr(transparent)] 125 #[repr(transparent)] 241 /// A transparent wrapper around a `struct sg_table`. 245 #[repr(transparent)]
|
| H A D | i2c.rs | 35 #[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 D | mm.rs | 47 #[repr(transparent)] 83 #[repr(transparent)] 135 // repr(transparent). in from_raw() 165 // to repr(transparent). in from_raw()
|
| H A D | task.rs | 95 #[repr(transparent)] 135 #[repr(transparent)] 244 // CAST: `Self` is a `repr(transparent)` wrapper around `bindings::pid_namespace`. in get_pid_ns()
|
| H A D | usb.rs | 85 // 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 D | pid_namespace.rs | 18 #[repr(transparent)]
|
| H A D | cpufreq.rs | 138 #[repr(transparent)] 232 #[repr(transparent)] 359 #[repr(transparent)] in new() 428 #[repr(transparent)] in from_raw() 926 #[repr(transparent)]
|
| H A D | seq_file.rs | 10 #[repr(transparent)]
|
| H A D | kunit.rs | 97 #[repr(transparent)] 100 #[repr(transparent)]
|
| H A D | auxiliary.rs | 94 // 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 D | t7xx_pcie_mac.c | 67 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 D | virt.rs | 34 #[repr(transparent)] 160 #[repr(transparent)] 210 #[repr(transparent)]
|
| H A D | mmput_async.rs | 26 #[repr(transparent)]
|
| /linux/rust/kernel/fs/ |
| H A D | file.rs | 185 #[repr(transparent)] 229 #[repr(transparent)]
|
| /linux/Documentation/features/vm/THP/ |
| H A D | arch-support.txt | 4 # description: arch supports transparent hugepages
|
| /linux/rust/kernel/sync/ |
| H A D | refcount.rs | 21 #[repr(transparent)] 49 // SAFETY: `refcount_t` is a transparent wrapper of `atomic_t`, which is an atomic 32-bit in as_atomic()
|
| H A D | poll.rs | 40 #[repr(transparent)] 79 #[repr(transparent)] in new()
|
| /linux/rust/kernel/net/ |
| H A D | netlink.rs | 193 #[repr(transparent)] 261 #[repr(transparent)]
|
| /linux/Documentation/ABI/removed/ |
| H A D | raw1394 | 15 libraw1394 (works with firewire-cdev too, transparent to library ABI
|
| H A D | video1394 | 16 libdc1394 (works with firewire-cdev too, transparent to library ABI
|
| /linux/rust/syn/ |
| H A D | drops.rs | 9 #[repr(transparent)]
|