Lines Matching refs:range_is_zero
974 static inline bool range_is_zero(void *buf, size_t from, size_t to) in range_is_zero() function
990 if (!range_is_zero(__skb, 0, offsetof(struct __sk_buff, mark))) in convert___skb_to_skb()
995 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, mark), in convert___skb_to_skb()
1003 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, ifindex), in convert___skb_to_skb()
1009 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, cb), in convert___skb_to_skb()
1017 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_segs), in convert___skb_to_skb()
1023 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_size), in convert___skb_to_skb()
1029 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, hwtstamp), in convert___skb_to_skb()
1423 if (!range_is_zero(ctx, 0, offsetof(struct bpf_flow_keys, flags))) in verify_user_bpf_flow_keys()
1428 if (!range_is_zero(ctx, offsetofend(struct bpf_flow_keys, flags), in verify_user_bpf_flow_keys()
1535 if (!range_is_zero(user_ctx, offsetofend(typeof(*user_ctx), local_port), sizeof(*user_ctx))) in bpf_prog_test_run_sk_lookup()