Searched refs:size_default (Results 1 – 1 of 1) sorted by relevance
7925 const int size_default = sizeof(__u32); in bpf_skb_is_valid_access() local7946 if (size != size_default) in bpf_skb_is_valid_access()7963 if (size != size_default) in bpf_skb_is_valid_access()7966 bpf_ctx_record_field_size(info, size_default); in bpf_skb_is_valid_access()7967 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in bpf_skb_is_valid_access()8144 const int size_default = sizeof(__u32); in bpf_sock_is_valid_access() local8163 bpf_ctx_record_field_size(info, size_default); in bpf_sock_is_valid_access()8164 return bpf_ctx_narrow_access_ok(off, size, size_default); in bpf_sock_is_valid_access()8166 field_size = size == size_default ? in bpf_sock_is_valid_access()8167 size_default : sizeof_field(struct bpf_sock, dst_port); in bpf_sock_is_valid_access()[all …]