/Linux-v6.6/net/openvswitch/ |
D | conntrack.c | 124 u8 ct_state = OVS_CS_F_TRACKED; in ovs_ct_get_state() local 129 ct_state |= OVS_CS_F_REPLY_DIR; in ovs_ct_get_state() 138 ct_state |= OVS_CS_F_ESTABLISHED; in ovs_ct_get_state() 142 ct_state |= OVS_CS_F_RELATED; in ovs_ct_get_state() 145 ct_state |= OVS_CS_F_NEW; in ovs_ct_get_state() 151 return ct_state; in ovs_ct_get_state() 197 key->ct_state = state; in __ovs_ct_update_key() 259 state |= key->ct_state & OVS_CS_F_NAT_MASK; in ovs_ct_update_key() 288 if (nla_put_u32(skb, OVS_KEY_ATTR_CT_STATE, output->ct_state)) in ovs_ct_put_key() 542 *ct_executed = (key->ct_state & OVS_CS_F_TRACKED) && in ovs_ct_executed() [all …]
|
D | openvswitch_trace.h | 59 __entry->key_ct_state = key->ct_state; 129 __entry->key_ct_state = key->ct_state;
|
D | conntrack.h | 81 key->ct_state = 0; in ovs_ct_fill_key()
|
D | flow.h | 96 u8 ct_state; member
|
D | flow.c | 1066 key->ct_state &= ~OVS_CS_F_DST_NAT; in ovs_flow_key_extract() 1068 key->ct_state &= ~OVS_CS_F_SRC_NAT; in ovs_flow_key_extract()
|
D | flow_netlink.c | 1214 u32 ct_state = nla_get_u32(a[OVS_KEY_ATTR_CT_STATE]); in metadata_from_nlattrs() local 1216 if (ct_state & ~CT_SUPPORTED_MASK) { in metadata_from_nlattrs() 1218 ct_state); in metadata_from_nlattrs() 1222 SW_FLOW_KEY_PUT(match, ct_state, ct_state, is_mask); in metadata_from_nlattrs() 1959 key->ct_state = 0; in ovs_nla_get_flow_metadata()
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | interrupt.c | 268 CT_WARN_ON(ct_state() == CONTEXT_USER); in syscall_exit_prepare() 346 CT_WARN_ON(ct_state() == CONTEXT_USER); in interrupt_exit_user_prepare() 388 CT_WARN_ON(ct_state() == CONTEXT_USER); in interrupt_exit_kernel_prepare()
|
D | syscall.c | 30 CT_WARN_ON(ct_state() == CONTEXT_KERNEL); in system_call_exception()
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | interrupt.h | 180 CT_WARN_ON(ct_state() != CONTEXT_USER); in interrupt_enter_prepare() 192 CT_WARN_ON(ct_state() != CONTEXT_KERNEL && in interrupt_enter_prepare() 193 ct_state() != CONTEXT_IDLE); in interrupt_enter_prepare()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_ct.c | 553 u8 ct_state, in mlx5_tc_ct_entry_set_registers() argument 563 CTSTATE_TO_REG, ct_state); in mlx5_tc_ct_entry_set_registers() 714 u16 ct_state = 0; in mlx5_tc_ct_entry_create_mod_hdr() local 733 ct_state |= MLX5_CT_STATE_NAT_BIT; in mlx5_tc_ct_entry_create_mod_hdr() 736 ct_state |= MLX5_CT_STATE_TRK_BIT; in mlx5_tc_ct_entry_create_mod_hdr() 737 ct_state |= ctinfo == IP_CT_NEW ? MLX5_CT_STATE_NEW_BIT : MLX5_CT_STATE_ESTABLISHED_BIT; in mlx5_tc_ct_entry_create_mod_hdr() 738 ct_state |= meta->ct_metadata.orig_dir ? 0 : MLX5_CT_STATE_REPLY_BIT; in mlx5_tc_ct_entry_create_mod_hdr() 740 ct_state, in mlx5_tc_ct_entry_create_mod_hdr() 1440 u16 ct_state, ct_state_mask; in mlx5_tc_ct_match_add() local 1458 ct_state = key->ct_state; in mlx5_tc_ct_match_add() [all …]
|
/Linux-v6.6/include/linux/ |
D | context_tracking.h | 98 static inline int ct_state(void) { return -1; } in ct_state() function
|
D | context_tracking_state.h | 128 static __always_inline int ct_state(void) in ct_state() function
|
/Linux-v6.6/include/net/ |
D | flow_dissector.h | 262 u16 ct_state; member
|
/Linux-v6.6/kernel/entry/ |
D | common.c | 263 CT_WARN_ON(ct_state() != CONTEXT_KERNEL); in syscall_exit_to_user_mode_prepare()
|
/Linux-v6.6/drivers/net/ethernet/sfc/ |
D | tc.c | 443 match->value.ct_state_trk = !!(fm.key->ct_state & TCA_FLOWER_KEY_CT_FLAGS_TRACKED); in efx_tc_flower_parse_match() 444 match->mask.ct_state_trk = !!(fm.mask->ct_state & TCA_FLOWER_KEY_CT_FLAGS_TRACKED); in efx_tc_flower_parse_match() 445 match->value.ct_state_est = !!(fm.key->ct_state & TCA_FLOWER_KEY_CT_FLAGS_ESTABLISHED); in efx_tc_flower_parse_match() 446 match->mask.ct_state_est = !!(fm.mask->ct_state & TCA_FLOWER_KEY_CT_FLAGS_ESTABLISHED); in efx_tc_flower_parse_match() 447 if (fm.mask->ct_state & ~(TCA_FLOWER_KEY_CT_FLAGS_TRACKED | in efx_tc_flower_parse_match() 451 fm.mask->ct_state); in efx_tc_flower_parse_match()
|
/Linux-v6.6/net/sched/ |
D | cls_flower.c | 1642 fl_set_key_val(tb, &key->ct_state, TCA_FLOWER_KEY_CT_STATE, in fl_set_key_ct() 1643 &mask->ct_state, TCA_FLOWER_KEY_CT_STATE_MASK, in fl_set_key_ct() 1644 sizeof(key->ct_state)); in fl_set_key_ct() 1646 err = fl_validate_ct_state(key->ct_state & mask->ct_state, in fl_set_key_ct() 3100 fl_dump_key_val(skb, &key->ct_state, TCA_FLOWER_KEY_CT_STATE, in fl_dump_key_ct() 3101 &mask->ct_state, TCA_FLOWER_KEY_CT_STATE_MASK, in fl_dump_key_ct() 3102 sizeof(key->ct_state))) in fl_dump_key_ct()
|
/Linux-v6.6/arch/arm64/kernel/ |
D | entry-common.c | 105 CT_WARN_ON(ct_state() != CONTEXT_USER); in __enter_from_user_mode()
|
/Linux-v6.6/net/core/ |
D | flow_dissector.c | 341 key->ct_state = TCA_FLOWER_KEY_CT_FLAGS_TRACKED | in skb_flow_dissect_ct() 348 key->ct_state = ctinfo_map[ctinfo]; in skb_flow_dissect_ct()
|
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/flower/ |
D | conntrack.c | 66 if (ct.key->ct_state) in is_pre_ct_flow() 99 if (ct.key->ct_state & TCA_FLOWER_KEY_CT_FLAGS_ESTABLISHED) in is_post_ct_flow()
|
/Linux-v6.6/kernel/sched/ |
D | core.c | 5957 SCHED_WARN_ON(ct_state() == CONTEXT_USER); in schedule_debug()
|