Searched refs:range_is_zero (Results 1 – 1 of 1) sorted by relevance
/net/bpf/ |
D | test_run.c | 464 static inline bool range_is_zero(void *buf, size_t from, size_t to) in range_is_zero() function 477 if (!range_is_zero(__skb, 0, offsetof(struct __sk_buff, mark))) in convert___skb_to_skb() 482 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, mark), in convert___skb_to_skb() 488 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, priority), in convert___skb_to_skb() 494 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, ifindex), in convert___skb_to_skb() 500 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, cb), in convert___skb_to_skb() 508 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_segs), in convert___skb_to_skb() 514 if (!range_is_zero(__skb, offsetofend(struct __sk_buff, gso_size), in convert___skb_to_skb() 837 if (!range_is_zero(ctx, 0, offsetof(struct bpf_flow_keys, flags))) in verify_user_bpf_flow_keys() 842 if (!range_is_zero(ctx, offsetofend(struct bpf_flow_keys, flags), in verify_user_bpf_flow_keys() [all …]
|