Home
last modified time | relevance | path

Searched refs:inner (Results 1 – 25 of 95) sorted by relevance

1234

/linux-6.12.1/include/net/
Dinet_ecn.h46 static inline __u8 INET_ECN_encapsulate(__u8 outer, __u8 inner) in INET_ECN_encapsulate() argument
49 outer |= !INET_ECN_is_ce(inner) ? (inner & INET_ECN_MASK) : in INET_ECN_encapsulate()
120 static inline void ipv4_copy_dscp(unsigned int dscp, struct iphdr *inner) in ipv4_copy_dscp() argument
123 ipv4_change_dsfield(inner, INET_ECN_MASK, dscp); in ipv4_copy_dscp()
166 static inline void ipv6_copy_dscp(unsigned int dscp, struct ipv6hdr *inner) in ipv6_copy_dscp() argument
169 ipv6_change_dsfield(inner, INET_ECN_MASK, dscp); in ipv6_copy_dscp()
251 static inline int __INET_ECN_decapsulate(__u8 outer, __u8 inner, bool *set_ce) in __INET_ECN_decapsulate() argument
253 if (INET_ECN_is_not_ect(inner)) { in __INET_ECN_decapsulate()
270 __u8 outer, __u8 inner) in INET_ECN_decapsulate() argument
275 rc = __INET_ECN_decapsulate(outer, inner, &set_ce); in INET_ECN_decapsulate()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste.c740 dr_ste_build_pre_check_spec(dmn, &mask->inner)) in mlx5dr_ste_build_pre_check()
1068 dr_ste_copy_mask_spec(buff, &set_param->inner, clr); in mlx5dr_ste_copy_param()
1130 bool inner, bool rx) in mlx5dr_ste_build_eth_l2_src_dst() argument
1133 sb->inner = inner; in mlx5dr_ste_build_eth_l2_src_dst()
1140 bool inner, bool rx) in mlx5dr_ste_build_eth_l3_ipv6_dst() argument
1143 sb->inner = inner; in mlx5dr_ste_build_eth_l3_ipv6_dst()
1150 bool inner, bool rx) in mlx5dr_ste_build_eth_l3_ipv6_src() argument
1153 sb->inner = inner; in mlx5dr_ste_build_eth_l3_ipv6_src()
1160 bool inner, bool rx) in mlx5dr_ste_build_eth_l3_ipv4_5_tuple() argument
1163 sb->inner = inner; in mlx5dr_ste_build_eth_l3_ipv4_5_tuple()
[all …]
Ddr_matcher.c413 bool inner, rx; in dr_matcher_set_ste_builders() local
428 mask.inner = matcher->mask.inner; in dr_matcher_set_ste_builders()
463 inner = false; in dr_matcher_set_ste_builders()
467 &mask, inner, rx); in dr_matcher_set_ste_builders()
471 &mask, inner, rx); in dr_matcher_set_ste_builders()
475 &mask, inner, rx); in dr_matcher_set_ste_builders()
481 &mask, dmn, inner, rx); in dr_matcher_set_ste_builders()
487 &mask, inner, rx); in dr_matcher_set_ste_builders()
492 &mask, inner, rx); in dr_matcher_set_ste_builders()
496 &mask, inner, rx); in dr_matcher_set_ste_builders()
[all …]
Ddr_ste_v0.c37 #define DR_STE_CALC_LU_TYPE(lookup_type, rx, inner) \ argument
38 ((inner) ? DR_STE_V0_LU_TYPE_##lookup_type##_I : \
705 bool inner, u8 *bit_mask) in dr_ste_v0_build_eth_l2_src_dst_bit_mask() argument
707 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_bit_mask()
740 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l2_src_dst_tag()
784 dr_ste_v0_build_eth_l2_src_dst_bit_mask(mask, sb->inner, sb->bit_mask); in dr_ste_v0_build_eth_l2_src_dst_init()
786 sb->lu_type = DR_STE_CALC_LU_TYPE(ETHL2_SRC_DST, sb->rx, sb->inner); in dr_ste_v0_build_eth_l2_src_dst_init()
796 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_dst_tag()
812 sb->lu_type = DR_STE_CALC_LU_TYPE(ETHL3_IPV6_DST, sb->rx, sb->inner); in dr_ste_v0_build_eth_l3_ipv6_dst_init()
822 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v0_build_eth_l3_ipv6_src_tag()
[all …]
Ddr_ste_v1.c8 #define DR_STE_CALC_DFNR_TYPE(lookup_type, inner) \ argument
9 ((inner) ? DR_STE_V1_LU_TYPE_##lookup_type##_I : \
1102 bool inner, u8 *bit_mask) in dr_ste_v1_build_eth_l2_src_dst_bit_mask() argument
1104 struct mlx5dr_match_spec *mask = inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_bit_mask()
1130 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l2_src_dst_tag()
1165 dr_ste_v1_build_eth_l2_src_dst_bit_mask(mask, sb->inner, sb->bit_mask); in dr_ste_v1_build_eth_l2_src_dst_init()
1167 sb->lu_type = DR_STE_CALC_DFNR_TYPE(ETHL2_SRC_DST, sb->inner); in dr_ste_v1_build_eth_l2_src_dst_init()
1176 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_dst_tag()
1191 sb->lu_type = DR_STE_CALC_DFNR_TYPE(IPV6_DES, sb->inner); in dr_ste_v1_build_eth_l3_ipv6_dst_init()
1200 struct mlx5dr_match_spec *spec = sb->inner ? &value->inner : &value->outer; in dr_ste_v1_build_eth_l3_ipv6_src_tag()
[all …]
Ddr_types.h215 u8 inner:1; member
394 bool inner, bool rx);
398 bool inner, bool rx);
402 bool inner, bool rx);
406 bool inner, bool rx);
410 bool inner, bool rx);
414 bool inner, bool rx);
418 bool inner, bool rx);
422 bool inner, bool rx);
426 bool inner, bool rx);
[all …]
/linux-6.12.1/rust/kernel/sync/
Darc.rs207 let inner = <Box<_> as BoxExt<_>>::new(value, flags)?; in new() localVariable
211 Ok(unsafe { Self::from_inner(Box::leak(inner).into()) }) in new()
222 unsafe fn from_inner(inner: NonNull<ArcInner<T>>) -> Self { in from_inner()
225 ptr: inner, in from_inner()
328 inner: ManuallyDrop::into_inner(me), in into_unique_or_drop()
346 let inner = NonNull::new(ptr as *mut ArcInner<T>).unwrap(); in borrow() localVariable
350 unsafe { ArcBorrow::new(inner) } in borrow()
412 item.inner in from()
419 unsafe { Pin::into_inner_unchecked(item).inner } in from()
479 inner: NonNull<ArcInner<T>>, field
[all …]
/linux-6.12.1/rust/kernel/
Dtime.rs32 inner: bindings::ktime_t, field
38 pub fn from_raw(inner: bindings::ktime_t) -> Self { in from_raw()
39 Self { inner } in from_raw()
58 self.inner in to_ns()
80 inner: self.inner - other.inner, in sub()
Dlist.rs149 inner: Opaque<ListLinksFields>, field
166 inner: Opaque::new(ListLinksFields { in new()
179 unsafe { Opaque::raw_get(ptr::addr_of!((*me).inner)) } in fields()
199 pub inner: ListLinks<ID>, field
223 inner: ListLinks { in new()
224 inner: Opaque::new(ListLinksFields { in new()
/linux-6.12.1/tools/testing/selftests/net/
Dl2_tos_ttl_inherit.sh67 local inner="$3"
102 "$type" "$outer" "$inner" "$tos" "$ttl" "$vlan"
183 if [ "$inner" = "4" ] || [ "$inner" = "other" ]; then
186 elif [ "$inner" = "6" ]; then
196 local inner="$2"
203 if [ "$inner" = "4" ]; then
205 elif [ "$inner" = "6" ]; then
207 elif [ "$inner" = "other" ]; then
224 if [ "$inner" = "4" ]; then
241 elif [ "$inner" = "6" ]; then
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Drss.c168 bool inner) in rss_get_tirp() argument
170 return inner ? &rss->inner_tir[tt] : &rss->tir[tt]; in rss_get_tirp()
174 bool inner) in rss_get_tir() argument
176 return *rss_get_tirp(rss, tt, inner); in rss_get_tir()
192 bool inner) in mlx5e_rss_create_tir() argument
201 if (inner && !rss->inner_ft_support) { in mlx5e_rss_create_tir()
208 tir_p = rss_get_tirp(rss, tt, inner); in mlx5e_rss_create_tir()
227 mlx5e_tir_builder_build_rss(builder, &rss->hash, &rss_tt, inner); in mlx5e_rss_create_tir()
233 inner ? "inner " : "", err, tt); in mlx5e_rss_create_tir()
246 bool inner) in mlx5e_rss_destroy_tir() argument
[all …]
/linux-6.12.1/rust/kernel/block/mq/
Dtag_set.rs31 inner: Opaque<bindings::blk_mq_tag_set>, field
63 inner <- PinInit::<_, error::Error>::pin_chain(Opaque::new(tag_set?), |tag_set| { in new()
75 self.inner.get() in raw_tag_set()
84 unsafe { bindings::blk_mq_free_tag_set(self.inner.get()) }; in drop()
/linux-6.12.1/tools/testing/selftests/openat2/
Dopenat2_test.c33 struct open_how inner; member
58 .arg.inner.flags = O_RDONLY, in test_openat2_struct()
62 .arg.inner.flags = O_RDONLY, in test_openat2_struct()
69 .arg.inner.flags = O_RDONLY, .size = 0, .err = -EINVAL }, in test_openat2_struct()
71 .arg.inner.flags = O_RDONLY, in test_openat2_struct()
76 .arg.inner.flags = O_RDONLY, .arg.extra1 = 0xdeadbeef, in test_openat2_struct()
79 .arg.inner.flags = O_RDONLY, .arg.extra2 = 0xfeedcafe, in test_openat2_struct()
82 .arg.inner.flags = O_RDONLY, .arg.extra3 = 0xabad1dea, in test_openat2_struct()
/linux-6.12.1/Documentation/bpf/
Dmap_of_maps.rst14 an outer map contains instances of a single type of inner map, for example
17 When creating an outer map, an inner map instance is used to initialize the
18 metadata that the outer map holds about its inner maps. This inner map has a
28 - Any BPF map type can be used as an inner map, except for
56 helper returns a pointer to the inner map, or ``NULL`` if no entry was found.
111 This snippet shows how to add an inner map to an outer map:
/linux-6.12.1/rust/macros/
Dquote.rs67 (@proc $v:ident $span:ident ( $($inner:tt)* ) $($tt:tt)*) => {
69 quote_spanned!(@proc tokens $span $($inner)*);
76 (@proc $v:ident $span:ident [ $($inner:tt)* ] $($tt:tt)*) => {
78 quote_spanned!(@proc tokens $span $($inner)*);
85 (@proc $v:ident $span:ident { $($inner:tt)* } $($tt:tt)*) => {
87 quote_spanned!(@proc tokens $span $($inner)*);
Dlib.rs270 pub fn pin_data(inner: TokenStream, item: TokenStream) -> TokenStream { in pin_data()
271 pin_data::pin_data(inner, item) in pin_data()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c370 if (port_sel->inner.definers[tt]) in mlx5_lag_destroy_definers()
372 port_sel->inner.definers[tt]); in mlx5_lag_destroy_definers()
403 port_sel->inner.definers[tt] = lag_definer; in mlx5_lag_create_definers()
467 ttc_params->dests[tt].ft = port_sel->inner.definers[tt]->ft; in mlx5_lag_set_inner_ttc_params()
498 mlx5_get_ttc_flow_table(port_sel->inner.ttc); in mlx5_lag_set_outer_ttc_params()
520 port_sel->inner.ttc = mlx5_create_inner_ttc_table(dev, &ttc_params); in mlx5_lag_create_inner_ttc_table()
521 return PTR_ERR_OR_ZERO(port_sel->inner.ttc); in mlx5_lag_create_inner_ttc_table()
549 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_create()
618 port_sel->inner.definers, in mlx5_lag_port_sel_modify()
628 mlx5_destroy_ttc_table(port_sel->inner.ttc); in mlx5_lag_port_sel_destroy()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_map_in_map_invalid.c6 struct inner { struct
17 __array(values, struct inner);
/linux-6.12.1/net/netfilter/
Dnft_tunnel.c587 struct nlattr *nest, *inner; in nft_tunnel_opts_dump() local
594 inner = nla_nest_start_noflag(skb, NFTA_TUNNEL_KEY_OPTS_VXLAN); in nft_tunnel_opts_dump()
595 if (!inner) in nft_tunnel_opts_dump()
600 nla_nest_end(skb, inner); in nft_tunnel_opts_dump()
602 inner = nla_nest_start_noflag(skb, NFTA_TUNNEL_KEY_OPTS_ERSPAN); in nft_tunnel_opts_dump()
603 if (!inner) in nft_tunnel_opts_dump()
622 nla_nest_end(skb, inner); in nft_tunnel_opts_dump()
627 inner = nla_nest_start_noflag(skb, NFTA_TUNNEL_KEY_OPTS_GENEVE); in nft_tunnel_opts_dump()
628 if (!inner) in nft_tunnel_opts_dump()
641 nla_nest_end(skb, inner); in nft_tunnel_opts_dump()
[all …]
/linux-6.12.1/rust/kernel/sync/lock/
Dspinlock.rs13 ($inner:expr $(, $name:literal)? $(,)?) => {
15 $inner, $crate::optional_name!($($name)?), $crate::static_lock_class!())
Dmutex.rs13 ($inner:expr $(, $name:literal)? $(,)?) => {
15 $inner, $crate::optional_name!($($name)?), $crate::static_lock_class!())
/linux-6.12.1/crypto/
DMakefile105 CFLAGS_aegis128-neon-inner.o += -ffreestanding -march=armv8-a -mfloat-abi=softfp
106 CFLAGS_aegis128-neon-inner.o += -mfpu=crypto-neon-fp-armv8
107 aegis128-$(CONFIG_CRYPTO_AEGIS128_SIMD) += aegis128-neon.o aegis128-neon-inner.o
117 CFLAGS_aegis128-neon-inner.o += $(aegis128-cflags-y)
118 CFLAGS_REMOVE_aegis128-neon-inner.o += -mgeneral-regs-only
119 aegis128-$(CONFIG_CRYPTO_AEGIS128_SIMD) += aegis128-neon.o aegis128-neon-inner.o
122 CFLAGS_aegis128-neon-inner.o += -isystem $(shell $(CC) -print-file-name=include)
/linux-6.12.1/include/linux/
Dlockdep.h129 struct lock_class_key *key, int subclass, u8 inner, u8 outer, u8 lock_type);
133 struct lock_class_key *key, int subclass, u8 inner, u8 outer) in lockdep_init_map_waits() argument
135 lockdep_init_map_type(lock, name, key, subclass, inner, outer, LD_LOCK_NORMAL); in lockdep_init_map_waits()
140 struct lock_class_key *key, int subclass, u8 inner) in lockdep_init_map_wait() argument
142 lockdep_init_map_waits(lock, name, key, subclass, inner, LD_WAIT_INV); in lockdep_init_map_wait()
343 # define lockdep_init_map_type(lock, name, key, sub, inner, outer, type) \ argument
345 # define lockdep_init_map_waits(lock, name, key, sub, inner, outer) \ argument
347 # define lockdep_init_map_wait(lock, name, key, sub, inner) \ argument
/linux-6.12.1/Documentation/userspace-api/media/dvb/
Dfrontend-stat-properties.rst97 (FEC) on the inner coding block (before Viterbi, LDPC or other inner
116 - ``FE_SCALE_COUNTER`` - Number of error bits counted before the inner
125 Measures the amount of bits received before the inner code block, during
154 (FEC) done by inner code block (after Viterbi, LDPC or other inner
173 - ``FE_SCALE_COUNTER`` - Number of error bits counted after the inner
182 Measures the amount of bits received after the inner coding, during the
/linux-6.12.1/rust/kernel/list/
Darc.rs472 inner: AtomicBool, field
483 inner: AtomicBool::new(false), in new()
491 unsafe { &mut Pin::into_inner_unchecked(self).inner } in project_inner()
503 self.inner.store(false, Ordering::Release); in on_drop_list_arc()
517 self.inner in try_new_list_arc()

1234