Home
last modified time | relevance | path

Searched refs:size_default (Results 1 – 2 of 2) sorted by relevance

/kernel/bpf/
Dcgroup.c1627 const int size_default = sizeof(__u32); in cgroup_dev_is_valid_access() local
1640 bpf_ctx_record_field_size(info, size_default); in cgroup_dev_is_valid_access()
1641 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in cgroup_dev_is_valid_access()
1645 if (size != size_default) in cgroup_dev_is_valid_access()
2184 const int size_default = sizeof(__u32); in sysctl_is_valid_access() local
2193 bpf_ctx_record_field_size(info, size_default); in sysctl_is_valid_access()
2194 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
2197 bpf_ctx_record_field_size(info, size_default); in sysctl_is_valid_access()
2198 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access()
2200 return size == size_default; in sysctl_is_valid_access()
[all …]
Dverifier.c13725 u32 target_size, size_default, off; in convert_ctx_accesses() local
13837 size_default = bpf_ctx_off_adjust_machine(ctx_field_size); in convert_ctx_accesses()
13853 insn->off = off & ~(size_default - 1); in convert_ctx_accesses()
13868 off, size, size_default) * 8; in convert_ctx_accesses()