Home
last modified time | relevance | path

Searched refs:strict (Results 1 - 25 of 200) sorted by relevance

12345678

/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_policy.c57 int strict = info->flags & XT_POLICY_MATCH_STRICT; in match_policy_in() local
62 if (strict && info->len != sp->len) in match_policy_in()
66 pos = strict ? i - sp->len + 1 : 0; in match_policy_in()
72 if (!strict) in match_policy_in()
74 } else if (strict) in match_policy_in()
78 return strict ? 1 : 0; in match_policy_in()
87 int strict = info->flags & XT_POLICY_MATCH_STRICT; in match_policy_out() local
95 pos = strict ? i : 0; in match_policy_out()
101 if (!strict) in match_policy_out()
103 } else if (strict) in match_policy_out()
[all...]
H A Dutils.c164 bool strict, unsigned short family) in nf_route()
171 ret = nf_ip_route(net, dst, fl, strict); in nf_route()
174 ret = nf_ip6_route(net, dst, fl, strict); in nf_route()
163 nf_route(struct net *net, struct dst_entry **dst, struct flowi *fl, bool strict, unsigned short family) nf_route() argument
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_policy.c57 int strict = info->flags & XT_POLICY_MATCH_STRICT; in match_policy_in() local
62 if (strict && info->len != sp->len) in match_policy_in()
66 pos = strict ? i - sp->len + 1 : 0; in match_policy_in()
72 if (!strict) in match_policy_in()
74 } else if (strict) in match_policy_in()
78 return strict ? 1 : 0; in match_policy_in()
87 int strict = info->flags & XT_POLICY_MATCH_STRICT; in match_policy_out() local
95 pos = strict ? i : 0; in match_policy_out()
101 if (!strict) in match_policy_out()
103 } else if (strict) in match_policy_out()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dnetfilter_ipv6.h44 const struct net_device *dev, int strict);
50 bool strict);
80 const struct net_device *dev, int strict) in nf_ipv6_chk_addr()
88 return v6_ops->chk_addr(net, addr, dev, strict); in nf_ipv6_chk_addr()
90 return ipv6_chk_addr(net, addr, dev, strict); in nf_ipv6_chk_addr()
97 struct flowi *fl, bool strict);
100 struct flowi *fl, bool strict) in nf_ip6_route()
106 return v6ops->route(net, dst, fl, strict); in nf_ip6_route()
111 return __nf_ip6_route(net, dst, fl, strict); in nf_ip6_route()
79 nf_ipv6_chk_addr(struct net *net, const struct in6_addr *addr, const struct net_device *dev, int strict) nf_ipv6_chk_addr() argument
99 nf_ip6_route(struct net *net, struct dst_entry **dst, struct flowi *fl, bool strict) nf_ip6_route() argument
H A Dnetfilter_ipv4.h27 bool strict);
35 struct flowi *fl, bool strict) in nf_ip_route()
34 nf_ip_route(struct net *net, struct dst_entry **dst, struct flowi *fl, bool strict) nf_ip_route() argument
/kernel/linux/linux-6.6/include/linux/
H A Dnetfilter_ipv6.h44 const struct net_device *dev, int strict);
50 bool strict);
80 const struct net_device *dev, int strict) in nf_ipv6_chk_addr()
88 return v6_ops->chk_addr(net, addr, dev, strict); in nf_ipv6_chk_addr()
90 return ipv6_chk_addr(net, addr, dev, strict); in nf_ipv6_chk_addr()
97 struct flowi *fl, bool strict);
100 struct flowi *fl, bool strict) in nf_ip6_route()
106 return v6ops->route(net, dst, fl, strict); in nf_ip6_route()
111 return __nf_ip6_route(net, dst, fl, strict); in nf_ip6_route()
79 nf_ipv6_chk_addr(struct net *net, const struct in6_addr *addr, const struct net_device *dev, int strict) nf_ipv6_chk_addr() argument
99 nf_ip6_route(struct net *net, struct dst_entry **dst, struct flowi *fl, bool strict) nf_ip6_route() argument
H A Dnetfilter_ipv4.h27 bool strict);
35 struct flowi *fl, bool strict) in nf_ip_route()
34 nf_ip_route(struct net *net, struct dst_entry **dst, struct flowi *fl, bool strict) nf_ip_route() argument
/kernel/linux/linux-6.6/drivers/mfd/
H A Dtps65218.c207 u32 strict; in tps65218_voltage_set_strict() local
210 "ti,strict-supply-voltage-supervision", in tps65218_voltage_set_strict()
211 &strict)) in tps65218_voltage_set_strict()
214 if (strict != 0 && strict != 1) { in tps65218_voltage_set_strict()
216 "Invalid ti,strict-supply-voltage-supervision value\n"); in tps65218_voltage_set_strict()
222 strict ? TPS65218_CONFIG1_STRICT : 0, in tps65218_voltage_set_strict()
/kernel/linux/linux-5.10/drivers/mfd/
H A Dtps65218.c216 u32 strict; in tps65218_voltage_set_strict() local
219 "ti,strict-supply-voltage-supervision", in tps65218_voltage_set_strict()
220 &strict)) in tps65218_voltage_set_strict()
223 if (strict != 0 && strict != 1) { in tps65218_voltage_set_strict()
225 "Invalid ti,strict-supply-voltage-supervision value\n"); in tps65218_voltage_set_strict()
231 strict ? TPS65218_CONFIG1_STRICT : 0, in tps65218_voltage_set_strict()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.c294 cos_params[i].strict = BNX2X_DCBX_STRICT_INVALID; in bnx2x_dcbx_get_ets_feature()
520 if (((BNX2X_DCBX_STRICT_INVALID == ets->cos_params[0].strict) && in bnx2x_dcbx_2cos_limit_update_ets_config()
522 ((BNX2X_DCBX_STRICT_INVALID == ets->cos_params[1].strict) && in bnx2x_dcbx_2cos_limit_update_ets_config()
524 BNX2X_ERR("all COS should have at least bw_limit or strict" in bnx2x_dcbx_2cos_limit_update_ets_config()
525 "ets->cos_params[0].strict= %x" in bnx2x_dcbx_2cos_limit_update_ets_config()
527 "ets->cos_params[1].strict= %x" in bnx2x_dcbx_2cos_limit_update_ets_config()
529 ets->cos_params[0].strict, in bnx2x_dcbx_2cos_limit_update_ets_config()
531 ets->cos_params[1].strict, in bnx2x_dcbx_2cos_limit_update_ets_config()
535 /* If we join a group and there is bw_tbl and strict then bw rules */ in bnx2x_dcbx_2cos_limit_update_ets_config()
554 if (ets->cos_params[0].strict in bnx2x_dcbx_2cos_limit_update_ets_config()
[all...]
H A Dbnx2x_dcb.h42 * strict priority: valid values are 0..5; 0 is highest priority.
45 u8 strict; member
142 u8 strict; member
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.c294 cos_params[i].strict = BNX2X_DCBX_STRICT_INVALID; in bnx2x_dcbx_get_ets_feature()
520 if (((BNX2X_DCBX_STRICT_INVALID == ets->cos_params[0].strict) && in bnx2x_dcbx_2cos_limit_update_ets_config()
522 ((BNX2X_DCBX_STRICT_INVALID == ets->cos_params[1].strict) && in bnx2x_dcbx_2cos_limit_update_ets_config()
524 BNX2X_ERR("all COS should have at least bw_limit or strict" in bnx2x_dcbx_2cos_limit_update_ets_config()
525 "ets->cos_params[0].strict= %x" in bnx2x_dcbx_2cos_limit_update_ets_config()
527 "ets->cos_params[1].strict= %x" in bnx2x_dcbx_2cos_limit_update_ets_config()
529 ets->cos_params[0].strict, in bnx2x_dcbx_2cos_limit_update_ets_config()
531 ets->cos_params[1].strict, in bnx2x_dcbx_2cos_limit_update_ets_config()
535 /* If we join a group and there is bw_tbl and strict then bw rules */ in bnx2x_dcbx_2cos_limit_update_ets_config()
554 if (ets->cos_params[0].strict in bnx2x_dcbx_2cos_limit_update_ets_config()
[all...]
H A Dbnx2x_dcb.h42 * strict priority: valid values are 0..5; 0 is highest priority.
45 u8 strict; member
142 u8 strict; member
/kernel/linux/linux-5.10/tools/virtio/
H A DMakefile7 CFLAGS += -g -O2 -Werror -Wno-maybe-uninitialized -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -include ../../include/linux/kconfig.h
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A Drxtimestamp.c119 { "strict", no_argument, 0, 'S' },
278 bool strict) in run_test_case()
347 if (!strict && test_cases[test_num].warn_on_fail) in run_test_case()
359 bool strict = false; in main() local
396 strict = true; in main()
419 strict)) in main()
423 strict)) in main()
277 run_test_case(struct socket_type *s, int test_num, char ip_version, bool strict) run_test_case() argument
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Drxtimestamp.c119 { "strict", no_argument, 0, 'S' },
278 bool strict) in run_test_case()
347 if (!strict && test_cases[test_num].warn_on_fail) in run_test_case()
359 bool strict = false; in main() local
396 strict = true; in main()
419 strict)) in main()
423 strict)) in main()
277 run_test_case(struct socket_type *s, int test_num, char ip_version, bool strict) run_test_case() argument
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_pfc.sh176 ets bands 8 strict 8 priomap 7 6
192 ets bands 8 strict 8 priomap 7 6
209 ets bands 8 strict 8 priomap 7 6
231 ets bands 8 strict 8 priomap 7 6
/kernel/linux/linux-5.10/net/ipv6/
H A Dnetfilter.c30 int strict = (ipv6_addr_type(&iph->daddr) & in ip6_route_me_harder() local
34 strict ? skb_dst(skb)->dev->ifindex : 0, in ip6_route_me_harder()
95 struct flowi *fl, bool strict) in __nf_ip6_route()
103 const void *sk = strict ? &fake_sk : NULL; in __nf_ip6_route()
94 __nf_ip6_route(struct net *net, struct dst_entry **dst, struct flowi *fl, bool strict) __nf_ip6_route() argument
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_pfc.sh175 ets bands 8 strict 8 priomap 7 6
191 ets bands 8 strict 8 priomap 7 6
208 ets bands 8 strict 8 priomap 7 6
230 ets bands 8 strict 8 priomap 7 6
/kernel/linux/linux-6.6/net/ipv6/
H A Dnetfilter.c31 int strict = (ipv6_addr_type(&iph->daddr) & in ip6_route_me_harder() local
44 else if (strict) in ip6_route_me_harder()
100 struct flowi *fl, bool strict) in __nf_ip6_route()
108 const void *sk = strict ? &fake_sk : NULL; in __nf_ip6_route()
99 __nf_ip6_route(struct net *net, struct dst_entry **dst, struct flowi *fl, bool strict) __nf_ip6_route() argument
/kernel/linux/linux-6.6/tools/virtio/
H A DMakefile17 CFLAGS += -g -O2 -Werror -Wno-maybe-uninitialized -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -include ../../include/linux/kconfig.h $(call cc-option,-mfunction-return=thunk) $(call cc-option,-fcf-protection=none) $(call cc-option,-mindirect-branch-register)
/kernel/linux/linux-5.10/drivers/pinctrl/
H A Dpinmux.c80 * Controllers not defined as strict will always return true,
92 if (ops->strict && desc->mux_usecount) in pinmux_can_be_used_for_gpio()
95 return !(ops->strict && !!desc->gpio_owner); in pinmux_can_be_used_for_gpio()
126 if ((!gpio_range || ops->strict) && in pin_request()
134 if ((gpio_range || ops->strict) && desc->gpio_owner) { in pin_request()
591 if (pmxops->strict) in pinmux_pins_show()
593 "Format: pin (name): mux_owner|gpio_owner (strict) hog?\n"); in pinmux_pins_show()
615 if (pmxops->strict) { in pinmux_pins_show()
627 /* For non-strict controllers */ in pinmux_pins_show()
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
H A Dsch_ets_core.sh114 $(if ((nstrict)); then echo strict $nstrict; fi) \
130 $(if ((nstrict)); then echo strict $nstrict; fi) \
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
H A Dsch_ets_core.sh114 $(if ((nstrict)); then echo strict $nstrict; fi) \
130 $(if ((nstrict)); then echo strict $nstrict; fi) \
/kernel/linux/linux-5.10/arch/arm64/kernel/vdso32/
H A DMakefile76 -fno-strict-aliasing -fno-common \
84 VDSO_CFLAGS += -fno-strict-overflow
85 VDSO_CFLAGS += $(call cc32-option,-Werror=strict-prototypes)

Completed in 13 milliseconds

12345678