Lines Matching refs:start
99 size_t start = rounddown(offset, sizeof(long)); in update_range() local
107 if (range->start == range->end) { in update_range()
108 range->start = start; in update_range()
113 if (range->start > start) in update_range()
114 range->start = start; in update_range()
1999 struct nlattr *start; in nsh_key_to_nlattr() local
2001 start = nla_nest_start_noflag(skb, OVS_KEY_ATTR_NSH); in nsh_key_to_nlattr()
2002 if (!start) in nsh_key_to_nlattr()
2016 nla_nest_end(skb, start); in nsh_key_to_nlattr()
2562 int rem, start, err; in validate_and_copy_sample() local
2584 start = add_nested_action_start(sfa, OVS_ACTION_ATTR_SAMPLE, log); in validate_and_copy_sample()
2585 if (start < 0) in validate_and_copy_sample()
2586 return start; in validate_and_copy_sample()
2614 add_nested_action_end(*sfa, start); in validate_and_copy_sample()
2628 int start, action_start, err, rem; in validate_and_copy_dec_ttl() local
2659 start = add_nested_action_start(sfa, OVS_ACTION_ATTR_DEC_TTL, log); in validate_and_copy_dec_ttl()
2660 if (start < 0) in validate_and_copy_dec_ttl()
2661 return start; in validate_and_copy_dec_ttl()
2674 add_nested_action_end(*sfa, start); in validate_and_copy_dec_ttl()
2686 int start, err; in validate_and_copy_clone() local
2692 start = add_nested_action_start(sfa, OVS_ACTION_ATTR_CLONE, log); in validate_and_copy_clone()
2693 if (start < 0) in validate_and_copy_clone()
2694 return start; in validate_and_copy_clone()
2709 add_nested_action_end(*sfa, start); in validate_and_copy_clone()
2728 mask->range.start = mask->range.end = 0; in ovs_match_init()
2771 int err = 0, start, opts_type; in validate_and_copy_set_tun() local
2796 start = add_nested_action_start(sfa, OVS_ACTION_ATTR_SET, log); in validate_and_copy_set_tun()
2797 if (start < 0) in validate_and_copy_set_tun()
2798 return start; in validate_and_copy_set_tun()
2837 add_nested_action_end(*sfa, start); in validate_and_copy_set_tun()
3013 int start, len = key_len * 2; in validate_set() local
3018 start = add_nested_action_start(sfa, in validate_set()
3021 if (start < 0) in validate_set()
3022 return start; in validate_set()
3036 add_nested_action_end(*sfa, start); in validate_set()
3083 int start, err; in validate_and_copy_check_pkt_len() local
3103 start = add_nested_action_start(sfa, OVS_ACTION_ATTR_CHECK_PKT_LEN, in validate_and_copy_check_pkt_len()
3105 if (start < 0) in validate_and_copy_check_pkt_len()
3106 return start; in validate_and_copy_check_pkt_len()
3146 add_nested_action_end(*sfa, start); in validate_and_copy_check_pkt_len()
3557 struct nlattr *start, *ac_start = NULL, *sample_arg; in sample_action_to_attr() local
3562 start = nla_nest_start_noflag(skb, OVS_ACTION_ATTR_SAMPLE); in sample_action_to_attr()
3563 if (!start) in sample_action_to_attr()
3586 nla_nest_cancel(skb, start); in sample_action_to_attr()
3589 nla_nest_end(skb, start); in sample_action_to_attr()
3598 struct nlattr *start; in clone_action_to_attr() local
3601 start = nla_nest_start_noflag(skb, OVS_ACTION_ATTR_CLONE); in clone_action_to_attr()
3602 if (!start) in clone_action_to_attr()
3610 nla_nest_cancel(skb, start); in clone_action_to_attr()
3612 nla_nest_end(skb, start); in clone_action_to_attr()
3620 struct nlattr *start, *ac_start = NULL; in check_pkt_len_action_to_attr() local
3625 start = nla_nest_start_noflag(skb, OVS_ACTION_ATTR_CHECK_PKT_LEN); in check_pkt_len_action_to_attr()
3626 if (!start) in check_pkt_len_action_to_attr()
3678 nla_nest_end(skb, start); in check_pkt_len_action_to_attr()
3682 nla_nest_cancel(skb, start); in check_pkt_len_action_to_attr()
3689 struct nlattr *start, *action_start; in dec_ttl_action_to_attr() local
3693 start = nla_nest_start_noflag(skb, OVS_ACTION_ATTR_DEC_TTL); in dec_ttl_action_to_attr()
3694 if (!start) in dec_ttl_action_to_attr()
3720 nla_nest_end(skb, start); in dec_ttl_action_to_attr()
3724 nla_nest_cancel(skb, start); in dec_ttl_action_to_attr()
3732 struct nlattr *start; in set_action_to_attr() local
3740 start = nla_nest_start_noflag(skb, OVS_ACTION_ATTR_SET); in set_action_to_attr()
3741 if (!start) in set_action_to_attr()
3750 nla_nest_end(skb, start); in set_action_to_attr()