Searched refs:size_default (Results 1 – 2 of 2) sorted by relevance
/kernel/bpf/ |
D | cgroup.c | 1259 const int size_default = sizeof(__u32); in cgroup_dev_is_valid_access() local 1272 bpf_ctx_record_field_size(info, size_default); in cgroup_dev_is_valid_access() 1273 if (!bpf_ctx_narrow_access_ok(off, size, size_default)) in cgroup_dev_is_valid_access() 1277 if (size != size_default) in cgroup_dev_is_valid_access() 1857 const int size_default = sizeof(__u32); in sysctl_is_valid_access() local 1866 bpf_ctx_record_field_size(info, size_default); in sysctl_is_valid_access() 1867 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access() 1870 bpf_ctx_record_field_size(info, size_default); in sysctl_is_valid_access() 1871 return bpf_ctx_narrow_access_ok(off, size, size_default); in sysctl_is_valid_access() 1873 return size == size_default; in sysctl_is_valid_access() [all …]
|
D | verifier.c | 12408 u32 target_size, size_default, off; in convert_ctx_accesses() local 12522 size_default = bpf_ctx_off_adjust_machine(ctx_field_size); in convert_ctx_accesses() 12538 insn->off = off & ~(size_default - 1); in convert_ctx_accesses() 12553 off, size, size_default) * 8; in convert_ctx_accesses()
|